Commit Graph

31731 Commits

Author SHA1 Message Date
Vincent van Ravesteijn
c6c07d28ae Merge: Remove tex2lyx defines to allow for newer automake
Automake version 1.14 warns that subdir-objects needs to be
enabled to avoid future incompatibilities. However, this causes problems
for objects that are compiled twice (for LyX and tex2lyx) with different
defines (e.g., TEX2LYX and NO_LAYOUT_CSS). Therefore, we need to properly
fix the code without using these defines.

See also:
 - commit 16cdf70d (Jul 26, 2013),
 - commit 3698fde0 (Aug 19, 2013), and
 - http://marc.info/?l=lyx-devel&m=137673178123427&w=2.
2013-09-29 16:51:29 +02:00
Vincent van Ravesteijn
03343bd4e6 Enable automake subdir-objects 2013-09-29 15:26:25 +02:00
Vincent van Ravesteijn
c75db6757a Remove the TEX2LYX define when compiling tex2lyx 2013-09-29 15:26:23 +02:00
Vincent van Ravesteijn
8164fea772 Encodings: Use BufferEncodings where needed 2013-09-29 15:26:22 +02:00
Vincent van Ravesteijn
88d0939166 Encodings: Make members of CharInfo private 2013-09-29 15:26:20 +02:00
Stephan Witt
2e23774c6c Encodings: Split off the functions that need Buffer
This is needed to be able to use Encodings in tex2lyx without the need to
compile Buffer as well, or to use a TEX2LYX define.
2013-09-29 15:26:18 +02:00
Vincent van Ravesteijn
01e94f5e03 Encodings: Add CharInfo to Encoding.h 2013-09-29 15:26:17 +02:00
Jean-Marc Lasgouttes
72c13323d8 Remove dependency on NO_LAYOUT_CSS #define in Layout.cpp
Remove all traces of this #define.
2013-09-29 15:26:15 +02:00
Jean-Marc Lasgouttes
fa5519d4f0 Move tex2lyx dummy implementations in their own file.
Also try to document their use.
2013-09-29 15:26:13 +02:00
Jean-Marc Lasgouttes
9a1e972edb Remove dependency on TEX2LYX #define in ModuleList.cpp 2013-09-29 15:26:12 +02:00
Jean-Marc Lasgouttes
aef31d666e Remove dependency on TEX2LYX #define in Lexer.cpp 2013-09-29 15:26:10 +02:00
Stephan Witt
b293bd3670 cosmetics: remove unneeded std:: prefix
Amended-by: Vincent van Ravesteijn <vfr@lyx.org>
2013-09-29 15:15:17 +02:00
Juergen Spitzmueller
1ace930f7d Handle is_child runparam in preview (bug #8445) 2013-09-29 14:14:15 +02:00
Scott Kostyshak
2c6eab541f Move AGU_article.lyx to the attic
Exporting this outdated document currently hangs on some systems.
Further, there is no natural link between AGU and DocBook
and this could be confusing to a user who is looking for
the AGU template.
2013-09-27 23:57:20 -04:00
Stephan Witt
f768aadc88 add Option-Tab resp. Option-Shift-Tab for buffer-next/previous because Control-Tab doesn't work anymore 2013-09-27 19:53:58 +02:00
Kornel Benko
b8631e849c sk.po, make some messages clearer 2013-09-26 13:17:37 +02:00
Kornel Benko
ac069c3f4b Corrected displayed file-name for fuzzy and untranslated messages in diff_po.pl 2013-09-26 11:34:05 +02:00
Pavel Sanda
4fb67a3b19 * cs.po 2013-09-25 22:59:21 -07:00
Kornel Benko
f986eca10f Modified the revision selection while comparing po-files$
If revision-parameter is set to e.g. '-3', now we search for the previous
3-rd change of the relevant po-file instead of the previous 3-rd commit.

We now also pass options through the environment, though it is not needed for git.
This way we overcome the deficiency of "hg" and "svn", which do not allow
to pass self-defined options to underlying diff-command.
2013-09-25 16:43:23 +02:00
Kornel Benko
292577ad69 Polishing diff_po.pl
New options
  --display-fuzzy=[1|0} # Enable/disable display of fuzzy messages
  --display-untranslated=[1|0} # Enable/disable display of untranslated messages

Convert each given path on command line to absolute path prior to changing
the working directory
2013-09-23 12:50:25 +02:00
Juergen Spitzmueller
6781db79c5 InsetSpace and InsetVSpace are clickable (part of #8847) 2013-09-22 12:49:43 +02:00
Juergen Spitzmueller
ce1503d4c5 de.po: fix accelerator 2013-09-21 13:28:06 +02:00
Enrico Forestieri
70dbc0c6ff Better icon for inset citation.
The previous one could be more easily associated to bookmarks rather
than to citations.
2013-09-18 14:12:09 +02:00
Enrico Forestieri
e54778b85a Update it.po 2013-09-17 21:02:23 +02:00
Juergen Spitzmueller
5686ad11f3 Fix loop when trying to export a read-only document 2013-09-16 10:13:16 +02:00
Scott Kostyshak
56ca770e79 Tufte examples: note how to add 'ols' option 2013-09-15 21:45:22 -04:00
Juergen Spitzmueller
00cd9ce4a9 remove unused and error-prone function 2013-09-15 17:19:51 +02:00
Juergen Spitzmueller
6102e4c39c fr/Intro.lyx: Correction by Jean-Pierre 2013-09-15 17:02:04 +02:00
Juergen Spitzmueller
4a6a0f7930 fr.po: Update by Jean Pierre 2013-09-15 16:49:14 +02:00
Juergen Spitzmueller
b7c1bbfb0b Export as: Further cleanup 2013-09-14 17:53:57 +02:00
Juergen Spitzmueller
2535f2f271 Further localization fixes 2013-09-14 15:40:57 +02:00
Kornel Benko
1389ffd444 * sk.po 2013-09-14 13:52:32 +02:00
Juergen Spitzmueller
e100536d59 Fix 'Export As...' in non-English localizations
It is always a bad idea to compare a localized string. I think the whole method Formats::getFormatFromPrettyName (which is now unused) should be ditched. This is bound to fail.
2013-09-14 13:11:47 +02:00
Juergen Spitzmueller
98909d0327 de.po 2013-09-14 12:42:15 +02:00
Juergen Spitzmueller
53445f7b99 Localize 'Export As...' dialog 2013-09-14 12:36:58 +02:00
Juergen Spitzmueller
f660afd0d9 de.po 2013-09-14 11:42:00 +02:00
Juergen Spitzmueller
151158f191 Fix string (patch by Jean-Pierre Chretien) 2013-09-14 11:39:33 +02:00
Juergen Spitzmueller
c2d076a640 Do not use 'unsafe' tipa shortcuts
Turns out they are, well, unsafe (i.e. conflict with existing 'core' macros).
2013-09-13 15:41:12 +02:00
Kornel Benko
075d903941 Prevent build of <lang>.gmo in case of error.
Given erroneous <lang>.po file, this yields to error on first call
to make. Nonetheless a new <lang>.gmo file is created. The following
calls to make do not get an error.
This patch prevents the <lang>.gmo creation on error.

Problem spotted by Scott.
2013-09-10 08:00:29 +02:00
Georg Baum
592deaa423 Remove layout and tex2lyx tests from make check
These tests need a built and configured LyX, so they do not work in the
distcheck target. They can now be called with make alltests.
2013-09-09 21:00:11 +02:00
Vincent van Ravesteijn
72f70cbe5e Fix bug #8830: Compile error with disabled NLS
The Messages::gui_lang_ variable is instantiated in the '#ifdef ENABLE_NLS' block. To prevent compile problems, we should also instantiate it when NLS is disabled.
2013-09-09 16:25:53 +02:00
Pavel Sanda
c51b091e09 * INSTALL - Solaris build should work now. 2013-09-09 02:52:01 -07:00
Jean-Marc Lasgouttes
4174da8484 Do not keep the ancilliary *.pot files after they have been used 2013-09-09 11:41:28 +02:00
Jean-Marc Lasgouttes
56e2448546 Fix compilation on Solaris 11.1 (bug #8783)
Make sure that the configure script only checks features using the C++ compiler.

Also get rid of our last C files, since they are not compiled nor distributed anyway.
2013-09-09 11:02:14 +02:00
Kornel Benko
631d019269 Changed texclass to make attic/revtex.lyx compilable 2013-09-09 10:21:20 +02:00
Pavel Sanda
3482adeed8 * Additional: add note for okular. 2013-09-07 18:39:17 -07:00
Pavel Sanda
a9d43a2c8b * Additional.lyx - next xdvi glitch spotted by Fabio. 2013-09-07 18:28:52 -07:00
Juergen Spitzmueller
8df9b24896 Add bindings for argument-insert 2013-09-07 11:11:11 +02:00
Kornel Benko
5d1b9fc92f Typos 2013-09-07 09:40:43 +02:00
Kornel Benko
f57e8b98ea Cmake build tests: Label also layoyt tests 2013-09-07 09:27:40 +02:00