]>
git.lyx.org Git - lyx.git/log
Uwe Stöhr [Fri, 6 Jul 2012 21:35:33 +0000 (23:35 +0200)]
tex2lyx: remove some superfluous code
text.cpp: besides that eat_whitespace does nothing these calls would be wrong as whitespace is allowed as argument of the box commands
Uwe Stöhr [Fri, 6 Jul 2012 21:33:28 +0000 (23:33 +0200)]
update a tex2lyx test file
box-color-size-space-align.tex:
- add all possible math spaces
- remove 2 invalid non-math spaces
Uwe Stöhr [Fri, 6 Jul 2012 20:34:02 +0000 (22:34 +0200)]
remove an obsolete layout file
as the support for the buggy and outdated ArmTeX was removed, this layout is now obsolete and can also be removed
Kornel Benko [Thu, 5 Jul 2012 15:42:04 +0000 (17:42 +0200)]
* sk.po
Jean-Marc Lasgouttes [Wed, 4 Jul 2012 10:18:15 +0000 (12:18 +0200)]
Handle version numbers like 2.0.5dev in LYX_CHECK_VERSION
Kornel Benko [Tue, 3 Jul 2012 12:36:44 +0000 (14:36 +0200)]
1.) Typo in checking for spaces <=> menu shortcuts
2.) Do not use [[...]] strings in msgid to be checked
Uwe Stöhr [Mon, 2 Jul 2012 23:42:30 +0000 (01:42 +0200)]
installer: 3 fixes
- uninstall.nsh: don't uninstall the user preferences by default
- configure.nsh:
- set also the .lyx file association when the user is not admin
- fix the path in which the LyX start menu shortcut is executed
Uwe Stöhr [Mon, 2 Jul 2012 22:56:39 +0000 (00:56 +0200)]
update APA template file
APA.lyx: the template missed the \notes command
Uwe Stöhr [Mon, 2 Jul 2012 22:54:50 +0000 (00:54 +0200)]
fix for APA layout
- apa.layout: the commands \volume, \copnum and \notes are only allowed in the preamble; fixes bug #8187
Uwe Stöhr [Mon, 2 Jul 2012 22:40:23 +0000 (00:40 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Mon, 2 Jul 2012 22:39:41 +0000 (00:39 +0200)]
tex2lyx: update a command
Parser.cpp: improve a command as discussed
Richard Heck [Mon, 2 Jul 2012 21:48:24 +0000 (17:48 -0400)]
Port changes to update-po.sh script to trunk.
Richard Heck [Mon, 2 Jul 2012 21:43:47 +0000 (17:43 -0400)]
Fix typo.
Uwe Stöhr [Mon, 2 Jul 2012 21:37:15 +0000 (23:37 +0200)]
installer: fix a permission right issue
We must prevent that LyX is installed as admin and then afterwards the same LyX version also without admin privileges.
Kornel Benko [Mon, 2 Jul 2012 21:27:29 +0000 (23:27 +0200)]
* sk.po
Uwe Stöhr [Mon, 2 Jul 2012 21:04:18 +0000 (23:04 +0200)]
installer: fix a typo in translation
Juergen Spitzmueller [Mon, 2 Jul 2012 08:50:06 +0000 (10:50 +0200)]
Document QuoteStyle options
Uwe Stöhr [Sun, 1 Jul 2012 14:15:55 +0000 (16:15 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Sun, 1 Jul 2012 14:15:42 +0000 (16:15 +0200)]
elsarticle already provides refstyle
- elsarticle.layout: elsarticle already provides refstyle thus the document becomes uncompilable if we don't declare this in the layout
Also OK for branch?
Juergen Spitzmueller [Sun, 1 Jul 2012 12:48:20 +0000 (14:48 +0200)]
update tex2lyx TODO
Juergen Spitzmueller [Sun, 1 Jul 2012 09:27:42 +0000 (11:27 +0200)]
Set the appropriate quote style when switching the main language
Juergen Spitzmueller [Sun, 1 Jul 2012 09:25:52 +0000 (11:25 +0200)]
Add quote style information to languages
Juergen Spitzmueller [Sun, 1 Jul 2012 06:38:54 +0000 (08:38 +0200)]
Whitespace
Uwe Stöhr [Sun, 1 Jul 2012 00:12:56 +0000 (02:12 +0200)]
tex2lyx/Parser.cpp: refine \verb handling
Uwe Stöhr [Sat, 30 Jun 2012 23:47:39 +0000 (01:47 +0200)]
polyglossia tex2lyx coding style improvement
- Preamble.cpp/:
- move list definition out of anon namespace
- declare lists and a function in the class
- text.cpp: remove the now already defined list
Pavel Sanda [Sat, 30 Jun 2012 17:19:38 +0000 (19:19 +0200)]
Fix #8201: our translation mechanism chokes on the character "
Uwe Stöhr [Sat, 30 Jun 2012 13:29:53 +0000 (15:29 +0200)]
test-structure.tex: add checks for \verb
Juergen Spitzmueller [Sat, 30 Jun 2012 11:45:58 +0000 (13:45 +0200)]
Whitespace
If someone can tell me how I can tell QtCreator to actually use tabs, not spaces, I would be most grateful (yes, I have set Tab Policy to Tabs Only in Prefs)
Juergen Spitzmueller [Sat, 30 Jun 2012 11:34:49 +0000 (13:34 +0200)]
Properly escape splitindex shortcut and try to encode splitindex name properly (part of bug #8227)
Juergen Spitzmueller [Sat, 30 Jun 2012 11:30:48 +0000 (13:30 +0200)]
Factor out method to get a properly encoded latex string
Uwe Stöhr [Sat, 30 Jun 2012 01:38:02 +0000 (03:38 +0200)]
tex2lyx: whitespace only
Uwe Stöhr [Sat, 30 Jun 2012 01:25:19 +0000 (03:25 +0200)]
tex2lyx: fix handling of \verb
- Parser.cpp: \verb can have any character as delimiter (except of ASCII letters) not only '+', therefore partly revert [
3943b887 /lyxgit] and fix it for all cases
Uwe Stöhr [Sat, 30 Jun 2012 00:21:15 +0000 (02:21 +0200)]
fix mistake in tex2lyx testfile
- XeTeX-polyglossia.tex: Hebrew is used in the file and so it must be declared
Juergen Spitzmueller [Fri, 29 Jun 2012 23:24:40 +0000 (01:24 +0200)]
Add some more characters that need to be escaped in labels etc.
Jean-Marc Lasgouttes [Mon, 4 Jun 2012 16:02:59 +0000 (18:02 +0200)]
Fix to #8159: Undo doesn't restore environment depth correctly
The idea is to record undo at the place where the document is modified:
1/ in Buffer::updateBuffer, add a recordUndo, with the caveat that a
const_cast has to be used (because updateBuffer is const but
modifies the document, go figure).
2/ in GuiApplication::dispatch, add an extra undo group that
encompasses the updateBuffer call. Some other undo groups may be
redundant now, but it is not a problem since they do not cost
anything.
Jean-Marc Lasgouttes [Fri, 29 Jun 2012 13:22:24 +0000 (15:22 +0200)]
Revert "Tentative fix to #8159: Undo doesn't restore environment depth correctly"
This reverts commit
e3854bb59b98ee4f7514cf2ca5585cb6be949186 .
Pavel Sanda [Thu, 28 Jun 2012 18:55:29 +0000 (20:55 +0200)]
* FORMAT: drop the recent tradition of recording the commit checksum.
The same info can be easily obtained via blame and can not be done
correctly in git.
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg174395.html
Pavel Sanda [Thu, 28 Jun 2012 18:52:20 +0000 (20:52 +0200)]
Revert
a6e42e50791d .
Removing debug.h makes debugging via lyxerr<< twice as hard.
Juergen Spitzmueller [Thu, 28 Jun 2012 16:15:43 +0000 (18:15 +0200)]
fix bug #8209: polyglossia commands ignored partial source preview
Uwe Stöhr [Wed, 27 Jun 2012 21:58:16 +0000 (23:58 +0200)]
tex2lyx: fix a typo
tex2lyx/text.cpp: the encoding must be _set_ here
Uwe Stöhr [Wed, 27 Jun 2012 21:18:02 +0000 (23:18 +0200)]
tex2lyx: fix a logic mistake
Preamble.cpp: set missing begin position for the search; thanks Vincent for spotting
Uwe Stöhr [Wed, 27 Jun 2012 20:48:22 +0000 (22:48 +0200)]
tex2lyx: reprivatize another variable
Uwe Stöhr [Wed, 27 Jun 2012 20:32:36 +0000 (22:32 +0200)]
texlyx: re-privatize a variable as suggested
Uwe Stöhr [Wed, 27 Jun 2012 00:52:09 +0000 (02:52 +0200)]
tex2lyx: fix some issues spotted by Vincent
Uwe Stöhr [Tue, 26 Jun 2012 23:58:04 +0000 (01:58 +0200)]
fix 2 more installer issues
- LaTeX.nsh: the registry cannot be a variable
- declarations.nsh: remove doubled folder
Uwe Stöhr [Tue, 26 Jun 2012 23:07:46 +0000 (01:07 +0200)]
installer: output messages
- output a message when multiple index feature or Metafile support won't be available
Uwe Stöhr [Tue, 26 Jun 2012 20:46:06 +0000 (22:46 +0200)]
BoxUi.ui: revert unintended commit [
a6e42e50 /lyxgit]
Uwe Stöhr [Tue, 26 Jun 2012 20:41:53 +0000 (22:41 +0200)]
removed unused includes
these files don't use the debug.h and also don't contain commented out debug code
Vincent van Ravesteijn [Tue, 26 Jun 2012 18:41:25 +0000 (20:41 +0200)]
Update the button text of InsetInclude insets
The button text of InsetInclude insets shows whether the child document is
included or excluded from compilation. Changing this for a child document
in the document settings does not get reflected on screen. This patch
updates the button text on the updateBuffer() call.
Uwe Stöhr [Tue, 26 Jun 2012 01:05:59 +0000 (03:05 +0200)]
installer fixes
- LaTeX.nsh: fix handling of MiKTeX if LyX is installed without admin privileges
- configure.nsh: remove unused code
Uwe Stöhr [Mon, 25 Jun 2012 22:46:02 +0000 (00:46 +0200)]
tex2lyx: support fontspec scale option
Preamble.cpp:
- support the font scaling
- improve coding style
text.cpp: - improve logic/coding style
XeTeX-polyglossia.tex:
- add scaling
- change document so that it is compilable using the Libertine font
Uwe Stöhr [Mon, 25 Jun 2012 20:58:21 +0000 (22:58 +0200)]
tex2lyx/text.cpp: fix bug #8223
LyX does not yet support \framebox without an option we therefore cannot use our parse_outer_box routine (this is only for supported boxes)
Uwe Stöhr [Mon, 25 Jun 2012 20:02:00 +0000 (22:02 +0200)]
polyglossia doesn't support Kurmanji
Richard Heck [Mon, 25 Jun 2012 13:33:27 +0000 (09:33 -0400)]
Update distribution build script for git.
(cherry picked from commit
082db5e769068d2c643cd8d6abfbf91f017d58a3 )
Vincent van Ravesteijn [Mon, 25 Jun 2012 09:24:04 +0000 (11:24 +0200)]
BufferParams: Remove superfluous '\n'
This extra '\n' seems to have been an unintended side-effect of
d7eaaba9 (Juergen Spitzmueller, "support for CJK font argument"; Jun 5 2008).
Vincent van Ravesteijn [Mon, 25 Jun 2012 09:21:27 +0000 (11:21 +0200)]
tex2lyx: Remove superfluous '\n'
Instead of adding the extra '\n' to tex2lyx, we should remove it from
BufferParams.cpp because it was introduced there unintendedly in
d7eaaba9
(Juergen Spitzmueller; "support for CJK font argument"; Jun 5 2008).
This partly reverts commit
c2810f922665c591a7c32d4c679e58e55132505a .
Jean-Marc Lasgouttes [Mon, 25 Jun 2012 09:04:56 +0000 (11:04 +0200)]
Fix bug #8220: tex2lyx crashes on single-character commands
Fix commit [
aa9fed93 /lyxgit]: it is never a good idea to call substr(4) on a string without checking its length. Moreover, it is even better in this case to check that the first letters are "text" as the reminder of the code assumes...
Uwe Stöhr [Mon, 25 Jun 2012 01:29:58 +0000 (03:29 +0200)]
finish new installer
- thanks to the new version of ImageMagick no longer admin permissions are required
- init.nsh: iron out 2 non-admin residues
- language files: add missing entries and remove some unused ones
Uwe Stöhr [Sun, 24 Jun 2012 21:57:11 +0000 (23:57 +0200)]
French UserGuide.lyx: some typos fixed
Uwe Stöhr [Sun, 24 Jun 2012 16:24:28 +0000 (18:24 +0200)]
fix bug #8210
we need to store the document language from the beginning of the document in the context to be able to handle all kinds of language switch commands
Uwe Stöhr [Sun, 24 Jun 2012 16:20:19 +0000 (18:20 +0200)]
update tex2lyx todo list
- Japanese is now supported as well as CJK
- also all XeTeX issues are now ironed out
- the support for ArmTeX has been dropped meanwhile
Uwe Stöhr [Sun, 24 Jun 2012 16:10:36 +0000 (18:10 +0200)]
support non-CJK Japanese for tex2lyx
We cannot know the exact encoding and thus con only assume one (the one that Koji uses for the docs) and output a not at the beginning
Uwe Stöhr [Sun, 24 Jun 2012 14:59:21 +0000 (16:59 +0200)]
support synctex in tex2lyx.cpp
- tex2lyx/Preamble.cpp/h: handle \synctex and package srcltx
- tex2lyx/test/test-structure.tex: add \synctex
Uwe Stöhr [Sun, 24 Jun 2012 13:37:51 +0000 (15:37 +0200)]
tex2lyx/Preamble.cpp: fix a typo
Uwe Stöhr [Sun, 24 Jun 2012 13:29:32 +0000 (15:29 +0200)]
update tex2lyx header format really to fileformat 433
- tex2lyx/Preamble.cpp/h: not all new header definitions since fileformat 413 have yet been added to texl2yx, so do it now; also change some new default values
Juergen Spitzmueller [Sun, 24 Jun 2012 13:14:31 +0000 (15:14 +0200)]
whitespace
Uwe Stöhr [Sun, 24 Jun 2012 12:42:23 +0000 (14:42 +0200)]
fix bug #8215
Font.cpp: CJK parts must not have a closing brace because they are within an environment
Uwe Stöhr [Sun, 24 Jun 2012 12:39:57 +0000 (14:39 +0200)]
tex2lyx comment corrections
tex2lyx/Preamble.cpp, tex2lyx/text.cpp: add info about CJK languages
Juergen Spitzmueller [Sun, 24 Jun 2012 11:01:51 +0000 (13:01 +0200)]
de/linguistics.lyx: improve style
Juergen Spitzmueller [Sun, 24 Jun 2012 08:57:02 +0000 (10:57 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Sun, 24 Jun 2012 08:56:08 +0000 (10:56 +0200)]
do not output empty language switch commands (bug #8216)
Uwe Stöhr [Sun, 24 Jun 2012 04:38:33 +0000 (06:38 +0200)]
CJK support for tex2lyx
- support as best as possible; setting a document language is however not possible
- fixes bug #4377
Uwe Stöhr [Sat, 23 Jun 2012 18:00:49 +0000 (20:00 +0200)]
tex2lyx/Parser.cpp: fix bug #4468: single '\' are allowed in the special case of '+' as comment argument delimiter
Juergen Spitzmueller [Sat, 23 Jun 2012 17:31:01 +0000 (19:31 +0200)]
linguistics manual: document shortcomings (and workarounds) of glosses
Uwe Stöhr [Sat, 23 Jun 2012 16:56:10 +0000 (18:56 +0200)]
- language: Kurmanji is since 2009 also supported by babel; no fileformat change necessary because Kurmanji is already covered by fileformat 432
- tex2lyx/Preamble.cpp: babel support for Kurmanji and remove comment residues of ArmTeX whose support was removed by fileformat 433
Uwe Stöhr [Sat, 23 Jun 2012 14:57:22 +0000 (16:57 +0200)]
tex2lyx/Preamble.cpp: remove a FIXME, the problem was only in trunk (bug #8211) and is now fixed
Juergen Spitzmueller [Sat, 23 Jun 2012 13:45:23 +0000 (15:45 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Juergen Spitzmueller [Sat, 23 Jun 2012 13:44:25 +0000 (15:44 +0200)]
fix bug #8208: missing \end for polyglossia-only languages at buffer end
Kornel Benko [Sat, 23 Jun 2012 13:42:10 +0000 (15:42 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Kornel Benko [Sat, 23 Jun 2012 13:41:33 +0000 (15:41 +0200)]
* sk.po
Juergen Spitzmueller [Sat, 23 Jun 2012 13:41:05 +0000 (15:41 +0200)]
less opaque bool naming and consistent use
Juergen Spitzmueller [Sat, 23 Jun 2012 11:50:40 +0000 (13:50 +0200)]
fix bug #8211: \setotherlanguage not set for non-babel languages
Uwe Stöhr [Sat, 23 Jun 2012 03:20:39 +0000 (05:20 +0200)]
tex2lyx/text.cpp: 2 typos
Uwe Stöhr [Sat, 23 Jun 2012 02:29:16 +0000 (04:29 +0200)]
Merge branch 'master' of git.lyx.org:lyx
Uwe Stöhr [Sat, 23 Jun 2012 02:28:52 +0000 (04:28 +0200)]
- tex2lyx: support for the polyglossia language variants
- XeTeX-polyglossia.tex: simplifications, added some more testcases
Pavel Sanda [Sat, 23 Jun 2012 02:11:15 +0000 (04:11 +0200)]
Add hint for backward search (cf #8054)
Uwe Stöhr [Fri, 22 Jun 2012 23:04:41 +0000 (01:04 +0200)]
generate_contributions.py: add Nickolay Shashkin and update maintainer status
Uwe Stöhr [Fri, 22 Jun 2012 22:53:35 +0000 (00:53 +0200)]
tex2lyx/text.cpp: whitespace fix
Uwe Stöhr [Fri, 22 Jun 2012 15:19:46 +0000 (17:19 +0200)]
- Preamble.cpp: handle \setxxxlanguage with options
- text.cpp: handle the commands \textxxx with options
- XeTeX-polyglossia.tex: add 2 more testcases
Uwe Stöhr [Fri, 22 Jun 2012 13:40:40 +0000 (15:40 +0200)]
tex2lyx/XeTeX-polyglossia.tex: add a further test
Uwe Stöhr [Fri, 22 Jun 2012 13:40:02 +0000 (15:40 +0200)]
modernCV.lyx: add a note about a required component
Uwe Stöhr [Fri, 22 Jun 2012 02:43:33 +0000 (04:43 +0200)]
XeTeX-polyglossia.tex: add missing \setotherlanguages
Uwe Stöhr [Fri, 22 Jun 2012 02:41:08 +0000 (04:41 +0200)]
tex2lyx/text.cpp: \lang is already handled by parse_text
Uwe Stöhr [Fri, 22 Jun 2012 01:41:00 +0000 (03:41 +0200)]
- tex2lyx/text.cpp:
- bugfix for the parsing of polyglossia's paragraph environments
- new support for polyglossia's language change commands \textxxx
- XeTeX-polyglossia.tex: add more testcases and add a missing \end
Uwe Stöhr [Thu, 21 Jun 2012 23:20:29 +0000 (01:20 +0200)]
- FORMAT: notice fileformat change
- version.h: fix comments
Uwe Stöhr [Thu, 21 Jun 2012 23:12:43 +0000 (01:12 +0200)]
drop support for ArmTeX as its non-standard armscii8 encoding was quite unusable in real life, use polyglossia/XeTeX instead as clean solution via Unicode; fileformat change; fixes the second part of bug #8026
Uwe Stöhr [Thu, 21 Jun 2012 23:08:51 +0000 (01:08 +0200)]
LaTeXFeatures.cpp: polyglossia is only required if a language is not supported by babel _and_ also no other special package; patch by Jürgen, to fix the regression mentioned in bug #8026
Uwe Stöhr [Thu, 21 Jun 2012 11:14:16 +0000 (13:14 +0200)]
tex2lyx/table.cpp: please Vincent as discussed
Pavel Sanda [Thu, 21 Jun 2012 09:14:18 +0000 (11:14 +0200)]
* INSTALL
Pavel Sanda [Thu, 21 Jun 2012 09:12:02 +0000 (11:12 +0200)]
* README.localization