diff --git a/autotests/export/docbook/bibliography_precooked_aastex.xml b/autotests/export/docbook/bibliography_precooked_aastex.xml index 37dada807b..b6638686ac 100644 --- a/autotests/export/docbook/bibliography_precooked_aastex.xml +++ b/autotests/export/docbook/bibliography_precooked_aastex.xml @@ -5,21 +5,21 @@ Collapsed Cores in Globular Clusters, Gauge-Boson Couplings, and AASTeX Examples S. Djorgovski and Ivan R. King -Astronomy Department, University of California, Berkeley, CA 94720 -Visiting Astronomer Cerro Tololo Inter-American Observatory.CTIO is operated by AURA Inc. under contract to the National Science Foundation. -Society of Fellows, Harvard University. -present address: Center for Astrophysics60 Garden Street, Cambridge, MA 02138 +Astronomy Department, University of California, Berkeley, CA 94720 +Visiting Astronomer Cerro Tololo Inter-American Observatory.CTIO is operated by AURA Inc. under contract to the National Science Foundation. +Society of Fellows, Harvard University. +present address: Center for Astrophysics60 Garden Street, Cambridge, MA 02138 C. D. Biemesderfer -National Optical Astronomy Observatories, Tucson, AZ 85719 -Visiting Programmer, Space Telescope Science Institute -Patron, Alonso's Bar and Grill +National Optical Astronomy Observatories, Tucson, AZ 85719 +Visiting Programmer, Space Telescope Science Institute +Patron, Alonso's Bar and Grill aastex-help@aas.org R. J. Hanisch -Space Telescope Science Institute, Baltimore, MD 21218 -Patron, Alonso's Bar and Grill - +Space Telescope Science Institute, Baltimore, MD 21218 +Patron, Alonso's Bar and Grill + This is a preliminary report on surface photometry of the major fraction of known globular clusters, to see which of them show the signs of a collapsed core. We also explore some diversionary mathematics and recreational tables. - +
Introduction diff --git a/lib/layouts/aastex.layout b/lib/layouts/aastex.layout index 275018a83c..5db7deea01 100644 --- a/lib/layouts/aastex.layout +++ b/lib/layouts/aastex.layout @@ -155,6 +155,9 @@ Style Author Series Medium Shape SmallCaps EndFont + DocBookTag personname + DocBookWrapperTag author + DocBookInInfo always End @@ -172,6 +175,10 @@ Style Affiliation Family Roman Size Normal EndFont + DocBookTag affiliation + DocBookWrapperTag author + DocBookItemTag orgname + DocBookInInfo always End @@ -194,6 +201,11 @@ Style Altaffilation LabelFont Color green EndFont + DocBookTag affiliation + DocBookAttr role="alternate" + DocBookItemTag orgname + DocBookWrapperTag author + DocBookInInfo always End @@ -213,6 +225,9 @@ Style Email Size Normal Shape Italic EndFont + DocBookTag email + DocBookWrapperTag author + DocBookInInfo always End diff --git a/src/output_docbook.cpp b/src/output_docbook.cpp index 434148bc86..2e7b637969 100644 --- a/src/output_docbook.cpp +++ b/src/output_docbook.cpp @@ -191,20 +191,25 @@ namespace { void openParTag(XMLStream & xs, Layout const & lay) { - if (lay.docbookwrappertag() != "NONE") { + if (lay.docbookwrappertag() != "NONE") xs << xml::StartTag(lay.docbookwrappertag(), lay.docbookwrapperattr()); - } string tag = lay.docbooktag(); if (tag == "Plain Layout") tag = "para"; xs << xml::ParTag(tag, lay.docbookattr()); + + if (lay.docbookitemtag() != "NONE") + xs << xml::StartTag(lay.docbookitemtag(), lay.docbookitemattr()); } void closeTag(XMLStream & xs, Layout const & lay) { + if (lay.docbookitemtag() != "NONE") + xs << xml::EndTag(lay.docbookitemtag()); + string tag = lay.docbooktag(); if (tag == "Plain Layout") tag = "para";