Commit Graph

1172 Commits

Author SHA1 Message Date
Richard Heck
1a3821fd88 Fix XHTML export for new "in title" footnotes. Builds on a patch
by JMarc.
2014-12-02 11:03:26 -05:00
Juergen Spitzmueller
a25569ebb3 Add a layout tag ForceOwnlines that assures an inset is started and terminated by a line break in the LaTeX output.
Fixes: #8875.
2014-12-01 14:56:47 +01:00
Jean-Marc Lasgouttes
9b530e59c2 Let the Foot inset have a different Layout when inside a title
This allows to address two main issues
 * \thanks does only accept one paragraph, while \footnote allows several (ticket #2666)
 * footnotes in titling environments were not numbered on screen.

Moreover, the code reduces hardcoding of features, which is always a good thing.

There are several pieces in this commit:

 * new numbering type \fnsymbol for counters

 * the Foot inset changes its layoutName() to Foot:InTitle when inside a paragraph with InTitle property. This is set when running updateBuffer.

 * Foot:intitle uses the \thanks command, does not allow multiple paragraphs and marks its contents as moving argument.

 * The InsetLayouts for Foot now have properLaTeXName/Type, so that InsetFoot::latex can be removed; further code simplification is probably possible.

Fixes: #2666
2014-11-21 10:23:56 +01:00
Juergen Spitzmueller
1643fe5618 Fix font declarations. 2014-11-09 09:54:22 +01:00
Juergen Spitzmueller
1977beb5b2 cosmetics 2014-11-05 10:42:45 +01:00
Uwe Stöhr
fc13d7b814 graphicboxes.module: new module
support for the 4 boxes provided by the LateX package graphicx
2014-11-05 00:42:35 +01:00
Uwe Stöhr
5456b99137 pdfcomment.module and PDF-comment.lyx: some minor tweaks
- use a uniform naming scheme and a style fix as discussed
2014-11-03 23:56:42 +01:00
Juergen Spitzmueller
d485929370 small tweaks spotted by Uwe 2014-11-03 16:54:20 +01:00
Juergen Spitzmueller
9b5e565d33 remove file that was accidentally committed 2014-11-03 16:53:48 +01:00
Kornel Benko
4436678c97 typo 2014-10-31 10:15:54 +01:00
Juergen Spitzmueller
2dff14d238 Fix the pdfcomment rewrite 2014-10-30 10:22:09 +01:00
Uwe Stöhr
81390dcac9 pdfcomment.module: some fine-tuning
- use \requirePackage instead of \Usepackage
- name category properly
- reorder definitions
2014-10-30 02:16:23 +01:00
Uwe Stöhr
e9b4de9000 pdfcomment.module: fix unnecessary options I just accidentally introduced 2014-10-29 01:20:22 +01:00
Uwe Stöhr
f256f8b7b0 pdfcomment.module: total revision
this module was not usable since the preamble stuff was missing and also almost all options. But many PDF-comment types are quite useless without options.
2014-10-29 01:02:13 +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
Uwe Stöhr
981389da3a revtex4-1.layout: remove unnecessary preamble code
- \lovname was already added to REVTeX 4.1 in 2010
- REVTeX does purposely not allow to color text, see the discussion in bug #4625
2014-10-26 14:26:31 +01:00
Juergen Spitzmueller
dc75522161 Typos. 2014-08-31 15:15:11 +02:00
Juergen Spitzmueller
87eb430395 Add support for todonotes package
Fixes: #7546
2014-08-31 14:49:30 +02:00
Juergen Spitzmueller
ccdd782b4f Add support for the fixme package.
Fixes: #8868
2014-08-31 14:38:28 +02:00
Juergen Spitzmueller
9a702f195d Add support for beamer lemma environment.
File fomat change.
2014-08-31 12:30:14 +02:00
Scott Kostyshak
e9c1a1943b Revert "AGUTeX template/layout: support the new cls name"
This reverts commit cde8707 and changes "AGUTeX" back to "agutex".
The maintainer has changed "AGUTeX.cls" back to "agutex.cls" and has
confirmed (through private email) that he plans to keep the filename
all lowercase now that he is aware of case-sensitive file systems.
2014-07-29 15:50:52 -04:00
Juergen Spitzmueller
d333d7d696 Add support for the pdfcomment package.
Fixes: #6975.
2014-07-03 11:30:56 +02: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
Juergen Spitzmueller
4a0976ceeb Add support for the sectionbox and tcolorbox packages.
They will be used by the conference poster classes that will be supported in a minute.
2014-07-02 13:48:01 +02:00
Enrico Forestieri
00547009c2 Cleanup seminar.layout after the upgrade to format 50. 2014-05-29 22:07:37 +02:00
Georg Baum
4e078230a0 Update layouts with separators to format 50 2014-05-29 21:22:15 +02:00
Juergen Spitzmueller
20bcaec061 Add layout tag that determines if/when a paragraph can be indented.
Fixes: #7327, #7458, #8670
2014-05-29 14:10:32 +02:00
Vincent van Ravesteijn
cee8e61b2e Capitalize layout tag 2014-04-29 11:16:41 +02:00
Scott Kostyshak
e7b16d961f Do not spellcheck "code" in logical markup module 2014-04-22 10:49:18 -04:00
Richard Heck
47c3b0fce7 Typos in algorithm module. 2014-04-21 11:51:59 -04:00
Georg Baum
fe080790f1 Improve translation of "Graph" for achemso.layout
As discussed. achemso.layout contains both "Chart" and "Graph", therefore it
does not make sense to use "Graph" in the "Chart" / "Graph" / "Diagram" sense,
but in the mathematical sense like in "graph theory".
Therefore I added the context [[mathematicl]].
All translations are unchanged except the german one, which is now again
"Graph" as in 2.0.0 instead of "Schaubild".
2014-04-10 21:51:05 +02:00
Richard Heck
f10df83fab Revert addition of Question and Question* environments, for the
reasons discussed at bug #9015.
2014-03-08 11:38:50 -05:00
Richard Heck
3046aa0411 Fix small problem with question environment. 2014-03-05 15:37:08 -05:00
Richard Heck
dfc9dde6a9 Add Question and Question* environments to AMS modules. Fixes bug
Patch from Paul Rubin.
2014-03-05 12:31:51 -05:00
Uwe Stöhr
c71cd6d501 stdlayouts.inc: correct spacing for verbatim
Verbatim consist of lines not of paragraphs. There is therefore no paragraph spacing in the output and thus should also exists be in LyX.
2014-03-04 22:54:28 +01:00
Juergen Spitzmueller
a83d595dfb Fix \caption* definition (see #8993) 2014-02-26 07:57:57 +01:00
Georg Baum
6b49b6b129 Fix conflicting inset font defaults (bug #8874)
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit()
compatible. There is no user visible change except for the Chunk inset which
does not produce invalid LaTeX after editing operations anymore.
This is the safe version for 2.1.0, for later there are still open questions:
- All insets with ResetsFont true should be audited: Is this really needed,
  or do they show similar editing problems as the Chunk inset?
- Does inheritFont() need to be customizable in the layout file as well?
- Is resetFontEdit() != !inheritFont() needed at all?
I did not use change tracking for the docs, since I updated all existing
translations.
2014-02-10 22:06:32 +01:00
Juergen Spitzmueller
28abb40c1b Add missing refprefixes for theorems (#8781)
Original patch by Paul Rubin
2014-02-06 09:18:12 +01:00
Richard Heck
d0af587ab4 Update algorithm module to format 48. 2014-01-31 08:54:01 -05:00
Juergen Spitzmueller
35e64bf951 Allow usage of algorithm2e package (#8744)
This simple module allows users to use the algorithm2e package at all. Before, it was not possible with LyX, since this package conflicts with LyX's own algorithm support (see also #8728)
2014-01-26 19:23:40 +01:00
Georg Baum
de800ad149 Fix wrong description screen font (bug #8869)
paper.cls formats the description label without bold, so LyX should do the
same on screen. Note that simply removing the Series line does not help,
because Description is already defined in some include.
2013-11-14 21:14:08 +01:00
Scott Kostyshak
2756b43f1c Fix XeTeX export when using heb-article.layout
polyglossia is used by default and \make@lr is only defined
by babel. Modifying the preamble fixes XeTeX export and pdfTeX
continues to work.

See the following thread for more information:
  http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg181220.html

Thanks to Enrico for the patch.
2013-11-11 21:56:57 -05:00
Juergen Spitzmueller
36769e4323 enumitem module: one forgotten adaptation to new argument possibilities 2013-11-11 09:45:40 +01:00
Juergen Spitzmueller
8af913102c powerdot: fix argument order with empty first argument 2013-11-11 09:44:50 +01:00
Scott Kostyshak
ea89d17dd4 Put RJournal.layout in the report category
Also add author details.
2013-10-13 15:12:45 -04:00
Juergen Spitzmueller
78f7a7fb10 svmono.layout: correct TocDepth value 2013-09-05 12:27:59 +02:00
Juergen Spitzmueller
62b45896a7 Unify string (part of #8826) 2013-09-03 19:29:49 +02:00
Juergen Spitzmueller
8cd8f2d0c1 Reset arguments in theorem definition to avoid argument clash (#8827) 2013-09-03 17:44:35 +02:00
Juergen Spitzmueller
c25f339f3f Fix shortcut clash (#8813) 2013-08-30 11:37:48 +02:00
Scott Kostyshak
cde87070e5 AGUTeX template/layout: support the new cls name
'agutex.cls' was renamed to 'AGUTeX.cls'.

Further, the new .cls now contains bug fixes and is required for
submission to the AGU journals.
2013-08-23 15:34:56 -04: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
Juergen Spitzmueller
fb225b26f1 Add shortcuts to some Theorem argumentsnts (as requested in #8809) 2013-08-23 11:29:08 +02:00
Scott Kostyshak
3ebdbe65d3 Update RJournal.layout to v0.12 of RJournal.sty
Without this, the template gives a BibTeX error because
there are two \bibstyle commands in the .aux.

This would have broken backwards compatibility but RJournal.layout
has not yet been in a LyX release. Further, the journal made a
significant change (moving to a single column instead of two)
so any submitter would need to update the .sty anyway.
2013-08-21 16:15:15 -04:00
Scott Kostyshak
0ccde6590d RJournal.layout: package 'url' is already provided
This fixes an option conflict error when using
RJournal.sty v0.12 (the newest).

Previous versions of the .sty also provided 'url'
so they should still work with the layout.
2013-08-21 15:53:47 -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
Richard Heck
bac7708d4b The koma-script book class numbers equations by chapter. 2013-08-09 11:33:52 -04:00
Scott Kostyshak
0c961941c6 Typo 2013-07-31 18:10:16 -04:00
Richard Heck
c6a08bc442 Somehow forgot HTML tags for Paragraph and Subparagraph.
Vincent, this is totally trivial and so should be fine.
2013-06-11 14:30:15 -04:00
Vincent van Ravesteijn
d27668841b Update layouts to latest fileformat 2013-06-04 19:48:19 +02:00
Uwe Stöhr
65f4942c1a shapepar.module: correct naming scheme
- we use uppercase for all words in all other layouts
2013-06-03 20:26:30 +02:00
Richard Heck
4106fe37ac Use counter for new chunk insets, and set it to 2 in knitr and
sweave modules.
2013-06-01 17:42:36 -04:00
Juergen Spitzmueller
49665c9b68 Correctly categorize new layouts 2013-05-31 11:00:39 +02:00
Uwe Stöhr
28063d7c82 powerdot.layout: fix a typo spotted by Siegfried 2013-05-30 19:28:29 +02:00
Uwe Stöhr
f33454b3c7 LaTeXFeatures.cpp: add rsphrase
- also modify the rsphrase.module
- correct naming scheme for the bicaption.module
2013-05-30 18:15:44 +02:00
Uwe Stöhr
a2e6fc773a LaTeXFeatures.cpp: add multicol and shapepar 2013-05-30 17:55:21 +02:00
Uwe Stöhr
059dad2ace update support for multicolumns
- Additional.lyx: update description and convert some TeX code to the multicolumn inset
- multicol.module: restore the preamble settings that was accidentally removed bin the previous commit
2013-05-30 17:17:34 +02:00
Uwe Stöhr
0a1c8944a1 multicol.module: style refinements by Jürgen
- fixes bug #8568
2013-05-30 16:45:32 +02:00
Richard Heck
8f044f3c95 Patch to convert Sweave chunk paragraphs to insets (bug #8588). Work
by Liviu (C++) and Richard (Python).
2013-05-30 10:20:34 -04:00
Uwe Stöhr
6c0bc842b7 moderncv.layout: support the command \social
- \social can be used for social network addresses in the address block
2013-05-29 01:11:14 +02:00
Uwe Stöhr
d12f7440fb aastex.layout: cleanup the file
- rearrange the style definitions in the order they should appear
- remove the hackish ordering
2013-05-29 00:20:53 +02:00
Richard Heck
246b3d79e6 Enumerate isn't always defined when the case stuff is included. 2013-05-28 13:32:17 -04:00
Juergen Spitzmueller
88e57fdca9 Fix some double layout deletions (part of #8619) 2013-05-28 19:07:52 +02:00
Richard Heck
a9614f15d2 We already allowed a counter declaraton for flex insets. We just
didn't do anything with it. So let's do something with it.

Fixes bug #8470.
2013-05-28 00:11:43 -04: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
Scott Kostyshak
32a5a06db5 RJournal.layout: remove unneeded code
Part of this code was moved to the template in a previous commit
and part was removed because it is no longer needed.

Patch by Yihui Xie.
2013-05-21 01:28:26 -04:00
Uwe Stöhr
8f9520eda5 AEA.layout: restore a style
- I accidentally deleted this style in previous commit
2013-05-18 20:51:02 +02: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
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
43f52ccd64 RJournal: set ForcePlain to 'true' for email inset
This prevents the user from some mistakes, such as
embedding an itemize or ennumerate environment.
2013-05-16 22:56:31 -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
0d434033ec Add a layout and template for the R Journal
Patch by Yihui Xie.
2013-05-16 22:49:24 -04:00
Julien Rioux
cde541d785 New \cite_engine_type default.
The default citation capability of LaTeX is not a true numerical
citation engine, rather it uses a mixture of labels/numbers. Thus
we now distinguish them: "numerical" always increments the bibitem
counter and uses its value as a numerical citation label, while
"default" only uses the bibitem counter when no label is provided.

LyX file format incremented to 471.
2013-05-16 20:39:23 +02:00
Julien Rioux
bfc731de45 Compute and output numbers for numerical citations. 2013-05-16 16:10:05 +02:00
Julien Rioux
02e59530b1 Add missing space in front of edition in generated bibentry. 2013-05-13 21:07:04 +02:00
Julien Rioux
66f44f46c2 Add modifier to jurabib and natbib (author-year) modules. 2013-05-13 20:58:12 +02:00
Julien Rioux
3d4076b598 Natbib authoryear uses (Ref1; Ref2) by default.
I was confused when I checked this. It looks like plainnat.bst
overwrites this default to use [Ref1, Ref2] style instead, but
when using natbib's defaults you get the (Ref1; Ref2) style.
2013-05-13 20:29:49 +02:00
Richard Heck
b9f48eb945 Fix bug #8666. Parts should have toclevel -1.
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.
2013-05-10 13:19:38 -04:00
Scott Kostyshak
912cbcdbb4 jasatex.layout: fix 'Acknowledgments' style
'Acknowledgments' does not belong in the title but did not override
'InTitle 1' inherited from 'Abstract'. Without this patch, the
following error is given:

  output_latex.cpp (1111): Error in latexParagraphs: You should not
  mix title layouts with normal ones.

Thanks to Hashini Senaratne for narrowing down the problem.
2013-04-16 04:55:34 -04:00
Richard Heck
4a6efbb102 Implement XHTML output for InsetPrintNomencl. 2013-03-27 21:30:48 -04:00
Richard Heck
79f428d201 Use InsetLayout to get the tag type for TOC-like things. 2013-03-27 20:03:32 -04:00
Richard Heck
df1af5df47 Update the XHTML output for InsetFloatList. We'll now use an
InsetLayout to style it.
2013-03-27 20:03:32 -04:00
Richard Heck
d3feabfc86 Remove the "arrow" from the XHTML TOC. I think I put it there near
the beginning, when the titles themselves were not being used as
links. Now they are, so it is not needed.
2013-03-27 18:28:25 -04:00
Richard Heck
9c8955ffd9 Move the CSS for the TOC to its own InsetLayout. 2013-03-27 18:24:08 -04:00
Richard Heck
d3f6e28e35 Use the TOC:Listings layout to hold CSS information for it. 2013-03-27 18:22:20 -04:00
Richard Heck
4df02801a6 Links between citations and bibliography entries were broken in XHTML
output, due to failure to clean the ids in the new citation stuff.

I've solved this by allowing the citation format information to contain
keys of the form "clean:key". This signals that we are to apply the
html::cleanAttr() function to the key before returning it. I.e., we
strip non-alphanumeric stuff, basically.
2013-03-27 15:59:36 -04:00
Richard Heck
a85a3135fb Style Memoir epigraphs. 2013-03-27 14:01:01 -04:00
Georg Baum
c61ef8b205 Support \caption* (bug #3209)
This was a low hanging fruit which would have to wait for a long time because
of a file format change if it was not implemented before 2.1.
2013-03-22 22:23:38 +01:00
Juergen Spitzmueller
d8be21fb6c Capitalization fix.
This would be a file format change, but since the previous version is just two hours old, I will do without.
2013-03-18 15:06:49 +01:00
Juergen Spitzmueller
3ab2798b6e Powerdot updates
* Powerdot now also uses the native overlay item arguments
* a list option argument is finally available
* \pause natively supported (like in beamer)
* support for \onslide (via InsetFlex)
* support for \twocolumn

File format change.
2013-03-18 13:36:56 +01:00
Juergen Spitzmueller
370bbbc7f2 Old beamer frames bite the dust
With this commit, old beamer frames are converted to new ones. The old styles are removed (including the infamous \lyxframe).

This should be tested with as much beamer documents as possible (I have already done so), also, tex2lyx now probably produces invalid LyX files.
2013-03-16 12:52:00 +01:00
Kornel Benko
cc0c3d0427 Remove latex-nameclash between
\newfloat{algorithm} ...
and
        \newtheorem{algorithm}...
2013-03-01 15:32:58 +01:00
Georg Baum
eb53c60a8f Complete the NoInsetLayout format change 2013-02-21 21:57:59 +01:00
Juergen Spitzmueller
766d3f02d7 We seem to have missed this one. 2013-02-17 14:08:20 +01:00
Juergen Spitzmueller
3e20a73288 KOMA sections are raggedright by default (as opposed to the standard classes) 2013-02-16 10:35:11 +01:00
Uwe Stöhr
eabe77839b moderncv.layout: update to modernCV 1.3
- this new modernCV version fixes the annoying linebreak bug I was suffering so long, it moreover adds 2 new features

- lyx2lyx/lyx_2_1.py: updated to revert the new features
2013-02-16 01:02:32 +01:00
Uwe Stöhr
77affc9967 IEEEtran-CompSoc.layout: use the new NoInsetLayout tag 2013-02-16 00:48:21 +01:00
Juergen Spitzmueller
3e55139482 Use the new Static label type for the koma book chapter 2013-02-10 14:48:07 +01:00
Enrico Forestieri
4f3370e460 Correct typo 2013-02-09 20:29:25 +01:00
Richard Heck
460b44b8f5 Update all layouts to format 44. 2013-02-09 13:44:06 -05:00
Uwe Stöhr
d8a6e0ab70 IEEE: support for Transactions on Magnetics 2013-02-09 18:18:21 +01:00
Uwe Stöhr
59e13e6df6 IEEEtran: dome corrections and additional info 2013-02-09 17:53:34 +01:00
Uwe Stöhr
33e185e5ed IEEEtran.layout: support for conference articles
- IEEEtran-Conference.lyx: new template for conference articles of the IEEE
2013-02-09 03:23:34 +01:00
Uwe Stöhr
0c993b5135 IEEEtran-CompSoc.layout: force plain layout 2013-02-09 02:52:39 +01:00
Uwe Stöhr
f3c407e7b9 elsarticle.layout: force plain layout for some flex insets
- This prevents LaTeX errors because some commands don't allow to include commands.
- also simplified some code
2013-02-09 02:50:54 +01:00
Richard Heck
99402cd09c Don't hardcode listings but use InsetLayout. 2013-02-08 09:48:48 -05:00
Richard Heck
f623ded109 Fix bug #7948 by not hardcoding XHTML info for captions but instead
using InsetLayout.
2013-02-08 09:30:31 -05:00
Uwe Stöhr
20f1ba109e IEEEtran-CompSoc: new layout to support the IEEE "computer science" journals 2013-02-07 02:13:44 +01:00
Uwe Stöhr
7c98a16fbb IEEEtran.layout: support command \IEEEPARstart 2013-02-07 02:01:57 +01:00
Julien Rioux
3408ca4204 Support for \fullcite in LyXHTML and text export (fixes #8491). 2013-02-06 17:37:59 +01:00
Richard Heck
c9b9501f7d Fix TeX crash involving URLs. Patch from Martin Vermeer. 2013-02-05 10:00:32 -05:00
Jean-Marc Lasgouttes
be42f1398d Fix bug #5408: tex2lyx cannot handle verbatim code
- Implement catcode setting in Parser
- add a new Parser::verbatimStuff method that reads verbatim contents
- use this method to parse "verbatim" environment.
- use it to parse \verb too.
- rename Parser::verbatimEnvironment to ertEnvironment.

TODO:
- use for other verbatim-like cases (Sweave chunk, lstlisting...)
- factor out the function that outputs ERT (including line breaks)
- maybe implement Parser::unparse (if needed)
2013-02-04 10:25:58 +01:00
Kornel Benko
4b95c7b2a3 Renamed category 'Theorem' and 'Theorems' to 'Reasoning' 2013-01-30 12:36:49 +01:00
Juergen Spitzmueller
c19ef34916 Prepositions with >4 characters are capitalized in Title Casing 2013-01-27 16:56:44 +01:00
Juergen Spitzmueller
ba9b3b0006 Some capitalization fixes
Layout files need to be audited more thoroughly for capitalization coherence
2013-01-27 16:34:18 +01:00
Uwe Stöhr
a68122d690 - lyx_2_1.py: support for modernCV
- moderncv.layout: whitespace fixes
2013-01-27 05:25:00 +01:00
Uwe Stöhr
51cea81710 modernCV.layout: add requirement "suffix.sty" 2013-01-26 18:48:31 +01:00
Kornel Benko
9e14f0c587 Sort categories for dinbrief.layout 2013-01-25 17:42:58 +01:00
Uwe Stöhr
ff718ebaa5 initials.module: add the missing mandatory argument
- thanks to the new InsetArgument feature we can save all ERT for initials
2013-01-20 21:23:55 +01:00
Uwe Stöhr
b6ce3e10b2 moderncv.layout: add some AutoInsert 2013-01-20 21:22:55 +01:00
Uwe Stöhr
1a0e43faff add some AutoInsert for layouts 2013-01-20 17:56:28 +01:00
Uwe Stöhr
2bd368fd6b layout/module files: some whitespace uniformications 2013-01-20 16:44:05 +01:00
Kornel Benko
46f8c8d043 Replace double quotes with singlgle quotes from
module description string.
This way the string is also translatable again.
2013-01-19 14:34:48 +01:00
Uwe Stöhr
ab8365b3ed some refinements for paper class example and templates
- update fileformats
- sigplanconf.layout: fix a bug and improve a command
2013-01-13 22:59:16 +01:00
Uwe Stöhr
a3036539b2 multicol.module: use the layout argument mechanism
- Additional.lyx: update description of multiple columns accordingly
2013-01-13 03:23:25 +01:00
Uwe Stöhr
f37cdbc298 add shapepar module
- shapepar.module: new module to get non-rectangular paragraph shapes
- SpecialParagraphShape.tex: an example shape definition file
- Additional.lyx:
  - accept all changes and updated all language versions accordingly
  - describe how to get custom paragraph shapes (last section of the document)
  - preamble cleanup
2013-01-12 19:44:08 +01:00
Uwe Stöhr
d57a52496f bicaption.module: improve a tooltip
- MultilingualCaptions.lyx: fix a typo
2013-01-12 16:27:03 +01:00
Uwe Stöhr
b0381b68a1 bicaption.module: update to new argument layout mechanism
- also fix a bug in the caption setup style to get rid of ERT
- MultilingualCaptions.lyx: update descriptions accordingly
2013-01-12 16:16:30 +01:00
Uwe Stöhr
2e7686e6e9 rsphrase.module: update to layout argument machinery
- also some whitespace fixes
- R-S-statements.lyx: update fileformat and fox some typos
2013-01-12 15:31:16 +01:00
Julien Rioux
26b67dcb49 Update the lilypond module to use the Argument machinery. 2013-01-12 10:04:53 +01:00
Julien Rioux
15b2501177 LyXHTML linking from citation to bib entry for LyX 2.1 (fixes #8490).
What was previously accomplished by wrapCitation is now customizable in the
layout files. What we provide by default here corresponds roughly to the
LyX 2.0 behavior.
2013-01-10 15:32:00 +01:00
Uwe Stöhr
4dba320edb natbibapa.module: fix a typo 2013-01-03 02:45:48 +01:00
Julien Rioux
428d5f8978 Layout whitespace. 2012-12-31 17:16:14 +01:00
Julien Rioux
90f7007a2e Update my email and status. 2012-12-31 17:16:13 +01:00
Kornel Benko
a71b923f1e Categorized g-brief2 styles 2012-12-31 16:57:02 +01:00