Commit Graph

226 Commits

Author SHA1 Message Date
Richard Heck
1230372566 Add support for package options in layout files. E.g.:
PackageOption tipa safe will load tipa with the
 "safe" option, if we load it.
2013-05-23 09:34:40 -04:00
Georg Baum
7bdc34a987 Implement forced local layouts
These should be used if any new style needs to be introduced in the stable
2.1 series: If the ForceLocal flag of the style is set, it will always be
written to the document header, so that even older 2.1 versions can read
and correctly output the document.
2013-05-15 07:19:49 +02:00
Richard Heck
8bbd4c5e58 Minor doc update. 2013-03-24 10:14:17 -04:00
Georg Baum
cb5dd33475 Split pdf format as discussed on the list
Previously, the format used for included pdf files was the same as for
document export via ps2pdf. This caused unwanted conversion routes, e.g.
export via odt->pdf instead of dvi->ps->pdf.
I renamed the format for included graphics and not for exported documents,
since otherwise the command line syntax for export would change. This would
require more adaptions for the users, since with the chosen solution the
custom converters are almost always changed correctly in prefs2prefs(),
so that only custom external templates need manual adjustement.
2013-03-21 20:13:02 +01:00
Juergen Spitzmueller
41060c9723 Allow to specify default argument for layout/inset argments
This default argument is inserted iff no inset argument is present. This is useful particularly for mandatory arguments that need to have a sensible default value.
2013-02-24 11:29:21 +01:00
Richard Heck
06cac41193 Add "NoInsetLayout" tag for Uwe. Fixes bug #8545. 2013-02-12 10:13:41 -05:00
Richard Heck
8c8d26ecf6 Documentation update for layout format 44. 2013-02-09 13:44:06 -05:00
Uwe Stöhr
df57b7050b Customization.lyx: some more revision
- German Customization.lyx: more translations
2013-01-06 03:28:34 +01:00
Uwe Stöhr
b8fa4d9bc2 Customization.lyx: some corrections 2013-01-01 19:41:38 +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
Juergen Spitzmueller
dd0e6976e8 Document InsetLayout Caption:<name> 2012-12-31 15:47:30 +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
Juergen Spitzmueller
37f41fd4b5 Support for command argument placement after the workarea argument 2012-12-28 11:21:24 +01:00
Juergen Spitzmueller
c3aa718151 Make the \item command in lists customizable 2012-12-19 16:55:22 +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
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
25ef8e7eef Allow to separate menu string from label string for arguments 2012-12-09 19:15:41 +01:00
Juergen Spitzmueller
2b40823d8e Implement resetArgs to InsetLayout (#8437) 2012-12-02 10:16:26 +01:00
Juergen Spitzmueller
ecf18084ff allow linebreak in argument delimiter string 2012-11-30 09:13:38 +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
Juergen Spitzmueller
5f1c8bff45 Document new Argument features 2012-11-26 09:12:16 +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
Uwe Stöhr
a09167f520 Customization.lyx: clarify an info 2012-11-24 17:14:06 +01:00
Juergen Spitzmueller
4d784da801 Forgot to document ResetArgs 2012-11-23 18:57:05 +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
9e8bfb4597 documentation of new argument syntax 2012-11-23 15:37:30 +01:00
Juergen Spitzmueller
d4d4ee74ba Document textclass categorization 2012-10-09 09:29:02 +02:00
Pavel Sanda
4180dc9489 Update manuals for literate programming (esp. noweb).
Patch from Kayvan Sylvan.
2012-10-01 17:31:08 +02:00
Richard Heck
2693b911b7 Update customization manual with "nice" info. 2012-05-22 09:26:52 -04:00
Pavel Sanda
dce6c8875c Allow Insetlayout for Branch inset (#8106).
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg173659.html
2012-04-19 11:56:32 +02:00
Georg Baum
1845b310aa Correct description of layout translation.
The old version pretended that the translations are provided via gettext,
but this is wrong.
2012-04-18 21:17:35 +02:00
Georg Baum
a2e8cb758b Translations for listings insets
The listings inset and include inset of type listings use two english terms
that are not localized yet: "Listing" for the caption and "Listings" for the
list of listings (not supported natively by LyX yet). The existing layout
translation mechanism has been extended to translate these terms as well:

1) Support [[stuff]] context in lib/layouttranslations
2) Support BabelPreamble and LangPreamble in InsetLayout
3) Use a InsetLayout for InsetInclude of type listings
4) Define BabelPreamble and LangPreamble in the layouts for InsetInclude
   and InsetListings
2012-04-10 20:21:01 +02:00
Georg Baum
26e5f1a8ec Use libmagic for file format detection if available.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40789 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-21 20:29:44 +00:00
Uwe Stöhr
72bf7ee3bb Customization.lyx: a formatting fix and resetting fileformat to the one of LyX 2.0.x
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40471 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-10 01:15:11 +00:00
Richard Heck
acbcf2c742 Documentation for new layout tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40412 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 22:39:35 +00:00
Uwe Stöhr
336eb1961d Customization.lyx: updates by Philip Pirrip
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40302 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-28 23:31:26 +00:00
Uwe Stöhr
52c55a2174 - Customization.lyx: add new possible font types uuline, strikeout and uwave
- German Customization.lyx: lot of refactoring

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39573 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-31 16:04:18 +00:00
Uwe Stöhr
2cb8a155a8 - Customization.lyx: some more preamble code can go
- Italian Customization.lyx: use the same document settings as the English version
- Additional.lyx: revert undesired change from last commit

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39352 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-19 21:17:10 +00:00
Uwe Stöhr
5374de7fbd documentation files:
- the \LyX macro is no longer fragile since r37164, therefore preamble code can go
- some intro cleanups and fixes to have an uniform layout for all language variants
- remove some obsolete text from Polish and Basque Additional.lyx versions

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39350 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-19 20:57:36 +00:00
Uwe Stöhr
d27c625e86 Customization.lyx: we once agreed to avoid abbreviations since non-native speakers have to read our docs in English too
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39310 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-15 16:56:12 +00:00
Pavel Sanda
aea4c52940 Accept all changes in our manuals (and disable revision tracking)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38553 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-28 23:12:18 +00:00
Richard Heck
c786d93f25 Update all English docs to current format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38490 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-25 02:07:32 +00:00
Richard Heck
95c5a7dd00 Repair the NextNoIndent docs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38419 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-16 20:21:30 +00:00