Commit Graph

403 Commits

Author SHA1 Message Date
Georg Baum
aa077e94cc Add forgotten image 2013-01-13 21:41:43 +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
Juergen Spitzmueller
95dd9517d3 Fix compilation with autotools
restriction.png does not exist.
2013-01-11 10:00:08 +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
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
e5b7cc4591 Add new apa files to the Makefile 2012-12-29 12:35:48 +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
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
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
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
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
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
f005b594db Makefile.am: forgot to update this file in previous commit 2012-10-15 01:41:20 +02:00
Pavel Sanda
d63b137ae6 Leftover from previous commit. 2012-09-29 17:38:15 +02:00
Pavel Sanda
a72b75c50c Proper naming for tab-group-close. 2012-09-29 17:16:52 +02: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
7d5f0070eb Add missing icons 2012-08-24 08:12:49 +02:00
Juergen Spitzmueller
b6a63bfce8 An IPA toolbar
Translators: sorry ;-)
2012-08-21 14:56:34 +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
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
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
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
Georg Baum
1e44661fa0 fix typo
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40904 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-10 12:28:44 +00:00
Georg Baum
c9ba7f7288 fix file permissions of lib/scripts/listerrors
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40902 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-10 11:03:44 +00:00
Julien Rioux
1e947e3a18 Move the citation engine machinery to layouts.
Add a new layout syntax CiteEngine to define the citation commands
available for a given citation engine.

Also extend the CiteFormat syntax to allow more customization. This
mechanism, previously used to produce bibliography entries in the
citation GUI based on the BibTeX entrytype, is now also used to
produce the textual labels for citation insets in the buffer view.

Thus citation styles are almost completely customizable by modules.
Modules for the basic, jurabib and natbib engines are implemented.

Layout format incremented to 37.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40820 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-01 00:41:30 +00:00
Uwe Stöhr
322a1c1740 add icon files for the \cancel support in math
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40741 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-12 22:41:23 +00:00
Uwe Stöhr
47bc3d00d0 - knitr.lyx, knitr.module, lyxknitr.R: add missing SVN EOL style
- Makefile.am: correct sorting

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40680 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-26 19:18:02 +00:00
Jean-Marc Lasgouttes
7335b3193b Add support for R package knitr (a Sweave alternative)
This fixes #7887.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40674 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-25 22:26:31 +00:00
Jean-Marc Lasgouttes
99c8eecaf9 Forgot that in r40669.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40670 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 23:02:53 +00:00
Jean-Marc Lasgouttes
c31bf2d2ab reat python scripts as plain data file, since automake 1.11.2 wants to control where python files go. This fixes #6080 and #7990.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40669 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-23 23:00:17 +00:00
Julien Rioux
06dab7972b Remove unused libreoffice2eps.py script.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40596 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-10 13:54:48 +00:00
Georg Baum
187790135b Fix bug #5029: Support \smash, \mathclap, \mathllap and \mathrlap.
Also improve lyx2lyx roundtrip for automatically loaded packages.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40589 a592a061-630c-0410-9148-cb99ea01b6c8
2012-01-08 12:34:12 +00:00
Jean-Marc Lasgouttes
2bf021ee73 Improve support for distributing desktop files and icons
* add proper INSTALL_POSIX conditional for makefiles
* move all the code to Makefile.am
* rename lyx.desktop to lyx.desptop.in and add proper tags to allow handling of program_suffix.
* add code to install desktop entry and icons under the proper name.

I did not touch scons and cmake, I hope it was not necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40531 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 13:11:03 +00:00
Richard Heck
4663e5ec88 Repairs to case environment, from Paul Rubin. Modified by me to use
enumitem, since we already have a module for that, and I am a bit
worried about conflicts between enumerate.sty and enumitem.sty.

A side effect of this, however, is that we will load enumitem.sty
whenver we use case environments.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40492 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-13 19:50:36 +00:00
Uwe Stöhr
37de920228 lib/Makefile.am: add missing entries for r40414
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40479 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-11 22:40:40 +00:00
Uwe Stöhr
d528fc8286 new layout for articles in the journal JASA (http://wiki.lyx.org/Layouts/JASATeX)
OK for branch too?

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40475 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 23:07:24 +00:00
Uwe Stöhr
2bc2f96a10 addendum to previous commit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40469 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:13:19 +00:00
Pavel Sanda
2b36e0a860 - Add scalable icon into tarball
- let icons install into proper locations
- use theme routines to load proper icon
  (using this for loading toolbar icons would be another
  step how to synchronize LyX with its environment.)

Patch from Timo Kluck.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40418 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-07 16:47:43 +00:00
Richard Heck
097fb4f06d Port from branch:
ctex template files: reduce to one file, fix broken language package settings
 (file still contains outdated info and unnecessary preamble code and creates several LaTeX errors about wrong lengths but can be fixed later)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40264 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 22:16:20 +00:00
Richard Heck
ffc2901855 Update Makefile.am after last commit. (Thanks, Julien.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40253 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-24 19:51:10 +00:00
Richard Heck
2fe7dcc5cc Fixes for bug #7870 from Helge. Adds Gnumeric support.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40215 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-18 21:46:24 +00:00
Uwe Stöhr
ef38b6429e new example file spreadsheet.lyx to show how the spreadsheet support works and to test various spreadsheet formats
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40124 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-01 05:54:27 +00:00
Uwe Stöhr
fa987d1394 libreoffice2eps.py: add missing things from r39707
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39712 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-20 03:12:37 +00:00
Julien Rioux
81420e405f Merge the preview mechanism for japanese with the standard one.
- Japanese is now handled by passing the option --latex=platex
    to the standard lyxpreview script. This is done in PreviewLoader.
  - Remove obsoleted file lyxpreview-platex2bitmap.py and the
    corresponding lines in the configure script.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39659 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:23:15 +00:00
Julien Rioux
10868c31ac Merge the preview mechanism for lilypond-book with the standard one.
- Handle the preprocessing in the main lyxpreview script with the
    command-line arguments --lilypond and --lilypond-book=exe.
  - Remove the obsoleted file lyxpreview-lytex2bitmap.py and the
    corresponding lines in configure.py.

Fix for the japanese preview still to come.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39658 a592a061-630c-0410-9148-cb99ea01b6c8
2011-09-11 18:22:59 +00:00
Uwe Stöhr
7ba7ce4006 new module and example file for chemical risk and safety statements; requires the package rsphrase which is bundled with the package mhchem that we already support
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39545 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-28 03:59:16 +00:00
Jean-Marc Lasgouttes
7fc83acb5e Add possibility to export the R code from a sweave-enabled document
(patch from yihui, part of #7555)
http://www.lyx.org/trac/ticket/7555#comment:18

This adds the new format "R/S code" with extension .R and a converter from .Rnw.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39509 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-23 10:33:42 +00:00
Uwe Stöhr
f1b40f9867 - multicol.module: new module for multiple text columns
- Additional.lyx: update description of multiple columns
- multicol.lyx: remove this file because its content is now completely in Additional.lyx

(We once described multiple columns in 3 different files, Additional.lyx, Customization.lyx and multicol.lyx. We now have only one place.)

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39355 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-20 01:53:12 +00:00
Uwe Stöhr
80754f8255 - UserGuide.lyx: new section how to customize lists (description of the module enumitem)
- remove the file enumitem.lyx: its content is now part of the UserGuide

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39344 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-19 05:11:12 +00:00
Uwe Stöhr
b1193ed0a2 - svmult.layout: adapt for editors templates
- lot of refactoring and finetuning

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39271 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 19:40:39 +00:00