lyx_mirror/lib/templates
Scott Kostyshak f5cf21d725 Move templates with paths to examples (#8643)
When a user creates a new document from a template, the template
is copied but relative paths are not changed, so the resulting
.lyx file is broken. By moving documents with relative paths to
examples, the files will compile out of the box.

A long-term solution that allows for relative paths in templates
is still desired and will be discussed in #8643 or in a new ticket.
2013-08-04 15:56:42 +02:00
..
attic correct attic location for the obsolete template files 2011-06-17 00:34:27 +00:00
aa.lyx Fix typo of journal name in aa_sample.lyx, aa.lyx 2013-05-29 02:53:38 -04:00
aastex.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
ACM-siggraph.lyx some refinements for paper class example and templates 2013-01-13 22:59:16 +01:00
ACM-sigplan.lyx some refinements for paper class example and templates 2013-01-13 22:59:16 +01:00
ACM-SIGS.lyx Layouts for ACMS SIGS styles, contributed by Gioele Barabucci. 2013-05-23 15:11:19 -04:00
AGU_article.lyx addendum to previous commit 2011-12-10 01:13:19 +00:00
AGUTeX.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
APA6.lyx Add layout for APA v6 class and associated module and template. 2012-12-27 15:50:50 -05:00
APA.lyx apa.lyx: fixed weblink 2012-10-15 00:49:40 +02:00
beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
ctex.lyx ctex.lyx: further translations by Yiuhi 2011-11-29 19:58:29 +00:00
de_beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
dinbrief.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
DocBook_article.lyx DocBook_article.lyx: set default output to ps2pdf 2013-04-02 16:34:23 -04:00
ectaart.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
elsarticle.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
EPS-cropped.lyx Add formats and converters for cropped PDF/EPS 2013-05-27 22:06:33 +02:00
es_beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
fr_beamer-conference-ornate-20min.lyx Update beamer documents to new format 2013-03-17 09:10:44 +01:00
frletter.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
g-brief2.lyx g-brief layouts: remove the dependency on europs.sty as this package is an optional one and add info to the template file 2012-10-15 01:26:35 +02:00
g-brief-de.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
g-brief-en.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
hollywood.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
IEEEtran-CompSoc.lyx IEEEtran-*.lyx: formatting fix to fulfill the submission guidelines 2013-02-17 19:56:14 +01:00
IEEEtran-Conference.lyx IEEEtran templates: some preamble simplifications and fixes 2013-02-09 18:08:12 +01:00
IEEEtran-Journal.lyx IEEEtran templates: some preamble simplifications and fixes 2013-02-09 18:08:12 +01:00
IEEEtran-TransMag.lyx IEEEtran-*.lyx: formatting fix to fulfill the submission guidelines 2013-02-17 19:56:14 +01:00
IJMPC.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
IJMPD.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
IOP-article.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
JSS-article.lyx JSS-article.lyx: set default output to pdf2 2013-04-09 05:07:18 -04:00
kluwer.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
koma-letter2.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
letter.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
lettre.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00:00
PDF-cropped.lyx Add formats and converters for cropped PDF/EPS 2013-05-27 22:06:33 +02:00
README.new_templates
revtex4-1.lyx revtex4-1.lyx : Minor tweaks, save in current file format. 2011-06-20 23:57:20 +00:00
revtex4.lyx Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
RJournal.lyx RJournal template now also works with latex 2013-05-16 22:57:11 -04:00
slides.lyx example files, template files, layout files: port my latest changes to trunk 2011-06-14 16:32:44 +00: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.