Commit Graph

6475 Commits

Author SHA1 Message Date
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