Commit Graph

6555 Commits

Author SHA1 Message Date
Uwe Stöhr
0d5f5d107e chkconfig.ltx: check for KOMA and caption 2013-01-28 02:49:52 +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
Scott Kostyshak
c80b4bcaf3 Make an accelerator uppercase 2013-01-25 23:27:02 -05:00
Uwe Stöhr
ef2071f2c8 EmbeddedObjects.lyx: cleanup
- use standard bullets
- formatting fixes
2013-01-26 03:43:08 +01:00
Kornel Benko
9e14f0c587 Sort categories for dinbrief.layout 2013-01-25 17:42:58 +01:00
Uwe Stöhr
6fad65aac2 chkconfig.ltx: check for the psyr fonts
- we use the psyr fonts for the bullets (or example in the EmbeddedObjects manual), thus we need to check for them
2013-01-25 01:39:06 +01:00
Uwe Stöhr
e20f78c4b0 chkconfig.ltx: correct check for wasy and cbgreek
- we need to check for a font, not a package
2013-01-23 23:21:39 +01:00
Uwe Stöhr
3cba8fa9be chkconfig.ltx: check for wasy
In unicodesymbols we use the wasy fonts intensively. So we also need to check for them. (wasysym is not the font package itself, only a package to support it: "LaTeX support file to use the WASY-2 fonts. The wasysym package implements and easy to use interface for these symbols.")
2013-01-23 22:01:06 +01:00
Uwe Stöhr
6958af5979 chkconfig.ltx: correct check for cbgreek
fixes #8522
2013-01-23 21:54:48 +01:00
Georg Baum
8fbf142cb9 Fixes for utf8 encoding by Günter Milde 2013-01-23 21:52:17 +01:00
Uwe Stöhr
b42604c7aa lyx_2_1.py: support fir initial.module
- in [ff718eba/lyxgit] I forgot to force the lyx2lyx conversion, fixes #8515
2013-01-22 23:27:18 +01:00
Georg Baum
89a2e9589b Fix stupid typo from 7c6a6a05
This breaks compilation of the math manual and much more. Thanks Scott who
found it out.
2013-01-22 21:11:38 +01:00
Jean-Marc Lasgouttes
c48bdf845c Handle encoding correctly with knitr>=1.0 (#8504)
Knitr now has a parameter to indicate the encoding of the file. With this patch,it is used when possible (from Yihui Xie).
2013-01-21 09:53:26 +01:00
Scott Kostyshak
98a8c30dfa Change an accelerator to a more intuitive letter 2013-01-20 21:55:43 -05:00
Scott Kostyshak
3c84267d8d Implement move row/column in tabular inset
This patch implements 'move row' and 'move column' features for tabular.
The purpose is to provide a useful behavior in tabular that is
consistent with PARAGRAPH_MOVE_UP and PARAGRAPH_MOVE_DOWN so that the
user can, for example, do alt-<up> to move a row up. Alternatively,
icons for these features are also added to the table toolbar and
context menu.

If there is any selection, the feature is disabled. This is consistent
with how PARAGRAPH_MOVE_UP works in other contexts. Additionally, 'move
row' is disabled if there is a multi-row in the current or target row;
and 'move column' is disabled if there is a multi-column in the current
or target column.

'move row' moves only the left and right borders of a cell along with
the row. Similarly, 'move column' moves only the the top and bottom
borders.

Implementing similar functionality for other insets, such as arrays and
array environments, is on my TODO list.
2013-01-20 21:54:30 -05:00
Uwe Stöhr
67dcc67dae Additional.lyx: correct a description
- also use another paragraph shape to fix #8512
2013-01-20 22:49:22 +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
Enrico Forestieri
1d5eec8744 Restore "good looking" arrows.
Probably, they were overwritten during recent addition of math symbols.
2013-01-20 17:40:48 +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
Julien Rioux
427fa812e9 Regenerate lib/CREDITS. 2013-01-15 15:34:41 +01:00
Julien Rioux
12d6de7e70 Add Benjamin Piwowarski to contributors. Welcome to LyX! 2013-01-15 15:34:41 +01:00
Uwe Stöhr
6bedd093c8 German splash.lyx: fix a typo 2013-01-14 21:54: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
Georg Baum
cbe5066622 Add missing math toolbar symbols 2013-01-13 21:43:14 +01:00
Georg Baum
aa077e94cc Add forgotten image 2013-01-13 21:41:43 +01:00
Georg Baum
7c6a6a05a2 Fix bug #5087 as suggested by Jürgen
Now it is possible to force certain commands only for some encodings.
2013-01-13 21:36:41 +01:00
Juergen Spitzmueller
c9f4ce4cc1 Revert 'Additional support for Japanese pLaTeX with utf8 encoding (#8408).'
This is a file format change; also, the lyx name must be unique. See discussion on the tracker.
2013-01-13 16:13:09 +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
fecdd4f318 Additional.lyx: fix some cross-references 2013-01-13 01:43:45 +01:00
Uwe Stöhr
832fc522eb Additional.lyx: correct a noweb chunk 2013-01-12 20:32:06 +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
4be1b1a2a4 lilypond.lyx : Document music fragment options. 2013-01-12 09:58:33 +01:00
Julien Rioux
3b9caa3b0d UserGuide: Remove bold from hyperref's bibitem and href. 2013-01-12 09:19:52 +01:00
Julien Rioux
0899e957c3 Fix bibliography indentation throughout LyX 2.1 source (part of #7458). 2013-01-12 08:41:59 +01:00
Kornel Benko
e8a5b25bf5 Added findreplaceadv dialog to emacs and xemacs bindigs 2013-01-11 18:54:19 +01:00
Juergen Spitzmueller
95dd9517d3 Fix compilation with autotools
restriction.png does not exist.
2013-01-11 10:00:08 +01:00
Georg Baum
6ab8d2e54b Add symbol I stumbled upon 2013-01-10 21:22:55 +01:00
Georg Baum
d2b49e54b9 Add remaining images for math symbol toolbar
Most images are generated by development/tools/generate_symbols_images.py, but
some were drawn manually. Now there is no image missing from the ones the
script can generate.
2013-01-10 21:22:55 +01:00
Georg Baum
8b18bbd97e Add missing symbols and dependencies
Some wasysym and amsmath symbols were missing, and some amssymb dependencies
as well.
2013-01-10 21:22:55 +01:00
Georg Baum
45052f56ab Handle text-only wasy symbols correctly.
Some macros defined by wasysym.sty work only in text mode: They either
produce an error in math mode, or wrong output. These symbols are now marked
as text symbols, so that no \ensuremath is created for LaTeX export if they
appear inside \text{}, and the correct images are created.
2013-01-10 21:22:54 +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
Georg Baum
731c1f9ac4 Fix commandline export of \implies.
See the added comment in lib/symbols for details.
2013-01-08 21:51:09 +01:00
Uwe Stöhr
df57b7050b Customization.lyx: some more revision
- German Customization.lyx: more translations
2013-01-06 03:28:34 +01:00
Julien Rioux
66ac0bbd8a LaTeXConfig.lyx : Document the bibliography and citation packages (change tracking). 2013-01-05 00:40:35 +01:00
Julien Rioux
2e72a0af48 Add known citation packages to LaTeXFeatures:
- achicago
  - apacite
  - apalike
  - astron
  - authordate
  - chicago
  - harvard
  - mslapa
  - named

This allows these citation packages can be Required by the document layout.
LyX handles the package ordering, loading any of these packages before natbib
when both are required by the document layout. For example, apacite can be
used with or without natbib.

The package achicago isn't compatible with natbib out-of-the-box,
but the following compatibility code makes it work:

\usepackage{achicago}
\let\achicagobib\thebibliography
\usepackage[authoryear]{natbib}
\let\thebibliography\achicagobib
\let\UnexpandableProtect\protect
\let\SCcite\astroncite
2013-01-05 00:08:55 +01:00
Juergen Spitzmueller
ef94145dc2 beamer manual: only cosmetics 2013-01-03 14:35:55 +01:00
Uwe Stöhr
4dba320edb natbibapa.module: fix a typo 2013-01-03 02:45:48 +01:00
Uwe Stöhr
b8fa4d9bc2 Customization.lyx: some corrections 2013-01-01 19:41:38 +01:00
Uwe Stöhr
0510421fcb chkconfig.ltx: add check for etoolbox and change checking order
- the packages which are independent of document classes are checked first - for the case that the Internet connection breaks during the checking/installation of missing packages
2013-01-01 17:41:32 +01:00
Juergen Spitzmueller
3d136d4444 minor additions 2013-01-01 16:41:01 +01:00
Uwe Stöhr
4da45ffeb7 Customization.lyx: list supported features for layouts
- we should not force authors of layout files to look into the source code to be able to use a function
2013-01-01 07:56:56 +01:00
Uwe Stöhr
912272d351 Customization.lyx: port from branch: revised section 5.3.3 and 5.3.4 2013-01-01 07:18:42 +01:00
Enrico Forestieri
d46e595397 Proper fix for #8477
The "fix" in ec8ae50f was reintroducing #7718, #8098, and #8254.
This fix is hopefully right while still avoiding code duplication.
2013-01-01 03:58:33 +01:00
Uwe Stöhr
17b2adda4f chkconfig.ltx: add packages used by documentation files
- check for diagbox, fp and pict2e
- the doc files uses several styles from the was package, but there is no was.sty, thus check for e.g. upgreek.sty
2012-12-31 21:25:08 +01:00
Uwe Stöhr
ec8ae50f54 configure.py: fix major part of bug #8477
configure.py needn't to hide the status of the LaTeX package checking
2012-12-31 18:37:45 +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
Julien Rioux
40f8e1b453 Update the lilypond example file.
- Add a note about HTML.
- Add a note about using external files.
- Add a note about using lilypond variables and commands.
- Some corrections and nitpicks.
2012-12-31 17:16:12 +01:00
Julien Rioux
10b2ef1af5 lyxpreview: Allow to find python scripts.
In particular, lilypond-book is just a python script. On windows,
we need to call the python interpreter, using the full path to
the script while being wary of spaces in the path.
2012-12-31 17:16:11 +01:00
Kornel Benko
a71b923f1e Categorized g-brief2 styles 2012-12-31 16:57:02 +01:00
Juergen Spitzmueller
dd0e6976e8 Document InsetLayout Caption:<name> 2012-12-31 15:47:30 +01:00
Juergen Spitzmueller
3cc6dae63f More beamer reversion fixes 2012-12-31 14:30:44 +01:00
Juergen Spitzmueller
0c06a212e3 Beamer reversion fixes 2012-12-31 14:09:54 +01:00
Juergen Spitzmueller
1abfa1fd79 Add a beamer manual (introduction to the basics) which uses the new layouts 2012-12-31 13:19:20 +01:00
Juergen Spitzmueller
fa634ada85 beamerlyxexample1 update: we support fragile frames now 2012-12-31 13:13:20 +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
f9ff7fc01a Update Bicaption description to new UI 2012-12-31 10:34:41 +01:00
Juergen Spitzmueller
c3be720b53 Fix bicaption argument descriptions 2012-12-31 10:33:53 +01:00
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
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
Juergen Spitzmueller
a84a98b545 Also add support for URW Garamond math fonts (via newtx) 2012-12-04 12:55:47 +01:00
Juergen Spitzmueller
52c2fb81e9 Support for the URW Garamond LaTeX fonts 2012-12-04 12:14:26 +01: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
Juergen Spitzmueller
f8df33c2fd Fix unused get_containing_inset and get_containing layout parser methods and use the latter 2012-12-03 08:42:26 +01:00
Uwe Stöhr
907c26ec0b thesis template: port recent changes to master 2012-12-02 20:58:28 +01:00
Georg Baum
72533da25b Add some unicode arrow symbols 2012-12-02 17:22:05 +01:00
Juergen Spitzmueller
50fe522d03 Cut and paste error 2012-12-02 17:10:46 +01:00
Juergen Spitzmueller
fb4633f0a4 Merge branch 'master' of git.lyx.org:lyx 2012-12-02 16:47:41 +01:00
Juergen Spitzmueller
e250fd46ea Some more lyx2lyx fixes 2012-12-02 16:47:27 +01:00
Pavel Sanda
bdcf2b3f91 Add bugzilla comment from Georg to lib/symbols.
It is difficult to break through the undocumented format.
2012-12-02 16:46:49 +01:00
Uwe Stöhr
6c70da4d9e Merge branch 'master' of git.lyx.org:lyx 2012-12-02 15:58:22 +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
Juergen Spitzmueller
1e681cdc80 Fix lyx2lyx (#8438) 2012-12-02 15:19:40 +01:00
Juergen Spitzmueller
2b40823d8e Implement resetArgs to InsetLayout (#8437) 2012-12-02 10:16:26 +01:00
Juergen Spitzmueller
7d1c8b5dc8 Provide convert_arguments with some knowledge about our layouts and modules 2012-12-01 15:28:10 +01:00
Uwe Stöhr
eee9aa4042 ACM-siggraph.lyx: correct a layout and remove a senseless paragraph 2012-11-30 20:31:01 +01:00
Juergen Spitzmueller
e235b96378 Working lyx2lyx reversion of Argument insets. Pythonists, please review 2012-11-30 12:57:55 +01:00
Juergen Spitzmueller
ecf18084ff allow linebreak in argument delimiter string 2012-11-30 09:13:38 +01:00
Uwe Stöhr
253db22bd1 sigplanconf.layout: whitespace fix 2012-11-30 02:00:20 +01:00
Uwe Stöhr
acd060bb68 IEEEtran.lyx: whitespace 2012-11-30 01:55:26 +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
Richard Heck
72c2a72afd Fix bug reported on user list: the path variable here was undefined,
causing a failure when running outside the user tree. This was my
fault: when I refactored this routine, I failed to note that this
variable was now undefined.
2012-11-27 20:50:09 -05:00
Juergen Spitzmueller
89be706c8f bring back arguments to edit context menu 2012-11-27 14:09:10 +01:00
Uwe Stöhr
bf5db4183b moderncv.layout: use the new font feature for arguments 2012-11-27 00:28:13 +01:00
Uwe Stöhr
f904f53c8e JASA.lyx: add info how to install JASATeX 2012-11-26 15:40:56 +01:00
Juergen Spitzmueller
d058b0425f beamer: again, cosmetics 2012-11-26 10:05:09 +01:00
Juergen Spitzmueller
9cde057995 use LatexParam where appropriate 2012-11-26 09:27:22 +01:00
Juergen Spitzmueller
5f1c8bff45 Document new Argument features 2012-11-26 09:12:16 +01:00
Uwe Stöhr
c5dccc859a JASATeX: update layout and template
- fix problem with natbib
- add a missing short title that was also already in the template

(patch for branch follows)
2012-11-26 05:54:45 +01:00
Uwe Stöhr
e44eb320f3 iopart.layout: rename a tooltip, no change in functionality 2012-11-26 05:30:00 +01:00
Uwe Stöhr
13d8aee609 IJMPC/D: update layout and template files
- add a mandatory argument
- remove an optional argument that compiles, but would break the layout of the output completely (is also not documented nor explicitly defined)

- also add a safe guard for the lyx2lyx conversion routines
2012-11-26 05:19:47 +01:00
Uwe Stöhr
710f2962c5 agutex.layout: remove a space I accidentally introduced 2012-11-26 04:24:00 +01:00
Uwe Stöhr
b0b1d2f8b1 AGUTeX: update layout and example file 2012-11-26 04:21:23 +01:00
Uwe Stöhr
0d3e33d7c1 elsarticle: update some strings, no change of functionality 2012-11-26 04:04:39 +01:00
Uwe Stöhr
0c622a5c58 aastex: update layout and example file
- also fix an issue in the generic lyx2lyx InsetArgument routines
2012-11-26 03:39:40 +01:00
Uwe Stöhr
7725e35439 IEEEtran: update layout and example; fileformat change
- the 2 generic lyx2lyx conversion routines can also be used for other layout updates
2012-11-26 02:50:53 +01:00
Juergen Spitzmueller
b4c9e902ad Correct documentation
Paragraph, Item_Environment and List_environment are unknown to InsetLayout. None, instead, is a valid type.
2012-11-25 19:21:30 +01:00
Juergen Spitzmueller
6f086763ae Add LeftDelim and RightDelim to the Style and InsetLayout repertoire 2012-11-25 19:10:16 +01:00
Juergen Spitzmueller
2b8255e3c9 More beamer cosmetics (no function change) 2012-11-25 16:36:53 +01:00
Georg Baum
a28bc8daa9 Fix broken layout file syntax 2012-11-25 12:37:33 +01:00
Uwe Stöhr
4202d90c7e IEEEtran.layout: adjust tooltips 2012-11-25 04:12:12 +01:00
Uwe Stöhr
1d777eeec1 modernCV: support for preamble setup
- now all personal info can be specified the LyX way, only the package loading and some special settings remain in the preamble

- achemso.layout: a whitespace fix
2012-11-25 00:44:57 +01:00
Uwe Stöhr
5adec11005 achemso: complete revision for achemso 3.7c 2012-11-24 19:24:06 +01:00
Uwe Stöhr
74437b5112 moderncv.layout: a typo 2012-11-24 19:23:26 +01:00
Uwe Stöhr
94dbd82cfc Revert "achemso: update"
This reverts commit f4b218df40.
2012-11-24 17:26:00 +01:00
Uwe Stöhr
cc3286782e moderncv.layout: shorten the label strings
- IEEEtran.layout: some whitespace fixes
2012-11-24 17:15:19 +01:00
Uwe Stöhr
a09167f520 Customization.lyx: clarify an info 2012-11-24 17:14:06 +01:00
Uwe Stöhr
2587cea733 modernCV: complete revision for modernCV 1.2.0 2012-11-24 17:01:06 +01:00
Juergen Spitzmueller
bdaca8a41d More general label string (which actually should never appear) 2012-11-24 16:02:17 +01:00
Juergen Spitzmueller
a41bdfa453 Missing pieces for InsetLayout arguments 2012-11-24 15:46:20 +01:00
Juergen Spitzmueller
1e9907557a Update email address 2012-11-24 10:46:55 +01:00
Juergen Spitzmueller
3d636c2a33 Some cosmetics in preparation of major revisions 2012-11-24 10:32:48 +01:00
Uwe Stöhr
37d614636b layouts: some whitespace fixes 2012-11-24 01:30:38 +01:00
Uwe Stöhr
f4b218df40 achemso: update
- remove styles that cannot be written into the main text, but have to be inserted in the preamble
- add some info according to its latest documentation
2012-11-24 01:02:39 +01:00
Juergen Spitzmueller
4d784da801 Forgot to document ResetArgs 2012-11-23 18:57:05 +01:00
Juergen Spitzmueller
ec96cd655d Whitespace 2012-11-23 18:47:51 +01:00
Juergen Spitzmueller
182d13ee6a Do not separate the shortcut from the label string 2012-11-23 18:26:02 +01:00
Juergen Spitzmueller
6012f66146 Fix typo spotted by JMarc 2012-11-23 17:30:45 +01:00
Juergen Spitzmueller
5a016dc85d support beamer columns option 2012-11-23 17:25:08 +01:00
Juergen Spitzmueller
9e8bfb4597 documentation of new argument syntax 2012-11-23 15:37:30 +01:00
Juergen Spitzmueller
9914f21bce Context menu for InsetArgument 2012-11-23 14:44:45 +01:00
Juergen Spitzmueller
7a05aeb4ec Fix requires argument 2012-11-23 14:43:29 +01:00
Juergen Spitzmueller
b33b352171 half-functional lyx2lyx reversion
This assures reverted files can be opened. However, the argument insets are not yet reordered (see FIXME)
2012-11-23 10:29:29 +01:00
Juergen Spitzmueller
ff42273bb5 Bump layout formats 2012-11-23 09:50:22 +01:00
Juergen Spitzmueller
99f84aab95 Merge remote-tracking branch 'origin/master' into features/latexargs 2012-11-23 09:11:55 +01:00
Juergen Spitzmueller
e74b088c26 Revert "Support for the new libertine package"
This reverts commit ecbed31e80.

This package does not make sense for us. It is just a portmanteau package that loads libertine-type1 and biolinum-type1. Using this package directly results in option clashes if libertine and biolinum are both selected.

Sorry for the noise.
2012-11-22 08:51:40 +01:00
Juergen Spitzmueller
ecbed31e80 Support for the new libertine package
In the hope that this will be the last package change in the LaTeX libertine history.
2012-11-22 08:38:20 +01:00
Uwe Stöhr
1a42de1bab configure.py: register our "pdfview" helper application
- pdfview is necessary for LyX on Windows because it makes it possible to update the view of a LyX file as PDF
- must also go to branch
2012-11-21 23:18:38 +01:00
Juergen Spitzmueller
6e54388f3b Fixes to the bicaption module 2012-11-20 15:35:25 +01:00
Juergen Spitzmueller
b6a041643d Label string tweaks (capitalization etc.) 2012-11-20 14:10:19 +01:00
Juergen Spitzmueller
5aecad1c01 extend comments 2012-11-20 12:57:57 +01:00
Juergen Spitzmueller
98e8dfeffc layout2layout for the new argument syntax 2012-11-20 11:49:02 +01:00
Juergen Spitzmueller
2e69c66195 InsetArgument revision, first working version 2012-11-19 14:21:02 +01:00
Uwe Stöhr
6bdc561714 Math.lyx: add check for babel (bug #8423) and translate a comment
(the other language variants of this manual are not affected)
2012-11-19 00:14:28 +01:00
Uwe Stöhr
baf48453e7 thesis template: add check for babel (as discussed in bug #8423) 2012-11-18 15:54:13 +01:00
Uwe Stöhr
1ca1ae03b0 FeynmanDiagrams.lyx: remove unused preamble code 2012-11-17 02:00:18 +01:00
Uwe Stöhr
751bb129c8 chkconfig.ltx: add check for files necessary for Greek, Russian and Ukrainian
This should also go to branch. OK?
2012-11-15 23:32:33 +01:00
Uwe Stöhr
06eb4594d7 configure.py: add 5 popular editors with LaTeX syntax highlighting
I also need this for branch for the Windows installer, OK?
2012-11-13 00:41:29 +01:00
Uwe Stöhr
2e55d99347 Czech Tutorial.lyx: reset fileformat
please don't change the fileformat if not necessary (only necessary to describe new features in LyX 2.1). This helps me a lot keeping all language and release versions in sync and to update all
2012-11-08 01:22:07 +01:00
Uwe Stöhr
b8698ec8e9 French UserGuide.lyx: translations by Jean-Pierre
(will also go to branch when it is open again)
2012-11-08 01:19:26 +01:00
Pavel Sanda
bd0bb681ca * cs/Tutorial.lyx 2012-11-08 00:42:37 +01:00
Pavel Sanda
76e66aaea8 Additional support for Japanese pLaTeX with utf8 encoding (#8408).
Patch from Koji.
2012-11-06 20:25:32 +01:00
Jean-Marc Lasgouttes
02ec8457c9 Continue menu tweaking
Move View/toolbar submenu together with the various pane entries.
2012-11-06 09:18:38 +01:00
Uwe Stöhr
22d4b628ed French Additional.lyx: correct porting
there was a section that is for a new feature in lyX 2.1 and I accidentally overwrote this in previous commit
2012-11-04 00:12:13 +01:00
Uwe Stöhr
a45a5b4f6d French doc files: port from branch
ported changes from [313163e1/lyxgit]
2012-11-03 23:56:58 +01:00
Scott Kostyshak
24eae3d841 Remove repetitious "Manual" from specific manuals 2012-10-29 22:10:22 -04:00
Scott Kostyshak
d526c05df9 Add knitr manual to Help > Specific Manuals 2012-10-29 21:49:49 -04:00
Georg Baum
3d3f87f36a Fix bug 8396: Wrong import of \xymatrix 2012-10-29 20:42:01 +01:00
Juergen Spitzmueller
1094128fe1 French Linguistics manual update (by Jean-Pierre) 2012-10-26 11:48:21 +02:00
Uwe Stöhr
f86c3de3ad documentation: remove duplicated words
- also use a better regexp to find duplicated words
2012-10-24 00:40:28 +02:00
Uwe Stöhr
b222b93ca7 French Math.lyx: translations by Jean-Pierre 2012-10-23 21:47:29 +02:00
Uwe Stöhr
8995f0b48c UserGuide.lyx: final update for advanced search
- German UserGuide.lyx: translations
- other UserGuide.lyx: simplifications and formatting adaptions
2012-10-23 21:46:42 +02:00
Uwe Stöhr
ea537bb0c9 French: UserGuide.lyx: translations by Jean-Pierre 2012-10-23 01:15:11 +02:00
Uwe Stöhr
8462e0bc7f UserGuide.lyx: next update for advanced search
- German UserGuide.lyx: translations
- other UserGuide.lyx: some simplifications, clarifications and formatting adaptions
2012-10-22 01:06:06 +02:00
Juergen Spitzmueller
db1c1389e3 Add support for the URW Classico (Optima) LaTeX font
Patch by Liviu Andronic
2012-10-21 18:55:24 +02:00
Uwe Stöhr
3485f728c2 UserGuide.lyx: update for advanced search
- German UserGuide.lyx: translations
- English UserGuide.lyx: some simplifications and clarifications
2012-10-21 03:21:31 +02:00
Enrico Forestieri
f6fde4b553 Fix bug #8379: LyX Archive fails to include BibTeX files 2012-10-20 18:27:35 +02:00
Uwe Stöhr
28a29bf697 sigplanconf.layout: correct InTitle tag, fixes bug #8378 2012-10-19 00:53:25 +02:00
Scott Kostyshak
75e809c023 Additional.lyx: references to knitr & Sweave doc
Add references to the knitr.lyx example file and to the Sweave manual.
Also correct a couple of typos.
2012-10-17 20:45:09 -04:00
Uwe Stöhr
8ba75c2915 UserGuide.lyx: remove description of removed LFUN break-paragraph-keep-layout
Furthermore update the description to current state
2012-10-18 01:52:53 +02:00
Tommaso Cucinotta
1e50bfb446 Call a LyX note as a LyX note consistently in the toolbar and menus.
The term "LyX note" seems somewhat confusing, but until someone comes
up with a better name, at least it's consistently referred to as a LyX note.
2012-10-17 22:57:43 +01:00
Tommaso Cucinotta
1bd405a93b Remove the "pleonastic" View word from View menu entries.
Adding the "pane" term to those entries seems also a nice thing,
at least according to the New Oxf. Dict. :-).
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg175453.html
2012-10-17 00:27:42 +01:00
Uwe Stöhr
000ee49b89 LaTeXConfig.lyx: detection of document class g-brief, spotted by Max Funk 2012-10-17 00:42:08 +02:00
Uwe Stöhr
e43295640e Math.lyx: add info about character ^ in chemical formulas 2012-10-16 23:54:24 +02:00
Uwe Stöhr
9d4bef0182 UserGuide.lyx: Add info how to handle special characters in nomenclatures
Fixes bug 8366.
2012-10-16 02:32:05 +02:00
Tommaso Cucinotta
afa15e7649 Moved Outline to View menu, and rendering options (dvi,pdf,...) to Document menu. 2012-10-15 21:29:59 +01:00
Juergen Spitzmueller
1406b0e638 Do not inherit Provides from beamer
Also branch candidate.
2012-10-15 08:33:36 +02:00
Uwe Stöhr
f005b594db Makefile.am: forgot to update this file in previous commit 2012-10-15 01:41:20 +02:00
Uwe Stöhr
8f55933e53 armenian-article.lyx: remove this residual since support for ArmTeX has gone and Armenian can now be used like any other language 2012-10-15 01:39:28 +02:00
Uwe Stöhr
8bac60bd4c unicodesymbols: revert because this was accidentally committed in the last commit 2012-10-15 01:31:21 +02:00
Uwe Stöhr
add9c6e2a9 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
Uwe Stöhr
c40bd7eccb apa.lyx: fixed weblink 2012-10-15 00:49:40 +02:00
Richard Heck
cb20125e1d Add comment. 2012-10-12 09:54:49 -04:00
Richard Heck
b5e2fd7bb7 Fix layout2layout conversion for format 40. This is a big ugly,
I'm afraid, but it's going to be. We skip all comment lines at
the start of the script, but what we want to convert here is in
those comment lines. My previous attempt to deal with this issue
produced an invalid file.
2012-10-12 09:50:47 -04:00
Richard Heck
ddd0ff971a Convert old pre-category layouts to new categorized layouts.
Unfortunately, this doesn't quite work the way one might like. It
is fine for manually converting one's own layouts to the new format,
but it doesn't work if you just start LyX, since the category info
is written at configuration time, not at run time, and chkconfig.ltx
does not run layout2layout.
2012-10-10 13:54:26 -04:00
Richard Heck
7195abcb4f Update all layouts to format 40. 2012-10-10 13:24:02 -04:00
Richard Heck
98656dd15b Bump layout format to 40, in preparation for conversion of layout
categories.
2012-10-10 13:22:54 -04:00
Juergen Spitzmueller
7c8f4d57a7 Double Thinko :-/ 2012-10-09 11:14:13 +02:00
Juergen Spitzmueller
c3001fba5c Thinko 2012-10-09 11:12:54 +02:00
Juergen Spitzmueller
2c88159576 Categorize Linguistics paragraph styles
Should go to branch as well (after 2.0.5)
2012-10-09 10:59:19 +02:00
Juergen Spitzmueller
d4d4ee74ba Document textclass categorization 2012-10-09 09:29:02 +02:00
Juergen Spitzmueller
1703991544 Beamer provides [x]color (#8103) 2012-10-09 07:59:43 +02:00
Juergen Spitzmueller
72ee3a1b17 Categorize existing layouts
* Add \DeclareCategory statement
* Rewrite descriptions
2012-10-09 07:24:32 +02:00
Juergen Spitzmueller
f18af303fe Introduce textclass categories
The categories are ascribed by \DeclareCategory{<category>} in the layout file header.
UI follows.
2012-10-09 07:17:36 +02:00
Uwe Stöhr
f4ac1b665e UserGuide.lyx: fix a typo spotted on the docs list 2012-10-08 01:24:17 +02:00
Scott Kostyshak
f7928f48a6 More elegant knitr support and bug fix
Implement a more simple and elegant integration of the R package knitr. Now,
lyxknitr.R does not need to move or copy files at all.

This also fixes a bug: when /tmp was on a different file system (e.g.
encrypted home), lyxknitr.R failed to move files to /tmp because it relied on
R's 'file.rename' function, which in turn relied on the rename function in
<stdio.h>, which was failing with the EXDEV errno.

Patch from Yihui Xie.
2012-10-06 21:01:34 -04:00
Juergen Spitzmueller
6a8231401b Rescan TeX Files on reconfigure 2012-10-05 15:05:01 +02:00
Tommaso Cucinotta
ad827243fc Adding preferences format update as due to commit 4985015 (new close_buffer_with_last_view option). 2012-10-01 22:30:13 +01:00
Pavel Sanda
4180dc9489 Update manuals for literate programming (esp. noweb).
Patch from Kayvan Sylvan.
2012-10-01 17:31:08 +02:00
Pavel Sanda
7da8d9904d Leftover from the famous bundle flame. 2012-10-01 12:35:32 +02:00
Uwe Stöhr
de45075def Merge branch 'master' of git.lyx.org:lyx 2012-10-01 01:43:06 +02:00
Uwe Stöhr
4ed535df52 UserGuide.lyx: mention new feature "spell check of current selection"
the new feature: re35d7a0f
2012-10-01 01:42:56 +02:00
Juergen Spitzmueller
3588f2f696 Context menu item to add unknown branch (rest of #7643) 2012-09-30 17:32:00 +02:00
Juergen Spitzmueller
e26635bfb9 UI for separate control of master/child branch state (#7642, part of #7643) 2012-09-30 14:59:24 +02:00
Pavel Sanda
a982bdc5fa Attempt to bump prefs2prefs_lfuns.py. 2012-09-29 20:04:56 +02:00
Pavel Sanda
4fceb18ecd Recreate LFUNs.lyx once upon a time. 2012-09-29 18:57:26 +02:00
Pavel Sanda
541828ebf5 Another witch hunting case: break-paragraph -> paragraph-break. 2012-09-29 18:06:42 +02:00
Pavel Sanda
d63b137ae6 Leftover from previous commit. 2012-09-29 17:38:15 +02:00
Pavel Sanda
e9a28c8000 Correct naming for view-split. 2012-09-29 17:33:46 +02:00
Pavel Sanda
a72b75c50c Proper naming for tab-group-close. 2012-09-29 17:16:52 +02:00
Kornel Benko
d855fb759d Emacs.bind:
Changed, since view-close(lyx) looks more like delete-window(emacs)
2012-09-29 14:08:36 +02:00
Kornel Benko
e70b3ff726 Use view-close also in emacs.bind 2012-09-29 13:01:18 +02:00
Tommaso Cucinotta
4985015e89 Now LyX closes the current document WA only by default (other WAs remain open).
If the WA is the last one showing a buffer, then the buffer may either be
closed or kept hidden, or the user is asked. The behaviour is controlled
by a new preference option.
For discussion, see http://comments.gmane.org/gmane.editors.lyx.devel/142638
2012-09-28 23:12:38 +01:00
Juergen Spitzmueller
4df9eb36a0 Remove annoying warning 2012-09-25 17:01:23 +02:00
Juergen Spitzmueller
04618bc070 Fix LyXBlogger entry 2012-09-25 15:56:18 +02:00
Juergen Spitzmueller
1d84423e76 A font a day keeps the doctor away: Support for the Biolinum LaTeX font 2012-09-25 11:07:33 +02:00
Scott Kostyshak
8dc4c965a5 Update of the bash completion script
The -dbg options are updated and support is added for
-E, --export-to, -n, --no-remote, -r, --remote,
-f, and --force-overwrite.
2012-09-25 01:14:09 -04:00
Juergen Spitzmueller
8bf5d4b461 Very basic support for unicode-math
With non-TeX fonts, you can select a 'Non-TeX Font Default' math font, which simply loads unicode-math without actually selecting a math font, this then uses the default math otf font, currently Latin Modern. Other fonts still need to be set manually in the preamble, via \setmathfont.

The implementation suppresses unneeded package requests from unicodesymbols, but the output still uses macros instead of full unicode (both is possible with unicode-math).

The whole thing is a proof of concept, and it needs to be tested. I have tested it with the math manual, which compiles and seems to display correctly if I remove some hardcoded package loadings. OTOH I have not much experience with math.

This addresses #7449 partly.
2012-09-24 13:19:25 +02:00
Juergen Spitzmueller
b99a2a6255 Some refinement of the font packages documentation 2012-09-24 10:30:05 +02:00
Juergen Spitzmueller
984fbeadec Allow to test for font files
\IfFileExists does not search in texmf/fonts, so the \TestPackage test fails for font files. Add a new \TestFont check that adapts the font check from ltxcheck.tex.

This is needed for the minion2newtxmath test, since this package only consists of font files,
2012-09-24 08:46:07 +02:00
Juergen Spitzmueller
ba1d137769 Support for the NewTX Math fonts (newtx, libertine, minion) 2012-09-23 18:33:04 +02:00
Juergen Spitzmueller
5170489b98 More no-math fonts
For the sake of completeness, it is now also possible to load fourier and the mathdesign fonts without changing the default math font.
2012-09-23 12:30:19 +02:00
Juergen Spitzmueller
46826a9188 libertine-type1 has osf by default 2012-09-23 11:10:39 +02:00
Juergen Spitzmueller
8f9898994d Basic UI for math (TeX) fonts
This addresses #6543 by adding an option to prevent fonts such as Palatino and Times to automatically adapt the math font (IOW it lets you load the text font only for a bunch of fonts where this is easily possible).

Furthermore it adds an interface to select a specific math font, which is defined in latexfonts. Currently, this is only euler (the only one I know), but if there are other math-only tex fonts, they can be added easily (but note that this changes the file format).

Non-TeX math fonts are not yet supported. Eventually, unicode-math support can use the existing UI, but this is not on my agenda.
2012-09-22 17:44:00 +02:00
Juergen Spitzmueller
1a248c68b4 check for libertine-type1 2012-09-22 14:22:57 +02:00
Juergen Spitzmueller
d37b5723c1 libertine-legacy was declared obsolete by its maintainer and replaced by the libertine-type1 package 2012-09-22 11:08:07 +02:00
Juergen Spitzmueller
d18e87dd45 Font names must be unique 2012-09-22 11:05:47 +02:00
Juergen Spitzmueller
a5151c92a9 Much more flexible implementation of alternative (LaTeX) fonts
The LaTeX font now do not specify simply alternative packages or packages for OT1 encoding etc., but they refer to complete AltFonts (which are not directly accessible via the GUI). This way, alternative fonts can also have options (osf, sc etc.), and they can use all sorts of initializing methods (\usepackage, \setrmfamily etc.).
2012-09-22 10:59:53 +02:00
Juergen Spitzmueller
e9ca6b6bf4 Support for the Minion Pro LaTeX font 2012-09-19 17:46:55 +02:00
Juergen Spitzmueller
f4261030e2 Implement Provides tag to LaTeXFonts
This allows to suppress conflicting packages, such as amssymb with mathdesign.
2012-09-19 15:46:19 +02:00
Scott Kostyshak
80c126b092 Typos
Clean up some comments, LFUN documentation, an error message,
and lyx --help output.
2012-09-12 19:38:26 -04:00
Jean-Marc Lasgouttes
a86de5d3c0 Revert "Read list of translated languages from a file"
This reverts commit ed1515ef69.
2012-09-08 16:59:18 +02:00
Juergen Spitzmueller
458c143e49 Fix forward search with okular
Implement a placeholder 2008f which points to the tex file with full path, since this is what okular expects nowadays.
2012-08-26 11:42:43 +02:00
Juergen Spitzmueller
e36e46b335 Fix bibliography indentation 2012-08-24 15:24:32 +02:00
Juergen Spitzmueller
c4a233e9e9 Documentation of new IPA features 2012-08-24 15:20:48 +02:00
Juergen Spitzmueller
7d5f0070eb Add missing icons 2012-08-24 08:12:49 +02:00
Juergen Spitzmueller
ee1fc9130a Add support for some basic non-unicoded IPA macros
We now support everything on the IPA chart via the toolbar
2012-08-23 17:42:53 +02:00
Juergen Spitzmueller
3855f5c5ce The SVG sources of the IPA icons 2012-08-21 16:28:29 +02:00
Juergen Spitzmueller
b6a63bfce8 An IPA toolbar
Translators: sorry ;-)
2012-08-21 14:56:34 +02:00
Juergen Spitzmueller
f251c4973c More tipa shortcuts 2012-08-21 12:47:50 +02:00
Enrico Forestieri
ac92f2a79b Fix bug #8306: LyX incorrectly imports mhchem commands outside math mode
Those commands can also be used in text mode but tex2lyx tries to
translate their argument causing havoc. So, import the whole commands
as ERT.
2012-08-21 04:04:54 +02:00
Juergen Spitzmueller
1267319117 The tipa tone macro requires the tone package from the tipa bundle 2012-08-20 08:52:42 +02:00
Juergen Spitzmueller
16ec8a08ef TIPA additions 2012-08-19 19:33:48 +02:00
Juergen Spitzmueller
66729e434e TIPA fixes 2012-08-19 16:59:53 +02:00
Juergen Spitzmueller
54c41ce26e Support for the TeX Gyre fonts (#4332) 2012-08-19 11:57:48 +02:00
Juergen Spitzmueller
b501845b2c Support for the mathdesign fonts (#6072) 2012-08-18 14:45:41 +02:00
Juergen Spitzmueller
c409c9e3d1 Allow for general package options for LaTeX font packages (needed e.g. by mathdesign) 2012-08-18 13:10:34 +02:00
Juergen Spitzmueller
292f48d6b5 Add support for the txtt font (#4979) 2012-08-17 18:24:18 +02:00
Juergen Spitzmueller
37137f43f4 Support for the libertine font (#3881) 2012-08-17 14:11:02 +02:00
Juergen Spitzmueller
db50cc7c1e remove problematic IPA shortcut 2012-08-16 19:04:11 +02:00
Juergen Spitzmueller
63c59a352f Sort 2012-08-16 18:04:02 +02:00
Juergen Spitzmueller
869b84aef9 Clean up LaTeX font handling (#4999)
The LaTeX font information are now centralized and outsourced. This removes a lot of hardcoding and duplication and makes it easier to support new LaTeX fonts.
2012-08-16 13:23:39 +02:00
Juergen Spitzmueller
769afefb15 documentation 2012-08-08 10:07:31 +02:00
Juergen Spitzmueller
a18af62087 Complete default_language rc removal 2012-08-08 09:31:46 +02:00
Kornel Benko
6fa12b0971 Adapt tex2lyx roundtrip to cmake build.
Use build tree only.
2012-07-30 09:30:16 +02:00
Stephan Witt
159108786d Fix bug #8129: add zoom-in binding for Cmd-plus for US-keyboards 2012-07-27 11:59:44 +02:00
Juergen Spitzmueller
73fc99fb98 arabi requires the language option to be passed to babel directly. Candidate for branch 2012-07-23 11:03:25 +02:00
Jean-Marc Lasgouttes
ed1515ef69 Read list of translated languages from a file
The previous scheme of loading all possible translations and checking whether the work
is a bit too much "brute force" and causes problems on Mac OS X (documents loaded
with the wrong language).

In the new scheme, autotools install a file lib/installed_translations that contains a list of installed languages (the .gmo files that got installed). This file is read
in Languages::readInstalledTranslations and allows to set the translated() property
of each language.
2012-07-19 00:21:28 +02:00
Enrico Forestieri
08b3d492fa Fix bug #8254: An encoding problem
Use the short version of a path, which is guaranteed to be ascii and
works even if the path is not encodable in the current codepage.
2012-07-18 22:20:46 +02:00
Juergen Spitzmueller
0b4a70a018 deactivate ~ in Basque, Estonian and Galician (bug #8265) 2012-07-18 13:01:10 +02:00
Richard Heck
20519c9619 Add "Close Current View" to the context menu, as requested by
Andrew Parsloe.
2012-07-14 22:16:13 -04:00
Richard Heck
a0afcdb391 LFUN_CLOSE_TAB_GROUP does exactly the same thing as
LFUN_BUFFER_CLOSE_ALL if there's only one tab group open, so there's
no need to enable it in that case.
2012-07-14 22:13:40 -04:00
Uwe Stöhr
3c4031427d APA.lyx: improve a comment 2012-07-14 16:05:06 +02:00
Uwe Stöhr
062c3a794a Spanish docs update
- Spanish Additional.lyx: update for trunk only
2012-07-13 00:52:49 +02:00
Uwe Stöhr
4396c14dc0 add new Spanish examples
- Spanish europeCV.lyx and modernCV.lyx: new files
- English europeCV.lyx: replace TeX-code by LyX's \nocite feature
2012-07-13 00:19:42 +02:00
Uwe Stöhr
6b6a2eb8e6 docs: port fix and update description of labeling
- UserGuide.lyx: fix description of the labeling lists, fixes also bug #8224
- German UserGuide.lyx: adapt some sections to be compliant with the other language variants
2012-07-07 02:00:37 +02:00
Uwe Stöhr
e777b18066 remove an obsolete layout file
as the support for the buggy and outdated ArmTeX was removed, this layout is now obsolete and can also be removed
2012-07-06 22:34:02 +02:00
Uwe Stöhr
057543326f update APA template file
APA.lyx: the template missed the \notes command
2012-07-03 00:56:39 +02:00
Uwe Stöhr
b3e49a803a fix for APA layout
- apa.layout: the commands \volume, \copnum and \notes are only allowed in the preamble; fixes bug #8187
2012-07-03 00:54:50 +02:00
Juergen Spitzmueller
11ac5b78f3 Document QuoteStyle options 2012-07-02 10:50:06 +02:00
Uwe Stöhr
e4018a327e elsarticle already provides refstyle
- elsarticle.layout: elsarticle already provides refstyle thus the document becomes uncompilable if we don't declare this in the layout

Also OK for branch?
2012-07-01 16:15:42 +02:00
Juergen Spitzmueller
837869452a Add quote style information to languages 2012-07-01 11:25:52 +02:00
Pavel Sanda
06c1d24bdb Fix #8201: our translation mechanism chokes on the character " 2012-06-30 19:24:22 +02:00
Uwe Stöhr
6a7a8d2e37 polyglossia doesn't support Kurmanji 2012-06-25 22:02:00 +02:00
Uwe Stöhr
313da1f9e0 French UserGuide.lyx: some typos fixed 2012-06-24 23:57:11 +02:00
Juergen Spitzmueller
179ca3e5be de/linguistics.lyx: improve style 2012-06-24 13:01:51 +02:00
Juergen Spitzmueller
46cdb3616c linguistics manual: document shortcomings (and workarounds) of glosses 2012-06-23 19:31:01 +02:00
Uwe Stöhr
d37bb54e7b - language: Kurmanji is since 2009 also supported by babel; no fileformat change necessary because Kurmanji is already covered by fileformat 432
- tex2lyx/Preamble.cpp: babel support for Kurmanji and remove comment residues of ArmTeX whose support was removed by fileformat 433
2012-06-23 18:56:10 +02:00
Uwe Stöhr
121b32bcbc generate_contributions.py: add Nickolay Shashkin and update maintainer status 2012-06-23 01:04:41 +02:00
Uwe Stöhr
a0584e1834 modernCV.lyx: add a note about a required component 2012-06-22 15:40:02 +02:00
Uwe Stöhr
1ea2abc77f drop support for ArmTeX as its non-standard armscii8 encoding was quite unusable in real life, use polyglossia/XeTeX instead as clean solution via Unicode; fileformat change; fixes the second part of bug #8026 2012-06-22 01:12:43 +02:00
Uwe Stöhr
aed91a4f15 Tutorial.lyx: fox a typo spotted by a user 2012-06-21 04:44:41 +02:00
Uwe Stöhr
42fcc6236c French UserGuide.lyx: translations by Jean-Pierre 2012-06-21 03:25:45 +02:00
Juergen Spitzmueller
dd790192d3 Add DefaultStyle to siamltex.layut (bug #8194)
Patch by Dima Batenkov.
2012-06-09 18:29:08 +02:00
Juergen Spitzmueller
f71a55a279 some less language hardcoding 2012-06-09 11:32:34 +02:00