From edc8e76591cb3b6b5d36fad8234004942f33a019 Mon Sep 17 00:00:00 2001 From: Guillaume Munch Date: Tue, 12 Apr 2016 20:22:10 +0100 Subject: [PATCH] Templates: remove parbreak and latexpar separators The difference has been validated with diffpdf. The following could not be tested and were left unchanged: AEA.lyx IJMPC.lyx ja_beamer-conference-ornate-20min.lyx The following is the script that I used (in lib/templates): LYX=../../build/src/lyx $LYX -E pdf2 $1.old.pdf $1 sed -i "s/^\\\\begin_inset Separator parbreak$/\\\\begin_inset Separator plain/" $1 sed -i "/^\\\\begin_inset Separator latexpar$/ { N; d; }" $1 $LYX -e lyx $1 $LYX -E pdf2 $1.pdf $1 diffpdf $1.old.pdf $1.pdf --- lib/templates/IEEEtran-CompSoc.lyx | 2 +- lib/templates/IEEEtran-Conference.lyx | 2 +- lib/templates/IEEEtran-Journal.lyx | 2 +- lib/templates/IEEEtran-TransMag.lyx | 2 +- .../beamer-conference-ornate-20min.lyx | 67 +---------------- .../de_beamer-conference-ornate-20min.lyx | 67 +---------------- lib/templates/elsarticle.lyx | 2 +- .../es_beamer-conference-ornate-20min.lyx | 67 +---------------- .../fr_beamer-conference-ornate-20min.lyx | 73 ++----------------- lib/templates/poster-a0poster-colored.lyx | 4 - lib/templates/poster-beamerposter.lyx | 47 +----------- lib/templates/revtex4-1.lyx | 4 - 12 files changed, 26 insertions(+), 313 deletions(-) diff --git a/lib/templates/IEEEtran-CompSoc.lyx b/lib/templates/IEEEtran-CompSoc.lyx index f275882494..314e629d53 100644 --- a/lib/templates/IEEEtran-CompSoc.lyx +++ b/lib/templates/IEEEtran-CompSoc.lyx @@ -941,7 +941,7 @@ Your Name \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset diff --git a/lib/templates/IEEEtran-Conference.lyx b/lib/templates/IEEEtran-Conference.lyx index 9e3092de1c..19332532b8 100644 --- a/lib/templates/IEEEtran-Conference.lyx +++ b/lib/templates/IEEEtran-Conference.lyx @@ -888,7 +888,7 @@ Your Name \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset diff --git a/lib/templates/IEEEtran-Journal.lyx b/lib/templates/IEEEtran-Journal.lyx index 2597b24092..d49ffa20f0 100644 --- a/lib/templates/IEEEtran-Journal.lyx +++ b/lib/templates/IEEEtran-Journal.lyx @@ -751,7 +751,7 @@ Your Name \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset diff --git a/lib/templates/IEEEtran-TransMag.lyx b/lib/templates/IEEEtran-TransMag.lyx index ef7aa3c0d9..535239c4c8 100644 --- a/lib/templates/IEEEtran-TransMag.lyx +++ b/lib/templates/IEEEtran-TransMag.lyx @@ -891,7 +891,7 @@ Your Name \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset diff --git a/lib/templates/beamer-conference-ornate-20min.lyx b/lib/templates/beamer-conference-ornate-20min.lyx index bf355d5a91..514345e2aa 100644 --- a/lib/templates/beamer-conference-ornate-20min.lyx +++ b/lib/templates/beamer-conference-ornate-20min.lyx @@ -540,10 +540,6 @@ Outline \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -636,10 +632,6 @@ Make Titles Informative. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -662,10 +654,6 @@ A title should summarize the slide in an understandable fashion for anyone \begin_layout Itemize Use Itemize a lot. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -676,10 +664,6 @@ Use Itemize a lot. \end_deeper \begin_layout Itemize Use very short sentences or short phrases. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -694,7 +678,7 @@ These overlays are created using the Pause style. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -712,10 +696,6 @@ Make Titles Informative. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -760,7 +740,7 @@ This is shown second. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -777,10 +757,6 @@ Make Titles Informative. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -795,10 +771,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -832,10 +804,6 @@ Some Example Block Title \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -871,10 +839,6 @@ Make Titles Informative. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -893,7 +857,7 @@ On first slide. \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -933,10 +897,6 @@ Make Titles Informative. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -954,7 +914,7 @@ On second slide. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -972,17 +932,10 @@ Make Titles Informative. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper \begin_layout ColumnsTopAligned -\begin_inset Separator latexpar -\end_inset - \end_layout @@ -1046,10 +999,6 @@ Summary \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1132,10 +1081,6 @@ An outlook is always optional. \begin_layout Itemize Outlook -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1188,10 +1133,6 @@ For Further Reading \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper diff --git a/lib/templates/de_beamer-conference-ornate-20min.lyx b/lib/templates/de_beamer-conference-ornate-20min.lyx index 5c165b0690..f37ec721d9 100644 --- a/lib/templates/de_beamer-conference-ornate-20min.lyx +++ b/lib/templates/de_beamer-conference-ornate-20min.lyx @@ -546,10 +546,6 @@ Gliederung \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -635,10 +631,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -661,10 +653,6 @@ Eine Überschrift fasst einen Rahmen verständlich zusammen. \begin_layout Itemize Häufig Auflistungen benutzen. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -675,10 +663,6 @@ Häufig Auflistungen benutzen. \end_deeper \begin_layout Itemize Sehr kurze Sätze oder Phrasen verwenden. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -701,7 +685,7 @@ Pause \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -718,10 +702,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -766,7 +746,7 @@ Dies wird als Zweites gezeigt. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -783,10 +763,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -801,10 +777,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -838,10 +810,6 @@ Ein Beispielblocktitel \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -876,10 +844,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -897,7 +861,7 @@ Auf dem ersten Overlay. \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -936,10 +900,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -957,7 +917,7 @@ Auf dem zweiten Overlay. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -974,17 +934,10 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper \begin_layout ColumnsTopAligned -\begin_inset Separator latexpar -\end_inset - \end_layout @@ -1048,10 +1001,6 @@ Zusammenfassung \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1150,10 +1099,6 @@ Der folgende Ausblick ist optional. \begin_layout Itemize Ausblick -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1206,10 +1151,6 @@ Weiterführende Literatur \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper diff --git a/lib/templates/elsarticle.lyx b/lib/templates/elsarticle.lyx index 4f3c03ea51..95421fc755 100644 --- a/lib/templates/elsarticle.lyx +++ b/lib/templates/elsarticle.lyx @@ -758,7 +758,7 @@ Theorem 1 \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset diff --git a/lib/templates/es_beamer-conference-ornate-20min.lyx b/lib/templates/es_beamer-conference-ornate-20min.lyx index c66ce964e1..2243ae4a78 100644 --- a/lib/templates/es_beamer-conference-ornate-20min.lyx +++ b/lib/templates/es_beamer-conference-ornate-20min.lyx @@ -519,10 +519,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -646,10 +642,6 @@ Usar Letras Capitales \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -671,10 +663,6 @@ e para cualquiera que no conoce lo que ésta contiene. \begin_layout Itemize Usar Enumeración* a discreción. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -685,10 +673,6 @@ Usar Enumeración* a discreción. \end_deeper \begin_layout Itemize Usar oraciones muy cortas o frases cortas. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -703,7 +687,7 @@ Estos solapados se crean usando el estilo Pausa. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -720,10 +704,6 @@ Poner títulos informativos \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -768,7 +748,7 @@ status open \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -785,10 +765,6 @@ Poner títulos informativos \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -803,10 +779,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -840,10 +812,6 @@ Título de algún Bloque de ejemplo \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -878,10 +846,6 @@ Poner títulos informativos \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -953,7 +917,7 @@ En la primera diapositiva. \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -992,10 +956,6 @@ Poner títulos informativos \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1013,7 +973,7 @@ En la segunda diapositiva. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -1030,17 +990,10 @@ Poner títulos informativos \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper \begin_layout ColumnsTopAligned -\begin_inset Separator latexpar -\end_inset - \end_layout @@ -1104,10 +1057,6 @@ Sumario \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1193,10 +1142,6 @@ La perspectiva siempre es opcional. \begin_layout Itemize Perspectiva -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1249,10 +1194,6 @@ Lecturas complementarias \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper diff --git a/lib/templates/fr_beamer-conference-ornate-20min.lyx b/lib/templates/fr_beamer-conference-ornate-20min.lyx index cc034cf88e..2c2cae41d4 100644 --- a/lib/templates/fr_beamer-conference-ornate-20min.lyx +++ b/lib/templates/fr_beamer-conference-ornate-20min.lyx @@ -584,10 +584,6 @@ Sommaire \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -683,10 +679,6 @@ Faites des titres qui informent. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -707,10 +699,6 @@ status collapsed \begin_layout Itemize Utilisez itemize à volonté. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -721,10 +709,6 @@ Utilisez itemize à volonté. \end_deeper \begin_layout Itemize Utilisez des phrases très courtes et de courtes expressions. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -739,7 +723,7 @@ Ces recouvrements sont créés à l'aide du style «Pause». \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -756,10 +740,6 @@ Faites des titres qui informent \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -805,7 +785,7 @@ Ceci est affiché en second. \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -822,10 +802,6 @@ Faites des titres qui informent \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -874,7 +850,7 @@ Remplacé sur le second transparent \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -891,10 +867,6 @@ Faites des titres qui informent \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -909,10 +881,6 @@ status open \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -946,10 +914,6 @@ Some Example Block Title \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -984,10 +948,6 @@ Faites des titres qui informent \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1005,7 +965,7 @@ Sur le premier transparent \end_layout \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -1044,10 +1004,6 @@ Faites des titres qui informent \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1065,7 +1021,7 @@ Sur le second transparent \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -1082,17 +1038,10 @@ Faites des titres qui informent \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper \begin_layout ColumnsTopAligned -\begin_inset Separator latexpar -\end_inset - \end_layout @@ -1156,10 +1105,6 @@ Résumé \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1245,10 +1190,6 @@ status open \begin_layout Itemize Perspectives -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1301,10 +1242,6 @@ Lectures complémentaires \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper diff --git a/lib/templates/poster-a0poster-colored.lyx b/lib/templates/poster-a0poster-colored.lyx index 9a98cc3a2e..81bafa163b 100644 --- a/lib/templates/poster-a0poster-colored.lyx +++ b/lib/templates/poster-a0poster-colored.lyx @@ -955,10 +955,6 @@ Color Box Line \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_layout Standard diff --git a/lib/templates/poster-beamerposter.lyx b/lib/templates/poster-beamerposter.lyx index 3acd4e12bb..00ef4c8ec5 100644 --- a/lib/templates/poster-beamerposter.lyx +++ b/lib/templates/poster-beamerposter.lyx @@ -233,9 +233,6 @@ You can use any beamer element, especially the use of blocks is advisable. \end_layout \begin_layout Frame -\begin_inset Separator latexpar -\end_inset - \end_layout @@ -498,10 +495,6 @@ Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -690,10 +683,6 @@ totalwidth \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -721,10 +710,6 @@ textwidth \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -790,10 +775,6 @@ Text Style. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -976,10 +957,6 @@ Enumerated Lists \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1001,7 +978,7 @@ some items \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -1018,10 +995,6 @@ Some items and some math \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1054,7 +1027,7 @@ some items \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -1072,10 +1045,6 @@ More items \SpecialChar ldots \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1101,7 +1070,7 @@ some items \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -1119,10 +1088,6 @@ status collapsed \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper @@ -1144,7 +1109,7 @@ some items \end_deeper \begin_layout Standard -\begin_inset Separator parbreak +\begin_inset Separator plain \end_inset @@ -1175,10 +1140,6 @@ An example for displaying your address. \end_inset -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper diff --git a/lib/templates/revtex4-1.lyx b/lib/templates/revtex4-1.lyx index 26bd4a09c6..80339bf5de 100644 --- a/lib/templates/revtex4-1.lyx +++ b/lib/templates/revtex4-1.lyx @@ -331,10 +331,6 @@ prints the current date; should only be replaced for special cases An article usually includes an abstract, a concise summary of the work covered at length in the main body of the article. -\begin_inset Separator latexpar -\end_inset - - \end_layout \begin_deeper