Commit Graph

6177 Commits

Author SHA1 Message Date
Uwe Stöhr
4b4e513e80 Customization.lyx: document color names
- there is no need that we force Layout authors to look into the source code to be able to set a color in a layout file.
2012-12-31 04:05:58 +01:00
Uwe Stöhr
33e9c65413 Customization.lyx: revision of chapter 5 - port from branch
- uniform formatting, clarifications, simplifications, updates, added missing information
- German Customization.lyx: also translations, added missing information that is already in the other language versions
2012-12-31 03:08:28 +01:00
Georg Baum
ee3ce572a0 Fix import of shift-jis and big5 CJK texts.
These encodings were not defined, since they must not be used as document
encodings (the characters {, } and \ may appear in high bytes, and latex
would be confused). However, they are supported by CJK.sty (which uses a
preprocessor to circumvent the limitations of the latex executable). These
encodings are now defined, but used for import in tex2lyx only.
The test case CJK.tex contained fake tests for shift-jis and big5 (the
japanese and chinese characters were entered using the utf8 encoding), and
therefore the wrong interpretation of these encoding looked as if it worked.
The comments about missing iconv support of shift-jis and big5 were wrong as
well (otherwise shift-jis-plain would not work either).
2012-12-30 20:52:50 +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
e5b7cc4591 Add new apa files to the Makefile 2012-12-29 12:35:48 +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
Georg Baum
56ece75ad9 Fix bug #8464: stackrel with subscript.
The fix is basically mechanical, the additional code for fraction like insets
with three arguments was stolen from \unitfrac. As any math package,
stackrel.sty needs a buffer parameter to switch it off.
I also added the two stackrel flavours to the toolbar.
2012-12-28 20:08:43 +01:00
Juergen Spitzmueller
d4a00c1a8a tex2lyx glitch 2012-12-28 14:04:24 +01:00
Georg Baum
a6f12e8a5c Document feature alternatives 2012-12-28 13:25:42 +01:00
Georg Baum
13b288bc5e Remove duplicate symbols
There were found with -dbg mathed ans entering a math inset.
I kept the AMS versions, except leadsto, which is only an approximation in AMS.
hbar was simply defined twice with identical definitions.
2012-12-28 13:25:42 +01:00
Georg Baum
23b74a9111 Add toolbar images for stmaryrd.sty symbols
These are all generated by development/tools/generate_symbols_images.py, the
only manual adjustments were renamings due to case sensitive file systems on
windows.
2012-12-28 13:25:41 +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
Juergen Spitzmueller
37f41fd4b5 Support for command argument placement after the workarea argument 2012-12-28 11:21:24 +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
2f7cd8cc8a Add environment-split to the menu 2012-12-27 11:28:55 +01: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
ef541d474c Improve overprint conversion.
Deeply nested sequences are still problematic.
2012-12-20 13:29:04 +01:00
Juergen Spitzmueller
bfde26bf12 Cosmetics 2012-12-20 09:53:18 +01:00
Juergen Spitzmueller
bb77082d04 Update beamer example 2012-12-19 19:47:00 +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
c3aa718151 Make the \item command in lists customizable 2012-12-19 16:55:22 +01:00
Richard Heck
d19c02c424 Add Zahari Dmitrov Kassabov to contributors. 2012-12-17 10:35:40 -05:00
Juergen Spitzmueller
e5ebe17b92 AutoInsert option also for flex insets 2012-12-17 13:32:40 +01:00
Georg Baum
01a6d4252b Full delimiter support for llbracket and rrbracket
stmaryrd.sty sets these symbols up as variable size math delimiters (i.e.
they may be used with \left and \right). Now LyX knows about that and offers
them in the delimiter dialog as well as single symbols.
2012-12-16 15:49:42 +01:00
Georg Baum
f96f9684ce Fix errors found by generate_symbols_images.py
llltr is a copy-paste error, the correct name is llless.
astrosun needs the wasysym package (the automatism does not kick in because
the font is cmsy, not wasy).
2012-12-16 14:44:49 +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
Georg Baum
f67cf6f4bb Add support for stmaryrd.sty (bug #8434)
The stmaryrd package adds support for lots of math symbols, using a font
designed to accompany the computer modern fonts. The changes in detail:

- Fix generate_symbols_list.py to work with stmaryrd.sty. It loooks like it
  was automatically translated from a perl version and never used.
- Generate the new symbols in lib/symbols using generate_symbols_list.py and
  add some manual adjustments
- Generate stmary10.ttf by a simple ttf export from stmary10.sfd with fontforge
- Add license info for stmary10.ttf
- Create a test file with all symbols from stmaryrd.sty. Actually it would be
  nice to have this for the other fonts as well.
- The mechanics: lyx2lyx, tex2lyx, font machinery etc.
2012-12-15 13:10:31 +01:00
Georg Baum
8bd16005a9 Move some glyphs up by 800 units.
Without this, qt will enlarge some glyphs out of proportion (no, I don't
understand why it does this, and I found out by accident how to avoid it).
Still, the vertical alignment is only roughly correct (also for the untouched
glyphs). If somebody cares some fine adjustment would be nice.
2012-12-15 11:21:01 +01:00
Georg Baum
2f0e57cad4 Re-encode stmary10 font
Use a 1:1 unicode "encoding" as for all other math symbol fonts.
This is not correct for using the font outside of LyX, but in LyX we misuse
the first 255 code points for symbol fonts (see code points of existing fonts
in lib/symbols). These code points are identical with the postscript versions
of the fonts, so if qt was able to use postscript fonts, they could be used
instead of the truetype versions.
The character varcurlywedge is duplicated at position 254, since qt refuses to
display a font at the tab position (9).
In addition, get rid of the broken private directory which is not needed for
generating ttf.
2012-12-14 22:30:47 +01:00
Georg Baum
a4a1806bb6 Import stmary10 front from stmary10.pfb
This is the result of loading
http://mirrors.ctan.org/fonts/stmaryrd/ps-type1/hoekwater/stmary10.pfb
into fontforge and saving in fontforge format. It will be needed to fix
bug #8434. I am saving it in fontforge format since a few modifications are
needed before a working .ttf can be exported.
2012-12-14 22:16:06 +01:00
Kornel Benko
2498ad16ae Typo 2012-12-14 13:35:37 +01:00
Richard Heck
945c0e4127 Fix lyx2lyx bug: We need to check for quoted names before we check
for unquoted ones. Otherwise, a quoted name with no spaces gets
treated as if it were an unquoted name.
2012-12-10 11:09:50 -05:00
Juergen Spitzmueller
e93f4d470d Possibility to specify a preset argument
This will be needed for beamer plain and fragile frame support.
2012-12-10 14:09:51 +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
86559aa318 Adapt the beamer example/templates to the new format 2012-12-09 18:13:27 +01:00
Juergen Spitzmueller
d073cfb458 Support for beamer block arguments (#3280) 2012-12-09 17:19:21 +01:00
Juergen Spitzmueller
bc5582cbc4 More refinements in the lyx2lyx methods 2012-12-09 13:43:13 +01:00
Juergen Spitzmueller
95934b8d27 Some refinements in the lyx2lyx methods 2012-12-09 13:41:42 +01:00
Juergen Spitzmueller
280861cd7d Consider paragraph params when placing arguments at paragraph start (#8449) 2012-12-09 11:40:14 +01:00