Uwe Stöhr
85c479f4e7
test-structure.tex: add checks for \verb
2012-06-30 15:29:53 +02:00
Juergen Spitzmueller
e903d0158e
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)
2012-06-30 13:45:58 +02:00
Juergen Spitzmueller
5eb9ece39e
Properly escape splitindex shortcut and try to encode splitindex name properly (part of bug #8227 )
2012-06-30 13:34:49 +02:00
Juergen Spitzmueller
51d591d168
Factor out method to get a properly encoded latex string
2012-06-30 13:30:48 +02:00
Uwe Stöhr
708979fb0e
tex2lyx: whitespace only
2012-06-30 03:38:02 +02:00
Uwe Stöhr
80884330d1
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
2012-06-30 03:25:19 +02:00
Uwe Stöhr
85ef627eac
fix mistake in tex2lyx testfile
...
- XeTeX-polyglossia.tex: Hebrew is used in the file and so it must be declared
2012-06-30 02:21:15 +02:00
Juergen Spitzmueller
0062538a54
Add some more characters that need to be escaped in labels etc.
2012-06-30 01:24:40 +02:00
Jean-Marc Lasgouttes
bbbc2b6541
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.
2012-06-29 15:25:47 +02:00
Jean-Marc Lasgouttes
c22334eb3b
Revert "Tentative fix to #8159 : Undo doesn't restore environment depth correctly"
...
This reverts commit e3854bb59b
.
2012-06-29 15:22:24 +02:00
Pavel Sanda
9ccf50c906
* 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
2012-06-28 20:55:29 +02:00
Pavel Sanda
e43f9d3bbd
Revert a6e42e5079
.
...
Removing debug.h makes debugging via lyxerr<< twice as hard.
2012-06-28 20:52:20 +02:00
Juergen Spitzmueller
6de47fa873
fix bug #8209 : polyglossia commands ignored partial source preview
2012-06-28 18:15:43 +02:00
Uwe Stöhr
2c9310d935
tex2lyx: fix a typo
...
tex2lyx/text.cpp: the encoding must be _set_ here
2012-06-27 23:58:16 +02:00
Uwe Stöhr
8f7195a251
tex2lyx: fix a logic mistake
...
Preamble.cpp: set missing begin position for the search; thanks Vincent for spotting
2012-06-27 23:18:02 +02:00
Uwe Stöhr
d1800d4d5a
tex2lyx: reprivatize another variable
2012-06-27 22:48:22 +02:00
Uwe Stöhr
b6192b7c7f
texlyx: re-privatize a variable as suggested
2012-06-27 22:32:36 +02:00
Uwe Stöhr
62db3d535d
tex2lyx: fix some issues spotted by Vincent
2012-06-27 02:52:09 +02:00
Uwe Stöhr
6ea89fa255
fix 2 more installer issues
...
- LaTeX.nsh: the registry cannot be a variable
- declarations.nsh: remove doubled folder
2012-06-27 01:58:04 +02:00
Uwe Stöhr
fea35ef2c6
installer: output messages
...
- output a message when multiple index feature or Metafile support won't be available
2012-06-27 01:07:46 +02:00
Uwe Stöhr
4ab764c845
BoxUi.ui: revert unintended commit [a6e42e50/lyxgit]
2012-06-26 22:46:06 +02:00
Uwe Stöhr
a6e42e5079
removed unused includes
...
these files don't use the debug.h and also don't contain commented out debug code
2012-06-26 22:41:53 +02:00
Vincent van Ravesteijn
dfb8dc91c1
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.
2012-06-26 20:41:25 +02:00
Uwe Stöhr
9146acb9fd
installer fixes
...
- LaTeX.nsh: fix handling of MiKTeX if LyX is installed without admin privileges
- configure.nsh: remove unused code
2012-06-26 03:05:59 +02:00
Uwe Stöhr
2e8ed3b3b5
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
2012-06-26 00:46:02 +02:00
Uwe Stöhr
d3bcdb24cc
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)
2012-06-25 22:58:21 +02:00
Uwe Stöhr
6a7a8d2e37
polyglossia doesn't support Kurmanji
2012-06-25 22:02:00 +02:00
Richard Heck
5451b6b4e0
Update distribution build script for git.
...
(cherry picked from commit 082db5e769
)
2012-06-25 09:36:29 -04:00
Vincent van Ravesteijn
8941e980b9
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).
2012-06-25 11:28:38 +02:00
Vincent van Ravesteijn
e20238e21f
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.
2012-06-25 11:26:20 +02:00
Jean-Marc Lasgouttes
2a13b02a94
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...
2012-06-25 11:04:56 +02:00
Uwe Stöhr
9466967f0e
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
2012-06-25 03:29:58 +02:00
Uwe Stöhr
313da1f9e0
French UserGuide.lyx: some typos fixed
2012-06-24 23:57:11 +02:00
Uwe Stöhr
66e3ac003f
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
2012-06-24 18:24:28 +02:00
Uwe Stöhr
8e7b5eebf0
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
2012-06-24 18:20:19 +02:00
Uwe Stöhr
5ad84b9fbd
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
2012-06-24 18:10:36 +02:00
Uwe Stöhr
adb0d7f63f
support synctex in tex2lyx.cpp
...
- tex2lyx/Preamble.cpp/h: handle \synctex and package srcltx
- tex2lyx/test/test-structure.tex: add \synctex
2012-06-24 16:59:21 +02:00
Uwe Stöhr
5d79cd531d
tex2lyx/Preamble.cpp: fix a typo
2012-06-24 15:37:51 +02:00
Uwe Stöhr
e1b181ddd4
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
2012-06-24 15:29:32 +02:00
Juergen Spitzmueller
4c2ae219e1
whitespace
2012-06-24 15:15:31 +02:00
Uwe Stöhr
47f7d44747
fix bug #8215
...
Font.cpp: CJK parts must not have a closing brace because they are within an environment
2012-06-24 14:42:23 +02:00
Uwe Stöhr
e7d1e5b0c9
tex2lyx comment corrections
...
tex2lyx/Preamble.cpp, tex2lyx/text.cpp: add info about CJK languages
2012-06-24 14:39:57 +02:00
Juergen Spitzmueller
179ca3e5be
de/linguistics.lyx: improve style
2012-06-24 13:01:51 +02:00
Juergen Spitzmueller
dac9ec0c13
Merge branch 'master' of git.lyx.org:lyx
2012-06-24 10:57:02 +02:00
Juergen Spitzmueller
5b374e0c29
do not output empty language switch commands (bug #8216 )
2012-06-24 10:56:08 +02:00
Uwe Stöhr
a3f4f2d1e3
CJK support for tex2lyx
...
- support as best as possible; setting a document language is however not possible
- fixes bug #4377
2012-06-24 06:38:33 +02:00
Uwe Stöhr
3943b887a8
tex2lyx/Parser.cpp: fix bug #4468 : single '\' are allowed in the special case of '+' as comment argument delimiter
2012-06-23 20:00:49 +02:00
Juergen Spitzmueller
46cdb3616c
linguistics manual: document shortcomings (and workarounds) of glosses
2012-06-23 19:31:01 +02:00
Uwe Stöhr
d37bb54e7b
- 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
2012-06-23 18:56:10 +02:00
Uwe Stöhr
7a103ba6d7
tex2lyx/Preamble.cpp: remove a FIXME, the problem was only in trunk (bug #8211 ) and is now fixed
2012-06-23 16:57:22 +02:00