From b2ec2ff1a97ab9365cfa533f0b7af58ca5bd7539 Mon Sep 17 00:00:00 2001 From: Thibaut Cuvelier Date: Sat, 28 Nov 2020 02:13:19 +0100 Subject: [PATCH] DocBook: slightly change the Copernicus template to be valid DocBook. This is just adding an author instead of leaving the field blank. --- development/autotests/invertedTests | 1 - lib/layouts/copernicus.layout | 2 -- ...us_Publications_Manuscript_Preparation.lyx | 23 +++++++++---------- 3 files changed, 11 insertions(+), 15 deletions(-) diff --git a/development/autotests/invertedTests b/development/autotests/invertedTests index 3f8f72bbd7..9e8ec54247 100644 --- a/development/autotests/invertedTests +++ b/development/autotests/invertedTests @@ -519,7 +519,6 @@ export/templates/Articles/Hebrew_Article_%28KOMA-Script%29_docbook5 # - Empty figure. Broken references. Float notes not implemented (how to do it?). export/templates/Articles/American_Economic_Association_%28AEA%29_docbook5 export/templates/Articles/American_Psychological_Association_%28APA%29,_v._7_docbook5 -# - No author name. Sublabel: docbook poster # Posters cannot be properly exported, the LyX documents are too far from diff --git a/lib/layouts/copernicus.layout b/lib/layouts/copernicus.layout index c102bf356d..7abeb72159 100644 --- a/lib/layouts/copernicus.layout +++ b/lib/layouts/copernicus.layout @@ -79,7 +79,6 @@ Style Author DocBookTag personname DocBookTagType paragraph DocBookWrapperTag author - DocBookWrapperTagType inline DocBookInInfo always End @@ -96,7 +95,6 @@ Style Affil DocBookTag address DocBookTagType block DocBookWrapperTag author - DocBookWrapperTagType inline DocBookWrapperMergeWithPrevious true DocBookInInfo always End diff --git a/lib/templates/Articles/Copernicus_Publications_Manuscript_Preparation.lyx b/lib/templates/Articles/Copernicus_Publications_Manuscript_Preparation.lyx index fb300aca4d..156d672357 100644 --- a/lib/templates/Articles/Copernicus_Publications_Manuscript_Preparation.lyx +++ b/lib/templates/Articles/Copernicus_Publications_Manuscript_Preparation.lyx @@ -1,12 +1,12 @@ #LyX 2.4 created this file. For more info see https://www.lyx.org/ -\lyxformat 562 +\lyxformat 599 \begin_document \begin_header \save_transient_properties true \origin /systemlyxdir/templates/Articles/ \textclass copernicus \use_default_options true -\maintain_unincluded_children false +\maintain_unincluded_children no \language english \language_package default \inputencoding utf8 @@ -18,7 +18,9 @@ \font_default_family default \use_non_tex_fonts false \font_sc false -\font_osf false +\font_roman_osf false +\font_sans_osf false +\font_typewriter_osf false \font_sf_scale 100 100 \font_tt_scale 100 100 \use_microtype false @@ -55,6 +57,7 @@ \justification true \use_refstyle 1 \use_minted 0 +\use_lineno 0 \index Index \shortcut idx \color #008000 @@ -70,11 +73,15 @@ \papercolumns 1 \papersides 1 \paperpagestyle default +\tablestyle default \tracking_changes false \output_changes false +\change_bars false +\postpone_fragile_content false \html_math_output 0 \html_css_as_file 0 \html_be_strict false +\docbook_table_output 0 \end_header \begin_body @@ -124,15 +131,7 @@ TEXT \end_layout \begin_layout Author - -\end_layout - -\begin_layout Author - -\end_layout - -\begin_layout Author - +Your Name \end_layout \begin_layout Affil