From 3676f7ef9f8fe4951e42e9935d7dc2436391e6f4 Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Tue, 14 Aug 2018 16:22:09 +0200 Subject: [PATCH] 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 0457baab5e..47a016d353 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 f387d24fda..dfdb970cbc 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} -- 2.39.5