Commit Graph

311 Commits

Author SHA1 Message Date
Uwe Stöhr
9464112840 Customization: accept and merge some changes 2015-11-29 18:24:05 +01:00
Richard Heck
727c845808 Update local layout in Customization.lyx. 2015-11-28 23:15:05 -05:00
Uwe Stöhr
2e5ab40276 Customization.lyx: accept some changes 2015-11-28 03:13:11 +01:00
Scott Kostyshak
2f4233721d Update docs to latest format for 2.2.0alpha2 2015-11-27 03:23:22 -05:00
Georg Baum
2d63caf817 Fix broken author name (bug 9858) 2015-11-11 22:39:55 +01:00
Georg Baum
83672113d3 Update documentation to current format
This was done by running development/tools/updatedocs.py and reverting
lib/doc/LFUNs.lyx in order to preserve the special header line.
2015-11-11 21:56:27 +01:00
Scott Kostyshak
2b1b233bc0 Fix polyglossia exports for docs with babel cmds
Many of our documents have babel-specific preamble code. By putting
this code in a \@ifpackageloaded{babel}{}{} conditional, XeTeX and
LuaTeX compilation with polyglossia now works. This fixes some
LuaTeX tests that were broken by edd37de8 and also allows us to
uninvert some XeTeX tests.

Note that in some of the files although the preambles were fixed to
allow for polyglossia, they still do not compile without errors:
es/Math.lyx
es/Customization.lyx
de/Customization.lyx

Similar fixes might be desired in other manuals but these at least
fix regressions in the tests.
2015-10-25 00:12:26 -04:00
Uwe Stöhr
4745969b45 EmbeddedObjects.lyx: update appendix A
Since a while now we can translate the unit descriptions. For some special applications it is also necessary that the users know the LaTeX command of the relative units.

- also fix a typo in Customization.lyx
2015-10-18 18:57:15 +02:00
Juergen Spitzmueller
d74cbac037 Customization: add a hint about PackageOptions at Requires. 2015-08-03 13:39:18 +02:00
Juergen Spitzmueller
19d9b34f4f Remove ugly and now redundant ERT-braces from the docs
These were used to prevent the former auto-logoification of LyX etc.

Also fixed some spelling errors I passed by.
2015-07-23 09:12:26 +02:00
Georg Baum
0f4c5df9f4 Support Photos in RasterImage template
Actually photos (i.e. .jpg files) where supported previously, but for pdflatex
output an unneeded conversion to png was done. The RasterImage templates
behaves now exactly as InsetGraphics for these files: If the input format is
jpg, use that for pdflatex, else convert to png.
2015-07-20 21:14:45 +02:00
Georg Baum
c63d486b2e Replace LaTeX logo with plain text
This is another advantage of the new logo insets: We see in LyX where they are
inserted for the output. In these two cases, the text describes keywords of
the external template configuration file language, so these should not be
typeset as logos.
2015-07-20 21:05:34 +02:00
Juergen Spitzmueller
441f8e86d1 Document ParagraphGroup layout tag. 2015-06-01 16:12:51 +02:00
Enrico Forestieri
259400325e Replace the origin tag for documents modified before 260a98d2 2015-05-24 16:50:21 +02:00
Juergen Spitzmueller
47dd9189eb Add more Float tags to allow to disable wide and sideways feature
Fixes: #9557, #9558

This is amended to yesterday's layout format change.
2015-05-22 18:59:17 +02:00
Juergen Spitzmueller
7dc123b790 Add Float tag to determine allowed positioning options (#7752) 2015-05-22 10:37:14 +02:00
Juergen Spitzmueller
f7dba65e10 Customization.lyx: remove unintended switch to German 2015-05-17 13:57:12 +02:00
Juergen Spitzmueller
760b7cf2b6 Add option to Argument to let it be inserted with a copy of the co-text.
This is useful for classic "Short Titles", where one might want to start
with the full title in the inset.

Addresses: #4745
2015-05-09 12:17:24 +02:00
Juergen Spitzmueller
32341edbb7 Document PassThruChars option of argument. 2015-05-08 09:37:28 +02:00
Juergen Spitzmueller
897b2e73a1 New (Inset)Layout tag PassThruChars 2015-04-20 18:13:49 +02:00
Georg Baum
eb121f9993 Replace hardcoded hack with InsetLayout tag 2015-01-11 20:01:19 +01:00
Scott Kostyshak
15ae3eb85c Initialize recently added forceownlines_ bool
This adds on to the fix for #8875 (a25569eb).
2014-12-20 15:05:20 -05:00
Juergen Spitzmueller
cfeddb9293 Add ObsoletedBy tag to InsetLayout
Fixes: #9000.
2014-12-08 09:08:45 +01:00
Juergen Spitzmueller
a25569ebb3 Add a layout tag ForceOwnlines that assures an inset is started and terminated by a line break in the LaTeX output.
Fixes: #8875.
2014-12-01 14:56:47 +01:00
Scott Kostyshak
95f9bafff2 Typo 2014-11-11 22:39:54 -05:00
Juergen Spitzmueller
20bcaec061 Add layout tag that determines if/when a paragraph can be indented.
Fixes: #7327, #7458, #8670
2014-05-29 14:10:32 +02:00
Georg Baum
6b49b6b129 Fix conflicting inset font defaults (bug #8874)
This makes the defaults of Inset::inheritFont() and Inset::resetFontEdit()
compatible. There is no user visible change except for the Chunk inset which
does not produce invalid LaTeX after editing operations anymore.
This is the safe version for 2.1.0, for later there are still open questions:
- All insets with ResetsFont true should be audited: Is this really needed,
  or do they show similar editing problems as the Chunk inset?
- Does inheritFont() need to be customizable in the layout file as well?
- Is resetFontEdit() != !inheritFont() needed at all?
I did not use change tracking for the docs, since I updated all existing
translations.
2014-02-10 22:06:32 +01:00
Uwe Stöhr
44e8c6d45d documentation files: more updates
Changelog:
UserGuide:
- sec. 3.3.4.4: "opt" renamed to "short title"; only one short title
- sec. A.4.23: short title only visible...
- sec. A.5.4: Forward Search, clarify section reference
- sec. B: description of searching in submenus

Customization Manual:
- sec. 3.1:
	- changed View->View (Other Formats)->DVI to  Document>View (Other Formats)->DVI
	- In second and fourth paragraph changes 2 "View" menu to "Document"
2014-01-30 00:14:59 +01:00
Uwe Stöhr
5ff31c6da5 Customization.lyx: correct latest layout format
Merge branch 'master' of git.lyx.org:lyx
2013-06-04 22:21:06 +02:00
Uwe Stöhr
f2fb7afe34 Customization.lyx: update layout file format
- also some small corrections and German translations
2013-06-03 20:43:11 +02:00
Uwe Stöhr
d1ce71d398 Customization.lyx: last step of merging/updating 2013-06-02 20:24:02 +02:00
Uwe Stöhr
8363f8f2b6 Customization.lyx: second step of merging/updating 2013-06-02 19:12:51 +02:00
Uwe Stöhr
b6a5c9163b Customization.lyx: first step of merging/updating 2013-06-02 05:07:10 +02:00
Richard Heck
2374229cc6 Introduce InitialValue tag for counters. Fixes bug #8707. 2013-06-01 17:42:08 -04:00
Uwe Stöhr
d2a4b27493 Customization.lyx: remove unnecessary tables and some updates
- remove the tables I once used to order all possible "Requires" features
- update the list with possible "Requires" features
- some style fixes here and there
2013-05-30 19:44:07 +02:00
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
Richard Heck
8c129b4a29 Local Layout Docs Again
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38414 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-16 14:16:35 +00:00
Richard Heck
e0cfa5443e Convert local layout to new format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38249 a592a061-630c-0410-9148-cb99ea01b6c8
2011-04-04 21:41:20 +00:00
Richard Heck
5d0c1c2dd9 Doc update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38113 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 23:13:00 +00:00
Richard Heck
de3c1f58a6 Accept earlier changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38095 a592a061-630c-0410-9148-cb99ea01b6c8
2011-03-28 14:59:55 +00:00
Richard Heck
66d787c46c add period
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37808 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-28 16:35:22 +00:00
Pavel Sanda
acc7437ec4 Updates from Jean Pierre.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37532 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-07 01:02:34 +00:00
Richard Heck
e1bfa81049 Hmm.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37442 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-03 01:52:24 +00:00
Richard Heck
08c312f2ac Docs for latest layout changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37438 a592a061-630c-0410-9148-cb99ea01b6c8
2011-02-02 23:11:07 +00:00
Enrico Forestieri
6919ddf078 Bump layout format for the new Display tag used in Comments and Greyedout notes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37381 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-30 22:22:18 +00:00
Pavel Sanda
aac2310ea0 Some very old spots from Ignatio
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37221 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-15 20:51:20 +00:00
Richard Heck
b0eaa25e77 Doc for NoCounter.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37202 a592a061-630c-0410-9148-cb99ea01b6c8
2011-01-13 15:52:59 +00:00
Uwe Stöhr
4fe5321be9 Customization.lyx: fix typo reported on the lyx-docs mailing list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36921 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-17 19:36:35 +00:00
Richard Heck
42f6c44f6b Don't use prettyref here.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36705 a592a061-630c-0410-9148-cb99ea01b6c8
2010-12-03 21:43:22 +00:00
Richard Heck
0afac5a291 Accept changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36564 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:51:20 +00:00
Richard Heck
a61899ffe7 Allow InPreamble to be used with Paragraph-type environments. There is
no reason not to permit this, and using it with PassThru 1 allows for a
very simple Preamble layout-type that acts as ERT for the premable. Of
course, we do have the preamble in Document>Settings, but that allows
the embedding of preamble code in branches.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36562 a592a061-630c-0410-9148-cb99ea01b6c8
2010-11-28 22:08:11 +00:00