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
9fbb2432
Commit
9fbb2432
authored
Jun 15, 2020
by
Izzard, Robert Dr (Physics)
Browse files
clean up arrows
parent
62005077
Changes
4
Hide whitespace changes
Inline
Side-by-side
astro-lyx.lyx
View file @
9fbb2432
...
...
@@ -215,13 +215,12 @@ https://ctan.org/pkg/mnras?lang=en
\end_layout
\begin_layout Enumerate
Open LyX, go to Tools
\family sans
\lang english
→
\family default
\lang british
Reconfigure, restart LyX (you only have to do this when installing new files)
Open LyX, go to Tools
\begin_inset Formula $\rightarrow$
\end_inset
Reconfigure, restart LyX (you only have to do this when installing new
files)
\end_layout
\begin_layout Enumerate
...
...
astro-lyx.md
View file @
9fbb2432
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.
...
...
@@ -15,7 +15,7 @@ You have to install some files into your personal LyX directory. On *UNIX* this
5.
Copy the contents of
`macros/`
to
`$HOME/.lyx/layouts/`
6.
In LyX go to Tools
$
\r
ightarrow$
Reconfigure
6.
In LyX go to Tools
→
Reconfigure
7.
Restart LyX
...
...
@@ -26,7 +26,7 @@ Monthly Notices
General instructions are at
<https://academic.oup.com/mnras/pages/General_Instructions>
\
The LaTeX package is at
<https://ctan.org/pkg/mnras?lang=en>
2.
Open LyX, go to ToolsReconfigure, restart LyX (you only have to do this when installing new files)
2.
Open LyX, go to Tools
→
Reconfigure, restart LyX (you only have to do this when installing new files)
3.
Load the file
`MNRAS_paper.lyx`
...
...
astro-lyx.pdf
View file @
9fbb2432
No preview for this file type
make_markdown.sh
View file @
9fbb2432
#!/bin/bash
lyx
--export
latex astro-lyx.lyx
cat
astro-lyx.tex |grep
-v
inputenc|grep
-v
fontenc
>
a.tex
;
mv
a.tex astro-lyx.tex
lyx
--export
pdf astro-lyx.lyx
iconv
-t
utf-8 astro-lyx.tex | pandoc
-s
--wrap
=
none
-f
latex
+latex_macros+tex_math_dollars
-t
markdown | perl
-pe
"s/
\{
.*?
\.
unnumbered
\}
//g"
>
astro-lyx.md
iconv
-t
utf-8 astro-lyx.tex | pandoc
-s
--wrap
=
none
-f
latex
-t
markdown | perl
-pe
"s/
\{
.*?
\.
unnumbered
\}
//g
; s/
\\\$\\\\
rightarrow
\\\$
/
\&
rarr;/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