Commit Graph

292 Commits

Author SHA1 Message Date
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
Jean-Marc Lasgouttes
9ebd4405cf Make sweave process files with the correct encoding (#6625).
The required the introduction of the new converter token $$e, that holds
the iconv name of the latex file encoding.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35772 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-22 07:51:39 +00:00
Richard Heck
23e5b3f5d8 ResetsFont docs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35628 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-13 16:11:31 +00:00
Richard Heck
6cc0eee26a InsetLayout update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35615 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:51:36 +00:00
Richard Heck
628971e5b5 Update InsetLayout documentation.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35609 a592a061-630c-0410-9148-cb99ea01b6c8
2010-10-12 15:01:43 +00:00
Richard Heck
73000814be Customization updates
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35519 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-27 12:57:12 +00:00
Uwe Stöhr
ffb2398ae7 Customization.lyx:
- modified sec. 5.1 a bit, see latest post o the list
- adapt the other language versions accordingly

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35508 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 17:55:10 +00:00
Richard Heck
29f93c0f86 Update note for Uwe
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35507 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 14:25:59 +00:00
Richard Heck
4ca52c2f78 Updates to LaTeX package stuff re Linux
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35506 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 14:20:43 +00:00
Uwe Stöhr
c85df45932 Customization.lyx: rewrote section how to install LaTeX-packages
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35504 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-26 03:57:21 +00:00
Richard Heck
b743c226ca Handle forced alignments, at least in ordinary paragraphs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35395 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:42:50 +00:00
Richard Heck
04d6290966 Label tag should default to div for "top environment" labels.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35394 a592a061-630c-0410-9148-cb99ea01b6c8
2010-09-15 14:23:32 +00:00
Uwe Stöhr
f5cab80e7e Customization.lyx:
- make it compilable
- clarify a statement

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35140 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-14 01:36:40 +00:00
Jean-Marc Lasgouttes
6aa26820fd Introduce new tag ParbreakIsNewline in Layout and InsetLayout (not yet used)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35110 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-09 21:20:29 +00:00
Richard Heck
7c54fd51e9 Move layout i18n stuff into its own section.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35067 a592a061-630c-0410-9148-cb99ea01b6c8
2010-08-06 21:37:45 +00:00
Richard Heck
3002574922 Minor style stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35029 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-29 15:57:08 +00:00
Richard Heck
c2a4932ce0 Small improvement to RefPrefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34854 a592a061-630c-0410-9148-cb99ea01b6c8
2010-07-11 13:36:19 +00:00
Richard Heck
c952f9a7be Fix InPreamble. I must have committed an incomplete patch.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34675 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-15 15:37:39 +00:00
Richard Heck
2581036784 Documentation for RequiredArgs tag.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34593 a592a061-630c-0410-9148-cb99ea01b6c8
2010-06-04 22:00:50 +00:00
Richard Heck
6ab1209855 Update the format of some manuals.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34493 a592a061-630c-0410-9148-cb99ea01b6c8
2010-05-24 19:42:47 +00:00
Uwe Stöhr
267113458a Customization.lyx: update fileformat because this manual already contains LyX 2.0-specific stuff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34316 a592a061-630c-0410-9148-cb99ea01b6c8
2010-04-28 00:44:16 +00:00
Richard Heck
ec5c343ebd Update XHTML documentation now that bibliography format can be
customized.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33930 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:09:12 +00:00
Richard Heck
d896682aa2 Documentation for customization of citation formats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33929 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-29 21:04:33 +00:00
Richard Heck
d61d8d7edb Documentation for RefPrefix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33785 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-17 12:27:22 +00:00
Richard Heck
abc81b5c07 Rework and partially revert r33631.
This patch introduces a "ListCommand" tag for Float layout. This tag
defines the command used to generate a list of such floats, in the cases
where float.sty is not used (i.e., where NeedsFloatPkg is true). We were
previously hardcoding the commands \listoftables and \listoffigures. But
in other cases, such as achemso.layout, which defines lists of schemes,
charts, etc, we could not output such lists.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33633 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 22:58:29 +00:00
Richard Heck
b64e2d4103 Change the LaTeXBuiltin tag to a NeedsFloatPkg tag. Discussion on the
list revealed that the former is confusing to people. The latter
indicates more clearly what the tag does.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33626 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-05 17:24:38 +00:00
Richard Heck
ec712fa47f Clarify the ListName tag for floats.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33618 a592a061-630c-0410-9148-cb99ea01b6c8
2010-03-04 13:44:23 +00:00
Jürgen Spitzmüller
fb082935ed * update
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33470 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 17:57:47 +00:00
Jürgen Spitzmüller
8168e27362 * new InsetLayout tag to disallow spell checking. This actually brings Inset::allowSpellCheck() to use.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33467 a592a061-630c-0410-9148-cb99ea01b6c8
2010-02-13 15:44:17 +00:00
Richard Heck
c7c49c46ee Documentation for PrettyFormat.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33123 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-20 22:31:24 +00:00
Richard Heck
1832a388c5 Collect the title for XHTML output, and use it.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33097 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-19 19:43:15 +00:00
Richard Heck
84a59df2d1 A little cleanup of stray font tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33043 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 22:18:04 +00:00
Richard Heck
d2dc4652fa Character styles should have MultiPar = false, by default.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33041 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 21:43:44 +00:00
Richard Heck
5d10523f12 Minor stuff.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33031 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-14 15:40:30 +00:00
Richard Heck
fdbd6064e9 New layout tag for specifying the style used for TOCs, etc, in XHTML
output.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32991 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-12 19:38:31 +00:00
Richard Heck
c30d479080 Typo.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32852 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:45:42 +00:00
Richard Heck
9aca8e4eb5 A little more XHTML documentation. This is on generated CSS.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32851 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:45:12 +00:00
Richard Heck
f99f0d7790 Documentation for float XHTML.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32847 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:32:28 +00:00
Richard Heck
40c735f4d1 Initial documentation, at least, for the XHTML-related layout tags.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32843 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-07 17:12:10 +00:00
Richard Heck
c216adead9 Whitespace.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32804 a592a061-630c-0410-9148-cb99ea01b6c8
2010-01-06 20:13:07 +00:00
Pavel Sanda
d96c369d8b doc glitch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32587 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-19 13:53:22 +00:00
Richard Heck
08b63ad3c6 Enhance LyX by fixing bug 5587. We add a new ContentAsLabel tag to
InsetLayout, per Jurgen's suggestion, so that insets can be told to
display an abbreviated form of their content when closed.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32575 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-18 00:29:22 +00:00
Pavel Sanda
8a14b116e0 Insert explicit layout version number.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32337 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-04 15:08:33 +00:00
Richard Heck
d9173414ce Docs for InPreamble.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32279 a592a061-630c-0410-9148-cb99ea01b6c8
2009-12-01 14:48:15 +00:00
Richard Heck
10db73576b Some updates to Customization.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32077 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-18 21:39:27 +00:00
Richard Heck
c4a27f1d63 Fix bug 5412 by updating docs.
Should also go to branch.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@32063 a592a061-630c-0410-9148-cb99ea01b6c8
2009-11-17 14:52:44 +00:00
Richard Heck
ac60f0318a Minor update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30991 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 14:58:29 +00:00
Richard Heck
4c275aa5d4 Docs for IfStyle and IfCounter
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30990 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-12 14:57:20 +00:00
Uwe Stöhr
2f62763e99 Customization.lyx: only whitespace (and update to latest file format)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30840 a592a061-630c-0410-9148-cb99ea01b6c8
2009-08-02 22:22:44 +00:00
Uwe Stöhr
e9026c7994 Customization.lyx: accept changes and transfer the new infos to the other language versions
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30203 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-20 13:32:02 +00:00
Uwe Stöhr
a23822b991 - Customization.lyx: remove links to the removed file DocStyle.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30201 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-20 13:05:22 +00:00
Georg Baum
e0acb978ff fix bug 5798: Translate float names
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30035 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-09 18:16:43 +00:00
Richard Heck
f28c1a2cce Allow customization of enumerate counters.
This patch is from JMarc, except the docs, which are due to me.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29906 a592a061-630c-0410-9148-cb99ea01b6c8
2009-06-02 16:02:29 +00:00
Richard Heck
ee3c0d1268 Update the layout docs a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29883 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-29 19:09:22 +00:00
Jean-Marc Lasgouttes
864773d7d9 Allow literate documents other than noweb to work out of the box. Currently
only sweave is supported (for building documentation, not programs).

Layout files allow a new OutputFormat tag 

Modules can be conditionned on a feature of the type from->to, indicating that
it should be possible to convert from format 'from' to format 'to'.

Layout format incremented to 15.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29874 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-28 08:59:25 +00:00
Uwe Stöhr
92b4d6d431 - Spanish Customization.lyx: updates by Ignacio
- English Customization.lyx: fix preamble comment

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29537 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-04 21:34:56 +00:00
Uwe Stöhr
8baca7929b Customization.lyx: the graphics and external material dialog no longer contain an Edit button
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29483 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 18:52:34 +00:00
Uwe Stöhr
728380c06f Customization.lyx: corrections from Hartmut and me
German Customization.lyx: updates by Hartmut

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29472 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 12:21:04 +00:00
Pavel Sanda
65389071ef Update a bit
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29462 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:30:37 +00:00
Pavel Sanda
ffc71354d0 Revert part of http://www.lyx.org/trac/changeset/29412
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg150458.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29461 a592a061-630c-0410-9148-cb99ea01b6c8
2009-05-01 09:15:32 +00:00
Uwe Stöhr
448bfb42bd Customization.lyx:
- accept changes
 - remove completely outdated section with even wrong infos
 - remove subsection that is already part of the UserGuide
 - fix labels

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29412 a592a061-630c-0410-9148-cb99ea01b6c8
2009-04-26 16:49:53 +00:00
Richard Heck
5a46619354 Update manual a bit: LyX won't check for arbitrary packages.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28566 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-19 22:28:02 +00:00
Pavel Sanda
64ac045b2d Customization - revert relevants parts back for translators.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg148048.html


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28538 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-18 08:52:40 +00:00
Pavel Sanda
de5dfdd4a2 * Customization.lyx, accept changes
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28530 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 23:44:51 +00:00
Georg Baum
9aad4bc27f Better fix for bug 1476 (following an idea by Jean-Marc).
Don't go into an endless loop if layout2layout cannot produce the desired file format.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28529 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-17 20:25:56 +00:00
Richard Heck
5ee35ace6f Introduce the InToc tag for InsetLayout.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28377 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-06 17:54:33 +00:00
Richard Heck
391c3e3943 Minor updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28368 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 22:12:35 +00:00
Uwe Stöhr
87de34f36f - Customization.lyx: update file format since this file is no longer identical to the one in branch
- Math.lyx: document Georg's new implemented integral signs and update the description of the \***op integral commands

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28359 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-05 02:21:54 +00:00
Pavel Sanda
f595e20a6f * Customization.lyx
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28357 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 20:20:28 +00:00
Georg Baum
cd27d171d5 Partial fix of bug 1476:
Implement infrastructure to add translations to layout files and translate one .inc file.
Some others are missing.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28356 a592a061-630c-0410-9148-cb99ea01b6c8
2009-02-04 20:06:50 +00:00
Pavel Sanda
e98e029061 The last one.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28266 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-21 20:23:26 +00:00
Uwe Stöhr
0259d3bf75 Documentation files: sync with branch
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28230 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-17 21:40:45 +00:00
Richard Heck
0a5de3380f Fixes to Customization manual, thanks to Ignacio.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28009 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 13:52:52 +00:00
Uwe Stöhr
5b678eefc2 Customization.lyx: - new Spanish translation by Ignacio
- many typos fixed
                   - corrected some folder names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@28005 a592a061-630c-0410-9148-cb99ea01b6c8
2009-01-06 03:17:16 +00:00
Uwe Stöhr
591818efc8 - UserGuide.lyx: the final commit, the User's Guide should now be completely up to date for LyX 1.6.x
- Customization.lyx: fix two menu names

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27752 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-30 18:13:23 +00:00
José Matox
25aef8a801 Update lyx document files to the latest file format
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27330 a592a061-630c-0410-9148-cb99ea01b6c8
2008-11-07 19:25:18 +00:00
Uwe Stöhr
696e875695 documentation, example, and template files: correct the typography of e.g. and i.e. as discussed on the list
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27184 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-28 23:39:29 +00:00
Richard Heck
3eb406daf4 Add a reference to maintainer.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27149 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 12:35:57 +00:00
Richard Heck
20392f74f7 Update re bug 5403.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27148 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-27 12:11:02 +00:00
Uwe Stöhr
6076a9cc34 Docs: typographic corrections, thanks to Günter for the hint
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27116 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 21:52:23 +00:00
Uwe Stöhr
2c8fc8a07f Customization.lyx: clarification
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27094 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-25 01:51:13 +00:00
Richard Heck
f99d998cb7 Updates to InsetLayout docs, mostly due to Martin.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27082 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-24 14:57:43 +00:00
Richard Heck
9dfac74265 This patch introduces ProvidesModule and ExcludesModule layout tags.
See http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145129.html.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@27041 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-23 00:27:03 +00:00
Uwe Stöhr
f3117747ff remove last traces of linuxdoc whose support has been removed long ago; requested in http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg145127.html
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26982 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 20:49:04 +00:00
Uwe Stöhr
0ad53de085 English documentation files: update to recent file format as service for our translators
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26977 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-19 13:43:30 +00:00
Richard Heck
bd89780248 Minor doc update.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26803 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-07 16:43:48 +00:00
Richard Heck
d233a03e73 Move the LyX server documentation to Extended Features.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26788 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 21:05:22 +00:00
Richard Heck
2284351357 Stuff on the LyX server should be in the Extended Features manual, not the
Customization manual.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26787 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 20:57:11 +00:00
Richard Heck
59a001aa8d Update the Customization manual a bit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26785 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 20:21:43 +00:00
Richard Heck
838bccbb97 Update counter documentation after last commit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26780 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 14:42:57 +00:00
Richard Heck
93597a387e Correct out of date hyperlink.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26770 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:32:36 +00:00
Richard Heck
0f08a019a2 Update layout documentation.
Uwe, I've used change tracking with this, as we discussed. Please review the changes, accept or whatever, and recommit. You can let the translators know about this, too.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26769 a592a061-630c-0410-9148-cb99ea01b6c8
2008-10-06 04:24:41 +00:00
Uwe Stöhr
6d6ec205ec Customization.lyx: update section about package installation
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26597 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-28 00:42:55 +00:00
Uwe Stöhr
1b201008f5 documentation files: remove unused labels
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26532 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-25 01:26:54 +00:00
Uwe Stöhr
828112f4df Customization.lyx: remove things that are already described in the UserGuide
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26530 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-24 23:13:58 +00:00
Uwe Stöhr
64b6f7f3cf UserGuide.lyx: one of the last updates for LyX 1.6
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26500 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-22 23:12:13 +00:00
Richard Heck
b1475b461a Update layout specification.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26410 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 13:25:42 +00:00
Pavel Sanda
a89ab325ef Add note about ui-toggle
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26405 a592a061-630c-0410-9148-cb99ea01b6c8
2008-09-15 00:58:00 +00:00
Enrico Forestieri
e5e65c031c Update LYX_DIR_XXx and LYX_USERDIR_XXx environment variable names
in docs and manpages at install time.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26119 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-12 09:05:30 +00:00
Richard Heck
77dc6fd729 Update InsetLayout docs.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@26076 a592a061-630c-0410-9148-cb99ea01b6c8
2008-08-05 21:57:22 +00:00
Richard Heck
5d95df6e39 Add CopyStyle tag for InsetLayout, per request of Steve Litt.
Update documentation for new tag.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25933 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-28 15:14:37 +00:00
Uwe Stöhr
68190dd5fb UserGuide.lyx: clarify the description of image settings grouping
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25901 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 17:10:53 +00:00
Pavel Sanda
c4ff55c340 LYX_USERDIR_15x -> 16
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25897 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-26 10:44:02 +00:00
Uwe Stöhr
f7a4ede2bd Customization.lyx: actualize how to start a new .po file
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25576 a592a061-630c-0410-9148-cb99ea01b6c8
2008-07-13 16:45:49 +00:00
Uwe Stöhr
8dd1a1759a - documentation: some preamble fixes, part 3/3
- French, Spanish Extended.lyx: remove section that is already included in the FAQ and the UserGuide

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25349 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 14:21:40 +00:00
Uwe Stöhr
d6f5d4f225 documentation: some preamble fixes, part 1
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25346 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-21 01:51:53 +00:00
Uwe Stöhr
6dab61d845 docs: update to latest file format
part 1/4

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25122 a592a061-630c-0410-9148-cb99ea01b6c8
2008-06-04 22:13:56 +00:00
Richard Heck
340b193e3d Update the Customization manual.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23933 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 21:08:49 +00:00
Richard Heck
761f004cdc Update layout format.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23915 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 13:02:18 +00:00
Richard Heck
fa73407a68 Use character styles in the Customization manual. Also contains a few minor updates.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@23914 a592a061-630c-0410-9148-cb99ea01b6c8
2008-03-24 12:54:26 +00:00
Pavel Sanda
59110e5e24 * doc/Customization.lyx: few translation hints.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22704 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-29 02:46:55 +00:00
Uwe Stöhr
d60aff6c00 all docs: fix font loading in the preamble
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22651 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-22 21:53:25 +00:00
Richard Heck
4f76947d03 Documentation updates related to modules and the AMS classes. Note that, with the modularization of the theorem environments, we can now actually use them in Extended->AMSLaTeX to show the user what they look like.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22504 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 06:09:27 +00:00
Richard Heck
d5d665482e This commit changes the way individual LyXModule's are represented, both internally and in the .lyx files. The earlier version represented them by their `descriptive name', e.g., "Endnote" or "Theorems (AMS)", these being the same names used in the UI. This was a mistake, as becomes readily apparent when one starts to think about translating these strings. The modules ought to be represented by their filename, without the extension, just as TextClass's are.
The changes that accomplish this part are in ModuleList.{h,cpp}, configure.py, and the *.module files themselves. This is a format change, and the lyx2lyx is in those files.

By itself, that change would not be major, except for the fact that we do not want the module to be represented in the UI by its filename---e.g., theorems-std---but rather by a descriptive name, such as "Theorems". But that change turns out to be wholly non-trivial. The mechanism for choosing modules was the same as---indeed, was borrowed from---that in GuiCitation: You get a list of modules, and choosing them involves moving strings from one QListView to another. The models underlying these views are just QStringListModels, which means that, when you want to know what modules have been selected, you see what strings are in the "selected" QListView. But these are just the descriptive names, and we can't look up a module by its descriptive name if it's been translated. That, indeed, was the whole point of the change to the new representation.

So, we need a more complicated model underlying the QListView, one that will pair an identifying string---the filename minus the extension, in this case---with each item. This turns out not to be terribly difficult, though it took rather a while for me to understand why it's not difficult. There are two parts:
(i)  GuiSelectionManger gets re-written to use any QAbstractListModel, not just a QStringListModel. This actually seems to improve the code, independently.
(ii) We then subclass QAbstractListModel to get the associated ID string, using the Qt::UserRole slot associated with each item to store its ID. This would be almost completely trivial if QAbstractListItem::itemData() included the QVariant associated with this role, but it doesn't, so there are some additional hoops through which to jump.

The new model, a GuiIdListModel, is defined in the files by that name. The changes in GuiSelectionManger.{h,cpp} make it more abstract; the changes in GuiDocument.{h,cpp} adapt it to the new framework. 

I've also updated the module documenation to accord with this change.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22501 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-12 04:28:12 +00:00
Richard Heck
7c28905b17 This commit adds some new functionality to the modules stuff. In particular, it introduces the concept of "required" and "excluded" modules: A given module may require one of some list of modules, or it may be incompatible with some other modules. (Complex Boolean combinations are not supported!!) These facts can be noted in the module file, and the UI responds appropriately: Required and excluded modules are noted in the description, and the "Add" button is enabled only if at least one of the required modules has already been selected and no excluded module is selected. Getting this to work involved a fair bit of cleanup of the existing code---including ways Angus, I think, had already pointed out were required---and also involved changing the syntax of the headers of the module files, but in ways that are probably best anyway.
None of the extant modules require any other modules, but the Theorem modules all exclude one another. (See the screenshot.) When I modularize the AMS classes---that is the next task---we'll have requires.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22456 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-09 18:51:02 +00:00
Richard Heck
40cb894ca6 Minor edit.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22426 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 23:22:09 +00:00
Jürgen Spitzmüller
9e5eebc14c *** Requires tag for classes, layouts and custom insets ***
* src/TextClass{cpp,h}:
	- implement Requires tag for class and InsetLayout.
* src/Layout.{cpp,h}:
	- implement Requires tag for layouts.
	- increase layouts format to 6.
* src/Paragraph.cpp:
	- request required features for paragraph layouts.
* src/LaTeXFeatures.cpp:
	- add some packages needed by modules.
	- remove Preamble method for InsetLayout. This is now done
	  in InsetFlex::validate.
* src/BufferParams.cpp (validate):
	- request required features for the class.
* src/insets/InsetLayout.h:
	- new member "requires".
* src/insets/InsetFlex.{cpp,h}:
	- implement validate method and request required features and preamble snippets.

* lib/layouts/*.{layout,module,inc}:
	- increase layouts format to 6.
	- use Requires tags in some modules (more can be done later).

* lib/doc/Customization.lyx:
	- document Requires tag.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22414 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-07 16:59:10 +00:00
Richard Heck
a43667b5be Remove references to obsolete URL module and make some other minor changes.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22401 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 17:00:59 +00:00
Richard Heck
ffbdd0e79a Remove obsolete URL module.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22399 a592a061-630c-0410-9148-cb99ea01b6c8
2008-01-06 16:54:17 +00:00
Bo Peng
3c66085625 remove the manifest section from two doc files
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21342 a592a061-630c-0410-9148-cb99ea01b6c8
2007-11-01 16:50:51 +00:00