]> git.lyx.org Git - features.git/commitdiff
DocBook: add missing mapping for AASTeX 6.3.
authorThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 9 Mar 2024 14:09:45 +0000 (15:09 +0100)
committerThibaut Cuvelier <tcuvelier@lyx.org>
Sat, 9 Mar 2024 14:09:45 +0000 (15:09 +0100)
The result is far from perfect, see the TODOs. The corresponding tests are still inverted.

development/autotests/invertedTests
lib/layouts/aastex6.layout
lib/layouts/aastex62.layout
lib/layouts/aastex63.layout

index c88e67cda51cd32e440a8949bacadc24c83f9207..ec366b974579f284ab27ecd9ba8ac8c5be625067 100644 (file)
@@ -412,6 +412,8 @@ export/doc(|/de|/es|/fr|/ja|/ru)/Additional_docbook5
 #   - AASTeX.
 export/export/docbook/bibliography_precooked_aastex_docbook5
 export/(examples|templates)/Articles/American_Astronomical_Society_%28AASTeX_v._6.2%29_docbook5
+export/(examples|templates)/Articles/American_Astronomical_Society_%28AASTeX_v._6.3%29_docbook5
+export/(examples|templates)/Articles/American_Astronomical_Society_%28AASTeX_v._6.3.1%29_docbook5
 #   - Springer. (The svmono_light should still pass.)
 export/templates/Books/Springer.*/.*_docbook5
 !export/export/docbook/svmono_light_docbook5
index c6ab5ea03fbbdcbbcfd81c46801830a17c5198d8..3ae8486cce5b743813ccd544309749152ca3801e 100644 (file)
 #
 # TODO: - support for new commands (see below)
 #       - aastex6.cls loads hyperref (with pre-set options) and url
-#         -> option clash if "Use Hyerref" is selected in Document>Settings
+#         -> option clash if "Use Hyperref" is selected in Document>Settings
+#       - in DocBook, the appendix is not output (not a standard LyX appendix
+#         separator (needs a layout update)
+#       - in DocBook, the "Software" part should really be a section on its own,
+#         but that would require a way to provide the section title within the
+#         layout (needs a layout update)
+#       - in DocBook, the table notes are not supported at all (move the remarks
+#         into the table cells instead of outputting tablenotemark in the cells?)
 
 Format 104
 
index 5080cc06e87c8fce4a68989975680ad91bc4614c..5bfc03111e6fec056a1da0857c4f3dde85543f5b 100644 (file)
 #
 # TODO: - support for new commands (see below)
 #       - aastex6.cls loads hyperref (with pre-set options) and url
-#         -> option clash if "Use Hyerref" is selected in Document>Settings
+#         -> option clash if "Use Hy^perref" is selected in Document>Settings
+#       - in DocBook, the appendix is not output (not a standard LyX appendix
+#         separator (needs a layout update)
+#       - in DocBook, the "Software" part should really be a section on its own,
+#         but that would require a way to provide the section title within the
+#         layout (needs a layout update)
+#       - in DocBook, the table notes are not supported at all (move the remarks
+#         into the table cells instead of outputting tablenotemark in the cells?)
 
 Format 104
 
@@ -231,6 +238,9 @@ Style Acknowledgments
        LabelFont
                Color           textlabel2
        EndFont
+       DocBookTag          para
+       DocBookWrapperTag   acknowledgements
+       DocBookSection      true
 End
 
 Counter appendix
index e2438986d7bdd601a65944e79963e770ca094618..e94d490e9174dde36707ff35ba3a295ebff61ed0 100644 (file)
 ##
 # TODO: - support for new commands (see below)
 #       - aastex6.cls loads hyperref (with pre-set options) and url
-#         -> option clash if "Use Hyerref" is selected in Document>Settings
+#         -> option clash if "Use Hyperref" is selected in Document>Settings
 # support for new commands in aastex 6.3 and aastex 6.31 versions
 # string freeze for lyx-2.4.0, must be done for lyx-2.4.1
+#       - in DocBook, the appendix is not output (not a standard LyX appendix
+#         separator (needs a layout update)
+#       - in DocBook, the "Software" part should really be a section on its own,
+#         but that would require a way to provide the section title within the
+#         layout (needs a layout update)
+#       - in DocBook, the table notes are not supported at all (move the remarks
+#         into the table cells instead of outputting tablenotemark in the cells?)
 
 Format 104
 
@@ -232,11 +239,14 @@ Style Acknowledgments
        Font
                Shape           Up
        EndFont
-       LabelType       Above
-       Margin          Static
+       LabelType           Above
+       Margin              Static
        LabelFont
                Color           textlabel2
        EndFont
+       DocBookTag          para
+       DocBookWrapperTag   acknowledgements
+       DocBookSection      true
 End
 
 Counter appendix