Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Izzard, Robert Dr (Physics)
astro-LyX
Commits
d54ebaef
Commit
d54ebaef
authored
Jun 15, 2020
by
Izzard, Robert Dr (Physics)
Browse files
clean up markdown with regex
parent
78aac8f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
astro-lyx.md
View file @
d54ebaef
How to write astrophysics papers with LyX
{#how-to-write-astrophysics-papers-with-lyx .unnumbered}
How to write astrophysics papers with LyX
==========================================
You have to install some files into your personal LyX directory. On
*UNIX*
this is in
`$HOME/.lyx`
but on your system it may be elsewhere.
...
...
@@ -19,7 +19,7 @@ You have to install some files into your personal LyX directory. On *UNIX* this
7.
Restart LyX
Monthly Notices
{#monthly-notices .unnumbered}
Monthly Notices
---------------
1.
Install the MNRAS LaTeX style files on your system (e.g. in
`$HOME/.latex/`
)
\
...
...
@@ -32,12 +32,12 @@ Monthly Notices {#monthly-notices .unnumbered}
4.
Change the text to include your writing
Astronomy and Astrophysics
{#astronomy-and-astrophysics .unnumbered}
Astronomy and Astrophysics
--------------------------
To follow
Galaxies
{#galaxies .unnumbered}
Galaxies
--------
To follow
make_markdown.sh
View file @
d54ebaef
#!/bin/bash
lyx
--export
latex astro-lyx.lyx
pandoc
--wrap
=
none
-f
latex
-t
markdown astro-lyx.tex
>
astro-lyx.md
pandoc
--wrap
=
none
-f
latex
-t
markdown astro-lyx.tex
| perl
-pe
"s/
\{
.*?
\.
unnumbered
\}
//g"
>
astro-lyx.md
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment