lyx_mirror/lib/templates
Guillaume Munch edc8e76591 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
2016-05-08 22:14:46 +01:00
..
attic Update templates to latest fileformat 2014-03-23 17:49:36 +01:00
springer Update docs to latest format. 2016-04-06 05:43:44 +02:00
aa.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
aastex6.lyx New layout for aastex6.cls. Fixes #10027. 2016-04-08 21:34:23 +02:00
ACM-siggraph.lyx ACM siggraph: update layout as discussed 2016-04-09 18:18:04 +02:00
ACM-sigplan.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
ACM-SIGS.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
AEA.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
AGUTeX.lyx Revert "AGUTeX: update layout to AGUTeX 2015 according to our new guidelines" 2016-04-11 11:34:11 -04:00
APA6.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
APA.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
beamer-conference-ornate-20min.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
ctex.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
de_beamer-conference-ornate-20min.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
dinbrief.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
DocBook_article.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
ectaart.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
elsarticle.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
EPS-cropped.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
es_beamer-conference-ornate-20min.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
fr_beamer-conference-ornate-20min.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
frletter.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
g-brief2.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
g-brief-de.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
g-brief-en.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
hollywood.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
IEEEtran-CompSoc.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
IEEEtran-Conference.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
IEEEtran-Journal.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
IEEEtran-TransMag.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
IJMPC.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
IJMPD.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
IOP-article.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
IUCr-article.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
ja_beamer-conference-ornate-20min.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
JASA.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
JSS-article.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
kluwer.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
koma-letter2.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
letter.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
lettre.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
PDF-cropped.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
poster-a0poster-colored.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
poster-a0poster-simple.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
poster-beamerposter.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
poster-sciposter.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
README.new_templates Whitespace, only whitespace. s/ +$// 2005-06-09 09:58:08 +00:00
revtex4-1.lyx Templates: remove parbreak and latexpar separators 2016-05-08 22:14:46 +01:00
revtex4.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
RJournal.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00
slides.lyx Update docs to latest format. 2016-04-06 05:43:44 +02:00

HOW TO CREATE A NEW TEMPLATE
============================

Templates are almost usual LyX file that are saved by LyX itself.
The strength is on "almost".

LyX stores some properties in a file, for example:

        \textclass dinbrief
        \language german
        \inputencoding default
        \fontscheme default
        \epsfig dvips
        \papersize a4paper
        \paperfontsize 12
        \baselinestretch 1.00
        \secnumdepth 3
        \tocdepth 3
        \paragraph_separation skip
        \quotes_language german
        \quotes_times 2
        \paperorientation portrait
        \papercolumns 9
        \papersides 1
        \paperpagestyle plain

Some of these may be very reasonable for a certain template. In the
case of a dinbrief-template this might be the papersize, the language
and the quotes-settings, since it is a german-only template.  But it
wouldn't make much sense to set the fontscheme or the inputencoding,
since a user might have customized this already like he/she wanted it
to be.

So please delete all the lines of a new template with your favorite
text editor (for example ed, ex or vi) that you don't want to set
explicit for this template. LyX will use the user's default-values
(defined in lyxrc) if a property isn't defined in the file itself.