commit 8f906204ded928557318b593aedea9387cc9f231
Author: Kornel Benko <[email protected]>
Date: Tue Aug 14 16:22:09 2018 +0200
Allow using hyperref together with aastex62
Also chnage some ERT-constructs in aas_sample62.lyx to
the appropriate lyx-constructs.
---
lib/examples/aas_sample62.lyx | 82 ++++++++++++++++++----------------------
lib/layouts/aastex62.layout | 2 +
2 files changed, 39 insertions(+), 45 deletions(-)
diff --git a/lib/examples/aas_sample62.lyx b/lib/examples/aas_sample62.lyx
index 0457baa..47a016d 100644
--- a/lib/examples/aas_sample62.lyx
+++ b/lib/examples/aas_sample62.lyx
@@ -300,15 +300,11 @@ literal "false"
suggested a central peak in NGC 6397, and a limited photographic survey
of ours
-\begin_inset ERT
-status open
-
-\begin_layout Plain Layout
-
-
-\backslash
-citep[Paper I]{djo84}
-\end_layout
+\begin_inset CommandInset citation
+LatexCommand citep
+after "Paper I"
+key "djo84"
+literal "false"
\end_inset
@@ -683,8 +679,11 @@ reference "tbl-2"
, but the assumption is that the alternate results should be less than 90°
out of phase with previous values.
We have no observations of
+\begin_inset Preview
+
+\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
@@ -695,6 +694,11 @@ ion{Ca}{2}
\end_inset
+
+\end_layout
+
+\end_inset
+
.
Roughly
\begin_inset Formula $\nicefrac{4}{5}$
@@ -735,47 +739,19 @@ http://www.aas.org/publications/aastex
\end_inset
or the
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-
-\backslash
-anchor{
-\end_layout
-
-\end_inset
-
-ftp://www.aas.org/pubs/
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}{
-\end_layout
-
-\end_inset
-
-AAS ftp site
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-}
-\end_layout
+\begin_inset CommandInset href
+LatexCommand href
+name "AAS ftp site"
+target "ftp://www.aas.org/pubs/AAS ftp site"
+literal "false"
\end_inset
.
-
\end_layout
\begin_layout Software
IRAF, AIPS, Astropy, ...
-
\end_layout
\begin_layout Appendix
@@ -912,8 +888,11 @@ literal "true"
Djorgovski, S., and King, I.
R.
1984,
+\begin_inset Preview
+
+\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
@@ -924,6 +903,11 @@ apjl
\end_inset
+
+\end_layout
+
+\end_inset
+
, 277, L49
\end_layout
@@ -1091,8 +1075,11 @@ literal "true"
Lynden-Bell, D., and Wood, R.
1968,
+\begin_inset Preview
+
+\begin_layout Standard
\begin_inset ERT
-status collapsed
+status open
\begin_layout Plain Layout
@@ -1103,6 +1090,11 @@ mnras
\end_inset
+
+\end_layout
+
+\end_inset
+
, 138, 495
\end_layout
diff --git a/lib/layouts/aastex62.layout b/lib/layouts/aastex62.layout
index f387d24..dfdb970 100644
--- a/lib/layouts/aastex62.layout
+++ b/lib/layouts/aastex62.layout
@@ -52,6 +52,8 @@
Format 68
+Provides hyperref 1
+
Preamble
\newcommand{\vdag}{(v)^\dagger}
\newcommand\aastex{AAS\TeX}