Commit Graph

256 Commits

Author SHA1 Message Date
Scott Kostyshak
5f7395d648 ctex.lyx: use free fonts by default
Now with TeX Live 2014 (and also with 2015), we can export ctex.lyx
with free fonts. I have confirmed that the output is correct.
2015-05-05 02:15:44 -04:00
Scott Kostyshak
b21ccc0f76 Update format of ctex.lyx 2015-05-05 02:07:04 -04:00
Scott Kostyshak
34eadf5d49 Fix compilation of the template ACM-sigplan.lyx
This template was only reported as failing to compile by LyX as of
0a6120cb. I do not know how long this template was actually failing
to compile without error. The problem was that the class requires
\doi to be defined. This might not have been a requirement in
previous versions of the class.

Thanks to Enrico for finding the problem and solution.
2015-04-08 13:41:59 -04:00
Scott Kostyshak
364139b49c Update a fileformat 2015-04-08 13:41:59 -04:00
Scott Kostyshak
02b3a7b35e Correct the \lyxformat of aastex template
The current format is 480. Commit 6594289d changed
the format in this file to 481, which caused the file
to not be loadable in LyX.
2015-02-18 00:15:49 -05:00
Richard Heck
d70ddce841 Actually add the Beamer template. 2015-02-08 09:19:47 -05:00
Uwe Stöhr
6594289d3d aastex: fix optional argument of a command
- aastex.layout: fix name and hint of \figcaption
- aastex.lyx: improved template file
2015-01-23 00:23:37 +01:00
Uwe Stöhr
84886d4b13 aastex.lyx: repair a broken figure float 2015-01-11 03:40:31 +01:00
Uwe Stöhr
a6ac7be84c IEEEtran templates: fix language package 2014-12-03 23:33:02 +01:00
Scott Kostyshak
5934827382 Typo 2014-11-15 19:22:48 -05:00
Uwe Stöhr
c663a1f50a revtex4-1.lyx: simplifications and fixed typos 2014-10-28 02:36:58 +01:00
Uwe Stöhr
a1add5e804 revtex4-1.layout: update to latest REVTeX 4.1
- added support for the command \onlinecite
- some style and whitespace issues
- revtex4-1.lyx: update accordingly
2014-10-27 01:39:18 +01:00
Uwe Stöhr
206ffe03d4 revtex4-1: port changes from branch
also add the todo list to support all commands used in REVTeX's official sample document.
2014-10-26 17:20:21 +01:00
Juergen Spitzmueller
52c219ee29 Support for conference posters
The following poster classes are now supported:

* a0poster
* beamerposter
* sciposter
2014-07-02 14:01:28 +02:00
Scott Kostyshak
bb250e4d95 Restore compilation of AEA template for TeX Live
After the previous change this document failed to compile under
TeX Live 2013 and 2014. By using a different bib file, it
compiles. For more information, see
  https://www.mail-archive.com/lyx-devel@lists.lyx.org/msg183786.html
2014-06-27 22:42:13 -04:00
Scott Kostyshak
e76707d9d5 AEA.lyx: update format 2014-06-27 22:42:13 -04:00
Scott Kostyshak
4133be11b3 Fix compilation of Springer template
Replace two images with text placeholders. This is necessary
after a860d18b moved the file back from being an example.
2014-04-21 02:57:45 -04:00
Scott Kostyshak
afdab15aa3 Fix compilation of ACM-sigplan
Compilation was failing with TeX Live 2013 because of
the format of one of the references. This commit just
changes one of the references to a different one.
2014-04-21 02:57:44 -04:00
Uwe Stöhr
5ff8a3941b partly revert commit a860d18b5a
svmono and svmult must stay in the examples folder because they include childs
2014-03-30 17:41:02 +02:00
Uwe Stöhr
a860d18b5a template files: remove all relative paths to re-eanable to use "new from template"
- this brings back all our template files (they are no example files, would have been a regression otherwise because LyX 2.0 offers them already in "new from template")
- the thesis files will stay in the examples folder for now until we have a real fiix for bug #8643
2014-03-30 17:22:05 +02:00
Uwe Stöhr
da1a3726a5 template files: remove relative paths
this re-enables the feature to use them as "new from template"
2014-03-30 16:35:09 +02:00
Juergen Spitzmueller
4bc29abb70 elsarticle: use standard xampl bib from texmf tree (relative path does not work for templates) 2014-03-28 15:19:28 +01:00
Vincent van Ravesteijn
9f5739e237 Update templates to latest fileformat 2014-03-23 17:49:36 +01:00
Vincent van Ravesteijn
7583a8ce25 Fix EOLs 2013-10-06 05:57:53 +02:00
Scott Kostyshak
2c6eab541f Move AGU_article.lyx to the attic
Exporting this outdated document currently hangs on some systems.
Further, there is no natural link between AGU and DocBook
and this could be confusing to a user who is looking for
the AGU template.
2013-09-27 23:57:20 -04:00
Kornel Benko
631d019269 Changed texclass to make attic/revtex.lyx compilable 2013-09-09 10:21:20 +02:00
Scott Kostyshak
75f004a7f4 Revert "AGUTeX template/layout: support the new cls name"
This reverts commit 66dfbab8bb.

This was a poor commit for more than one reason.
Thank you to Juergen for help on this.

See the following for more details:
http://comments.gmane.org/gmane.editors.lyx.devel/148425
2013-08-23 15:34:56 -04:00
Scott Kostyshak
66dfbab8bb AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.
2013-08-20 15:38:04 -04:00
Juergen Spitzmueller
63d1719bf1 Assure bibtex is used for documents that use bibtex
Manuals, examples and templates that use (traditional) bibtex should have set the bibliography processor to bibtex. Else, these documents do not compile if a user has set the processor to 'biber' in the preferences
2013-08-19 11:19:26 +02:00
Scott Kostyshak
210d590d4f *-cropped: move the example out of the note
This provides a working examples that can be viewed directly
and makes the templates compilable out-of-the box.

When moving the example, I removed what I interpreted to be
an errant apostrophe.
2013-08-16 03:54:14 -04:00
Scott Kostyshak
7e8b1e9e9d AGU_article: Change defualt output format to xhtml
This document does not export to PDF. Further, if one tries
to export to PDF on some systems, the process hangs. This commit
thus changes the default output format to xhtml and explains in a
note at the top that LyX does not currently support exporting this
document to PDF.

Note also that this document seems to be outdated and so is a
candidate for attic.

Further, this document is a candidate for being renamed. Currently
users might be confused if they are looking for the canonical way
(no need for DocBook) to write an article for AGU journals. For
that, they should use AGUTeX.lyx.
2013-08-16 03:40:57 -04:00
Scott Kostyshak
beaf51a0a6 Fix ectaart.lyx reference labels
The labels for the references are now in the format
"author(year)". Without this, the following error is given:

  "Bibliography not compatible with author-year citations"

Thanks to Richard for the fix.
2013-08-15 15:54:59 -04:00
Scott Kostyshak
0422f79685 Put bib in Note so revtex4-1 compiles out-of-box
Otherwise the following error is reported:

  "couldn't open database file your-bib-file.bib"
2013-08-15 02:26:57 -04:00
Scott Kostyshak
3471874ed0 Move ACM-siggraph to examples (#8643)
This fixes out-of-box compilation, continuing f5cf21d7.
2013-08-15 02:16:07 -04:00
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
Scott Kostyshak
5bacf85b48 AEA.lyx fixes
- add a citation (otherwise BibTeX complains)
 - change citation style to Natbib (author-year)
 - fix a typo
2013-08-04 15:21:00 +02:00
Scott Kostyshak
9fd950c3f2 Thesis template: fix whitespace issue in preambles 2013-06-02 02:15:28 -04:00
Scott Kostyshak
d7db3961e2 Fix typo of journal name in aa_sample.lyx, aa.lyx 2013-05-29 02:53:38 -04:00
Vincent van Ravesteijn
704273eea0 Add formats and converters for cropped PDF/EPS
With LyX configured in this way, the user would only need to:

File > New from Template > EPS.lyx (or PDF-cropped.lyx):
- insert a math inset and type in an equation, or create whatever
  content LaTeX can handle,
- view/export to cropped EPS/PDF.

This would allow for LyX to act as a "generator for includable graphics" (equations, commented graphics, etc).

This fixes bug #7839.
2013-05-27 22:06:33 +02:00
Uwe Stöhr
a6f6f79eb1 A&A support: further updates
- mention that the aa class loads natbib to avoid compilation errors
- the aa package contains an outdated an customized version of natbib.sty. This file only works with aa, but breaks the compilation of many other files on your system, therefore remove the bibliography and replace it by BibTeX
- add a note about the encoding
2013-05-26 17:55:10 +02:00
Uwe Stöhr
e28625160a aa.layout: updated for A&A 8.2 2013-05-26 05:29:24 +02:00
Uwe Stöhr
5002ef33f0 aa: fix compilation of the templates/aa.lyx
- aa already loads inputenc
2013-05-26 03:04:59 +02:00
Richard Heck
01add2d52f Layouts for ACMS SIGS styles, contributed by Gioele Barabucci. 2013-05-23 15:11:19 -04:00
Uwe Stöhr
efcd04c9f2 AEA.lyx/layout: update templates/AEA.lyx
- make template compilable
- update it according to the latest AEA guidelines
- add 4 missing styles to the layout:
* \keywords
* \JEL
* figurenotes environment
* tablenotes environment
2013-05-18 20:36:26 +02:00
Scott Kostyshak
43d7102204 RJournal template now also works with latex
Before, only PDFs were being generated so latex did not compile.
Now, both PDF and EPS files are generated.

This is not efficient but could save the user some pain, which is
the goal of templates.

An alternative would be to set the default output to use pdflatex.
2013-05-16 22:57:11 -04:00
Scott Kostyshak
9e425a0547 RJournal: use 'classic' decoration for email inset
This makes it clear that

  (1) the emails are in their own insets
  (2) the \email command is embedded in the \address command
2013-05-16 22:56:56 -04:00
Scott Kostyshak
f40322081b RJournal: change 'Address' Flex inset into a Style
This looks better and gives natural separation between multiple
authors.
2013-05-16 22:55:56 -04:00
Scott Kostyshak
9d7d7c3816 RJournal: change 'Abstract' from a Flex to a Style
This looks more consistent with other templates to me.
2013-05-16 22:55:03 -04:00
Scott Kostyshak
4beba4e8f8 RJournal template and layout: move ERTs to layout
The layout now takes care of \begin{article} and \end{article}
by using \AtBeginDocument and \AtEndDocument.

This cleans up the template a little by removing some ERT. The
user no longer needs to read the two notes explaining why the
ERT boxes were necessary. The user also does not need to think
about why this LaTeX environment exists.
2013-05-16 22:51:22 -04:00
Scott Kostyshak
e99a8b7c67 RJournal.lyx: hardcoded shortcuts -> insets
This way if the shortcut changes or a user is using
a different bind file, the correct shortcut will appear.
2013-05-16 22:50:48 -04:00