Commit Graph

1035 Commits

Author SHA1 Message Date
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
Juergen Spitzmueller
846dd9b995 Introduce new beamer frame layouts
The old layouts are still there (marked as deprecated). The new ones are more or less correctly reverted (polishment required), but the old ones not yet converted to the new. Once this is done, a further file format change should be made.
2012-12-31 13:00:46 +01:00
Juergen Spitzmueller
c3be720b53 Fix bicaption argument descriptions 2012-12-31 10:33:53 +01:00
Kornel Benko
d3b94fed30 Added categories for style Bibliography, TwoAuthors, ThreeAuthors, TwoAffiliations,
ThreeAffiliations, Institute, DinBrief, Section, Subsection, Theorem,
     Labeling, Opening, Closing, Signature, Name
2012-12-30 20:30:35 +01:00
Kornel Benko
534efc5139 Added categories for style Standard, Title, Abstract, ShortTitle,
Author, FourAuthors, Affiliation, FourAffiliations, Acknowledgements,
     Itemize, Enumerate, Seriate
to layouts, where they were missing. More to follow
2012-12-30 19:33:20 +01:00
Juergen Spitzmueller
2a62a2c395 update layout format 2012-12-30 18:35:23 +01:00
Juergen Spitzmueller
c246076ed5 Fix the 'caption inset mess' (bug #4647) 2012-12-30 18:29:02 +01:00
Juergen Spitzmueller
d0b5728d2e natbibapa.module: update format 2012-12-29 16:55:32 +01:00
Juergen Spitzmueller
f15c2c5f22 typo 2012-12-29 12:30:38 +01:00
Juergen Spitzmueller
592a7d2144 apa6 layout: update format, categorize properly, and whitespace.
IMHO we should take care that layout submissions to trunk are at least properly categorized
2012-12-29 11:09:10 +01:00
Juergen Spitzmueller
d1b8bc92ce typo 2012-12-28 12:35:18 +01:00
Juergen Spitzmueller
78cd88f5a3 Proper support for memoir epigraph (bug #8151) 2012-12-28 12:32:59 +01:00
Kornel Benko
f98139e58d Rename category Section -> Sectioning 2012-12-28 10:52:58 +01:00
Richard Heck
824b0313b3 Add layout for APA v6 class and associated module and template.
Also, add Jacob Bishop to the list of contributors, since this is
his work. Thanks, Jacob!
2012-12-27 15:50:50 -05:00
Juergen Spitzmueller
483b99193f Support for beamer \frametitle
The \frametitle command is less convenient to use than the \frame argument, but it provides more options (overlay/action and short title). We thus provide this additionally to the option, like beamer itself does.
2012-12-22 16:28:43 +01:00
Juergen Spitzmueller
b0aa0db10a Bump layout format 2012-12-22 11:39:04 +01:00
Juergen Spitzmueller
4818b3e68a Add (overlay-aware) beamer bold inset 2012-12-21 16:42:55 +01:00
Juergen Spitzmueller
e8598bf353 Whitespace 2012-12-20 14:10:14 +01:00
Juergen Spitzmueller
bfde26bf12 Cosmetics 2012-12-20 09:53:18 +01:00
Juergen Spitzmueller
4f36061811 Proper support for beamer overprint environment
This has a list-like structure (with \onslide item commands). The previous implementation was rather useless, since it required lots of ERT. Since the new implementation is so different, we use ERT for conersion/reversion.

The lyx2lyx routines are not yet perfect, though.
2012-12-19 19:33:39 +01:00
Juergen Spitzmueller
e5ebe17b92 AutoInsert option also for flex insets 2012-12-17 13:32:40 +01:00
Juergen Spitzmueller
dd21e57bd3 Option to auto-insert a paragraph style option, particularly useful for specific mandatory arguments (such as beamer block or frame titles) 2012-12-16 13:37:14 +01:00
Kornel Benko
2498ad16ae Typo 2012-12-14 13:35:37 +01:00
Juergen Spitzmueller
661d027a11 beamer: small tweaks 2012-12-10 12:16:04 +01:00
Juergen Spitzmueller
25ef8e7eef Allow to separate menu string from label string for arguments 2012-12-09 19:15:41 +01:00
Juergen Spitzmueller
d073cfb458 Support for beamer block arguments (#3280) 2012-12-09 17:19:21 +01:00
Juergen Spitzmueller
30b53ba4a0 beamer revision, part 1: support for overlay arguments 2012-12-09 11:04:56 +01:00
Uwe Stöhr
50f88e256b svcommon.inc, theorems-without-preamble.inc: correction from previous commit
- svcommon.inc, theorems-without-preamble.inc: better naming of the optional argument, no overwriting necessary
2012-12-08 20:10:14 +01:00
Uwe Stöhr
c9a2255244 update argument labels for Springer classes
- svcommon.inc, theorems-without-preamble.inc : correct labels and argument names and some whitespace fixes
- svmono, svmult: update/add some notes
2012-12-08 20:04:13 +01:00
Richard Heck
3bf6f714cf Exclude enumitem from beamer. See bug #7047. 2012-12-05 14:52:48 -05:00
Uwe Stöhr
5dc6293d07 europeCV: complete revision of layout and example file
- also fix in the generic conversion routine the cases
  - that there are one or more optional arguments before the mandatory ones
  - that the conversion does not start with the first argument of a command
2012-12-04 00:55:39 +01:00
Uwe Stöhr
ecc0d198df acmsiggraph: complete revision of layout and template file
- also support in the lyx2lyx argument conversion routine the case that "}{" appears in 2 consecutive ERTs
- also fix in lyx2lyx_tools.py the output of ERTs (it is important that we write the same amount of lines as if the ERT would have been inserted via LyX 2.0 or lyX 2.1)
2012-12-02 15:58:14 +01:00
Uwe Stöhr
253db22bd1 sigplanconf.layout: whitespace fix 2012-11-30 02:00:20 +01:00
Uwe Stöhr
5c5e8817e3 sigplanconf: complete revision of layout and templates/ACM-sigplan.lyx
- additionally some fixes for the generic insetArgument lyx2lyx routines
2012-11-30 01:54:57 +01:00
Juergen Spitzmueller
1500e44cba Support for \item arguments 2012-11-29 15:34:20 +01:00
Juergen Spitzmueller
a7f8fb8c5f Provide option to force a local language switch where a global is not allowed (fixes #8033) 2012-11-28 20:55:21 +01:00
Jean-Marc Lasgouttes
4f6c0b5202 Fix # 8414: Use the noweb module instead of literate-* article layouts
Now that we have module support for literate programming, it is possible to do a noweb cleanup. This is basically a patch from Kayvan Sylvan:

- get rid of literate-xxx classes
- rename Scrap to Chunk, since this is the name noweb doc uses (Scrap is from nuweb)
- update lyx file format and add lyx2lyx support for gettting rid of literate-xxx classes
- update documentation

On the top of it, update tex2lyx to
- avoid creating files with literate-xxx class
- fix conflict between parsing << as a quote and parsing it as a Chunk
- create Chunk layouts instead of Scrap ones.
2012-11-28 14:11:47 +01:00
Uwe Stöhr
bf5db4183b moderncv.layout: use the new font feature for arguments 2012-11-27 00:28:13 +01:00