Commit Graph

6718 Commits

Author SHA1 Message Date
Kornel Benko
7e89a2d5b1 Make more tests compilable
revertedTestst: aa_samply.lyx compiles without change
*_Additional.lyx: bad include path after moved to attic
2013-08-14 14:24:20 +02:00
Richard Heck
bac7708d4b The koma-script book class numbers equations by chapter. 2013-08-09 11:33:52 -04:00
Scott Kostyshak
1052732e66 Japanese docs: translations from Koji 2013-08-05 19:15:56 -04:00
Scott Kostyshak
93e566be52 LilyPond: English typo 2013-08-05 04:58:40 -04:00
Vincent van Ravesteijn
2ceca32d2b Update layouttranslations 2013-08-04 18:05:44 +02:00
Vincent van Ravesteijn
f794d49336 Update LFUNs.lyx 2013-08-04 16:41:02 +02:00
Scott Kostyshak
f5cf21d725 Move templates with paths to examples (#8643)
When a user creates a new document from a template, the template
is copied but relative paths are not changed, so the resulting
.lyx file is broken. By moving documents with relative paths to
examples, the files will compile out of the box.

A long-term solution that allows for relative paths in templates
is still desired and will be discussed in #8643 or in a new ticket.
2013-08-04 15:56:42 +02:00
Scott Kostyshak
5bacf85b48 AEA.lyx fixes
- add a citation (otherwise BibTeX complains)
 - change citation style to Natbib (author-year)
 - fix a typo
2013-08-04 15:21:00 +02:00
Scott Kostyshak
a984498aee Makefile.am: add RJournal.{lyx,layout} entries 2013-08-04 15:06:55 +02:00
Scott Kostyshak
0c961941c6 Typo 2013-07-31 18:10:16 -04:00
Scott Kostyshak
dd609f56c3 ja/splash.lyx: default output is now dvipdfm(x) 2013-07-28 01:48:05 -04:00
Uwe Stöhr
5a95f822d4 Japanese UserGuide.lyx: update fileformat 2013-07-27 23:57:52 +02:00
Uwe Stöhr
88ec176e88 Japanese docs: translations and corrections from Koji 2013-07-27 23:43:54 +02:00
Richard Heck
3d36751849 Convert "i = i +1" to "i += 1" and similar. 2013-07-24 10:59:51 -04:00
Richard Heck
0a6e781aea Somehow this line got commented out. 2013-07-24 10:57:36 -04:00
Richard Heck
dad943ad6c Fix dumb mistake. 2013-07-24 10:56:33 -04:00
Richard Heck
c1ead6afa1 Simplify a bunch of lyx2lyx code. 2013-07-24 09:56:02 -04:00
Richard Heck
2cdf3d2f6e Remove debugging code. 2013-07-24 09:48:11 -04:00
Richard Heck
96bb5f6dd7 Move helper functions where they belong. 2013-07-24 09:47:14 -04:00
Richard Heck
556a195033 Fix problem with Initial layout conversion reported by Scott on
the list.
2013-07-24 09:41:59 -04:00
Scott Kostyshak
d3c9f2e34c Change default of Japanese docs to dvipdfm(x) 2013-07-22 23:38:35 -04:00
Richard Heck
0cf30671d3 Add Josh Hieronymous. 2013-07-20 09:40:03 -04:00
Richard Heck
c89a42682d Fix mis-spelling of "contirbutor". 2013-07-16 17:26:20 -04:00
Scott Kostyshak
5225821242 Prevent zombie processes (#8774)
Using Systemcall::startscript() with Starttype::DontWait used to create
zombie processes, as nobody would collect them. This patch starts those
processes as detached, hence preventing them from becoming zombies.

In addition to #8774, this bug was also reported here:
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/1096666

Patch from Guy Rutenberg. For reference, see this email thread:
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg180034.html
2013-07-16 01:02:28 -04:00
Georg Baum
89b2c54c00 Fix wrong space symbols (#8729)
The main part of the fix (unicodesymbols) is from Jürgen. This commit fixes
tree problems:
- \; etc. were also used in text mode, but are math only
- all of those glyphs need to be forced with utf8
- actually, \; etc. are not the correct macros, since the encoded spaces are
  breakable, but the math spaces are all protected. The sapce symbols are not
  defined in the utf8 encodings.
2013-07-13 22:43:31 +02:00
Scott Kostyshak
dda0d24c7c Fix Spanish tufte-{book,handout} bib paths 2013-07-13 22:42:56 +02:00
Georg Baum
822e171762 Fix inconsistent version in .lyx files (#7951)
LyX, lyx2lyx and tex2lyx produce now all the same version indicator consisting
only of the major and minor version. It is not decided yet whether future
development versions will add a -dev suffix, but for 2.1.0 this change fixes
the inconsistencies.
2013-07-13 16:02:26 +02:00
Juergen Spitzmueller
f7ac0f7bda Fix a typo 2013-07-08 10:27:00 +02:00
Juergen Spitzmueller
50426600db Fix beamer frame conversion 2013-07-04 18:25:04 +02:00
Uwe Stöhr
ef4018f68e German UserGuide.lyx: fix a typo spotted by a user 2013-06-26 23:20:01 +02:00
Uwe Stöhr
e44e0aef6a German UserGuide.lyx: fix a typo spotted by Stephan 2013-06-26 23:11:29 +02:00
Uwe Stöhr
f61f5e2116 Spanish Additional.lyx: fix a wrong language tag 2013-06-26 00:28:36 +02:00
Uwe Stöhr
f07cf5a1f6 Spanish Additional.lyx: translations for LyX 2.1 from Ignacio 2013-06-26 00:17:57 +02:00
Richard Heck
c6a08bc442 Somehow forgot HTML tags for Paragraph and Subparagraph.
Vincent, this is totally trivial and so should be fine.
2013-06-11 14:30:15 -04:00
Uwe Stöhr
08b245b6fe Additional.lyx: describe some more multicolumn features 2013-06-05 01:10:10 +02:00
Uwe Stöhr
b470bce9e7 doc files: remove outdated files
- all files ware the last time updated before 2007 (they are probably even older) and do only lead to confusions because of outdated/wrong info
2013-06-04 23:04:55 +02:00
Uwe Stöhr
915e228a87 Slovakian Userguide: remove completely outdated file
- this file described things from LyX 1.2 and also misses several chapters
2013-06-04 22:33:08 +02: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
Vincent van Ravesteijn
d27668841b Update layouts to latest fileformat 2013-06-04 19:48:19 +02:00
Vincent van Ravesteijn
ae2d0e0d43 Update format of lyxrc.default
No changes are necessary.
2013-06-04 19:37:58 +02:00
Uwe Stöhr
7eb42abba6 UserGuide.lyx: ad info for spell checkers under Linux
- patch by Ignacio
2013-06-03 21:08:10 +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
65f4942c1a shapepar.module: correct naming scheme
- we use uppercase for all words in all other layouts
2013-06-03 20:26:30 +02:00
Uwe Stöhr
26e7c42a09 Basque Additional.lyx: put file into attic
- this file is hopelessly outdated (and even misses complete chapters)
2013-06-03 20:13:14 +02:00
Uwe Stöhr
dc9cf3f84c Polish Additional.lyx: put file into attic
- this file is hopelessly outdated (and even misses complete chapters)
2013-06-03 19:30:44 +02:00
Richard Heck
89ced5c3c3 Fix problem with chunk lyx2lyx conversion spotted by Scott.
We assume chunks come at us in a certain form. If not, then
we cannot handle the conversion. In that case, we just leave
the chunks as they were and they will appear as unknown layouts.
2013-06-03 13:01:39 -04:00
Vincent van Ravesteijn
d20956594b Revert part of "Pass the encoding to the japanese pLaTeX processor (#4697)."
See ticket #8408 for the reason why this is reverted.

This reverts part of commit 0bff66b8a5.
2013-06-03 17:39:54 +02:00
Scott Kostyshak
f259a0f591 Fix Indonesian User Guide bib paths 2013-06-03 02:31:41 -04:00
Juergen Spitzmueller
cdc639d27a typo 2013-06-03 08:17:44 +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
Vincent van Ravesteijn
daed22c4d6 Fix language code for Traditional Chinese 2013-06-02 15:32:36 +02:00
Uwe Stöhr
6314c7294d modernCV.lyx: don't require the latest modernCV version to compile 2013-06-02 14:31:33 +02:00
Uwe Stöhr
c4c44a1877 Math.lyx: fix potential whitespace issue in preamble
- the same as in the thesis template
2013-06-02 14:20:26 +02:00
Juergen Spitzmueller
45f6c06956 beamerposter example: document the use of multiple columns within a block 2013-06-02 13:21:34 +02:00
Juergen Spitzmueller
c9ea13ee99 Bump RC format for commit 8f287f5ffa 2013-06-02 12:06:01 +02:00
Scott Kostyshak
9fd950c3f2 Thesis template: fix whitespace issue in preambles 2013-06-02 02:15:28 -04:00
Uwe Stöhr
b6a5c9163b Customization.lyx: first step of merging/updating 2013-06-02 05:07:10 +02:00
Richard Heck
4106fe37ac Use counter for new chunk insets, and set it to 2 in knitr and
sweave modules.
2013-06-01 17:42:36 -04:00
Richard Heck
2374229cc6 Introduce InitialValue tag for counters. Fixes bug #8707. 2013-06-01 17:42:08 -04:00
Uwe Stöhr
a853132e12 Additional.lyx: update description for multiple columns (step 2/2) 2013-06-01 18:16:01 +02:00
Uwe Stöhr
58c8ec817d Additional.lyx: update description for multiple columns 2013-06-01 17:58:30 +02:00
Uwe Stöhr
a0798ff37a chkconfig.ltx: makecmds is required by any usage of polyglossia 2013-06-01 15:47:37 +02:00
Juergen Spitzmueller
f2067a7924 Add a beamerposter example file 2013-06-01 12:50:17 +02:00
Uwe Stöhr
40a7c113de Spanish UserGuide: translations from Ignacio
- and a typo in the English version spotted by Ignacio
2013-05-31 14:31:48 +02:00
Juergen Spitzmueller
49665c9b68 Correctly categorize new layouts 2013-05-31 11:00:39 +02:00
Scott Kostyshak
3a8da38944 sciword.bind update (fix #8364)
- added bindings for 'math-delim' as a workaround
    for US keyboards with Windows
- added bindings for 'word-left' and 'word-right'
- added two more sets of bindings for 'math-subscript'
    and 'math-superscript'
- corrected some greek letter bindings
- insert is bound to 'math-mode'
- changed 'screen-recenter' binding to C-j
- added various other bindings

Thanks to Michael Stepner for many of the fixes and testing.
2013-05-31 03:16:17 -04:00
Uwe Stöhr
2f38fe8649 csv2lyx.py: update for fileformat 413 (LyX 2.0.x) 2013-05-31 02:02:28 +02:00
Uwe Stöhr
683a4d20bd Development.lyx: some format fixes
- fix line breaks and a some  microtypography tuning
2013-05-30 23:20:09 +02: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
Uwe Stöhr
28063d7c82 powerdot.layout: fix a typo spotted by Siegfried 2013-05-30 19:28:29 +02:00
Uwe Stöhr
f18f7989a0 French UserGuide.lyx: translations from Jean-Pierre and Siegfried 2013-05-30 19:12:19 +02:00
Uwe Stöhr
f33454b3c7 LaTeXFeatures.cpp: add rsphrase
- also modify the rsphrase.module
- correct naming scheme for the bicaption.module
2013-05-30 18:15:44 +02:00
Uwe Stöhr
a2e6fc773a LaTeXFeatures.cpp: add multicol and shapepar 2013-05-30 17:55:21 +02:00
Uwe Stöhr
059dad2ace update support for multicolumns
- Additional.lyx: update description and convert some TeX code to the multicolumn inset
- multicol.module: restore the preamble settings that was accidentally removed bin the previous commit
2013-05-30 17:17:34 +02:00
Uwe Stöhr
0a1c8944a1 multicol.module: style refinements by Jürgen
- fixes bug #8568
2013-05-30 16:45:32 +02:00
Richard Heck
8f044f3c95 Patch to convert Sweave chunk paragraphs to insets (bug #8588). Work
by Liviu (C++) and Richard (Python).
2013-05-30 10:20:34 -04:00
Scott Kostyshak
0f9f44bf40 Fix Basque User Guide bib paths 2013-05-29 02:58:16 -04:00
Scott Kostyshak
d7db3961e2 Fix typo of journal name in aa_sample.lyx, aa.lyx 2013-05-29 02:53:38 -04:00
Juergen Spitzmueller
a1934a8ef4 Do not load xeCJK when mot running XeTeX (resolve critical xeCJK error) 2013-05-29 08:06:15 +02:00
Uwe Stöhr
6c0bc842b7 moderncv.layout: support the command \social
- \social can be used for social network addresses in the address block
2013-05-29 01:11:14 +02:00
Uwe Stöhr
d12f7440fb aastex.layout: cleanup the file
- rearrange the style definitions in the order they should appear
- remove the hackish ordering
2013-05-29 00:20:53 +02:00
Uwe Stöhr
0c964e8fb1 examples: update format of some example files 2013-05-29 00:14:54 +02:00
Uwe Stöhr
ea2d5947e9 support to set Tibetan as document language
- polyglossia supports http://en.wikipedia.org/wiki/Standard_Tibetan so we can support it too
- fileformat change
2013-05-28 23:40:17 +02:00
Richard Heck
246b3d79e6 Enumerate isn't always defined when the case stuff is included. 2013-05-28 13:32:17 -04:00
Juergen Spitzmueller
88e57fdca9 Fix some double layout deletions (part of #8619) 2013-05-28 19:07:52 +02:00
Richard Heck
a9614f15d2 We already allowed a counter declaraton for flex insets. We just
didn't do anything with it. So let's do something with it.

Fixes bug #8470.
2013-05-28 00:11:43 -04:00
Uwe Stöhr
ecb3b7b25c Chinese Intro and Tutorial.lyx: make files compilable wit XeTeX
- both files: remove \CJKindent which prevented the compilation with XeTeX, load the xeCJK package which is necessary to get text lines broken at the page margin
Both files are still compilable with pdfTeX because then xeCJk does simply nothing.
- Intro: replace TeX code by its LyX inset and alsoremove unnecessary document class option "cjk"
2013-05-28 00:03:33 +02:00
Vincent van Ravesteijn
704273eea0 Add formats and converters for cropped PDF/EPS
With LyX configured in this way, the user would only need to:

File > New from Template > EPS.lyx (or PDF-cropped.lyx):
- insert a math inset and type in an equation, or create whatever
  content LaTeX can handle,
- view/export to cropped EPS/PDF.

This would allow for LyX to act as a "generator for includable graphics" (equations, commented graphics, etc).

This fixes bug #7839.
2013-05-27 22:06:33 +02:00
Uwe Stöhr
a6f6f79eb1 A&A support: further updates
- mention that the aa class loads natbib to avoid compilation errors
- the aa package contains an outdated an customized version of natbib.sty. This file only works with aa, but breaks the compilation of many other files on your system, therefore remove the bibliography and replace it by BibTeX
- add a note about the encoding
2013-05-26 17:55:10 +02:00
Uwe Stöhr
e28625160a aa.layout: updated for A&A 8.2 2013-05-26 05:29:24 +02:00
Uwe Stöhr
70b1bc5fc9 Farsi splash.lyx: remove unnecessary preamble 2013-05-26 05:04:18 +02:00
Uwe Stöhr
5002ef33f0 aa: fix compilation of the templates/aa.lyx
- aa already loads inputenc
2013-05-26 03:04:59 +02:00
Stephan Witt
75c631df7f On Mac, moving down a paragraph should place the cursor at the end of the current paragraph
(unless it's already there, in which case it should move to the end of the next paragraph).
Change the preference setting name (mac_like_word_movement to mac_like_cursor_movement)
to better reflect its function.

Patch and description from Bennett Helm
2013-05-25 18:02:21 +02:00
Juergen Spitzmueller
c8000f9017 Fix Chinese Tutorial copilation 2013-05-25 11:48:38 +02:00
Jean-Marc Lasgouttes
f04c7711b0 Fix empty width support for Box inset
* InsetBox and GuiBox: Use proper empty length instead of the broken -9.99col% trick
* some slight changes to the logic of GuiBox to make sure that values are set as needed.
* lengthToWidget(): handle properly the empty length case. All the other related Qt helpers did it already, it was probably an oversight. Also set the default_unit parameter as optional (not needed in this patch actually, but I got carried away :)
* allow generating LaTeX code for an empty length, since some broken code does that.
2013-05-24 15:44:59 +02:00
Uwe Stöhr
d231e3a767 UserGuide.lyx: finish the revision
- many thanks to John Hudson for his amazing work!
2013-05-23 23:38:18 +02:00
Richard Heck
eba17c9763 Update documentation for parser tools a bit. 2013-05-23 16:11:47 -04:00
Georg Baum
7e4513b9fe Fix autotools build
This typo was introduced in 01add2d52f.
2013-05-23 22:02:34 +02:00
Richard Heck
01add2d52f Layouts for ACMS SIGS styles, contributed by Gioele Barabucci. 2013-05-23 15:11:19 -04: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
Richard Heck
de49a2df73 Fix ereg and a typo. 2013-05-23 08:58:23 -04:00
Uwe Stöhr
675193cbd0 chkconfig.ltx: check for some XeTeX requirements
- iftex is necessary for XeTeX with non-Latin scripts
- xetex.def is a separate package on CTAN and necessary for XeTeX and colors and graphics
2013-05-23 01:29:01 +02:00
Uwe Stöhr
bcabe09612 UserGuide.lyx: translations
- to fix the mysterious compilation problems on some machines
2013-05-23 01:25:54 +02:00
Uwe Stöhr
c42acc7cec French UserGuide.lyx: fix a paragraph language 2013-05-21 23:40:38 +02:00
Uwe Stöhr
d6c3b7fa73 UserGuide.lyx: some more revision work
- also the last try to fix Scott's compilations problems
2013-05-21 23:35:06 +02:00
Uwe Stöhr
d1d6f12a93 UserGuide.lyx: some corrections
- hopefully fix compilation of German UserGuide for Scott
- some German translations
2013-05-21 21:13:14 +02:00
Kornel Benko
5d981c5f32 * sk.po 2013-05-21 19:27:25 +02:00
Vincent van Ravesteijn
050c768eef Update layouttranslations 2013-05-21 19:04:56 +02:00
Scott Kostyshak
32a5a06db5 RJournal.layout: remove unneeded code
Part of this code was moved to the template in a previous commit
and part was removed because it is no longer needed.

Patch by Yihui Xie.
2013-05-21 01:28:26 -04:00
Uwe Stöhr
0dd01cfce8 UserGuide.lyx: port recent changes to master 2013-05-21 01:45:19 +02:00
Uwe Stöhr
03259396b9 UserGuide.lyx: next revision step
- sec. A.1 - A.2 and a few others
2013-05-20 03:16:44 +02:00
Uwe Stöhr
f8a5d7cc63 landslide.lyx: make it compilable with pdflatex 2013-05-19 03:53:58 +02:00
Uwe Stöhr
8f9520eda5 AEA.layout: restore a style
- I accidentally deleted this style in previous commit
2013-05-18 20:51:02 +02:00
Uwe Stöhr
efcd04c9f2 AEA.lyx/layout: update templates/AEA.lyx
- make template compilable
- update it according to the latest AEA guidelines
- add 4 missing styles to the layout:
* \keywords
* \JEL
* figurenotes environment
* tablenotes environment
2013-05-18 20:36:26 +02:00
Scott Kostyshak
7aba4d51fa listerrors.lyx: set default output to ps2pdf
ps2pdf dependency is hardcoded in the preamble, which is why
pdflatex and luatex are failing.
2013-05-17 20:54:56 -04:00
Scott Kostyshak
43d7102204 RJournal template now also works with latex
Before, only PDFs were being generated so latex did not compile.
Now, both PDF and EPS files are generated.

This is not efficient but could save the user some pain, which is
the goal of templates.

An alternative would be to set the default output to use pdflatex.
2013-05-16 22:57:11 -04:00
Scott Kostyshak
9e425a0547 RJournal: use 'classic' decoration for email inset
This makes it clear that

  (1) the emails are in their own insets
  (2) the \email command is embedded in the \address command
2013-05-16 22:56:56 -04:00
Scott Kostyshak
43f52ccd64 RJournal: set ForcePlain to 'true' for email inset
This prevents the user from some mistakes, such as
embedding an itemize or ennumerate environment.
2013-05-16 22:56:31 -04:00
Scott Kostyshak
f40322081b RJournal: change 'Address' Flex inset into a Style
This looks better and gives natural separation between multiple
authors.
2013-05-16 22:55:56 -04:00
Scott Kostyshak
9d7d7c3816 RJournal: change 'Abstract' from a Flex to a Style
This looks more consistent with other templates to me.
2013-05-16 22:55:03 -04:00
Scott Kostyshak
4beba4e8f8 RJournal template and layout: move ERTs to layout
The layout now takes care of \begin{article} and \end{article}
by using \AtBeginDocument and \AtEndDocument.

This cleans up the template a little by removing some ERT. The
user no longer needs to read the two notes explaining why the
ERT boxes were necessary. The user also does not need to think
about why this LaTeX environment exists.
2013-05-16 22:51:22 -04:00
Scott Kostyshak
e99a8b7c67 RJournal.lyx: hardcoded shortcuts -> insets
This way if the shortcut changes or a user is using
a different bind file, the correct shortcut will appear.
2013-05-16 22:50:48 -04:00
Scott Kostyshak
4f2a5f3f63 RJournal.lyx: English tweaks 2013-05-16 22:50:20 -04:00
Scott Kostyshak
0d434033ec Add a layout and template for the R Journal
Patch by Yihui Xie.
2013-05-16 22:49:24 -04:00
Julien Rioux
cde541d785 New \cite_engine_type default.
The default citation capability of LaTeX is not a true numerical
citation engine, rather it uses a mixture of labels/numbers. Thus
we now distinguish them: "numerical" always increments the bibitem
counter and uses its value as a numerical citation label, while
"default" only uses the bibitem counter when no label is provided.

LyX file format incremented to 471.
2013-05-16 20:39:23 +02:00
Julien Rioux
bfc731de45 Compute and output numbers for numerical citations. 2013-05-16 16:10:05 +02: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
Uwe Stöhr
76678b66d4 UserGuide.lyx: next revision step
sec. 6.13 - 6.18
2013-05-14 23:57:33 +02:00
Vincent van Ravesteijn
147dcb4cb9 Make the use of system's theme icons configurable
A lyxrc variable is added and a checkbox is added to the LyX->preferences
dialog.
2013-05-14 17:26:06 +02:00
Julien Rioux
c02c03ce81 Finally also fix #6986 for autotools out-of-source builds. 2013-05-14 11:27:03 +02:00
Julien Rioux
ef04549d8d configure.py: Check path accessibility before call to os.path.isfile.
If you have an unmounted dir, ac_dir, in your PATH, the call to

os.path.isfile( os.path.join(ac_dir, ac_word + ext) )

hangs. This is probably a python bug, but the result of configure.py
hanging and LyX freezing is really bad, hence this workaround.

According to the python docs, MacOS doesn't provide os.access();
the hasattr protection is used for this reason.
2013-05-14 11:26:43 +02:00
Julien Rioux
02e59530b1 Add missing space in front of edition in generated bibentry. 2013-05-13 21:07:04 +02:00
Julien Rioux
66f44f46c2 Add modifier to jurabib and natbib (author-year) modules. 2013-05-13 20:58:12 +02:00
Julien Rioux
3d4076b598 Natbib authoryear uses (Ref1; Ref2) by default.
I was confused when I checked this. It looks like plainnat.bst
overwrites this default to use [Ref1, Ref2] style instead, but
when using natbib's defaults you get the (Ref1; Ref2) style.
2013-05-13 20:29:49 +02:00
Uwe Stöhr
1fded6e817 UserGuide.lyx: next revision step
- sec. 6.7 - 6.13
2013-05-12 12:57:14 +02:00
Georg Baum
8b3f3a02c7 Make the different paste menu items optional
This was suggested by Jean-Marc some time ago, and I simply forgot to apply.
With this change you do not see unusable menu entries like linkback on linux
anymore. I also added an entry for emf, since this will be quite useful on
windows.
2013-05-11 09:39:06 +02:00
Richard Heck
4968ce4627 This probably doesn't matter, but the reason for bug #8666 traces,
ultimately, to the layout conversion for format 2.
2013-05-10 13:47:03 -04:00
Richard Heck
b9f48eb945 Fix bug #8666. Parts should have toclevel -1.
A lot of this involves removing toclevel tags. They got introduced
by the automatic update of some layout files to format 19.
2013-05-10 13:19:38 -04:00
Uwe Stöhr
c962e1ca1d Math.lyx: fix a typo 2013-05-10 16:24:11 +02:00
Uwe Stöhr
4b53c0d6c1 UserGuide.lyx: next revision step
- revised sec. 6 - 6.6
- describe longest label feature for bibliography environment
2013-05-04 02:48:54 +02:00
Uwe Stöhr
52ce610a26 UserGuide.lyx: fix an issue reported on the docs list 2013-04-29 00:52:45 +02:00
Uwe Stöhr
1a38c40cd2 UserGuide.lyx: next revision step (chap. C) for master 2013-04-29 00:42:02 +02:00
Uwe Stöhr
80fe665406 UserGuide.lyx: port recent changes from branch 2013-04-28 05:45:21 +02:00
Uwe Stöhr
00344a8a77 French UserGuide.lyx: translations by Jean-Pierre 2013-04-27 19:40:02 +02:00
Scott Kostyshak
959d2c5264 converter: change 'ps2pdf13' to 'ps2pdf'
ps2pdf by default produces the PDF 1.4 format. The PDF 1.3 format was
released in 2000. PDF 1.4 was released in 2001.  LyX specified 1.3 as
the output version in 2002 (c1541c22), perhaps because at the time
PDF 1.4 was only a year old so some viewers did not support it.
2013-04-25 06:41:15 -04:00
Uwe Stöhr
914b1d8200 UserGuide.lyx: fix an expression as discussed in the list 2013-04-21 22:19:12 +02:00
Uwe Stöhr
7ffb9db807 port Spanish doc updates by Ignacio 2013-04-21 22:18:43 +02:00
Uwe Stöhr
f0800cfc00 Spanish UserGuide.lyx: updates by Ignacio
- also some changes to the other languages proposed by Ignacio
2013-04-21 22:01:38 +02:00
Uwe Stöhr
0c534a5ba7 German Tutorial.lyx: fix a typo spotted by a user 2013-04-21 21:39:20 +02:00
Uwe Stöhr
976959685c French UserGuide.lyx: translations by Jean-Pierre 2013-04-21 21:17:48 +02:00
Uwe Stöhr
719a13d7a4 UserGuide.lyx: next revision step (sec. 3.5 - 3.7 and 6.18) 2013-04-21 20:48:31 +02:00
Uwe Stöhr
44d5efd243 UserGuide.lyx: next revision step 2013-04-21 03:57:44 +02:00
Uwe Stöhr
d750b6610f fix some more typos spotted by Yuri 2013-04-19 23:26:58 +02:00
Vincent van Ravesteijn
cd88c51cce Pass the binary dir to the configure script to find tex2lyx
When using CMake, the binary files are stored in <build-dir>/bin. LyX can't fin tex2lyx with the current code. So, we have to point configure.py to explicitly look in the binary dir.
2013-04-19 20:31:30 +02:00
Uwe Stöhr
4d8dbc9268 uk.po: update from Yuri for master
also fix some typos spotted by Yuri
2013-04-19 08:48:49 +02:00
Uwe Stöhr
c6410a5b55 UserGuide.lyx: next revision step 2013-04-18 01:30:32 +02:00
Uwe Stöhr
458b3bad10 UserGuide.lyx: first step of revision
- first step of the revision of the English UserGuide from John Hudson
2013-04-17 01:13:49 +02:00
Scott Kostyshak
912cbcdbb4 jasatex.layout: fix 'Acknowledgments' style
'Acknowledgments' does not belong in the title but did not override
'InTitle 1' inherited from 'Abstract'. Without this patch, the
following error is given:

  output_latex.cpp (1111): Error in latexParagraphs: You should not
  mix title layouts with normal ones.

Thanks to Hashini Senaratne for narrowing down the problem.
2013-04-16 04:55:34 -04:00
Georg Baum
c14b9e67bc Implement paste from LaTeX and HTML (bug #3096)
As discussed on the list. No automatic contents detection is done, the user
needs to use the special paste menu instead. I used the new TempFile class
for safe temporary file handling.
The documentation would go into section 2.2 of UserGuide.lyx, but I am not
allowed to edit that document.
2013-04-14 19:45:36 +02:00
Scott Kostyshak
7309f018f5 Add a DocBook -> PS converter
Before, the converter chain for DocBook -> PDF (ps2pdf) was:

  docbook -> DVI
  DVI -> Postscript
  Postscript -> PDF (ps2pdf)

sgmltools has a backend for PostScript so the first two
steps in the above converter chain are now condensed into
one by adding the following converter for docbook -> Postscript:

  sgmltools -b ps $$i
2013-04-13 14:19:58 -04:00
Georg Baum
8c8e19bb1c Work around gnuhtml2latex encoding bug
gnuhtml2latex does not handle encodings at all. Therefore the result is not
imported correctly by tex2lyx if the HTML file is encoded in anything else
than ascii or latin1 (the default of tex2lyx). The simple wrapper script
loads inputenc if needed. It may not be possible to compile the result with
LaTeX, (e.gif utf8 is used), but for running tex2lyx it will work just fine.
2013-04-12 21:35:50 +02:00
Scott Kostyshak
45ae6a8aee de and es tufte examples: change default to pdf2
Consistent with 1b7e9178
2013-04-12 03:52:22 -04:00
Scott Kostyshak
18f5500af0 hu/Tutorial.lyx: change default output to pdf2 2013-04-12 03:42:15 -04:00
Uwe Stöhr
d25afed517 languages: whitespace only 2013-04-09 23:08:15 +02:00
Uwe Stöhr
90d1623343 languages: use a usable encoding for Kazakh
- we found out that Kazakh is currently not supported by babel nor polyglossia so that using Kazakh as language will break the compilation, Günter proposed therefore this encoding change until Kazakh is supported.
2013-04-09 22:04:51 +02:00
Uwe Stöhr
21ee72eeb6 Hungarian Tutorial.lyx: revert last change
- this is not the way it goes, all Tutorials should stay identical as possible, moreover there is no need to disable PDF bookmarks because the document compiles without problems, moreover I still manage the documentation and as long as there is no beta for LyX 2.1 please keep the fileformat of LyX 2.0
- if you have problems compiling a file, report this as bug or the docmentation mailing list! or at least write me a mail
2013-04-09 21:17:19 +02:00
Scott Kostyshak
b999d0bfee JSS-article.lyx: set default output to pdf2
The reasons are specified in the note at the top of the template:
It is possible to export with plain LaTeX but an option must be
specified to remove some elements (e.g. JSS logo).
2013-04-09 05:07:18 -04:00
Scott Kostyshak
1b7e9178f0 tufte-{book,handout}: set default output to pdf2
If the 'nols' option were set, the files could be output with plain
LaTeX as well; but because letterspacing is an important part of the
Tufte design, letterspacing is preserved and pdf2 is set as the
default output format. This is now explained in a note.
2013-04-09 01:36:38 -04:00
Scott Kostyshak
6dea3d5bfb hu/Tutorial.lyx: do not generate bookmarks
By not generating bookmarks, compilation with plain LaTeX works.

Thanks to Jürgen for the solution.
2013-04-09 01:10:13 -04:00
Scott Kostyshak
f2c230189e Fix a few typos in French docs 2013-04-08 19:23:41 -04:00
Uwe Stöhr
66b1d0b1a5 languages: distinguish between Serbian scripts
- fixes bug #8628
2013-04-08 23:39:10 +02:00
Juergen Spitzmueller
a49b620b95 fix aa_sample with recent aa.cls 2013-04-08 08:58:33 +02:00
Scott Kostyshak
8e5a020c0c configure.py: add 'MuPDF' as a PDF viewer
MuPDF is a fast and lightweight PDF viewer released under the
Affero GNU General Public License.
2013-04-06 02:56:39 -04:00
Scott Kostyshak
364deab269 es/EmbeddedObjects.lyx: can now export with LuaTeX
See the following email discussion:
http://comments.gmane.org/gmane.editors.lyx.devel/145338
2013-04-06 02:47:49 -04:00
Kornel Benko
d8c656952e sk-Intro.lyx: Make it compilable + correct some typos 2013-04-05 13:51:41 +02:00
Scott Kostyshak
009d2a1221 fr/EmbeddedObjects.lyx: can now export with LuaTeX
See the following email discussion:
http://comments.gmane.org/gmane.editors.lyx.devel/145338

Patch from Günter Milde
2013-04-05 03:33:27 -04:00
Scott Kostyshak
70815aa34a DocBook_article.lyx: set default output to ps2pdf
The only converter chain that is supported by default is:

  docbook -> DVI
  DVI -> Postscript
  Postscript -> PDF (ps2pdf)
2013-04-02 16:34:23 -04:00
Scott Kostyshak
9a7e7dcb70 Indonesian UserGuide.lyx: fix image paths 2013-04-02 15:18:50 -04:00
Juergen Spitzmueller
7e66e43844 Italian UG: fix singular diacritics in latin1 table (bug #8621) 2013-04-02 16:20:46 +02:00
Georg Baum
6cf84601f4 Oops, I mixed up the argument order 2013-04-01 21:58:03 +02:00
Georg Baum
c1b81d83b9 Fix HTML to LaTeX converter output name
If you do not explicitly specify the output file name, gnuhtml2latex will
guess a file name itself. The result of the guess is not what we expect if
the input file name did not contain a .html extension, but something which
is not related to a format, e.g. .qV9984 from FileName::tempName().
2013-04-01 12:11:27 +02:00
Uwe Stöhr
6706377111 refine support for Vietnamese
- chkconfig.ltx: add the vietnamese.ldf
- installer trigger the installation of vntex
2013-03-29 01:53:44 +01:00
Richard Heck
4a6efbb102 Implement XHTML output for InsetPrintNomencl. 2013-03-27 21:30:48 -04:00
Richard Heck
79f428d201 Use InsetLayout to get the tag type for TOC-like things. 2013-03-27 20:03:32 -04:00
Richard Heck
df1af5df47 Update the XHTML output for InsetFloatList. We'll now use an
InsetLayout to style it.
2013-03-27 20:03:32 -04:00
Richard Heck
d3feabfc86 Remove the "arrow" from the XHTML TOC. I think I put it there near
the beginning, when the titles themselves were not being used as
links. Now they are, so it is not needed.
2013-03-27 18:28:25 -04:00
Richard Heck
9c8955ffd9 Move the CSS for the TOC to its own InsetLayout. 2013-03-27 18:24:08 -04:00
Richard Heck
d3f6e28e35 Use the TOC:Listings layout to hold CSS information for it. 2013-03-27 18:22:20 -04:00
Richard Heck
4df02801a6 Links between citations and bibliography entries were broken in XHTML
output, due to failure to clean the ids in the new citation stuff.

I've solved this by allowing the citation format information to contain
keys of the form "clean:key". This signals that we are to apply the
html::cleanAttr() function to the key before returning it. I.e., we
strip non-alphanumeric stuff, basically.
2013-03-27 15:59:36 -04:00
Richard Heck
a85a3135fb Style Memoir epigraphs. 2013-03-27 14:01:01 -04:00
Juergen Spitzmueller
136560ae34 Add new spelling icon to the Makefile and add oxygen version 2013-03-25 09:28:49 +01:00
Vincent van Ravesteijn
270ba80097 Add a toolbar button for continuous spellchecking
This fixes the second part of #8589.
2013-03-24 20:29:01 +01:00
Juergen Spitzmueller
7e11e69947 Stick with 2.0.x file format 2013-03-24 16:56:19 +01:00
Juergen Spitzmueller
a21fd61c98 Revert "Compilation fixes"
This reverts commit c28d9b41ad.
2013-03-24 16:52:42 +01:00
Juergen Spitzmueller
c28d9b41ad Compilation fixes 2013-03-24 16:49:23 +01:00
Richard Heck
8bbd4c5e58 Minor doc update. 2013-03-24 10:14:17 -04:00
Kornel Benko
f9e41a159e prefs2prefs: While handling converters, make sure
the entry is really '\converter' and not e.g. '\converter_cache_maxage'
2013-03-23 15:31:21 +01:00
Richard Heck
6eb0b47a8a Fix a couple problems with new prefs2prefs material. 2013-03-23 09:35:26 -04:00
Georg Baum
c61ef8b205 Support \caption* (bug #3209)
This was a low hanging fruit which would have to wait for a long time because
of a file format change if it was not implemented before 2.1.
2013-03-22 22:23:38 +01:00