Commit Graph

6516 Commits

Author SHA1 Message Date
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
Uwe Stöhr
22ad7e4369 support for \mbox and \fbox
- fileformat change
- it was a pity that LyX did not yet support a simple rectangular frame without a defined width but LyX did this for e.g. oval frames
- \fbox and \mbox often occur in TeX files and can now be imported
2013-03-22 01:33:58 +01: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