[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2017-01-15 Thread Juergen Spitzmueller
commit a53847964dc44d15f7c83cc65dbc16fef88d54c9
Merge: 8f823ed fdf8059
Author: Juergen Spitzmueller 
Date:   Sun Jan 15 12:19:37 2017 +0100

Merge branch 'master' of git.lyx.org:lyx

 lib/RELEASE-NOTES|2 +
 lib/configure.py |1 +
 lib/languages|   69 +++---
 lib/layouts/amsart.layout|2 +-
 po/sk.gmo|  Bin 503639 -> 503738 bytes
 po/sk.po |  116 -
 src/Changes.cpp  |  110 ---
 src/Changes.h|   15 +++--
 src/Paragraph.cpp|6 +-
 src/Paragraph.h  |3 +-
 src/TextClass.cpp|   12 
 src/TextClass.h  |6 +-
 src/TocBackend.cpp   |   56 +-
 src/TocBackend.h |8 ++-
 src/frontends/qt4/Menus.cpp  |   34 +--
 src/frontends/qt4/TocModel.cpp   |   13 ++--
 src/frontends/qt4/qt_helpers.cpp |   42 --
 src/frontends/qt4/qt_helpers.h   |4 -
 src/insets/Inset.h   |6 ++-
 src/insets/InsetArgument.cpp |7 +-
 src/insets/InsetArgument.h   |2 +-
 src/insets/InsetCaption.cpp  |6 +-
 src/insets/InsetCaption.h|3 +-
 src/insets/InsetCaptionable.cpp  |6 +-
 src/insets/InsetCaptionable.h|2 +-
 src/insets/InsetCitation.cpp |4 +-
 src/insets/InsetCitation.h   |2 +-
 src/insets/InsetCollapsable.cpp  |8 +-
 src/insets/InsetCollapsable.h|2 +-
 src/insets/InsetExternal.cpp |4 +-
 src/insets/InsetExternal.h   |2 +-
 src/insets/InsetGraphics.cpp |4 +-
 src/insets/InsetGraphics.h   |2 +-
 src/insets/InsetInclude.cpp  |   22 
 src/insets/InsetInclude.h|2 +-
 src/insets/InsetIndex.cpp|6 +-
 src/insets/InsetIndex.h  |2 +-
 src/insets/InsetLabel.cpp|4 +-
 src/insets/InsetLabel.h  |2 +-
 src/insets/InsetNomencl.cpp  |4 +-
 src/insets/InsetNomencl.h|2 +-
 src/insets/InsetRef.cpp  |4 +-
 src/insets/InsetRef.h|2 +-
 src/insets/InsetTabular.cpp  |8 +-
 src/insets/InsetTabular.h|4 +-
 src/insets/InsetText.cpp |   27 +
 src/insets/InsetText.h   |   11 ++-
 src/mathed/InsetMathHull.cpp |6 +-
 src/mathed/InsetMathHull.h   |2 +-
 src/mathed/MathMacroTemplate.cpp |   22 
 src/mathed/MathMacroTemplate.h   |2 +-
 51 files changed, 376 insertions(+), 315 deletions(-)


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-06-03 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 4e8644bc1dab95f35546ff2b2cd5cfc9e78ebfc2
Merge: af59dff 32cf810
Author: Juergen Spitzmueller 
Date:   Sun Jun 3 10:32:20 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit af59dffeda2efe23e9c1424646eb6fa0e2c7e702
Author: Juergen Spitzmueller 
Date:   Sun Jun 3 10:31:38 2012 +0200

Add missing undo recording.
This adds a change of the printindex type (with multiple indices) to the 
undo stack and marks the buffer dirty on that action (bug #8182)

diff --git a/src/insets/InsetIndex.cpp b/src/insets/InsetIndex.cpp
index 573ad66..935cbec 100644
--- a/src/insets/InsetIndex.cpp
+++ b/src/insets/InsetIndex.cpp
@@ -496,6 +496,7 @@ void InsetPrintIndex::doDispatch(Cursor & cur, FuncRequest 
& cmd)
cur.noScreenUpdate();
break;
}
+   cur.recordUndo();
setParams(p);
break;
}

---

Summary of changes:
 src/insets/InsetIndex.cpp |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-06-08 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 35782ccea4e2090bf0224188b71ef968295f9105
Merge: 040fb73 fbb69e1
Author: Juergen Spitzmueller 
Date:   Fri Jun 8 12:55:24 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 040fb73b9ce527ea483aa081e8971fb76e8a4406
Author: Juergen Spitzmueller 
Date:   Fri Jun 8 12:54:57 2012 +0200

Do not hardcode polyglossia-only languages

diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index b1a61b9..818399d 100644
--- a/src/BufferParams.cpp
+++ b/src/BufferParams.cpp
@@ -1245,21 +1245,9 @@ void BufferParams::validate(LaTeXFeatures & features) 
const
}
 
// some languages are only available via polyglossia
-   if ( (features.runparams().flavor == OutputParams::XETEX
- || language->lang() == "ancientgreek"
- || language->lang() == "coptic"
- || language->lang() == "divehi"
- || language->lang() == "hindi"
- || language->lang() == "kurmanji"
- || language->lang() == "lao"
- || language->lang() == "marathi"
- || language->lang() == "occitan"
- || language->lang() == "sanskrit"
- || language->lang() == "syriac"
- || language->lang() == "tamil"
- || language->lang() == "telugu"
- || language->lang() == "urdu"
-) && useNonTeXFonts)
+   if (features.runparams().flavor == OutputParams::XETEX
+   && (features.hasPolyglossiaExclusiveLanguages()
+   || useNonTeXFonts))
features.require("polyglossia");
 
if (language->lang() == "vietnamese")
diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index b5fe2af..f75fdc4 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -313,12 +313,12 @@ bool LaTeXFeatures::usePolyglossia() const
&& isRequired("polyglossia")
&& isAvailable("polyglossia")
&& !params_.documentClass().provides("babel")
-   && this->hasPolyglossiaLanguages();
+   && this->hasOnlyPolyglossiaLanguages();
return (bufferParams().lang_package == "auto")
&& isRequired("polyglossia")
&& isAvailable("polyglossia")
&& !params_.documentClass().provides("babel")
-   && this->hasPolyglossiaLanguages();
+   && this->hasOnlyPolyglossiaLanguages();
 }
 
 
@@ -477,7 +477,7 @@ bool LaTeXFeatures::hasLanguages() const
 }
 
 
-bool LaTeXFeatures::hasPolyglossiaLanguages() const
+bool LaTeXFeatures::hasOnlyPolyglossiaLanguages() const
 {
LanguageList::const_iterator const begin = UsedLanguages_.begin();
for (LanguageList::const_iterator cit = begin;
@@ -490,6 +490,19 @@ bool LaTeXFeatures::hasPolyglossiaLanguages() const
 }
 
 
+bool LaTeXFeatures::hasPolyglossiaExclusiveLanguages() const
+{
+   LanguageList::const_iterator const begin = UsedLanguages_.begin();
+   for (LanguageList::const_iterator cit = begin;
+cit != UsedLanguages_.end();
+++cit) {
+   if ((*cit)->babel().empty() && !(*cit)->polyglossia().empty())
+   return true;
+   }
+   return false;
+}
+
+
 string LaTeXFeatures::getLanguages() const
 {
ostringstream languages;
diff --git a/src/LaTeXFeatures.h b/src/LaTeXFeatures.h
index 3b1cc89..7b1f51b 100644
--- a/src/LaTeXFeatures.h
+++ b/src/LaTeXFeatures.h
@@ -106,7 +106,9 @@ public:
///
bool hasLanguages() const;
/// check if all used languages are supported by polyglossia
-   bool hasPolyglossiaLanguages() const;
+   bool hasOnlyPolyglossiaLanguages() const;
+   /// check if a language is supported only by polyglossia
+   bool hasPolyglossiaExclusiveLanguages() const;
///
std::string getLanguages() const;
///
diff --git a/src/frontends/qt4/GuiDocument.cpp 
b/src/frontends/qt4/GuiDocument.cpp
index 4b269ca..cfe83a7 100644
--- a/src/frontends/qt4/GuiDocument.cpp
+++ b/src/frontends/qt4/GuiDocument.cpp
@@ -1760,15 +1760,9 @@ void GuiDocument::deleteBoxBackgroundColor()
 void GuiDocument::languageChanged(int i)
 {
// some languages only work with polyglossia/XeTeX
-   string current_language = lyx::languages.getLanguage(
-   
fromqstr(langModule->languageCO->itemData(i).toString()))->lang();
-   if (current_language == "ancientgreek"
-   || current_language == "coptic" || current_language == "divehi"
-   || current_language == "hindi" || current_language == "kurmanji"
-   || current_language == "lao" || current_language == "marathi"
-   || current_language == "occitan" || current_language == 
"sanskrit"
-   || current_language == "syriac" || current_

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-06-22 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit e31981a414c56da0e2d41d43d645ed0b4efcb42f
Merge: 828f717 369e697
Author: Uwe Stöhr 
Date:   Sat Jun 23 04:29:16 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 828f7171e82a847f3bcc82a91c4788b5a3ef6d0b
Author: Uwe Stöhr 
Date:   Sat Jun 23 04:28:52 2012 +0200

- tex2lyx: support for the polyglossia language variants
- XeTeX-polyglossia.tex: simplifications, added some more testcases

diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index 8309b6b..781ce2c 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -92,6 +92,41 @@ const char * const known_coded_languages[] = {"french", 
"afrikaans", "albanian",
 "uppersorbian", "uppersorbian", "english", "english", "vietnamese", "welsh",
 0};
 
+/**
+ * known polyglossia language names (including variants)
+ */
+const char * const polyglossia_languages[] = {
+"albanian", "croatian", "hebrew", "norsk", "swedish", "amharic", "czech", 
"hindi",
+"nynorsk", "syriac", "arabic", "danish", "icelandic", "occitan", "tamil",
+"armenian", "divehi", "interlingua", "polish", "telugu", "asturian", "dutch",
+"irish", "portuges", "thai", "bahasai", "english", "italian", "romanian", 
"turkish",
+"bahasam", "esperanto", "lao", "russian", "turkmen", "basque", "estonian", 
"latin",
+"samin", "ukrainian", "bengali", "farsi", "latvian", "sanskrit", "urdu", 
"brazil",
+"brazilian", "finnish", "lithuanian", "scottish", "usorbian", "breton", 
"french",
+"lsorbian", "serbian", "vietnamese", "bulgarian", "galician", "magyar", 
"slovak",
+"welsh", "catalan", "german", "malayalam", "slovenian", "coptic", "greek",
+"marathi", "spanish",
+"american", "ancient", "australian", "british", "monotonic", "newzealand",
+"polytonic", 0};
+
+/**
+ * the same as polyglossia_languages with .lyx names
+ * please keep this in sync with polyglossia_languages line by line!
+ */
+const char * const coded_polyglossia_languages[] = {
+"albanian", "croatian", "hebrew", "norsk", "swedish", "amharic", "czech", 
"hindi",
+"nynorsk", "syriac", "arabic_arabi", "danish", "icelandic", "occitan", "tamil",
+"armenian", "divehi", "interlingua", "polish", "telugu", "asturian", "dutch",
+"irish", "portuges", "thai", "bahasa", "english", "italian", "romanian", 
"turkish",
+"bahasam", "esperanto", "lao", "russian", "turkmen", "basque", "estonian", 
"latin",
+"samin", "ukrainian", "bengali", "farsi", "latvian", "sanskrit", "urdu", 
"brazilian",
+"brazilian", "finnish", "lithuanian", "scottish", "uppersorbian", "breton", 
"french",
+"lowersorbian", "serbian", "vietnamese", "bulgarian", "galician", "magyar", 
"slovak",
+"welsh", "catalan", "ngerman", "malayalam", "slovene", "coptic", "greek",
+"marathi", "spanish",
+"american", "ancientgreek", "australian", "british", "greek", "newzealand",
+"polutonikogreek", 0};
+
 /// languages with english quotes (.lyx names)
 const char * const known_english_quotes_languages[] = {"american", 
"australian",
 "bahasa", "bahasam", "brazilian", "canadian", "chinese-simplified", "english",
@@ -686,6 +721,8 @@ void Preamble::handle_package(Parser &p, string const & 
name,
// reasons for it.
h_preamble << "\\usepackage[" << opts << "]{babel}\n";
delete_opt(options, known_languages);
+   // finally translate the babel name to a LyX name
+   h_language = babel2lyx(h_language);
}
else
h_preamble << "\\usepackage{babel}\n";
@@ -824,9 +861,6 @@ void Preamble::handle_if(Parser & p, bool in_lyx_preamble)
 
 bool Preamble::writeLyXHeader(ostream & os, bool subdoc)
 {
-   // translate from babel to LyX names
-   h_language = babel2lyx(h_language);
-
// set the quote language
// LyX only knows the following quotes languages:
// english, swedish, german, polish, french and danish
@@ -1073,14 +1107,31 @@ void Preamble::parse(Parser & p, string const & 
forceclass,
h_paperpagestyle = p.verbatim_item();
 
else if (t.cs() == "setdefaultlanguage") {
-   // FIXME: we don't yet care about the option because 
LyX doesn't
-   // support this yet, see bug #8214
-   p.hasOpt() ? p.getOpt() : string();
-   h_language = p.verbatim_item();
+   xetex = true;
+   // We don't yet care about non-language variant options
+   // because LyX doesn't support this yet, see bug #8214
+   if (p.hasOpt()) {
+   string langopts = p.getOpt();
+   // check if the option contains a variant, if 
yes, extract it
+   string::size_type pos_var = 
langopts.find("variant");
+   

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-06-23 Thread Kornel Benko
The branch, master, has been updated.

- Log -

commit 1c7d4c8f6f15a6e92b11c4a0a466ebdd1a47f8b6
Merge: 1d2cb83 20d7e08
Author: Kornel Benko 
Date:   Sat Jun 23 15:42:10 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 1d2cb8386931e78a224f00392f541fda7e1fa96c
Author: Kornel Benko 
Date:   Sat Jun 23 15:41:33 2012 +0200

* sk.po

diff --git a/po/sk.po b/po/sk.po
index 997136e..bd92704 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LyX-2.1\n"
 "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n"
-"POT-Creation-Date: 2012-06-08 09:50+0200\n"
+"POT-Creation-Date: 2012-06-23 15:29+0200\n"
 "PO-Revision-Date: 2012-04-08 11:27+0100\n"
 "Last-Translator: Kornel Benko \n"
 "Language-Team: Slovak \n"
@@ -540,13 +540,14 @@ msgstr "Prid&aj VÅ¡etko"
 #: src/Buffer.cpp:2467 src/Buffer.cpp:3929 src/Buffer.cpp:3992 src/LyXVC.cpp:89
 #: src/LyXVC.cpp:224 src/frontends/qt4/GuiBranches.cpp:219
 #: src/frontends/qt4/GuiClipboard.cpp:242
-#: src/frontends/qt4/GuiDocument.cpp:1936 src/frontends/qt4/GuiParagraph.cpp:69
-#: src/frontends/qt4/GuiParagraph.cpp:159 src/frontends/qt4/GuiView.cpp:2146
-#: src/frontends/qt4/GuiView.cpp:2296 src/frontends/qt4/GuiView.cpp:2311
-#: src/frontends/qt4/GuiView.cpp:2386 src/frontends/qt4/GuiView.cpp:2434
-#: src/frontends/qt4/GuiView.cpp:2649 src/frontends/qt4/GuiView.cpp:2656
-#: src/frontends/qt4/GuiView.cpp:2755 src/frontends/qt4/GuiView.cpp:2783
-#: src/frontends/qt4/GuiView.cpp:3400 src/insets/InsetBibtex.cpp:153
+#: src/frontends/qt4/GuiDocument.cpp:1972
+#: src/frontends/qt4/GuiParagraph.cpp:69
+#: src/frontends/qt4/GuiParagraph.cpp:159 src/frontends/qt4/GuiView.cpp:2147
+#: src/frontends/qt4/GuiView.cpp:2298 src/frontends/qt4/GuiView.cpp:2313
+#: src/frontends/qt4/GuiView.cpp:2388 src/frontends/qt4/GuiView.cpp:2436
+#: src/frontends/qt4/GuiView.cpp:2651 src/frontends/qt4/GuiView.cpp:2658
+#: src/frontends/qt4/GuiView.cpp:2757 src/frontends/qt4/GuiView.cpp:2785
+#: src/frontends/qt4/GuiView.cpp:3402 src/insets/InsetBibtex.cpp:153
 msgid "&Cancel"
 msgstr "&Zrušiť"
 
@@ -573,18 +574,18 @@ msgstr "&Veľkosť:"
 #: src/frontends/qt4/ui/TabularUi.ui:1272 lib/ui/stdtoolbars.inc:112
 #: src/Font.cpp:178 src/HSpace.cpp:117 src/frontends/qt4/GuiDocument.cpp:110
 #: src/frontends/qt4/GuiDocument.cpp:128 src/frontends/qt4/GuiDocument.cpp:144
-#: src/frontends/qt4/GuiDocument.cpp:157 src/frontends/qt4/GuiDocument.cpp:764
-#: src/frontends/qt4/GuiDocument.cpp:877 src/frontends/qt4/GuiDocument.cpp:882
-#: src/frontends/qt4/GuiDocument.cpp:923 src/frontends/qt4/GuiDocument.cpp:934
-#: src/frontends/qt4/GuiDocument.cpp:1095
-#: src/frontends/qt4/GuiDocument.cpp:1181
-#: src/frontends/qt4/GuiDocument.cpp:1791
-#: src/frontends/qt4/GuiDocument.cpp:1814
-#: src/frontends/qt4/GuiDocument.cpp:1815
-#: src/frontends/qt4/GuiDocument.cpp:1816
-#: src/frontends/qt4/GuiDocument.cpp:1891
-#: src/frontends/qt4/GuiDocument.cpp:2321
-#: src/frontends/qt4/GuiDocument.cpp:3390 src/frontends/qt4/GuiExternal.cpp:76
+#: src/frontends/qt4/GuiDocument.cpp:157 src/frontends/qt4/GuiDocument.cpp:775
+#: src/frontends/qt4/GuiDocument.cpp:888 src/frontends/qt4/GuiDocument.cpp:893
+#: src/frontends/qt4/GuiDocument.cpp:934 src/frontends/qt4/GuiDocument.cpp:945
+#: src/frontends/qt4/GuiDocument.cpp:1108
+#: src/frontends/qt4/GuiDocument.cpp:1194
+#: src/frontends/qt4/GuiDocument.cpp:1827
+#: src/frontends/qt4/GuiDocument.cpp:1850
+#: src/frontends/qt4/GuiDocument.cpp:1851
+#: src/frontends/qt4/GuiDocument.cpp:1852
+#: src/frontends/qt4/GuiDocument.cpp:1927
+#: src/frontends/qt4/GuiDocument.cpp:2357
+#: src/frontends/qt4/GuiDocument.cpp:3426 src/frontends/qt4/GuiExternal.cpp:76
 #: src/frontends/qt4/GuiGraphics.cpp:71 src/frontends/qt4/GuiIndices.cpp:57
 #: src/frontends/qt4/GuiListings.cpp:152 src/frontends/qt4/GuiListings.cpp:159
 #: src/frontends/qt4/GuiPrefs.cpp:2291 src/frontends/qt4/GuiPrefs.cpp:2546
@@ -1326,6 +1327,10 @@ msgid "&Replace"
 msgstr "Nah&radiť"
 
 #: src/frontends/qt4/ui/FindAndReplaceUi.ui:136
+msgid "Shift+Enter search backwards directly"
+msgstr "Shift+Enter hľadať naspäť priamo"
+
+#: src/frontends/qt4/ui/FindAndReplaceUi.ui:136
 #: src/frontends/qt4/ui/SearchUi.ui:196
 msgid "Search &backwards"
 msgstr "Hľa&dať naspäť"
@@ -2832,13 +2837,13 @@ msgstr "Dvojitý"
 
 #: src/frontends/qt4/ui/ParagraphUi.ui:135
 #: src/frontends/qt4/ui/PrefLanguageUi.ui:65
-#: src/frontends/qt4/ui/TabularUi.ui:1210
-#: src/frontends/qt4/ui/TabularUi.ui:1229
-#: src/frontends/qt4/ui/TabularUi.ui:1277 src/frontends/qt4/ui/VSpaceUi.ui:107
-#: lib/layouts/stdcustom.inc:8 src/frontends/qt4/GuiDocument.cpp:765
-#: src/frontends/qt4/GuiDocument.cpp:769 src/frontends/qt4/GuiDocument.cpp:777
-#: src/frontends/qt4/GuiDocument.cpp:883 src/frontends/qt4/GuiDocument.cpp:935
-#: src/frontends/qt4/GuiDocument.cpp:1101 src/frontends/qt4/GuiHSpace.cpp:56
+#: src/frontends/qt4/ui/TabularUi.ui:1212
+#: src/f

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-06-23 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 746d235c433f75d1508928ebc29d7446dc145c56
Merge: ca16190 1c7d4c8
Author: Juergen Spitzmueller 
Date:   Sat Jun 23 15:45:23 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit ca161900065995b15e45363252bb7fa3cf44c644
Author: Juergen Spitzmueller 
Date:   Sat Jun 23 15:44:25 2012 +0200

fix bug #8208: missing \end for polyglossia-only languages at buffer end

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index 3178ac5..c5f8306 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -764,7 +764,9 @@ void TeXOnePar(Buffer const & buf,
   || (runparams.isLastPar && par_language->babel() != 
outer_language->babel()));
 
if (closing_rtl_ltr_environment
-   || (runparams.isLastPar && par_language->babel() != 
outer_language->babel())) {
+   || (runparams.isLastPar
+   && ((!use_polyglossia && par_language->babel() != 
outer_language->babel())
+   || (use_polyglossia && par_language->polyglossia() != 
outer_language->polyglossia() {
// Since \selectlanguage write the language to the aux file,
// we need to reset the language at the end of footnote or
// float.

---

Summary of changes:
 src/output_latex.cpp |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-06-24 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit dac9ec0c13f50a5b1edc01372a0f068cdb431726
Merge: 5b374e0 a3f4f2d
Author: Juergen Spitzmueller 
Date:   Sun Jun 24 10:57:02 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 5b374e0c29ac5e89ffe248792028612799424505
Author: Juergen Spitzmueller 
Date:   Sun Jun 24 10:56:08 2012 +0200

do not output empty language switch commands (bug #8216)

diff --git a/src/output_latex.cpp b/src/output_latex.cpp
index c5f8306..92913af 100644
--- a/src/output_latex.cpp
+++ b/src/output_latex.cpp
@@ -581,7 +581,8 @@ void TeXOnePar(Buffer const & buf,
os << "\\L{";
}
// With CJK, the CJK tag has to be closed first (see 
below)
-   if (runparams.encoding->package() != Encoding::CJK) {
+   if (runparams.encoding->package() != Encoding::CJK
+   && !par_lang.empty()) {
os << from_ascii(subst(
lang_begin_command,
"$$lang",
@@ -642,7 +643,8 @@ void TeXOnePar(Buffer const & buf,
os << "%\n";
}
// With CJK, the CJK tag had to be closed first 
(see above)
-   if (runparams.encoding->package() == 
Encoding::CJK) {
+   if (runparams.encoding->package() == 
Encoding::CJK
+   && !par_lang.empty()) {
os << from_ascii(subst(
lang_begin_command,
"$$lang",

---

Summary of changes:
 src/output_latex.cpp |6 --
 1 files changed, 4 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-07-01 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 00833efd10ab44385813a2a48cc8590ab1ca030d
Merge: e4018a3 555ae01
Author: Uwe Stöhr 
Date:   Sun Jul 1 16:15:55 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit e4018a327e04804ec06f86f8aa27e78a1c62a8af
Author: Uwe Stöhr 
Date:   Sun Jul 1 16:15:42 2012 +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?

diff --git a/lib/layouts/elsarticle.layout b/lib/layouts/elsarticle.layout
index 4e77b63..f7102ad 100644
--- a/lib/layouts/elsarticle.layout
+++ b/lib/layouts/elsarticle.layout
@@ -11,6 +11,7 @@ SecNumDepth   3
 TocDepth   3
 DefaultStyle   Standard
 Provides natbib1
+Provides refstyle  1
 
 ClassOptions
FontSize10|11|12

---

Summary of changes:
 lib/layouts/elsarticle.layout |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-07-02 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 3e250d2ce6c83e60621ae6b6e6325af6145bcc9c
Merge: 487c8b5 c3fe0fd
Author: Uwe Stöhr 
Date:   Tue Jul 3 00:40:23 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 487c8b5bd34b1de999d213d83e27916a334d4891
Author: Uwe Stöhr 
Date:   Tue Jul 3 00:39:41 2012 +0200

tex2lyx: update a command

Parser.cpp: improve a command as discussed

diff --git a/src/tex2lyx/Parser.cpp b/src/tex2lyx/Parser.cpp
index 6cd727c..75b8ba4 100644
--- a/src/tex2lyx/Parser.cpp
+++ b/src/tex2lyx/Parser.cpp
@@ -399,7 +399,7 @@ Parser::Arg Parser::getFullArg(char left, char right)
putback();
return make_pair(false, string());
} else {
-   // for \verb a single '\' is allowed no matter what the 
delimiter is
+   // a single '\' is only allowed within \verb, no matter what 
the delimiter is,
// for example "\verb+\+" (reported as bug #4468)
// To support this, we allow single '\' if it is the only 
character
// within equal delimiters

---

Summary of changes:
 src/tex2lyx/Parser.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-07-30 Thread Stephan Witt
The branch, master, has been updated.

- Log -

commit a9de2597ed8df035576e92053bcaac21af062c82
Merge: 430cf3ee ea76d6d
Author: Stephan Witt 
Date:   Mon Jul 30 14:34:12 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 430cf3ee5ef125b8bc610300afca58437b734306
Author: Stephan Witt 
Date:   Mon Jul 30 14:32:29 2012 +0200

Fix the wrong cursor move when forward flag is false:
The forward flag is used to place the cursor behind the replaced text if 
it's true.
But it's not correct to move the cursor if it's false. The cursor is in 
front of the
replacement already after the replaceSelectionWithString() was done.

diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp
index 73f6469..bd4e04e 100644
--- a/src/lyxfind.cpp
+++ b/src/lyxfind.cpp
@@ -275,9 +275,6 @@ pair replaceOne(BufferView * bv, docstring 
searchstr,
if (forward) {
cur.pos() += replacestr.length();
LASSERT(cur.pos() <= cur.lastpos(), /* */);
-   } else {
-   cur.pos() -= replacestr.length();
-   LASSERT(cur.pos() >= 0, /* */);
}
if (findnext)
findOne(bv, searchstr, case_sens, whole, forward, false);

---

Summary of changes:
 src/lyxfind.cpp |3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-08-16 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit be0bed91e25c54a423f61d8e71a85e9538d98b8f
Merge: 63c59a3 2ecc895
Author: Juergen Spitzmueller 
Date:   Thu Aug 16 18:04:28 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 63c59a352fe57b4d6bab0d6185fb86026a96fbf0
Author: Juergen Spitzmueller 
Date:   Thu Aug 16 18:04:02 2012 +0200

Sort

diff --git a/lib/latexfonts b/lib/latexfonts
index cf59405..72743c9 100644
--- a/lib/latexfonts
+++ b/lib/latexfonts
@@ -51,47 +51,41 @@
 ##
 
 #
-# Roman fonts
+# ROMAN FONTS
 #
 
-Font cmr
-   GuiName  "Computer Modern Roman"
+Font ae
+   GuiName  "AE (Almost European)"
Family   rm
-   SwitchDefault1
-   OsfPackage   eco
+   Package  "ae,aecompl"
+   OT1Package   none
+   Requires ae
 EndFont
 
-Font lmodern
-   GuiName  "Latin Modern Roman"
+Font beraserif
+   GuiName  "Bera Serif"
Family   rm
-   Package  lmodern
+   Package  beraserif
+   CompletePackage  bera
+   Requires bera
 EndFont
 
-Font ae
-   GuiName  "AE (Almost European)"
+Font bookman
+   GuiName  "Bookman"
Family   rm
-   Package  "ae,aecompl"
-   OT1Package   none
-   Requires ae
+   Package  bookman
 EndFont
 
-Font times
-   GuiName  "Times Roman"
+Font ccfonts
+   GuiName  "Concrete Roman"
Family   rm
-   Package  mathptmx
-   AltPackages  "mathptm,times"
-   Requires psnfss
+   Package  ccfonts
 EndFont
 
-Font palatino
-   GuiName  "Palatino"
+Font chancery
+   GuiName  "Zapf Chancery"
Family   rm
-   OsfOptionosf
-   ScOption sc
-   OsfScOption  osf
-   Package  mathpazo
-   AltPackages  "mathpple,palatino"
-   Requires psnfss
+   Package  chancery
 EndFont
 
 Font charter
@@ -100,16 +94,42 @@ Font charter
Package  charter
 EndFont
 
+Font cmr
+   GuiName  "Computer Modern Roman"
+   Family   rm
+   SwitchDefault1
+   OsfPackage   eco
+EndFont
+
+Font lmodern
+   GuiName  "Latin Modern Roman"
+   Family   rm
+   Package  lmodern
+EndFont
+
 Font newcent
GuiName  "New Century Schoolbook"
Family   rm
Package  newcent
 EndFont
 
-Font bookman
-   GuiName  "Bookman"
+Font palatino
+   GuiName  "Palatino"
Family   rm
-   Package  bookman
+   OsfOptionosf
+   ScOption sc
+   OsfScOption  osf
+   Package  mathpazo
+   AltPackages  "mathpple,palatino"
+   Requires psnfss
+EndFont
+
+Font times
+   GuiName  "Times Roman"
+   Family   rm
+   Package  mathptmx
+   AltPackages  "mathptm,times"
+   Requires psnfss
 EndFont
 
 # fourier supersedes utopia.sty, but does
@@ -124,44 +144,36 @@ Font utopia
OT1Package   utopia
 EndFont
 
-Font beraserif
-   GuiName  "Bera Serif"
-   Family   rm
-   Package  beraserif
-   CompletePackage  bera
-   Requires bera
-EndFont
-
-Font ccfonts
-   GuiName  "Concrete Roman"
-   Family   rm
-   Package  ccfonts
-EndFont
-
-Font chancery
-   GuiName  "Zapf Chancery"
-   Family   rm
-   Package  chancery
-EndFont
-
 
 #
-# SansSerif fonts
+# SANS SERIF FONTS
 #
 
+Font avant
+   GuiName  "Avant Garde"
+   Family   sf
+   Package  avant
+EndFont
 
-Font cmss
-   GuiName  "Computer Modern Sans"
+Font berasans
+   GuiName  "Bera Sans"
Family   sf
-   SwitchDefault1
+   ScaleOption  scaled=$$val
+   Package  berasans
+   Requires bera
 EndFont
 
+Font cmbr
+   GuiName  "CM Bright"
+   Family   sf
+   SwitchDefault1
+   Requires cmbright
+EndFont
 
-Font lmss
-   GuiName  "Latin Modern Sans"
+Font cmss
+   GuiName  "Computer Modern Sans"
Family   sf
SwitchDefault1
-   Requires lmodern
 EndFont
 
 Font helvet
@@ -172,45 +184,39 @@ Font helvet
Requires psnfss
 EndFont
 
-Font avant
-   GuiName  "Avant Garde"
+Font lmss
+   GuiName  "Latin Modern Sans"
Family   sf
-   Package  avant
+   SwitchDefault1
+   Requires lmodern
 EndFont
 
-Font bera

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-08-18 Thread Kornel Benko
The branch, master, has been updated.

- Log -

commit 8570e14501f2a8993ed431270c7841cc8d43277c
Merge: aac637d 6dd333b
Author: Kornel Benko 
Date:   Sat Aug 18 13:58:11 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit aac637ddabaadd004840e39a720bc5e895a541fc
Author: Kornel Benko 
Date:   Sat Aug 18 13:57:46 2012 +0200

* sk.po

diff --git a/po/sk.po b/po/sk.po
index e0f6ffc..4859e5c 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -8,7 +8,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LyX-2.1\n"
 "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n"
-"POT-Creation-Date: 2012-07-20 11:25+0200\n"
+"POT-Creation-Date: 2012-08-18 13:20+0200\n"
 "PO-Revision-Date: 2012-04-08 11:27+0100\n"
 "Last-Translator: Kornel Benko \n"
 "Language-Team: Slovak \n"
@@ -11745,6 +11745,110 @@ msgstr "Vietnamsky"
 msgid "Welsh"
 msgstr "Walesky"
 
+#: src/frontends/qt4/GuiDocument.cpp:129
+msgid "AE (Almost European)"
+msgstr "AE (Almost European)"
+
+#: src/frontends/qt4/GuiDocument.cpp:131
+msgid "Bera Serif"
+msgstr "Bera Serif"
+
+#: src/frontends/qt4/GuiDocument.cpp:130
+msgid "Bookman"
+msgstr "Bookman"
+
+#: src/frontends/qt4/GuiDocument.cpp:131
+msgid "Concrete Roman"
+msgstr "Concrete Roman"
+
+#: src/frontends/qt4/GuiDocument.cpp:131
+msgid "Zapf Chancery"
+msgstr "Zapf Chancery"
+
+#: src/frontends/qt4/GuiDocument.cpp:130
+msgid "Bitstream Charter"
+msgstr "Bitstream Charter"
+
+#: src/frontends/qt4/GuiDocument.cpp:128
+msgid "Computer Modern Roman"
+msgstr "Computer Modern Roman"
+
+#: lib/latexfonts:109
+msgid "Libertine"
+msgstr "Libertine"
+
+#: src/frontends/qt4/GuiDocument.cpp:128
+msgid "Latin Modern Roman"
+msgstr "Latin Modern Roman"
+
+#: src/frontends/qt4/GuiDocument.cpp:130
+msgid "New Century Schoolbook"
+msgstr "New Century Schoolbook"
+
+#: src/frontends/qt4/GuiDocument.cpp:129
+msgid "Palatino"
+msgstr "Palatino"
+
+#: src/frontends/qt4/GuiDocument.cpp:129
+msgid "Times Roman"
+msgstr "Times Roman"
+
+#: src/frontends/qt4/GuiDocument.cpp:131
+msgid "Utopia"
+msgstr "Utopia"
+
+#: src/frontends/qt4/GuiDocument.cpp:145
+msgid "Avant Garde"
+msgstr "Avant Garde"
+
+#: src/frontends/qt4/GuiDocument.cpp:145
+msgid "Bera Sans"
+msgstr "Bera Sans"
+
+#: src/frontends/qt4/GuiDocument.cpp:145
+msgid "CM Bright"
+msgstr "CM Bright"
+
+#: src/frontends/qt4/GuiDocument.cpp:144
+msgid "Computer Modern Sans"
+msgstr "Computer Modern Sans"
+
+#: src/frontends/qt4/GuiDocument.cpp:145
+msgid "Helvetica"
+msgstr "Helvetica"
+
+#: src/frontends/qt4/GuiDocument.cpp:144
+msgid "Latin Modern Sans"
+msgstr "Latin Modern Sans"
+
+#: src/frontends/qt4/GuiDocument.cpp:158
+msgid "Bera Mono"
+msgstr "Bera Mono"
+
+#: src/frontends/qt4/GuiDocument.cpp:159
+msgid "CM Typewriter Light"
+msgstr "CM Typewriter Light"
+
+#: src/frontends/qt4/GuiDocument.cpp:157
+msgid "Computer Modern Typewriter"
+msgstr "Computer Modern Typewriter"
+
+#: src/frontends/qt4/GuiDocument.cpp:158
+msgid "Courier"
+msgstr "Courier"
+
+#: src/frontends/qt4/GuiDocument.cpp:158
+msgid "Latin Modern Typewriter"
+msgstr "Latin Modern Typewriter"
+
+#: src/frontends/qt4/GuiDocument.cpp:159
+msgid "LuxiMono"
+msgstr "LuxiMono"
+
+#: lib/latexfonts:253
+msgid "TX Typewriter"
+msgstr "TX Typewriter"
+
 #: lib/encodings:14
 msgid "Unicode (utf8)"
 msgstr "Unicode (utf8)"
@@ -18629,6 +18733,19 @@ msgstr "Spúšťam BibTeX."
 msgid "Running MakeIndex for nomencl."
 msgstr "Spúšťam MakeIndex pre nomencl."
 
+#: src/LaTeXFonts.cpp:89 src/LaTeXFonts.cpp:116 src/LaTeXFonts.cpp:168
+msgid "Font not available"
+msgstr "Font nie je dostupný"
+
+#: src/LaTeXFonts.cpp:90 src/LaTeXFonts.cpp:117 src/LaTeXFonts.cpp:169
+#, c-format
+msgid ""
+"The LaTeX package `%1$s' needed for the font `%2$s'\n"
+"is not available on your system. LyX will fall back to the default font."
+msgstr ""
+"Balík LaTeXa `%1$s' ktorý font `%2$s potrebuje\n"
+"nie je dostupný na vašom systéme. LyX sa stiahne na štandardný font."
+
 #: src/LyX.cpp:120
 msgid "Could not read configuration file"
 msgstr "Nemôžem čítať konfiguračný súbor"
@@ -19059,10 +19176,6 @@ msgstr ""
 msgid "The default format used with LFUN_BUFFER_[VIEW|UPDATE]."
 msgstr "Štandardný formát použitý s LFUN_BUFFER_[VIEW|UPDATE]."
 
-#: src/LyXRC.cpp:3157
-msgid "New documents will be assigned this language."
-msgstr "Novým dokumentom bude priradený tento jazyk."
-
 #: src/LyXRC.cpp:3161
 msgid ""
 "Iconify the dialogs when the main window is iconified. (Affects only dialogs "
@@ -20300,9 +20413,9 @@ msgstr ""
 "pracovať správne.\n"
 "Keď nutné, skúste prosím ešte raz rekonfigurovať."
 
-#: src/frontends/qt4/GuiApplication.cpp:1266
+#: src/frontends/qt4/GuiApplication.cpp:1290
 msgid "System reconfigured"
-msgstr "Systém je prekonfigurovaný"
+msgstr "Systém je rekonfigurovaný"
 
 #: src/frontends/qt4/GuiApplication.cpp:1267
 msgid ""
@@ -20799,102 +20912,6 @@ msgstr "(Žiadne)"
 msgid "Variable"
 msgstr "Variabilná"
 
-#: src/fr

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-08-18 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 4964388408226218f608a0bf3a7f8f7bd231f4ec
Merge: b501845 8570e14
Author: Juergen Spitzmueller 
Date:   Sat Aug 18 14:46:07 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit b501845b2c3012b99fd7778f9aab8d7b5351eb92
Author: Juergen Spitzmueller 
Date:   Sat Aug 18 14:45:41 2012 +0200

Support for the mathdesign fonts (#6072)

diff --git a/development/FORMAT b/development/FORMAT
index 1df9ccf..e11e017 100644
--- a/development/FORMAT
+++ b/development/FORMAT
@@ -11,6 +11,10 @@ adjustments are made to tex2lyx and bugs are fixed in 
lyx2lyx.
 
 ---
 
+2012-08-18 Jürgen Spitzmüller 
+   * Format incremented to 436 
+ Support for the mathdesign LaTeX fonts.
+
 2012-08-17 Jürgen Spitzmüller 
* Format incremented to 435 
  Support for the txtt LaTeX font.
diff --git a/lib/chkconfig.ltx b/lib/chkconfig.ltx
index c58f579..2e7c57b 100644
--- a/lib/chkconfig.ltx
+++ b/lib/chkconfig.ltx
@@ -362,6 +362,10 @@
 \TestPackage{libertine}
 \TestPackage{lmodern}
 \TestPackage{luximono}
+\TestPackage{mathdesign}% For Roman fonts
+\TestPackage{mdbch}
+\TestPackage{mdput}
+\TestPackage{mdugm}
 \TestPackage{tipa}
 \TestPackage{tipx}
 \TestPackage{txfonts}% For the txtt monospaced font
@@ -381,7 +385,7 @@
 %\TestPackage{txfonts}% But see above!
 %\TestPackage{pxfonts}
 %\TestPackage{mathabx}
-%\TestPackage{mathdesign}
+%\TestPackage{mathdesign}% But see above!
 
 
 %%%
diff --git a/lib/doc/LaTeXConfig.lyx b/lib/doc/LaTeXConfig.lyx
index 9fa7987..42b702f 100644
--- a/lib/doc/LaTeXConfig.lyx
+++ b/lib/doc/LaTeXConfig.lyx
@@ -1,5 +1,5 @@
 #LyX 2.1 created this file. For more info see http://www.lyx.org/
-\lyxformat 435
+\lyxformat 436
 \begin_document
 \begin_header
 \textclass article
@@ -618,6 +618,110 @@ libertine(-legacy)
 \end_layout
 
 \begin_layout Subsection
+Mathdesign
+\end_layout
+
+\begin_layout Description
+Found: 
+\begin_inset Info
+type  "package"
+arg   "mathdesign"
+\end_inset
+
+
+\end_layout
+
+\begin_layout Description
+CTAN: 
+\family typewriter
+fonts/mathdesign/
+\end_layout
+
+\begin_layout Description
+Notes: The 
+\family sans
+mathdesign
+\family default
+ package provides access to three popular roman fonts and extends them with
+ matching math fonts.
+ If you select one of the following roman fonts in LyX via 
+\family sans
+\size normal
+Layout\SpecialChar \menuseparator
+Document\SpecialChar \menuseparator
+Fonts
+\family default
+\size default
+, the 
+\family sans
+mathdesign
+\family default
+ package and thus the respective math fonts is automatically loaded:
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Adobe Garamond (Mathdesign)
+\family default
+.
+ 
+\series bold
+Found:
+\series default
+ 
+\begin_inset Info
+type  "package"
+arg   "mdugm"
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Bitstream Charter (Mathdesign)
+\family default
+.
+ 
+\series bold
+Found:
+\series default
+ 
+\begin_inset Info
+type  "package"
+arg   "mdbch"
+\end_inset
+
+
+\end_layout
+
+\begin_layout Itemize
+
+\family sans
+Utopia (Mathdesign)
+\family default
+.
+ 
+\series bold
+Found:
+\series default
+ 
+\begin_inset Info
+type  "package"
+arg   "mdput"
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+If you only want the text fonts and retain LaTeX's default math font, select
+ a non-mathdesign variant of the respective font instead.
+\end_layout
+
+\begin_layout Subsection
 psnfss
 \end_layout
 
@@ -652,7 +756,8 @@ psnfss
  fonts in 
 \family sans
 \size normal
-Layout->Document
+Layout\SpecialChar \menuseparator
+Document
 \family default
 \size default
 .
diff --git a/lib/latexfonts b/lib/latexfonts
index 681831d..12f5a2c 100644
--- a/lib/latexfonts
+++ b/lib/latexfonts
@@ -93,7 +93,7 @@ Font chancery
 EndFont
 
 Font charter
-   GuiName  "Bitstream Charter"
+   GuiName  "Bitstream Charter (PSNFSS)"
Family   rm
Package  charter
 EndFont
@@ -118,6 +118,39 @@ Font lmodern
Package  lmodern
 EndFont
 
+Font mdbch
+   GuiName  "Bitstream Charter (Mathdesign)"
+   Family   rm
+   OsfOptionexpert
+   ScOption expert
+   OsfScOption  expert
+   Package  mathdesign
+   PackageOptioncharter
+   Requires mdbch
+EndFont
+
+Font mdput
+   GuiName  "Utopia (Mathdesign)"
+   Family   rm
+   OsfOptionexpert
+   ScOption expert
+   OsfScOption  expert
+   Package  mathdesign
+   PackageOptionutopia
+   Requires mdput
+EndFont
+
+Font mdugm
+   GuiName  "Adobe Garamond (Mathdesign)"
+   Family   rm
+   OsfOptionexpert
+   ScOption expert
+

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-08-20 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit c235e733017245b8366ccf53957fc46a2cf62647
Merge: 1267319 2b98e7a
Author: Juergen Spitzmueller 
Date:   Mon Aug 20 09:32:04 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 12673191171cb1c8319aeb6ff5c93ff88bce4d18
Author: Juergen Spitzmueller 
Date:   Mon Aug 20 08:52:42 2012 +0200

The tipa tone macro requires the tone package from the tipa bundle

diff --git a/lib/chkconfig.ltx b/lib/chkconfig.ltx
index 12744c6..8fe2f40 100644
--- a/lib/chkconfig.ltx
+++ b/lib/chkconfig.ltx
@@ -376,6 +376,7 @@
 \TestPackage{tgtermes}
 \TestPackage{tipa}
 \TestPackage{tipx}
+\TestPackage{tone}
 \TestPackage{txfonts}% For the txtt monospaced font
 % necessary to get correct size for InstantPreview images created by dvipng
 \TestPackage[c70fs.fd]{zhmetrics}
diff --git a/lib/unicodesymbols b/lib/unicodesymbols
index ca6dc40..51f9748 100644
--- a/lib/unicodesymbols
+++ b/lib/unicodesymbols
@@ -631,11 +631,11 @@
 0x02e2 "\\textsuperscript{s}" "" "" # MODIFIER LETTER SMALL S
 0x02e3 "\\textsuperscript{x}" "" "" # MODIFIER LETTER SMALL X
 0x02e4 "\\textsuperscript{\\textrevglotstop}" "tipa" "force" # MODIFIER LETTER 
SMALL REVERSED GLOTTAL STOP
-0x02e5 "\\tone{55}"   "tipa" "force" # MODIFIER LETTER EXTRA-HIGH 
TONE BAR
-0x02e6 "\\tone{44}"   "tipa" "force" # MODIFIER LETTER HIGH TONE 
BAR
-0x02e7 "\\tone{33}"   "tipa" "force" # MODIFIER LETTER MID TONE BAR
-0x02e8 "\\tone{22}"   "tipa" "force" # MODIFIER LETTER LOW TONE BAR
-0x02e9 "\\tone{11}"   "tipa" "force" # MODIFIER LETTER EXTRA-LOW 
TONE BAR
+0x02e5 "\\tone{55}"   "tone" "force" # MODIFIER LETTER EXTRA-HIGH 
TONE BAR
+0x02e6 "\\tone{44}"   "tone" "force" # MODIFIER LETTER HIGH TONE 
BAR
+0x02e7 "\\tone{33}"   "tone" "force" # MODIFIER LETTER MID TONE BAR
+0x02e8 "\\tone{22}"   "tone" "force" # MODIFIER LETTER LOW TONE BAR
+0x02e9 "\\tone{11}"   "tone" "force" # MODIFIER LETTER EXTRA-LOW 
TONE BAR
 #0x02ea "" "" "" # MODIFIER LETTER YIN DEPARTING TONE 
MARK
 #0x02eb "" "" "" # MODIFIER LETTER YANG DEPARTING TONE 
MARK
 0x02ec "\\textsubwedge{ }""tipa" "force" # MODIFIER LETTER VOICING
diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index b25332f..6b4f4b3 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -621,6 +621,7 @@ char const * simplefeatures[] = {
"units",
"tipa",
"tipx",
+   "tone",
"framed",
"soul",
"textcomp",

---

Summary of changes:
 lib/chkconfig.ltx |1 +
 lib/unicodesymbols|   10 +-
 src/LaTeXFeatures.cpp |1 +
 3 files changed, 7 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-08-20 Thread Jean-Marc Lasgouttes
The branch, master, has been updated.

- Log -

commit 3a99e351d9f2678b0d8274ae7c03a73f6bea03eb
Merge: 6a936d6 c235e73
Author: Jean-Marc Lasgouttes 
Date:   Mon Aug 20 17:39:25 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 6a936d63d3be55a9a553b252e51f773749777e44
Author: Jean-Marc Lasgouttes 
Date:   Mon Aug 20 17:20:59 2012 +0200

Fix crash with undo in nested insets introduced by commit 6ec1683

The code in DocIterator::sanitize now follows more closely the
previous StableDocIterator::asDocIterator code. In particular, it adds
the slices one by one, since fixIfBroken will chop the cursor
otherwise.

diff --git a/src/DocIterator.cpp b/src/DocIterator.cpp
index 5cd1c0e..420c782 100644
--- a/src/DocIterator.cpp
+++ b/src/DocIterator.cpp
@@ -532,12 +532,14 @@ bool DocIterator::fixIfBroken()
 
 void DocIterator::sanitize()
 {
-   // this function re-creates the cache of inset pointers
-   //lyxerr << "converting:\n" << *this << endl;
+   // keep a copy of the slices
+   vector const sl = slices_;
+   slices_.clear();
if (buffer_)
inset_ = &buffer_->inset();
Inset * inset = inset_;
-   for (size_t i = 0, n = slices_.size(); i != n; ++i) {
+   // re-add the slices one by one, and adjust the inset pointer.
+   for (size_t i = 0, n = sl.size(); i != n; ++i) {
if (inset == 0) {
// FIXME
LYXERR0(" Should not happen, but does e.g. after "
@@ -548,14 +550,13 @@ void DocIterator::sanitize()
fixIfBroken();
break;
}
-   slices_[i].inset_ = inset;
+   push_back(sl[i]);
+   top().inset_ = inset;
if (fixIfBroken())
break;
if (i + 1 != n)
-   inset = slices_[i].inset().inMathed() ? 
slices_[i].cell()[slices_[i].pos()].nucleus() 
-   : slices_[i].paragraph().getInset(pos());
+   inset = nextInset();
}
-   //lyxerr << "convert:\n" << *this << " to:\n" << dit << endl;
 }
 
 
@@ -626,7 +627,7 @@ StableDocIterator::StableDocIterator(DocIterator const & 
dit)
 
 DocIterator StableDocIterator::asDocIterator(Buffer * buf) const
 {
-   DocIterator dit = DocIterator(buf);
+   DocIterator dit(buf);
dit.slices_ = data_;
dit.sanitize();
return dit;

---

Summary of changes:
 src/DocIterator.cpp |   17 +
 1 files changed, 9 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-08-25 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 56e6549b11bbba857fba1fe620b589b9b923d456
Merge: 719ec62 4dd86ad
Author: Juergen Spitzmueller 
Date:   Sat Aug 25 10:49:08 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 719ec62e28ee9ec6caaab5f0e89a62a180f45524
Author: Juergen Spitzmueller 
Date:   Sat Aug 25 10:48:37 2012 +0200

Fix thinkos in LaTeX font reading

diff --git a/src/LaTeXFonts.cpp b/src/LaTeXFonts.cpp
index b165258..b603f81 100644
--- a/src/LaTeXFonts.cpp
+++ b/src/LaTeXFonts.cpp
@@ -394,8 +394,14 @@ LaTeXFonts::TexFontMap LaTeXFonts::getLaTeXFonts()
 
 LaTeXFont LaTeXFonts::getLaTeXFont(docstring const & name)
 {
+   if (name == "default")
+   return LaTeXFont();
if (texfontmap_.empty())
readLaTeXFonts();
+   if (texfontmap_.find(name) == texfontmap_.end()) {
+   LYXERR0("LaTeXFonts::getLaTeXFont: font '" << name << "' not 
found!");
+   return LaTeXFont();
+   }
return texfontmap_[name];
 }
 
diff --git a/src/frontends/qt4/GuiDocument.cpp 
b/src/frontends/qt4/GuiDocument.cpp
index ee39809..6ccc86e 100644
--- a/src/frontends/qt4/GuiDocument.cpp
+++ b/src/frontends/qt4/GuiDocument.cpp
@@ -1840,8 +1840,10 @@ void GuiDocument::updateTexFonts()
LaTeXFonts::TexFontMap::const_iterator end = texfontmap.end();
for (; it != end; ++it) {
LaTeXFont lf = it->second;
-   if (lf.name().empty())
-   return;
+   if (lf.name().empty()) {
+   LYXERR0("Error: Unnamed font: " << it->first);
+   continue;
+   }
docstring const family = lf.family();
docstring guiname = translateIfPossible(lf.guiname());
if (!lf.available(ot1()))

---

Summary of changes:
 src/LaTeXFonts.cpp|6 ++
 src/frontends/qt4/GuiDocument.cpp |6 --
 2 files changed, 10 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-09-17 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit f5b4cd90a3bf56db48aa81e32c66c46907591f20
Merge: 6bf00d9 538570a
Author: Juergen Spitzmueller 
Date:   Mon Sep 17 11:36:47 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 6bf00d9feddbd41a776b6b8a1f3a1278413b1cbe
Author: Juergen Spitzmueller 
Date:   Mon Sep 17 11:36:29 2012 +0200

rc.preview and rc.display_graphics are completely unrelated (bug 7562)

diff --git a/src/frontends/qt4/GuiPrefs.cpp b/src/frontends/qt4/GuiPrefs.cpp
index 5fa14c7..d377084 100644
--- a/src/frontends/qt4/GuiPrefs.cpp
+++ b/src/frontends/qt4/GuiPrefs.cpp
@@ -1243,13 +1243,6 @@ void 
PrefDisplay::on_instantPreviewCO_currentIndexChanged(int index)
 }
 
 
-void PrefDisplay::on_displayGraphicsCB_toggled(bool on)
-{
-   instantPreviewCO->setEnabled(on);
-   previewSizeSB->setEnabled(on && instantPreviewCO->currentIndex() > 0);
-}
-
-
 void PrefDisplay::apply(LyXRC & rc) const
 {
switch (instantPreviewCO->currentIndex()) {
@@ -1293,7 +1286,6 @@ void PrefDisplay::update(LyXRC const & rc)
}
 
displayGraphicsCB->setChecked(rc.display_graphics);
-   instantPreviewCO->setEnabled(rc.display_graphics);
previewSizeSB->setValue(rc.preview_scale_factor);
paragraphMarkerCB->setChecked(rc.paragraph_markers);
previewSizeSB->setEnabled(
diff --git a/src/frontends/qt4/GuiPrefs.h b/src/frontends/qt4/GuiPrefs.h
index 8d90280..9cb96bc 100644
--- a/src/frontends/qt4/GuiPrefs.h
+++ b/src/frontends/qt4/GuiPrefs.h
@@ -276,7 +276,6 @@ public:
 
 private Q_SLOTS:
void on_instantPreviewCO_currentIndexChanged(int);
-   void on_displayGraphicsCB_toggled(bool);
 };
 
 

---

Summary of changes:
 src/frontends/qt4/GuiPrefs.cpp |8 
 src/frontends/qt4/GuiPrefs.h   |1 -
 2 files changed, 0 insertions(+), 9 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-09-25 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 061924e2758fc43aed4b94ee2027026997343a51
Merge: 04618bc 7c82605
Author: Juergen Spitzmueller 
Date:   Tue Sep 25 15:56:36 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 04618bc07049b723654a08c0cec990028180c67f
Author: Juergen Spitzmueller 
Date:   Tue Sep 25 15:56:18 2012 +0200

Fix LyXBlogger entry

diff --git a/lib/configure.py b/lib/configure.py
index 168b379..5956771 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -714,7 +714,7 @@ def checkConverterEntries():
 # Check if LyXBlogger is installed
 lyxblogger_found = checkModule('lyxblogger')
 if lyxblogger_found:
-  addToRC(r'\Formatblog   blog   "LyXBlogger"   "" "" 
""  "document"')
+  addToRC(r'\Formatblog   blog   "LyXBlogger"   "" "" 
""  "document"  ""')
   addToRC(r'\converter xhtml  blog   "python -m lyxblogger $$i"
   ""')
 
 #

---

Summary of changes:
 lib/configure.py |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-09-25 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit f3ff5e083a6e89861db5fce9eea4532504f8341d
Merge: 4df9eb3 e0787e8
Author: Juergen Spitzmueller 
Date:   Tue Sep 25 17:01:39 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 4df9eb36a05c037bb4b191677de3a348d45456a4
Author: Juergen Spitzmueller 
Date:   Tue Sep 25 17:01:23 2012 +0200

Remove annoying warning

diff --git a/lib/scripts/lyxpreview2bitmap.py b/lib/scripts/lyxpreview2bitmap.py
index 09ac3a9..71849ce 100755
--- a/lib/scripts/lyxpreview2bitmap.py
+++ b/lib/scripts/lyxpreview2bitmap.py
@@ -367,8 +367,7 @@ def main(argv):
 progress("Altering the latex file for font size and colors")
 
 # Omit font size specification in latex file.
-if not fix_latex_file(latex_file):
-warning("Unable to remove font size from the latex file")
+fix_latex_file(latex_file)
 
 if lilypond:
 progress("Preprocess the latex file through %s" % lilypond_book)

---

Summary of changes:
 lib/scripts/lyxpreview2bitmap.py |3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-09-30 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit de45075defffd47a59f211c22db9100419f98162
Merge: 4ed535d 31c7ccd
Author: Uwe Stöhr 
Date:   Mon Oct 1 01:43:06 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 4ed535df5245c2aab3f4d5b51313646221285e16
Author: Uwe Stöhr 
Date:   Mon Oct 1 01:42:56 2012 +0200

UserGuide.lyx: mention new feature "spell check of current selection"

the new feature: re35d7a0f

diff --git a/lib/doc/UserGuide.lyx b/lib/doc/UserGuide.lyx
index 08c04aa..286b930 100644
--- a/lib/doc/UserGuide.lyx
+++ b/lib/doc/UserGuide.lyx
@@ -31809,7 +31809,8 @@ type  "icon"
 arg   "dialog-show spellchecker"
 \end_inset
 
- starts the spell checking beginning from the current cursor position.
+ starts the spell checking from either the current cursor position or the
+ beginning of the currently selected text.
  A sidebar will appear showing any incorrect (or unknown) word found, allowing
  you to edit and replace it in a second line.
  Whenever an unknown word is found, the word is highlighted and the text
diff --git a/lib/doc/de/UserGuide.lyx b/lib/doc/de/UserGuide.lyx
index 05678f9..5ee6e8c 100644
--- a/lib/doc/de/UserGuide.lyx
+++ b/lib/doc/de/UserGuide.lyx
@@ -32730,7 +32730,8 @@ arg   "dialog-show spellchecker"
 \end_inset
 
  starten.
- Die Prüfung beginnt an der Cursorposition.
+ Die Prüfung beginnt entweder an der aktuellen Cursorposition oder dem Beginn
+ des momentan markierten Textabschnitts.
  Eine Seitenleiste erscheint und zeigt jedes falsche (oder unbekannte) 
gefundene
  Wort an und erlaubt es diese zu korrigieren.
  Wenn ein unbekanntes Wort gefunden wird, wird das Wort markiert und der
diff --git a/lib/doc/es/UserGuide.lyx b/lib/doc/es/UserGuide.lyx
index 1468262..151c25b 100644
--- a/lib/doc/es/UserGuide.lyx
+++ b/lib/doc/es/UserGuide.lyx
@@ -32135,7 +32135,11 @@ type  "icon"
 arg   "dialog-show spellchecker"
 \end_inset
 
- inicia la revisión a partir de la posición del cursor.
+ inicia la revisión o a partir de la posición del cursor o a la 
+\lang english
+beginning of the currently selected text
+\lang spanish
+.
  Se muestra una ventana en la que aparece un cuadro con cualquier palabra
  incorrecta o desconocida, que puedes reemplazar en el cuadro siguiente.
  Siempre que se encuentra una palabra incorrecta el texto se desplaza hasta
diff --git a/lib/doc/fr/UserGuide.lyx b/lib/doc/fr/UserGuide.lyx
index d373432..84a823c 100644
--- a/lib/doc/fr/UserGuide.lyx
+++ b/lib/doc/fr/UserGuide.lyx
@@ -33154,168 +33154,63 @@ name "sec:Correcteur-Orthographique"
 \end_layout
 
 \begin_layout Standard
-LyX n'a pas lui-même de correcteur orthographique incorporé.
- Il utilise plutôt un programme extérieur comme 
-\family typewriter
-aspell
-\family default
-, 
-\family typewriter
-ispell
-\family default
-, 
-\family typewriter
-hspell
-\family default
-, ou encore 
-\family typewriter
-pspell
-\family default
-.
- Cette section suppose que vous avez déjà installé et configuré un de ces
- programmes.
- 
-\family typewriter
-aspell
-\family default
- peut être considéré comme le successeur de
-\family typewriter
- ispell
-\family default
-, il est donc préférable d'utiliser 
-\family typewriter
-aspell
-\family default
-.
- 
-\family typewriter
-hspell
-\family default
- est un correcteur orthographique en Hébreu.
- Le correcteur orthographique utilisé et ses paramètres sont modifiés dans
- le menu 
-\family sans
-Outils\SpecialChar \menuseparator
-Préférences
-\family default
- dans la rubrique 
-\family sans
-Paramètres
-\begin_inset space ~
-\end_inset
-
-de
-\begin_inset space ~
-\end_inset
-
-langue
-\family default
-.
- 
-\end_layout
-
-\begin_layout Standard
-Avec LyX pour Windows, la case de sélection pour le programme de correction
- orthographique est désactivée puisque seul 
-\family typewriter
-aspell
-\family default
- peut être utilisé.
-\end_layout
 
-\begin_layout Standard
-LyX est doté d'un correcteur orthographique intégré.
- On appelle le correcteur orthographique à partir de la position courante
- du curseur, soit en activant le menu
+\lang english
+LyX has a built-in spell checker.
+ The menu
 \family sans
- Outils\SpecialChar \menuseparator
+ 
+\lang french
+Outils\SpecialChar \menuseparator
 Correcteur
 \begin_inset space ~
 \end_inset
 
 orthographique
 \family default
-, soit en cliquant sur le bouton 
+\lang english
+, the key 
+\family sans
+F7
+\family default
+ or the toolbar button 
 \begin_inset Info
 type  "icon"
 arg   "dialog-show spellchecker"
 \end_inset
 
- de la barre d'outils, soit encore en utilisant le raccourci clavier 
+ starts the spell checking beginning from either the current cursor position
+ or the beginning of the currently selected text.
+ A sidebar will appear showing any incorrect (or unknown) word found, allowing
+ you to edit and replace it in a second line.
+ Whenever an unknown word is found, the word 

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-01 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit dbb1ac30e9a87007af7c53f0f93ec9e21826f90b
Merge: f881835 7da8d99
Author: Juergen Spitzmueller 
Date:   Mon Oct 1 12:37:33 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit f881835da210fa98d822010c3c9afae4d65d5572
Author: Juergen Spitzmueller 
Date:   Mon Oct 1 12:37:16 2012 +0200

Ask for saving changes when branch state in child was altered

diff --git a/src/insets/InsetBranch.cpp b/src/insets/InsetBranch.cpp
index e966de2..db047c2 100644
--- a/src/insets/InsetBranch.cpp
+++ b/src/insets/InsetBranch.cpp
@@ -33,6 +33,7 @@
 #include "support/gettext.h"
 #include "support/lstrings.h"
 
+#include "frontends/alert.h"
 #include "frontends/Application.h"
 
 #include 
@@ -159,10 +160,19 @@ void InsetBranch::doDispatch(Cursor & cur, FuncRequest & 
cmd)
// call recordUndo..., because the master may be 
hidden, and
// the code presently assumes that hidden documents can 
never
// be dirty. See GuiView::closeBufferAll(), for example.
+   // An option would be to check if the master is hidden.
+   // If it is, unhide.
if (!master)
buffer().undo().recordUndoFullDocument(cur);
+   else
+   // at least issue a warning for now (ugly, but 
better than dataloss).
+   frontend::Alert::warning(_("Branch state 
changes in master document"),
+   lyx::support::bformat(_("The state of the 
branch '%1$s' "
+   "was changed in the master file. "
+   "Please make sure to save the 
master."), params_.branch), true);
our_branch->setSelected(activate);
-   cur.forceBufferUpdate();
+   // cur.forceBufferUpdate() is not enough
+   buf->updateBuffer();
}
break;
}

---

Summary of changes:
 src/insets/InsetBranch.cpp |   12 +++-
 1 files changed, 11 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-05 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 08157b5050bb3cc5d9d5dac7c963763685e06ba9
Merge: 2fa840b 4729b1c
Author: Juergen Spitzmueller 
Date:   Fri Oct 5 10:00:13 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 2fa840b7716f5907362a1457b5ed189e675cfb57
Author: Juergen Spitzmueller 
Date:   Fri Oct 5 09:59:44 2012 +0200

Do not let the children's buffer params leak into the master (#5941)

diff --git a/src/Buffer.cpp b/src/Buffer.cpp
index 2c18655..b0db5c7 100644
--- a/src/Buffer.cpp
+++ b/src/Buffer.cpp
@@ -1922,7 +1922,11 @@ int Buffer::runChktex()
 
 void Buffer::validate(LaTeXFeatures & features) const
 {
-   params().validate(features);
+   // Validate the buffer params, but not for included
+   // files, since they also use the parent buffer's
+   // params (# 5941)
+   if (!features.runparams().is_child)
+   params().validate(features);
 
for_each(paragraphs().begin(), paragraphs().end(),
 bind(&Paragraph::validate, _1, ref(features)));
diff --git a/src/insets/InsetInclude.cpp b/src/insets/InsetInclude.cpp
index 2a6f92b..2c0c412 100644
--- a/src/insets/InsetInclude.cpp
+++ b/src/insets/InsetInclude.cpp
@@ -934,7 +934,9 @@ void InsetInclude::validate(LaTeXFeatures & features) const
// otherwise it would always be the master buffer,
// and nested includes would not work.
features.setBuffer(*tmp);
+   features.runparams().is_child = true;
tmp->validate(features);
+   features.runparams().is_child = false;
features.setBuffer(buffer());
}
}

---

Summary of changes:
 src/Buffer.cpp  |6 +-
 src/insets/InsetInclude.cpp |2 ++
 2 files changed, 7 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-06 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 2801f40ad2a5de39b1a9815c5b2cd7531a9ad2f3
Merge: 3a79273 23d7d64
Author: Juergen Spitzmueller 
Date:   Sat Oct 6 12:10:39 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 3a792732cbd51197e2d2e85267d0e5548d85402a
Author: Juergen Spitzmueller 
Date:   Sat Oct 6 12:10:21 2012 +0200

de.po: update

diff --git a/po/de.po b/po/de.po
index 25015cd..453bb19 100644
--- a/po/de.po
+++ b/po/de.po
@@ -95,8 +95,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LyX 2.1\n"
 "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n"
-"POT-Creation-Date: 2012-09-30 10:42+0200\n"
-"PO-Revision-Date: 2012-09-30 10:53+0200\n"
+"POT-Creation-Date: 2012-10-06 11:55+0200\n"
+"PO-Revision-Date: 2012-10-06 12:05+0200\n"
 "Last-Translator: Jürgen Spitzmüller \n"
 "Language-Team: German \n"
 "Language: de\n"
@@ -465,7 +465,7 @@ msgstr "&Übernehmen"
 
 #: src/frontends/qt4/ui/InsetParamsUi.ui:138
 #: src/frontends/qt4/ui/WrapUi.ui:173 src/frontends/qt4/ui/ThesaurusUi.ui:138
-#: src/frontends/qt4/ui/ParagraphUi.ui:260 src/frontends/qt4/ui/AboutUi.ui:131
+#: src/frontends/qt4/ui/ParagraphUi.ui:260 src/frontends/qt4/ui/AboutUi.ui:134
 #: src/frontends/qt4/ui/ShowFileUi.ui:55 src/frontends/qt4/ui/SymbolsUi.ui:66
 #: src/frontends/qt4/ui/ExternalUi.ui:608 src/frontends/qt4/ui/PrefsUi.ui:90
 #: src/frontends/qt4/ui/DelimiterUi.ui:286
@@ -1250,7 +1250,7 @@ msgstr "Zeilen&abstand"
 #: src/frontends/qt4/GuiListings.cpp:152 src/frontends/qt4/GuiListings.cpp:159
 #: src/frontends/qt4/GuiPrefs.cpp:2290 src/frontends/qt4/GuiPrefs.cpp:2551
 #: src/frontends/qt4/GuiPrintNomencl.cpp:47
-#: src/frontends/qt4/GuiViewSource.cpp:198
+#: src/frontends/qt4/GuiViewSource.cpp:203
 msgid "Default"
 msgstr "Standard"
 
@@ -1306,11 +1306,11 @@ msgstr "Version"
 msgid "Version goes here"
 msgstr "Version kommt hierher"
 
-#: src/frontends/qt4/ui/AboutUi.ui:64
+#: src/frontends/qt4/ui/AboutUi.ui:67
 msgid "Credits"
 msgstr "Mitwirkende"
 
-#: src/frontends/qt4/ui/AboutUi.ui:80 lib/layouts/apa.layout:192
+#: src/frontends/qt4/ui/AboutUi.ui:83 lib/layouts/apa.layout:192
 #: lib/layouts/agu_stdtitle.inc:81
 msgid "Copyright"
 msgstr "Urheberrecht"
@@ -1750,8 +1750,8 @@ msgstr "A&lle hinzufügen"
 #: src/frontends/qt4/ui/CompareHistoryUi.ui:205
 #: src/frontends/qt4/ui/IndexUi.ui:78 src/frontends/qt4/ui/ListingsUi.ui:559
 #: src/frontends/qt4/ui/DocumentUi.ui:84
-#: src/frontends/qt4/ui/CitationUi.ui:220 src/Buffer.cpp:1169
-#: src/Buffer.cpp:2476 src/Buffer.cpp:3982 src/Buffer.cpp:4045
+#: src/frontends/qt4/ui/CitationUi.ui:220 src/Buffer.cpp:1176
+#: src/Buffer.cpp:2489 src/Buffer.cpp:4009 src/Buffer.cpp:4072
 #: src/LyXVC.cpp:89 src/LyXVC.cpp:224 src/frontends/qt4/GuiBranches.cpp:219
 #: src/frontends/qt4/GuiClipboard.cpp:242
 #: src/frontends/qt4/GuiDocument.cpp:2066
@@ -3192,8 +3192,8 @@ msgid "Remove the selected branch"
 msgstr "Den ausgewählten Zweig entfernen"
 
 #: src/frontends/qt4/ui/BranchesUi.ui:136
-#: src/frontends/qt4/ui/IndicesUi.ui:165 src/Buffer.cpp:4007
-#: src/Buffer.cpp:4020
+#: src/frontends/qt4/ui/IndicesUi.ui:165 src/Buffer.cpp:4034
+#: src/Buffer.cpp:4047
 msgid "&Remove"
 msgstr "&Entfernen"
 
@@ -3330,14 +3330,22 @@ msgstr "Nur Vorspann"
 msgid "Body Only"
 msgstr "Nur Haupttext"
 
-#: src/frontends/qt4/ui/ViewSourceUi.ui:82 src/frontends/qt4/ui/RefUi.ui:294
-#: src/frontends/qt4/ui/LogUi.ui:77
-msgid "&Update"
-msgstr "A&ktualisieren"
+#: src/frontends/qt4/ui/ViewSourceUi.ui:79
+msgid "&Master's perspective"
+msgstr "Sicht des &Hauptdokuments"
+
+#: src/frontends/qt4/ui/ViewSourceUi.ui:82
+msgid "Show the source as the master document gets it"
+msgstr "Die Quelle so zeigen, wie sie für das Hauptdokument ausgegeben wird"
 
 #: src/frontends/qt4/ui/ViewSourceUi.ui:89
 msgid "Automatic update"
-msgstr "Automatische Aktualisierung"
+msgstr "&Automatische Aktualisierung"
+
+#: src/frontends/qt4/ui/ViewSourceUi.ui:102 src/frontends/qt4/ui/RefUi.ui:294
+#: src/frontends/qt4/ui/LogUi.ui:77
+msgid "&Update"
+msgstr "A&ktualisieren"
 
 #: src/frontends/qt4/ui/IncludeUi.ui:36
 msgid "Listing Parameters"
@@ -3403,8 +3411,8 @@ msgstr "Input"
 msgid "Verbatim"
 msgstr "Unformatiert"
 
-#: src/frontends/qt4/ui/IncludeUi.ui:308 src/insets/InsetInclude.cpp:1161
-#: src/insets/InsetInclude.cpp:1167
+#: src/frontends/qt4/ui/IncludeUi.ui:308 src/insets/InsetInclude.cpp:1165
+#: src/insets/InsetInclude.cpp:1171
 msgid "Program Listing"
 msgstr "Programmlisting"
 
@@ -12504,17 +12512,17 @@ msgid "Redo|R"
 msgstr "Wiederholen|W"
 
 #: lib/ui/stdmenus.inc:103 lib/ui/stdcontext.inc:293 lib/ui/stdtoolbars.inc:80
-#: src/Text3.cpp:1280 src/mathed/InsetMathNest.cpp:596
+#: src/Text3.cpp:1285 src/mathed/InsetMathNest.cpp:596
 msgid "Cut"
 msgstr "Ausschneiden"
 
 #: lib/ui/stdmenus.inc:104 lib/ui/stdcontext.inc:294 lib/ui/stdtoolbars.inc:81
-#: src/Text3.cpp:1285 src/mathed/InsetMathNest.cpp:605
+#: src/Text3.cpp:1290 src/mathed/InsetM

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-08 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 43583e3ba6f4a366a16e682e97caf57821888427
Merge: 04d39dd 51cc826
Author: Juergen Spitzmueller 
Date:   Mon Oct 8 17:04:34 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 04d39dd5be73e6b6ca83dd9487cdbc118c4a1f29
Author: Juergen Spitzmueller 
Date:   Mon Oct 8 17:02:10 2012 +0200

Proper string translation

diff --git a/src/frontends/qt4/LayoutBox.cpp b/src/frontends/qt4/LayoutBox.cpp
index a1514c1..9460427 100644
--- a/src/frontends/qt4/LayoutBox.cpp
+++ b/src/frontends/qt4/LayoutBox.cpp
@@ -569,9 +569,9 @@ void LayoutBox::addItemSort(docstring const & item, 
docstring const & category,
bool sorted, bool sortedByCat, bool unknown)
 {
QString qitem = toqstr(item);
-   // FIXME This is wrong for RTL, I'd suppose.
-   QString titem = toqstr(translateIfPossible(item) +
-  (unknown ? _(" (unknown)") : from_ascii("")));
+   docstring const loc_item = translateIfPossible(item);
+   QString titem = unknown ? toqstr(bformat(_("%1$s (unknown)"), loc_item))
+   : toqstr(loc_item);
QString qcat = toqstr(translateIfPossible(category));
 
QList row;

---

Summary of changes:
 src/frontends/qt4/LayoutBox.cpp |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-09 Thread Kornel Benko
The branch, master, has been updated.

- Log -

commit df880b8e924900c388ca856f5b2c5475ee1f8e9a
Merge: 280b1ca 7c8f4d5
Author: Kornel Benko 
Date:   Tue Oct 9 13:24:39 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 280b1ca76445a97b7192593689de38a8a5db9fd0
Author: Kornel Benko 
Date:   Tue Oct 9 13:24:09 2012 +0200

* sk.po

diff --git a/po/sk.po b/po/sk.po
index aba71fa..9ab7854 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -8,8 +8,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LyX-2.1\n"
 "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n"
-"POT-Creation-Date: 2012-10-08 19:42+0200\n"
-"PO-Revision-Date: 2012-10-07 19:17+0200\n"
+"POT-Creation-Date: 2012-10-09 11:04+0200\n"
+"PO-Revision-Date: 2012-10-09 12:48+0200\n"
 "Last-Translator: Kornel Benko \n"
 "Language-Team: Slovak \n"
 "Language: sk\n"
@@ -5106,6 +5106,42 @@ msgstr "Povoľuje premenlivé umiestnenie"
 msgid "Allow &floating"
 msgstr "U&možni plávajúce objekty"
 
+#: lib/layouts/AEA.layout:3
+msgid "American Economic Association (AEA)"
+msgstr "American Economic Association (AEA)"
+
+#: lib/layouts/AEA.layout:4 lib/layouts/IEEEtran.layout:4
+#: lib/layouts/aa.layout:4 lib/layouts/aapaper.layout:4
+#: lib/layouts/aastex.layout:4 lib/layouts/achemso.layout:4
+#: lib/layouts/acmsiggraph.layout:4 lib/layouts/agums.layout:4
+#: lib/layouts/agutex.layout:4 lib/layouts/amsart.layout:4
+#: lib/layouts/apa.layout:4 lib/layouts/arab-article.layout:4
+#: lib/layouts/article-beamer.layout:4 lib/layouts/article.layout:4
+#: lib/layouts/chess.layout:4 lib/layouts/cl2emult.layout:4
+#: lib/layouts/ctex-article.layout:4 lib/layouts/doublecol-new.layout:4
+#: lib/layouts/dtk.layout:4 lib/layouts/ectaart.layout:4
+#: lib/layouts/egs.layout:4 lib/layouts/elsart.layout:4
+#: lib/layouts/elsarticle.layout:4 lib/layouts/entcs.layout:4
+#: lib/layouts/extarticle.layout:4 lib/layouts/heb-article.layout:4
+#: lib/layouts/ijmpc.layout:4 lib/layouts/ijmpd.layout:4
+#: lib/layouts/iopart.layout:4 lib/layouts/isprs.layout:4
+#: lib/layouts/jarticle.layout:4 lib/layouts/jasatex.layout:4
+#: lib/layouts/jgrga.layout:4 lib/layouts/jsarticle.layout:4
+#: lib/layouts/jss.layout:4 lib/layouts/kluwer.layout:4
+#: lib/layouts/latex8.layout:4 lib/layouts/literate-article.layout:4
+#: lib/layouts/llncs.layout:4 lib/layouts/ltugboat.layout:4
+#: lib/layouts/mwart.layout:4 lib/layouts/paper.layout:4
+#: lib/layouts/revtex.layout:4 lib/layouts/revtex4-1.layout:4
+#: lib/layouts/revtex4.layout:4 lib/layouts/scrartcl.layout:4
+#: lib/layouts/scrarticle-beamer.layout:4 lib/layouts/siamltex.layout:4
+#: lib/layouts/sigplanconf.layout:4 lib/layouts/singlecol-new.layout:4
+#: lib/layouts/singlecol.layout:4 lib/layouts/spie.layout:4
+#: lib/layouts/svglobal.layout:4 lib/layouts/svglobal3.layout:4
+#: lib/layouts/svjog.layout:4 lib/layouts/svprobth.layout:4
+#: lib/layouts/tarticle.layout:4
+msgid "Articles"
+msgstr "Články"
+
 #: lib/layouts/AEA.layout:55 lib/layouts/apa.layout:92
 msgid "ShortTitle"
 msgstr "KrátkyTitul"
@@ -5651,6 +5687,10 @@ msgstr "Popis: "
 msgid "Proof"
 msgstr "Dôkaz"
 
+#: lib/layouts/IEEEtran.layout:3
+msgid "IEEE Transactions"
+msgstr "IEEE Transactions"
+
 #: lib/layouts/IEEEtran.layout:34 lib/layouts/aa.layout:27
 #: lib/layouts/aapaper.layout:34 lib/layouts/aastex.layout:52
 #: lib/layouts/achemso.layout:32 lib/layouts/acmsiggraph.layout:34
@@ -5886,6 +5926,10 @@ msgstr "ŽivotopisBezFotky"
 msgid "Proof."
 msgstr "Dôkaz."
 
+#: lib/layouts/aa.layout:3
+msgid "Astronomy & Astrophysics"
+msgstr "Astronomy & Astrophysics"
+
 #: lib/layouts/aa.layout:42 lib/layouts/aa.layout:229
 #: lib/layouts/aapaper.layout:64 lib/layouts/aapaper.layout:137
 #: lib/layouts/aastex.layout:67 lib/layouts/aastex.layout:177
@@ -6099,11 +6143,19 @@ msgstr "E-mail"
 msgid "email"
 msgstr "E-mail"
 
+#: lib/layouts/aapaper.layout:3 lib/layouts/aapaper.layout:14
+msgid "Astronomy & Astrophysics (V. 4, Obsolete)"
+msgstr "Astronomy & Astrophysics (V. 4, zastaralé)"
+
 #: lib/layouts/aapaper.layout:94 lib/layouts/aapaper.inc:103
 #: lib/ui/stdtoolbars.inc:139 src/frontends/qt4/GuiThesaurus.cpp:46
 msgid "Thesaurus"
 msgstr "Tezaurus"
 
+#: lib/layouts/aastex.layout:3
+msgid "American Astronomical Society (AASTeX)"
+msgstr "American Astronomical Society (AASTeX)"
+
 #: lib/layouts/aastex.layout:79 lib/layouts/agutex.layout:149
 #: lib/layouts/amsbook.layout:126 lib/layouts/apa.layout:341
 #: lib/layouts/egs.layout:71 lib/layouts/kluwer.layout:89
@@ -6264,6 +6316,10 @@ msgstr "Obj:"
 msgid "Dataset:"
 msgstr "Dataset:"
 
+#: lib/layouts/achemso.layout:3
+msgid "American Chemical Society (ACS)"
+msgstr "American Chemical Society (ACS)"
+
 #: lib/layouts/achemso.layout:100
 msgid "Alt Affiliation"
 msgstr "Alternatívne Príslušenstvo"
@@ -6323,6 +6379,10 @@ msgstr "Chemistry"
 msgid "chemistry"
 msgstr "chemistry"
 
+#: lib/layouts/acmsiggraph.layout:3
+msgid "ACM SIGGRAPH"
+msgstr "ACM SIGGRAPH"
+
 #: lib

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-09 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 9a0f82d44141e63ff9818a9a1e426ea3e232
Merge: c851350 df880b8
Author: Juergen Spitzmueller 
Date:   Tue Oct 9 16:13:00 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit c85135090e230c046851603c372b3ad0fd47a788
Author: Juergen Spitzmueller 
Date:   Tue Oct 9 16:12:32 2012 +0200

Stick to bformat

diff --git a/src/frontends/qt4/CategorizedCombo.cpp 
b/src/frontends/qt4/CategorizedCombo.cpp
index d4410cf..878d277 100644
--- a/src/frontends/qt4/CategorizedCombo.cpp
+++ b/src/frontends/qt4/CategorizedCombo.cpp
@@ -493,7 +493,9 @@ void CategorizedCombo::addItemSort(QString const & item, 
QString const & guiname
   bool sorted, bool sortedByCat, bool sortCats,
   bool available)
 {
-   QString titem = available ? guiname : qt_("Unavailable: 
%1").arg(guiname);
+   QString titem = available ? guiname
+ : toqstr(bformat(_("Unavailable: %1$s"),
+  qstring_to_ucs4(guiname)));
bool const uncategorized = category.isEmpty();
QString qcat = uncategorized ? qt_("Uncategorized") : category;
 

---

Summary of changes:
 src/frontends/qt4/CategorizedCombo.cpp |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-15 Thread Kornel Benko
The branch, master, has been updated.

- Log -

commit f2b2ed43ecfc403e17c80aa7899085f513271dc1
Merge: 419f32d e72c56d
Author: Kornel Benko 
Date:   Mon Oct 15 22:53:25 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 419f32df91d744378808afdf04bbe68cb8a11f9a
Author: Kornel Benko 
Date:   Mon Oct 15 22:50:39 2012 +0200

Cmake build:
Creating LYX_DATE dynamically at configure-time caused unwanted 
recompilation
of the whole directories (src + src/tex2lyx) because all the relevant 
objects
were dependent of a common file (flags.make in case of "Unix makefiles") 
which changed
accordingly.
There is now a new include (lyx_date.h, with only one definition)

Nothing changes for automake, since in this case LYX_DATE is defined in 
config.h

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00fe870..700ff04 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -673,6 +673,7 @@ else()
 endif()
 
 configure_file(${LYX_CMAKE_DIR}/config.h.cmake ${TOP_BINARY_DIR}/config.h)
+configure_file(${LYX_CMAKE_DIR}/lyx_date.h.cmake ${TOP_BINARY_DIR}/lyx_date.h)
 
 # Compute qt4-version from ${QTVERSION}
 if(QTVERSION MATCHES "^([0-9]+)\\.([0-9]+)\\.([0-9]+).*")
diff --git a/development/cmake/lyx_date.h.cmake 
b/development/cmake/lyx_date.h.cmake
new file mode 100644
index 000..ddbffea
--- /dev/null
+++ b/development/cmake/lyx_date.h.cmake
@@ -0,0 +1,18 @@
+/*
+ * \file config.h
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
+ *
+ * This is the compilation configuration file for LyX.
+ * It was generated by cmake.
+ * You might want to change some of the defaults if something goes wrong
+ * during the compilation.
+ */
+
+#ifndef _LYX_DATE_H
+#define _LYX_DATE_H
+
+#cmakedefine LYX_DATE "${LYX_DATE}"
+
+#endif
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 7f57845..5862136 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -31,8 +31,6 @@ list(REMOVE_ITEM lyx_sources
${TOP_SRC_DIR}/src/lyxinsets.cpp
${TOP_SRC_DIR}/src/lyxmathed.cpp)
 
-set_property(SOURCE "${TOP_SRC_DIR}/src/version.cpp" APPEND PROPERTY 
COMPILE_DEFINITIONS  LYX_DATE="${LYX_DATE}")
-
 list(REMOVE_ITEM lyx_headers
${TOP_SRC_DIR}/src/Variables.h
${TOP_SRC_DIR}/src/Section.h)
diff --git a/src/tex2lyx/CMakeLists.txt b/src/tex2lyx/CMakeLists.txt
index 4fa809a..1952a81 100644
--- a/src/tex2lyx/CMakeLists.txt
+++ b/src/tex2lyx/CMakeLists.txt
@@ -21,8 +21,6 @@ foreach(_src graphics/GraphicsParams insets/ExternalTemplate
list(APPEND LINKED_headers ${TOP_SRC_DIR}/src/${_src}.h)
 endforeach(_src)
 
-set_property(SOURCE "${TOP_SRC_DIR}/src/version.cpp" APPEND PROPERTY 
COMPILE_DEFINITIONS  LYX_DATE="${LYX_DATE}")
-
 file(GLOB tex2lyx_sources ${TOP_SRC_DIR}/src/tex2lyx/${LYX_CPP_FILES})
 
 file(GLOB tex2lyx_headers ${TOP_SRC_DIR}/src/tex2lyx/${LYX_HPP_FILES})
diff --git a/src/version.cpp b/src/version.cpp
index 2ae5992..1e4aa32 100644
--- a/src/version.cpp
+++ b/src/version.cpp
@@ -10,6 +10,9 @@
  */
 
 #include 
+#if ! defined(LYX_DATE)
+   #include 
+#endif
 
 ///
 extern char const * const lyx_version = PACKAGE_VERSION;

---

Summary of changes:
 CMakeLists.txt |1 +
 .../cmake/{config.cpp.cmake => lyx_date.h.cmake}   |   12 +---
 src/CMakeLists.txt |2 --
 src/tex2lyx/CMakeLists.txt |2 --
 src/version.cpp|3 +++
 5 files changed, 13 insertions(+), 7 deletions(-)
 copy development/cmake/{config.cpp.cmake => lyx_date.h.cmake} (66%)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-10-21 Thread Kornel Benko
The branch, master, has been updated.

- Log -

commit 485a20bee0b3dc31097d5a5016425d3d91f9c615
Merge: e94e9e4 db1c138
Author: Kornel Benko 
Date:   Sun Oct 21 19:20:04 2012 +0200

Merge branch 'master' of git.lyx.org:lyx


commit e94e9e415f4a6ea074ea8ee34deee57b2b5d4d17
Author: Kornel Benko 
Date:   Sun Oct 21 19:16:37 2012 +0200

Cmake build:
Recreate Resources.qrc at build-time if needed. (E.g. after `make clean')

diff --git a/development/cmake/modules/LyXMacros.cmake 
b/development/cmake/modules/LyXMacros.cmake
index 6514eb2..a137dc3 100644
--- a/development/cmake/modules/LyXMacros.cmake
+++ b/development/cmake/modules/LyXMacros.cmake
@@ -229,6 +229,11 @@ macro(lyx_qt_resources_file _qrc_name _to_dir _list)
file(APPEND  ${_qrc_name} "\n")
file(APPEND  ${_qrc_name} "\n")
endif()
+   add_custom_command(
+ OUTPUT ${_qrc_name}
+ COMMAND ${CMAKE_COMMAND} --build ${CMAKE_BINARY_DIR} --target 
rebuild_cache
+ )
+
 endmacro(lyx_qt_resources_file)
 
 

---

Summary of changes:
 development/cmake/modules/LyXMacros.cmake |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-11-20 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit aafd52f44167d5510be1ddcb974daa9dae486933
Merge: d3488d6 d1e3646
Author: Juergen Spitzmueller 
Date:   Tue Nov 20 18:10:18 2012 +0100

Merge branch 'master' of git.lyx.org:lyx


commit d3488d6f86f693e466387e485a4a8ffdec3e49f2
Author: Juergen Spitzmueller 
Date:   Tue Nov 20 18:09:38 2012 +0100

Whitespace

diff --git a/src/LyXAction.cpp b/src/LyXAction.cpp
index 49bd65a..79615ff 100644
--- a/src/LyXAction.cpp
+++ b/src/LyXAction.cpp
@@ -549,7 +549,7 @@ void LyXAction::init()
  * \li Origin: spitz, 05 Mar 2012
  * \endvar
  */
-{ LFUN_IPA_INSERT, "ipa-insert", Noop, Edit },
+   { LFUN_IPA_INSERT, "ipa-insert", Noop, Edit },
 /*!
  * \var lyx::FuncCode lyx::LFUN_IN_IPA
  * \li Action: Only active in IPA inset.

---

Summary of changes:
 src/LyXAction.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-11-24 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit f90a396488fda1f915af83f6584e6025ff69f486
Merge: a41bdfa 00ac474
Author: Juergen Spitzmueller 
Date:   Sat Nov 24 15:46:37 2012 +0100

Merge branch 'master' of git.lyx.org:lyx


commit a41bdfa4536b3f5a2daab8ce949b94199df5b943
Author: Juergen Spitzmueller 
Date:   Sat Nov 24 15:46:20 2012 +0100

Missing pieces for InsetLayout arguments

diff --git a/lib/layouts/stdinsets.inc b/lib/layouts/stdinsets.inc
index 768..9f1deb9 100644
--- a/lib/layouts/stdinsets.inc
+++ b/lib/layouts/stdinsets.inc
@@ -469,6 +469,8 @@ InsetLayout Info:shortcuts
 End
 
 InsetLayout Caption
+   LaTeXTypecommand
+   LatexNamecaption
Argument 1
LabelString   "Short Title|S"
Tooltip   "The caption as it appears in the list of 
figures/tables"
diff --git a/src/insets/InsetCaption.cpp b/src/insets/InsetCaption.cpp
index a637d90..22548a4 100644
--- a/src/insets/InsetCaption.cpp
+++ b/src/insets/InsetCaption.cpp
@@ -227,11 +227,7 @@ void InsetCaption::latex(otexstream & os,
// FIXME: actually, it is moving only when there is no
// optional argument.
runparams.moving_arg = true;
-   os << "\\caption";
-   getOptArg(os, runparams);
-   os << '{';
InsetText::latex(os, runparams);
-   os << "}\n";
runparams_in.encoding = runparams.encoding;
 }
 
@@ -280,13 +276,6 @@ void InsetCaption::getArgument(otexstream & os,
 }
 
 
-void InsetCaption::getOptArg(otexstream & os,
-   OutputParams const & runparams) const
-{
-   latexArgInsets(paragraphs()[0], os, runparams, getLayout().latexargs());
-}
-
-
 int InsetCaption::getCaptionAsPlaintext(odocstream & os,
OutputParams const & runparams) const
 {
diff --git a/src/insets/InsetCaption.h b/src/insets/InsetCaption.h
index dc28873..d446da8 100644
--- a/src/insets/InsetCaption.h
+++ b/src/insets/InsetCaption.h
@@ -28,8 +28,6 @@ public:
docstring layoutName() const;
/// return the mandatory argument (LaTeX format) only
void getArgument(otexstream & os, OutputParams const &) const;
-   /// return the optional argument(s) only
-   void getOptArg(otexstream & os, OutputParams const &) const;
/// return the caption text
int getCaptionAsPlaintext(odocstream & os, OutputParams const &) const;
/// return the caption text as HTML
diff --git a/src/insets/InsetText.cpp b/src/insets/InsetText.cpp
index 06644ad..7432f5a 100644
--- a/src/insets/InsetText.cpp
+++ b/src/insets/InsetText.cpp
@@ -436,6 +436,7 @@ void InsetText::latex(otexstream & os, OutputParams const & 
runparams) const
if (runparams.moving_arg)
os << "\\protect";
os << '\\' << from_utf8(il.latexname());
+   getOptArg(os, runparams);
if (!il.latexparam().empty())
os << from_utf8(il.latexparam());
os << '{';
@@ -590,6 +591,12 @@ docstring InsetText::insetAsXHTML(XHTMLStream & xs, 
OutputParams const & rp,
return docstring();
 }
 
+void InsetText::getOptArg(otexstream & os,
+   OutputParams const & runparams) const
+{
+   latexArgInsets(paragraphs()[0], os, runparams, getLayout().latexargs());
+}
+
 
 void InsetText::cursorPos(BufferView const & bv,
CursorSlice const & sl, bool boundary, int & x, int & y) const
diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h
index 0110adf..4fb9fc3 100644
--- a/src/insets/InsetText.h
+++ b/src/insets/InsetText.h
@@ -93,6 +93,9 @@ public:
   XHTMLOptions) const;
///
void validate(LaTeXFeatures & features) const;
+   
+   /// return the optional argument(s) only
+   void getOptArg(otexstream & os, OutputParams const &) const;
 
/// return x,y of given position relative to the inset's baseline
void cursorPos(BufferView const & bv, CursorSlice const & sl,

---

Summary of changes:
 lib/layouts/stdinsets.inc   |2 ++
 src/insets/InsetCaption.cpp |   11 ---
 src/insets/InsetCaption.h   |2 --
 src/insets/InsetText.cpp|7 +++
 src/insets/InsetText.h  |3 +++
 5 files changed, 12 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-11-25 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 9c4929ca406091267dafa40f5e083a27db046bf6
Merge: 6f08676 89c60f3
Author: Juergen Spitzmueller 
Date:   Sun Nov 25 19:10:40 2012 +0100

Merge branch 'master' of git.lyx.org:lyx


commit 6f086763ae543b7e221c17b243bb777b36829023
Author: Juergen Spitzmueller 
Date:   Sun Nov 25 19:10:16 2012 +0100

Add LeftDelim and RightDelim to the Style and InsetLayout repertoire

diff --git a/lib/doc/Customization.lyx b/lib/doc/Customization.lyx
index b4f0e42..e733e8f 100644
--- a/lib/doc/Customization.lyx
+++ b/lib/doc/Customization.lyx
@@ -12443,6 +12443,35 @@ depending upon the LaTeX type.
 
 \end_deeper
 \begin_layout Description
+
+\change_inserted -712698321 1353866861
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866852
+LeftDelim
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866852
+string
+\end_layout
+
+\end_inset
+
+] A string that is put at the beginning of the style content.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
@@ -13443,6 +13472,35 @@ CopyStyle
 \end_layout
 
 \begin_layout Description
+
+\change_inserted -712698321 1353866881
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866876
+RightDelim
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866873
+string
+\end_layout
+
+\end_inset
+
+] A string that is put at the end of the layout content.
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
@@ -15178,7 +15236,15 @@ Note:Greyedout
 status collapsed
 
 \begin_layout Plain Layout
-OptArg
+
+\change_deleted -712698321 1353866704
+Opt
+\change_unchanged
+Arg
+\change_inserted -712698321 1353866707
+ument
+\change_unchanged
+
 \end_layout
 
 \end_inset
@@ -16422,6 +16488,39 @@ depending upon the LaTeX type.
 
 \end_deeper
 \begin_layout Description
+
+\change_inserted -712698321 1353866797
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866742
+LeftDelim
+\change_unchanged
+
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866752
+string
+\end_layout
+
+\end_inset
+
+] A string that is put at the beginning of the layout content.
+\change_unchanged
+
+\end_layout
+
+\begin_layout Description
 \begin_inset Flex Code
 status collapsed
 
@@ -16884,6 +16983,39 @@ status collapsed
 ] Whether this inset should use the font of its surrounding environment
  or uses its own.
  Default is true: uses its own.
+\change_inserted -712698321 1353866806
+
+\end_layout
+
+\begin_layout Description
+
+\change_inserted -712698321 1353866814
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866810
+RightDelim
+\end_layout
+
+\end_inset
+
+ [
+\begin_inset Flex Code
+status collapsed
+
+\begin_layout Plain Layout
+
+\change_inserted -712698321 1353866806
+string
+\end_layout
+
+\end_inset
+
+] A string that is put at the end of the layout content.
+\change_unchanged
+
 \end_layout
 
 \begin_layout Description
diff --git a/src/Layout.cpp b/src/Layout.cpp
index a2c98ac..a5d3550 100644
--- a/src/Layout.cpp
+++ b/src/Layout.cpp
@@ -69,6 +69,7 @@ enum LayoutTags {
LT_LATEXNAME,
LT_LATEXPARAM,
LT_LATEXTYPE,
+   LT_LEFTDELIM,
LT_LEFTMARGIN,
LT_NEED_PROTECT,
LT_NEWLINE,
@@ -102,6 +103,7 @@ enum LayoutTags {
LT_SPELLCHECK,
LT_REFPREFIX,
LT_RESETARGS,
+   LT_RIGHTDELIM,
LT_INTITLE // keep this last!
 };
 
@@ -194,6 +196,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
{ "latexname",  LT_LATEXNAME },
{ "latexparam", LT_LATEXPARAM },
{ "latextype",  LT_LATEXTYPE },
+   { "leftdelim",  LT_LEFTDELIM },
{ "leftmargin", LT_LEFTMARGIN },
{ "margin", LT_MARGIN },
{ "needprotect",LT_NEED_PROTECT },
@@ -209,6 +212,7 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
{ "refprefix",  LT_REFPREFIX },
{ "requires",   LT_REQUIRES },
{ "resetargs",  LT_RESETARGS },
+   { "rightdelim", LT_RIGHTDELIM },
{ "rightmargin",LT_RIGHTMARGIN },
{ "spacing",LT_SPACING },
{ "spellcheck", LT_SPELLCHECK },
@@ -364,6 +368,14 @@ bool Layout::read(Lexer & lex, TextClass const & tclass)
latexparam_ = subst(latexparam_, """, "\"");
break;
 
+ 

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-11-26 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit 41014dec49cd889cb6daa498311ca302b0036e8e
Merge: e0f392e c5dccc8
Author: Juergen Spitzmueller 
Date:   Mon Nov 26 09:10:34 2012 +0100

Merge branch 'master' of git.lyx.org:lyx


commit e0f392e075e8e99732f4e2966700158185b5fb95
Author: Juergen Spitzmueller 
Date:   Mon Nov 26 09:10:14 2012 +0100

Allow for some argument visual customization

diff --git a/src/Layout.cpp b/src/Layout.cpp
index a5d3550..7fcf882 100644
--- a/src/Layout.cpp
+++ b/src/Layout.cpp
@@ -877,6 +877,8 @@ void Layout::readArgument(Lexer & lex)
arg.mandatory = false;
bool error = false;
bool finished = false;
+   arg.font = inherit_font;
+   arg.labelfont = inherit_font;
unsigned int nr;
lex >> nr;
while (!finished && lex.isOK() && !error) {
@@ -905,6 +907,13 @@ void Layout::readArgument(Lexer & lex)
} else if (tok == "requires") {
lex.next();
arg.requires = lex.getString();
+   } else if (tok == "decoration") {
+   lex.next();
+   arg.decoration = lex.getString();
+   } else if (tok == "font") {
+   arg.font = lyxRead(lex, arg.font);
+   } else if (tok == "labelfont") {
+   arg.labelfont = lyxRead(lex, arg.labelfont);
} else {
lex.printError("Unknown tag");
error = true;
diff --git a/src/Layout.h b/src/Layout.h
index 45bdf46..b0c3ac5 100644
--- a/src/Layout.h
+++ b/src/Layout.h
@@ -95,6 +95,9 @@ public:
docstring rdelim;
docstring tooltip;
std::string requires;
+   std::string decoration;
+   FontInfo font;
+   FontInfo labelfont;
};
///
typedef std::map LaTeXArgMap;
diff --git a/src/insets/InsetArgument.cpp b/src/insets/InsetArgument.cpp
index 256afcf..b113878 100644
--- a/src/insets/InsetArgument.cpp
+++ b/src/insets/InsetArgument.cpp
@@ -34,7 +34,8 @@ namespace lyx {
 
 
 InsetArgument::InsetArgument(Buffer * buf, string const & name)
-: InsetCollapsable(buf), name_(name), labelstring_(docstring())
+: InsetCollapsable(buf), name_(name), labelstring_(docstring()),
+  font_(inherit_font), labelfont_(inherit_font), decoration_(string())
 {}
 
 
@@ -102,6 +103,9 @@ void InsetArgument::updateBuffer(ParIterator const & it, 
UpdateType utype)
support::rsplit(label, striplabel, '|');
labelstring_ = striplabel.empty() ? label: striplabel;
tooltip_ = translateIfPossible((*lait).second.tooltip);
+   font_ = (*lait).second.font;
+   labelfont_ = (*lait).second.labelfont;
+   decoration_ = (*lait).second.decoration;
} else {
labelstring_ = _("Unknown Argument");
tooltip_ = _("Argument not known in this Layout. Will be 
supressed in the output.");
@@ -202,6 +206,43 @@ string InsetArgument::contextMenuName() const
return "context-argument";
 }
 
+FontInfo InsetArgument::getFont() const
+{
+   if (font_ != inherit_font)
+   return font_;
+   return getLayout().font();
+}
+
+FontInfo InsetArgument::getLabelfont() const
+{
+   if (labelfont_ != inherit_font)
+   return labelfont_;
+   return getLayout().labelfont();
+}
+
+namespace {
+
+InsetLayout::InsetDecoration translateDecoration(std::string const & str) 
+{
+   if (support::compare_ascii_no_case(str, "classic") == 0)
+   return InsetLayout::CLASSIC;
+   if (support::compare_ascii_no_case(str, "minimalistic") == 0)
+   return InsetLayout::MINIMALISTIC;
+   if (support::compare_ascii_no_case(str, "conglomerate") == 0)
+   return InsetLayout::CONGLOMERATE;
+   return InsetLayout::DEFAULT;
+}
+
+}// namespace anon
+
+InsetLayout::InsetDecoration InsetArgument::decoration() const
+{
+   InsetLayout::InsetDecoration dec = getLayout().decoration();
+   if (!decoration_.empty())
+   dec = translateDecoration(decoration_);
+   return dec == InsetLayout::DEFAULT ? InsetLayout::CLASSIC : dec;
+}
+
 void InsetArgument::latexArgument(otexstream & os,
OutputParams const & runparams_in, docstring const & ldelim,
docstring const & rdelim) const
diff --git a/src/insets/InsetArgument.h b/src/insets/InsetArgument.h
index 274623a..bff6056 100644
--- a/src/insets/InsetArgument.h
+++ b/src/insets/InsetArgument.h
@@ -66,6 +66,12 @@ public:
/// \name Public functions inherited from InsetCollapsable class
//@{
///
+   InsetLayout::InsetDecoration decoration() const;
+   ///
+   FontInfo getFont() const;
+   ///
+   FontInfo getLabelfont() const;
+   ///
vo

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-12-02 Thread Juergen Spitzmueller
The branch, master, has been updated.

- Log -

commit fb4633f0a43a590dbb438ce1206916254513ac8e
Merge: e250fd4 bdcf2b3
Author: Juergen Spitzmueller 
Date:   Sun Dec 2 16:47:41 2012 +0100

Merge branch 'master' of git.lyx.org:lyx


commit e250fd46ea7207f1d247eca8e53ea9001e08e8e7
Author: Juergen Spitzmueller 
Date:   Sun Dec 2 16:47:27 2012 +0100

Some more lyx2lyx fixes

diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py
index 598a103..7229c93 100644
--- a/lib/lyx2lyx/lyx_2_1.py
+++ b/lib/lyx2lyx/lyx_2_1.py
@@ -1260,7 +1260,7 @@ def revert_latexargs(document):
 # Search for Argument insets
 i = find_token(document.body, "\\begin_inset Argument", i)
 if i == -1:
-break
+return
 m = rx.match(document.body[i])
 if not m:
 # No ID: inset already reverted
@@ -1268,6 +1268,9 @@ def revert_latexargs(document):
 continue
 # Find beginning and end of the containing paragraph
 parbeg = find_token_backwards(document.body, "\\begin_layout", i)
+while get_value(document.body, "\\begin_layout", parbeg) == "Plain 
Layout":
+# Probably a preceding inset. Continue searching ...
+parbeg = find_token_backwards(document.body, "\\begin_layout", 
parbeg - 1)
 if parbeg == -1:
 document.warning("Malformed lyx document: Can't find parent 
paragraph layout")
 continue
@@ -1684,14 +1687,17 @@ def revert_itemargs(document):
 if i == -1:
 return
 j = find_end_of_inset(document.body, i)
-lastlay = find_token_backwards(document.body, "\\begin_layout", i)
+parbeg = find_token_backwards(document.body, "\\begin_layout", i)
+while get_value(document.body, "\\begin_layout", parbeg) == "Plain 
Layout":
+# Probably a preceding inset. Continue searching ...
+parbeg = find_token_backwards(document.body, "\\begin_layout", 
parbeg - 1)
 beginPlain = find_token(document.body, "\\begin_layout Plain Layout", 
i)
-endLayout = find_token(document.body, "\\end_layout", beginPlain)
-endInset = find_token(document.body, "\\end_inset", endLayout)
-content = document.body[beginPlain + 1 : endLayout]
+endPlain = find_end_of_layout(document.body, beginPlain)
+endInset = find_end_of_inset(document.body, p)
+content = document.body[beginPlain + 1 : endPlain]
 del document.body[i:j+1]
 subst = put_cmd_in_ert("[") + content + put_cmd_in_ert("]")
-document.body[lastlay + 1:lastlay + 1] = subst
+document.body[parbeg + 1:parbeg + 1] = subst
 i = i + 1
 
 

---

Summary of changes:
 lib/lyx2lyx/lyx_2_1.py |   18 --
 1 files changed, 12 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-12-31 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 8f2c474234c20e23561bf181000ff495fe4f1597
Merge: b8dbaab a98f7ad
Author: Uwe Stöhr 
Date:   Mon Dec 31 18:35:02 2012 +0100

Merge branch 'master' of git.lyx.org:lyx


commit b8dbaab9158fa13f24ae018241c95c8a9fd1c29c
Author: Uwe Stöhr 
Date:   Mon Dec 31 18:34:49 2012 +0100

installer: a comment format fix

diff --git a/development/Win32/pdfview/pdfview.nsi 
b/development/Win32/pdfview/pdfview.nsi
index 36da7d5..aab892f 100644
--- a/development/Win32/pdfview/pdfview.nsi
+++ b/development/Win32/pdfview/pdfview.nsi
@@ -100,15 +100,15 @@ Var TimeDiff
 
 Function GetFileTimeS

-   Exch $0  ;; File / hi
-   Push $1  ;; lo
+   Exch $0  # File / hi
+   Push $1  # lo
  
ClearErrors
GetFileTime "$0" $0 $1
IfErrors err
System::Call '*(i r1, i r0) i .r0'
System::Call '*$0(l .r0)'
-   System::Int64Op $0 / 1000  ;; Conversion From '100 ns' to '1 sec' unit
+   System::Int64Op $0 / 1000  # Conversion From '100 ns' to '1 sec' unit
Goto end
  
err:
@@ -135,9 +135,9 @@ FunctionEnd
 !macroend
 
 Function FileTimeDiff 
-   Exch $0  ;; FileA
+   Exch $0  # FileA
Exch 
-   Exch $1  ;; FileB
+   Exch $1  # FileB
  
${GetFileTimeS} $0 "$0"
IfErrors err

---

Summary of changes:
 development/Win32/pdfview/pdfview.nsi |   10 +-
 1 files changed, 5 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2012-12-31 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 4f652a6f6504ec3200640eef36f8042bac9ef9ad
Merge: 21fab2c 297d534
Author: Uwe Stöhr 
Date:   Mon Dec 31 19:22:36 2012 +0100

Merge branch 'master' of git.lyx.org:lyx


commit 21fab2cb98b5e0ecf17f6de92fb9ba8c769d8b44
Author: Uwe Stöhr 
Date:   Mon Dec 31 19:22:19 2012 +0100

installer: initialize a variable

diff --git a/development/Win32/packaging/installer/include/detection.nsh 
b/development/Win32/packaging/installer/include/detection.nsh
index b9f61af..b0d09b3 100644
--- a/development/Win32/packaging/installer/include/detection.nsh
+++ b/development/Win32/packaging/installer/include/detection.nsh
@@ -40,6 +40,7 @@ Function MissingPrograms
   # 2. 64bit Windows but 32bit Ghostscript
   # 3. 64bit Windows and 64bit Ghostscript
   StrCpy $3 0
+  StrCpy $4 "0"
   ${if} ${RunningX64}
SetRegView 64
   ${endif}

---

Summary of changes:
 .../packaging/installer/include/detection.nsh  |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-01-05 Thread Kornel Benko
The branch, master, has been updated.

- Log -

commit 40b0f3dfaeb6d381493cc6b5b880bcec712ca92b
Merge: 9481d41 364de0c
Author: Kornel Benko 
Date:   Sat Jan 5 10:10:19 2013 +0100

Merge branch 'master' of git.lyx.org:lyx


commit 9481d4182e225012632cc36a7cbc77e4beaf3d0e
Author: Kornel Benko 
Date:   Sat Jan 5 10:07:37 2013 +0100

autotests: Enable the suffixed lyx to run the test too.
(Hard coded 'lyx' replaced with real lyx-exe-file-name)

diff --git a/development/autotests/CMakeLists.txt 
b/development/autotests/CMakeLists.txt
index 3901ffd..d611307 100644
--- a/development/autotests/CMakeLists.txt
+++ b/development/autotests/CMakeLists.txt
@@ -37,6 +37,7 @@ if(Q_WS_X11)
 -DPO_BUILD_DIR=${TOP_BINARY_DIR}/po
 -DKEYTEST_INFILE=${_tf}
 -DBINDIR=$
+   -DLYX=${_lyx}
-DWORKDIR=${CMAKE_CURRENT_BINARY_DIR}/${LYX_HOME}
 -DKEYTEST_OUTFILE=${_t}-out.txt
 -DPACKAGE=${PACKAGE}
diff --git a/development/autotests/keytest.py b/development/autotests/keytest.py
index 82f316c..f403fdc 100755
--- a/development/autotests/keytest.py
+++ b/development/autotests/keytest.py
@@ -258,9 +258,13 @@ PO_BUILD_DIR = os.environ.get('PO_BUILD_DIR')
 if not PO_BUILD_DIR is None:
   print "PO_BUILD_DIR = " + PO_BUILD_DIR + "\n"
 
+lyx = os.environ.get('LYX')
+if lyx is None:
+lyx = "lyx"
+
 lyx_exe = os.environ.get('LYX_EXE')
 if lyx_exe is None:
-lyx_exe = "lyx"
+lyx_exe = lyx
 
 xvkbd_exe = os.environ.get('XVKBD_EXE')
 if xvkbd_exe is None:
@@ -326,12 +330,12 @@ while not failed:
 print "Ignoring comment line: " + c
 elif c[0:9] == 'TestBegin':
 print "\n"
-lyx_pid=os.popen("pidof lyx").read()
+lyx_pid=os.popen("pidof " + lyx).read()
 if lyx_pid != "":
 print "Found running instance(s) of LyX: " + lyx_pid + ": killing 
them all\n"
-intr_system("killall lyx", True)
+intr_system("killall " + lyx, True)
 time.sleep(0.5)
-intr_system("killall -KILL lyx", True)
+intr_system("killall -KILL " + lyx, True)
 time.sleep(0.2)
 print "Starting LyX . . ."
 if lyx_userdir is None:
@@ -339,7 +343,7 @@ while not failed:
 else:
 intr_system(lyx_exe + " -userdir " + lyx_userdir + " " + c[9:] + 
"&")
 while True:
-lyx_pid=os.popen("pidof lyx").read().rstrip()
+lyx_pid=os.popen("pidof " + lyx).read().rstrip()
 if lyx_pid != "":
 lyx_window_name=os.popen("wmctrl -l -p | grep ' " + 
str(lyx_pid) +  " ' | cut -d ' ' -f 1").read().rstrip()
 if lyx_window_name != "":
diff --git a/development/autotests/single-test.cmake 
b/development/autotests/single-test.cmake
index 15b96ea..d09bc5a 100755
--- a/development/autotests/single-test.cmake
+++ b/development/autotests/single-test.cmake
@@ -15,6 +15,7 @@
 #   -DKEYTEST_INFILE= \
 #   -DKEYTEST_OUTFILE=xxx \
 #   -DBINDIR=xxx \
+#   -DLYX=xxx \
 #   -DWORKDIR=xxx \
 #   -DLOCALE_DIR=xxx \
 #   -DPO_BUILD_DIR=xxx \
@@ -23,7 +24,7 @@
 
 set(KEYTEST "${AUTOTEST_ROOT}/keytest.py")
 
-execute_process(COMMAND pidof lyx OUTPUT_VARIABLE LYX_PID RESULT_VARIABLE 
pidstat OUTPUT_VARIABLE pidres)
+execute_process(COMMAND pidof ${LYX} OUTPUT_VARIABLE LYX_PID RESULT_VARIABLE 
pidstat OUTPUT_VARIABLE pidres)
 message(STATUS "pidres = ${pidres}")
 if (NOT pidstat)
   # lyx already running, remove trailing '\n' from pid
@@ -44,7 +45,7 @@ else()
   set(LYX_WINDOW_NAME "")
 endif()
 
-set(LYX_EXE "${BINDIR}/lyx")
+set(LYX_EXE "${BINDIR}/${LYX}")
 set(XVKBD_EXE "${BINDIR}/xvkbd")
 
 # Environments needed by keytest.py
@@ -55,6 +56,7 @@ set(ENV{LYX_USERDIR} ${WORKDIR})
 set(ENV{LYX_PID} ${pidres})
 set(ENV{LYX_WINDOW_NAME} ${LYX_WINDOW_NAME})
 set(ENV{LYX_EXE} ${LYX_EXE})
+set(ENV{LYX} ${LYX})
 set(ENV{XVKBD_EXE} ${XVKBD_EXE})
 set(ENV{KEYTEST_INFILE} "${AUTOTEST_ROOT}/${KEYTEST_INFILE}")
 set(ENV{KEYTEST_OUTFILE} "${WORKDIR}/${KEYTEST_OUTFILE}")

---

Summary of changes:
 development/autotests/CMakeLists.txt|1 +
 development/autotests/keytest.py|   14 +-
 development/autotests/single-test.cmake |6 --
 3 files changed, 14 insertions(+), 7 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-02-15 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 78be5467e1eec376bbe2dc38cd5ae87284834f80
Merge: ac7d08c a1edd7b
Author: Uwe Stöhr 
Date:   Fri Feb 15 16:28:38 2013 +0100

Merge branch 'master' of git.lyx.org:lyx


commit ac7d08cb327115630ee0a160d416d2ad7283046f
Author: Uwe Stöhr 
Date:   Fri Feb 15 16:28:02 2013 +0100

environment.cpp: MSVC compile fix

MSVC told me
"environment.cpp(139): error C4716: 'lyx::support::unsetEnv' : must return 
a value"

diff --git a/src/support/environment.cpp b/src/support/environment.cpp
index 6deb230..dfdc2d4 100644
--- a/src/support/environment.cpp
+++ b/src/support/environment.cpp
@@ -132,7 +132,7 @@ bool unsetEnv(string const & name)
return unsetenv(name.c_str()) == 0;
 #elif defined(HAVE_PUTENV)
// This is OK with MSVC and MinGW at least.
-   putenv((name + "=").c_str()) == 0;
+   return putenv((name + "=").c_str()) == 0;
 #else
 #error No environment-unsetting function has been defined.
 #endif

---

Summary of changes:
 src/support/environment.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-02-18 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit df6589a97e1dd6647b98cecd8ee071031563fe85
Merge: 6deb2b7 9dd1b7c
Author: Uwe Stöhr 
Date:   Tue Feb 19 00:07:42 2013 +0100

Merge branch 'master' of git.lyx.org:lyx


commit 6deb2b76804b1e8e7faf7d204e424aa203e7c76c
Author: Uwe Stöhr 
Date:   Tue Feb 19 00:07:24 2013 +0100

tex2lyx: support further TIPA characters

- support for \textdoublevertline, \textvertline, \textglobfall
- support \!o and \!b and \!d and \!g and \!G and \!j
- support  and \*k and \*r and \*t and \*w
- register the package "tipa" if \textipa is detected in an equation
- add a \textipa equation to the testfile

(I failed to implement support for the TIPA character "\t*{ }" and the 
command "\=*".)

diff --git a/src/tex2lyx/TODO.txt b/src/tex2lyx/TODO.txt
index 8754a29..60c48e1 100644
--- a/src/tex2lyx/TODO.txt
+++ b/src/tex2lyx/TODO.txt
@@ -51,10 +51,7 @@ Format LaTeX featureLyX feature
 407vertical offset for multirowsInsetTabular
 411support for polyglossia  \language_package  (the cases of 
no package, of babel and of custom package is supported)
 415automatic undertilde loading \use_package undertilde
-438\=*{a}, \*r and \*w, \!o InsetTIPA
-   and \!b and \!d and \!g and \!G,
-   \textvertline, \t*{ },
-   \textdoublevertline, \textglobfall
+438\t*{ } and \=*{a}InsetTIPA
 439MinionPro.sty\font_roman, \font_osf
 440MinionPro.sty,   \font_math
 443unicode-math.sty InsetMath*
diff --git a/src/tex2lyx/math.cpp b/src/tex2lyx/math.cpp
index 83e2101..9fddeea 100644
--- a/src/tex2lyx/math.cpp
+++ b/src/tex2lyx/math.cpp
@@ -237,6 +237,11 @@ void parse_math(Parser & p, ostream & os, unsigned flags, 
const mode_type mode)
preamble.registerAutomaticallyLoadedPackage("varioref");
}
 
+   else if (t.cs() == "textipa") {
+   os << t.asInput();
+   preamble.registerAutomaticallyLoadedPackage("tipa");
+   }
+
else
os << t.asInput();
 
diff --git a/src/tex2lyx/test/test-insets.lyx.lyx 
b/src/tex2lyx/test/test-insets.lyx.lyx
index 59f7a1b..b9deacb 100644
--- a/src/tex2lyx/test/test-insets.lyx.lyx
+++ b/src/tex2lyx/test/test-insets.lyx.lyx
@@ -5915,19 +5915,7 @@ PmMn nɲN N Br RR
 \begin_inset IPA
 
 \begin_layout Standard
-ɮV
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-*
-\end_layout
-
-\end_inset
-
-r Rhɰl lL L
+ɮVɹ Rhɰl lL L
 \end_layout
 
 \end_inset
@@ -5940,79 +5928,7 @@ r Rhɰl lL L
 \begin_inset IPA
 
 \begin_layout Standard
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
-\end_layout
-
-\end_inset
-
-o|!ǂ||
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
-\end_layout
-
-\end_inset
-
-b
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
-\end_layout
-
-\end_inset
-
-d
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
-\end_layout
-
-\end_inset
-
-j
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
-\end_layout
-
-\end_inset
-
-g
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-!
-\end_layout
-
-\end_inset
-
-Ge'
+ʘ|!ǂ||ɓɗʄɠʛe'
 \end_layout
 
 \end_inset
@@ -6042,19 +5958,7 @@ Ueø987o@Eœ3ɞ2Oæ5aɶA6
 \begin_inset IPA
 
 \begin_layout Standard
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-*
-\end_layout
-
-\end_inset
-
-ww4 HʢʡCʑɺɧ
+ʍw4 HʢʡCʑɺɧ
 \begin_inset IPADeco toptiebar
 status open
 
@@ -6087,51 +5991,7 @@ tz
 \begin_inset IPA
 
 \begin_layout Standard
-:;eˈˌ
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-textvertline
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{}
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-textdoublevertline
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{}
-\end_layout
-
-\end_inset
-
-.
+:;eˈˌ|‖.
 \begin_inset ERT
 status collapsed
 
@@ -6181,24 +6041,7 @@ status collapsed
 \IPAChar \tone{45}
 \IPAChar \tone{12}
 \IPAChar \tone{454}
-↗
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-
-\backslash
-textglobfall
-\end_layout
-
-\end_inset
-
-
-\begin_inset ERT
-status collapsed
-
-\begin_layout Plain Layout
-{}
+↗↘
 \end_layout
 
 \end_inset
@@ -6206,6 +6049,9 @@ status collapsed
 
 \end_layout
 
+\begin_layout Standard
+TIPA code in math: 
+\begin_inset Formula 
$\textipa{\t

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-02-19 Thread Kornel Benko
The branch, master, has been updated.

- Log -

commit c741a148c9ee0d99854c3dbfbb003e3ab8cf9100
Merge: 8e4f656 05ec893
Author: Kornel Benko 
Date:   Tue Feb 19 09:28:49 2013 +0100

Merge branch 'master' of git.lyx.org:lyx


commit 8e4f656aa79cb1e39a4b8b3fc18b0d4571b8eee4
Author: Kornel Benko 
Date:   Tue Feb 19 09:26:05 2013 +0100

Add new output format dvi4 ( == DVI(pLaTeX)
Add converter for this format (platex without extra parameters)

diff --git a/lib/configure.py b/lib/configure.py
index fa3b8a3..00b2fa7 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -409,6 +409,7 @@ def checkLatex(dtl_tools):
 if cmdOutput(PLATEX + ' chklatex.ltx').find('pLaTeX2e') != -1:
 # We have the Japanese pLaTeX2e
 addToRC(r'\converter platex dvi"%s -kanji=$$E $$i" 
"latex=platex"' % PLATEX)
+addToRC(r'\converter platex dvi4   "%s $$i"
 "latex=platex"' % PLATEX)
 else:
 PLATEX = ''
 removeFiles(['chklatex.ltx', 'chklatex.log'])
@@ -589,7 +590,8 @@ def checkFormatEntries(dtl_tools):
 #
 checkViewer('a DVI previewer', ['xdvi', 'kdvi', 'okular', 'yap', 'dviout 
-Set=!m'],
 rc_entry = [r'''\Format dvidvi DVID  
"%%"  ""  "document,vector,menu=export"   "application/x-dvi"
-\Format dvi3   dvi "DVI (LuaTeX)"  V  "%%" ""  
"document,vector,menu=export"   ""'''])
+\Format dvi3   dvi "DVI (LuaTeX)"  V  "%%" ""  
"document,vector,menu=export"   ""
+\Format dvi4   dvi "DVI (pLaTeX)"  V  "%%" ""  
"document,vector,menu=export"   ""'''])
 if dtl_tools:
 # Windows only: DraftDVI
 addToRC(r'\Format dvi2   dvi DraftDVI   "" ""  
""  "vector"""')

---

Summary of changes:
 lib/configure.py |4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-02-21 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 8254e84f8f696f0372ccc77f5914e17a85fe
Merge: e7c7529 84e1768
Author: Uwe Stöhr 
Date:   Thu Feb 21 23:13:57 2013 +0100

Merge branch 'master' of git.lyx.org:lyx


commit e7c75296d6f13e1bb08b254f3a2fe3c57ccf6bae
Author: Uwe Stöhr 
Date:   Thu Feb 21 23:13:05 2013 +0100

tex2lyx/text.cpp: correction for TIPA character support

- for all TIPA characters the tipa and tipx package must always be 
registered because these characters are also allowed outside a TIPA inset
- include \textvertline because we again reached the maximum number of if 
statements allowed by MSCV (so safe at least one for now)

diff --git a/src/tex2lyx/text.cpp b/src/tex2lyx/text.cpp
index 855ac28..f29d65c 100644
--- a/src/tex2lyx/text.cpp
+++ b/src/tex2lyx/text.cpp
@@ -3257,8 +3257,15 @@ void parse_text(Parser & p, ostream & os, unsigned 
flags, bool outer,
}
 
// the TIPA Combining diacritical marks
-   else if (is_known(t.cs(), known_tipa_marks)) {
+   else if (is_known(t.cs(), known_tipa_marks) || t.cs() == 
"textvertline") {
+   preamble.registerAutomaticallyLoadedPackage("tipa");
+   preamble.registerAutomaticallyLoadedPackage("tipx");
context.check_layout(os);
+   if (t.cs() == "textvertline") {
+   os << "|";
+   skip_braces(p);
+   continue;
+   }
// try to see whether the string is in unicodesymbols
bool termination;
docstring rem;
@@ -3274,10 +3281,6 @@ void parse_text(Parser & p, ostream & os, unsigned 
flags, bool outer,
 << ", result is " << to_utf8(s)
 << "+" << to_utf8(rem) << endl;
os << content << to_utf8(s);
-   // tipa is already registered because of the 
surrounding IPA environment
-   // or \textipa but it does not harm to register 
it again if necessary
-   for (set::const_iterator it = 
req.begin(); it != req.end(); ++it)
-   
preamble.registerAutomaticallyLoadedPackage(*it);
} else
// we did not find a non-ert version
output_ert_inset(os, command, context);
@@ -3312,14 +3315,6 @@ void parse_text(Parser & p, ostream & os, unsigned 
flags, bool outer,
output_ert_inset(os, command, context);
}
 
-   else if (t.cs() == "textvertline" ) {
-   // this TIPA character does not occur in
-   // unicodesymbols because it is in the ASCII range
-   context.check_layout(os);
-   os << "|";
-   skip_braces(p);
-   }
-
else if (t.cs() == "phantom" || t.cs() == "hphantom" ||
 t.cs() == "vphantom") {
context.check_layout(os);

---

Summary of changes:
 src/tex2lyx/text.cpp |   21 -
 1 files changed, 8 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-03-18 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 575d98664addea9ff21e74d61a2dba30465bf728
Merge: f08f582 6dac777
Author: Uwe Stöhr 
Date:   Tue Mar 19 00:57:50 2013 +0100

Merge branch 'master' of git.lyx.org:lyx


commit f08f5821ec5d29232bccb342a5b1ff86600b0716
Author: Uwe Stöhr 
Date:   Tue Mar 19 00:57:37 2013 +0100

support for the Iwona fonts

- the support for Iwona is exactly the same as for the Kurier fonts
- fileformat change

diff --git a/development/FORMAT b/development/FORMAT
index 79a2322..9d4c8c1 100644
--- a/development/FORMAT
+++ b/development/FORMAT
@@ -11,6 +11,11 @@ adjustments are made to tex2lyx and bugs are fixed in 
lyx2lyx.
 
 ---
 
+2013-08-19 Uwe Stöhr 
+   * Format incremented to 467: support for iwona fonts
+ new supported sansserif fonts "iwona", "iwonal", "iwonac"
+ and "iwonalc" and the math font "iwona-math"
+
 2013-03-17 Jürgen Spitzmüller 
  * Format incremented to 466: Powerdot updates.
- Support for item arguments ([...], <...>)
diff --git a/lib/chkconfig.ltx b/lib/chkconfig.ltx
index c51026b..a6b660b 100644
--- a/lib/chkconfig.ltx
+++ b/lib/chkconfig.ltx
@@ -413,6 +413,7 @@
 \TestPackage{fourier}
 \TestPackage{garamondx}
 \TestFont[zgmr8r]{garamondx-fonts}
+\TestPackage{iwona}
 \TestPackage{kurier}
 \TestPackage{lh-lcy}
 \TestPackage{libertine}
diff --git a/lib/latexfonts b/lib/latexfonts
index a89c93e..446e83a 100644
--- a/lib/latexfonts
+++ b/lib/latexfonts
@@ -460,6 +460,34 @@ Font helvet
Requires psnfss
 EndFont
 
+Font iwona
+   GuiName "Iwona"
+   Family  sf
+   Requiresiwona
+   SwitchDefault   1
+EndFont
+
+Font iwonal
+   GuiName "Iwona (Light)"
+   Family  sf
+   Requiresiwona
+   SwitchDefault   1
+EndFont
+
+Font iwonac
+   GuiName "Iwona (Condensed)"
+   Family  sf
+   Requiresiwona
+   SwitchDefault   1
+EndFont
+
+Font iwonalc
+   GuiName "Iwona (Light Condensed)"
+   Family  sf
+   Requiresiwona
+   SwitchDefault   1
+EndFont
+
 Font kurier
GuiName "Kurier"
Family  sf
@@ -600,6 +628,19 @@ Font garamondx-ntxm
Provides amssymb,amsfonts
 EndFont
 
+Font iwona-math
+   GuiName "Iwona (Math)"
+   Family  math
+   Requiresiwona
+   Preamble
+   % store roman font
+   \let\origrmdefault\rmdefault
+   \usepackage[math]{iwona}
+   % reset stored roman font
+   \renewcommand{\rmdefault}{\origrmdefault}
+   EndPreamble
+EndFont
+
 Font kurier-math
GuiName "Kurier (Math)"
Family  math
diff --git a/lib/lyx2lyx/lyx_2_1.py b/lib/lyx2lyx/lyx_2_1.py
index 771748e..f42af73 100644
--- a/lib/lyx2lyx/lyx_2_1.py
+++ b/lib/lyx2lyx/lyx_2_1.py
@@ -3630,6 +3630,28 @@ def revert_kurier_fonts(document):
 add_to_preamble(document, "\\renewcommand{\\sfdefault}{%s}" % sf)
 document.header[k] = "\\font_sans default"
 
+def revert_iwona_fonts(document):
+  " Revert iwona font definition to LaTeX "
+  
+  i = find_token(document.header, "\\font_math", 0)
+  if i != -1:
+if find_token(document.header, "\\use_non_tex_fonts false", 0) != -1: 
+  val = get_value(document.header, "\\font_math", i)
+  if val == "iwona-math":
+add_to_preamble(document, "\\let\\Myrmdefault\\rmdefault\n" \
+  "\\usepackage[math]{iwona}\n" \
+  "\\renewcommand{\\rmdefault}{\\Myrmdefault}")
+document.header[i] = "\\font_math auto"
+  
+  if find_token(document.header, "\\use_non_tex_fonts false", 0) != -1: 
+iwona_fonts = ["iwona", "iwonac", "iwonal", "iwonalc"]
+k = find_token(document.header, "\\font_sans iwona", 0)
+if k != -1:
+  sf = get_value(document.header, "\\font_sans", k)
+  if sf in iwona_fonts:
+add_to_preamble(document, "\\renewcommand{\\sfdefault}{%s}" % sf)
+document.header[k] = "\\font_sans default"
+
 
 def revert_new_libertines(document):
 " Revert new libertine font definition to LaTeX "
@@ -4087,10 +4109,12 @@ convert = [
[463, [convert_encodings]],
[464, [convert_use_cancel]],
[465, [convert_lyxframes, remove_endframes]],
-   [466, []]
+   [466, []],
+   [467, []]
   ]
 
 revert =  [
+   [466, [revert_iwona_fonts]],
[465, [revert_powerdot_flexes, revert_powerdot_pause, 
revert_powerdot_itemargs, revert_powerdot_columns]],
[464, []],
[463, [revert_use_cancel]],
diff --git a/src/tex2lyx/Preamble.cpp b/src/tex2lyx/Preamble.cpp
index dbf4d5c..6c84f06 100644
--- a/src/tex2lyx/Preamble.cpp
+++ b/src/tex2lyx/Preamble.cpp
@@ -129,7 +129,8 @@ const char * const known_roman_fonts[] = { "ae", 
"beraserif", "bookman",
 "tgbonum", "

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-04-21 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 7c88c843cb550f29dd3da62d42f32f889844fe99
Merge: 9769596 928dc03
Author: Uwe Stöhr 
Date:   Sun Apr 21 21:18:17 2013 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 976959685cd37da9f13815acf81881589d991d47
Author: Uwe Stöhr 
Date:   Sun Apr 21 21:17:48 2013 +0200

French UserGuide.lyx: translations by Jean-Pierre

diff --git a/lib/doc/fr/UserGuide.lyx b/lib/doc/fr/UserGuide.lyx
index c5f6ef9..88dca10 100644
--- a/lib/doc/fr/UserGuide.lyx
+++ b/lib/doc/fr/UserGuide.lyx
@@ -2274,11 +2274,8 @@ d'apprentissage
 \emph default
 .
  Avec LyX, la touche de tabulation n'est utilisée que pour accepter les
- suggestions de la complétion de saisie ou 
-\lang english
-to move the cursor in tables or math matrices
-\lang french
-;
+ suggestions de la complétion de saisie ou pour déplacer le curseur dans
+ les tables ou les matrices mathématiques.
 \end_layout
 
 \begin_layout Labeling
@@ -4326,11 +4323,8 @@ Document ! Paramètres
 
 
 \family default
-vous pouvez changer 
-\lang english
-for the whole document
-\lang french
- l'espacement entre les lignes dans la rubrique 
+vous pouvez changer, pour l'ensemble du document, l'espacement entre les
+ lignes dans la rubrique 
 \family sans
 Format
 \begin_inset space ~
@@ -4370,9 +4364,9 @@ Paquetages LaTeX ! setspace
 
 \end_inset
 
- 
+ Vous pouvez le changer pour un seul paragraphe dans la fenêtre de dialogue
 \lang english
-You can set it for a single paragraph in the 
+ 
 \family sans
 \lang french
 Édition\SpecialChar \menuseparator
@@ -4386,9 +4380,8 @@ de
 
 Paragraphe
 \family default
-\lang english
- dialog but this should be used very exceptionally because vertical spacing
- is normally defined in the environment's style.
+ , mais ceci devrait être utilisé très exceptionnellement car l'espacement
+ vertical est normalement défini par le style de l'environnement concerné.
 \end_layout
 
 \begin_layout Section
@@ -4717,26 +4710,16 @@ Date
 \end_layout
 
 \begin_layout Itemize
-si vous ne voulez pas de date du tout, 
-\lang english
-use the option 
+si vous ne voulez pas de date du tout, utilisez l'option 
 \family sans
-Suppress default date on front page
+Supprimer la date implicite sur la première page
 \family default
- in the menu 
+ dans le menu 
 \family sans
-\lang french
 Document\SpecialChar \menuseparator
 Paramètres\SpecialChar \menuseparator
-
-\lang english
-Document
-\begin_inset space ~
-\end_inset
-
-class
+Classe de document
 \family default
-\lang french
 .
 \end_layout
 
@@ -5565,13 +5548,12 @@ arg   "break-paragraph inverse"
 \end_inset
 
 .
- 
-\lang english
-If you do this at the top level of a list, it returns you to the 
+ Si vus faites ceci au premier niveau d'une liste, vous revenez à 
l'environnemen
+t 
 \family sans
 Standard
 \family default
- environment.
+.
 \end_layout
 
 \begin_layout Standard
@@ -24783,26 +24765,19 @@ Il y a plusieurs délimiteurs disponibles avec LyX.
 
 \end_inset
 
-et pour rendre plus les parenthèses.
- 
-\lang english
-Below, the expression on the left was entered using the delimiter icon 
-\lang french
-
+pour rendre plus visibles les niveaux de parenthèses.
+ Ci-dessous, l'expression de gauche a été saisie en utilisant l'icône de
+ délimitation
 \begin_inset Info
 type  "icon"
 arg   "dialog-show mathdelimiter"
 \end_inset
 
-
-\lang english
- and the expression on the right was entered using the 
+ et l'expression de droite a été saisie en utilisant les parenthèses
 \family typewriter
 ()
 \family default
- keys.
-
-\lang french
+.
  
 \begin_inset Formula 
 \[
@@ -24811,12 +24786,8 @@ arg   "dialog-show mathdelimiter"
 
 \end_inset
 
-
-\lang english
-If you use the delimiter icon, 
-\lang french
-les parenthèses, et autres délimiteurs, de ce menu s'adaptent à la taille
- de ce qu'elles contiennent.
+Si vous utilisez l'icône de délimitation, les parenthèses et autres 
délimiteurs
+ choisis dans ce menu s'adaptent à la taille de ce qu'elles contiennent.
 \end_layout
 
 \begin_layout Standard
@@ -24855,14 +24826,10 @@ Insertion
 \family default
 .
  Les parenthèses seront placées autour de la structure sélectionnée.
- 
-\lang english
-The most common bracket combinations (parentheses, square brackets, and
- braces, on both sides) can be entered more quickly using keyboard shortcuts.
- For example, to insert a pair of flexible parentheses on both sides, select
- the structure and enter
-\lang french
- 
+ Les combinaisons les plus courantes (parenthèses, crochets et accolades
+ associées) peuvent être saisies via les raccourcis clavier.
+ Par exemple, pour insérer une paire de parenthèses flexibles, sélectionner
+ la structure à parenthéser et saisir 
 \begin_inset Info
 type  "shortcut"
 arg   "math-delim ( )"

---

Summary of changes:
 lib/doc/fr/UserGuide.lyx |  

[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-05-25 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 92a2e179035a9c67bb042a3b6eac00a72d1ef862
Merge: 472732f c8000f9
Author: Uwe Stöhr 
Date:   Sat May 25 13:52:38 2013 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 472732f92d7287c47ff1003094df5f6826c15c2e
Author: Uwe Stöhr 
Date:   Sat May 25 13:52:09 2013 +0200

GuiBox.cpp: addendum to [f04c7711/lyxgit]

- this was forgotten to commit;
(without this we would get invalid LaTeX code when changing in the box 
dialog a makebox without a width to a minipage and press apply - a makebox 
required to specify a width, at least an invisible one like "0cm")

diff --git a/src/frontends/qt4/GuiBox.cpp b/src/frontends/qt4/GuiBox.cpp
index 90f5659..afca9ab 100644
--- a/src/frontends/qt4/GuiBox.cpp
+++ b/src/frontends/qt4/GuiBox.cpp
@@ -378,6 +378,9 @@ docstring GuiBox::dialogToParams() const
params.width = Length(value.toDouble(), Length::IN);
} else {
params.special = "none";
+   // we must specify a valid length in this case
+   if (value.isEmpty())
+   widthED->setText("0");
params.width = Length(widgetsToLength(widthED, 
widthUnitsLC));
}
} else {

---

Summary of changes:
 src/frontends/qt4/GuiBox.cpp |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-05-25 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 586124c6a7bbad3d28bb756622613334da4a9a23
Merge: 5002ef3 f75becd
Author: Uwe Stöhr 
Date:   Sun May 26 03:05:28 2013 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 5002ef33f03fdd5a7e401b6dd36285e2e4dee004
Author: Uwe Stöhr 
Date:   Sun May 26 03:04:59 2013 +0200

aa: fix compilation of the templates/aa.lyx

- aa already loads inputenc

diff --git a/lib/layouts/aa.layout b/lib/layouts/aa.layout
index 5decd34..57f6c80 100644
--- a/lib/layouts/aa.layout
+++ b/lib/layouts/aa.layout
@@ -1,5 +1,5 @@
 #% Do not delete the line below; configure depends on this
-#  \DeclareLaTeXClass[aa]{Astronomy & Astrophysics}
+#  \DeclareLaTeXClass[aa,answers.sty]{Astronomy & Astrophysics}
 #  \DeclareCategory{Articles}
 #
 # Author: Peter Sütterlin 
@@ -24,6 +24,8 @@ SecNumDepth 3
 TocDepth0
 PageStyle   Plain
 
+# Pre-loaded packages
+Provides inputenc  1
 
 Style Standard
Category  MainText
diff --git a/lib/templates/aa.lyx b/lib/templates/aa.lyx
index 240f7ae..09d03fb 100644
--- a/lib/templates/aa.lyx
+++ b/lib/templates/aa.lyx
@@ -8,9 +8,9 @@
 \maintain_unincluded_children false
 \language english
 \language_package default
-\inputencoding auto
+\inputencoding default
 \fontencoding global
-\font_roman times
+\font_roman default
 \font_sans default
 \font_typewriter default
 \font_default_family default

---

Summary of changes:
 lib/layouts/aa.layout |4 +++-
 lib/templates/aa.lyx  |4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-05-30 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit db06f8c2e804185bbf6340e1c3a5cdfd9f4cadaa
Merge: 0a1c894 73c0f7c
Author: Uwe Stöhr 
Date:   Thu May 30 16:45:51 2013 +0200

Merge branch 'master' of git.lyx.org:lyx


commit 0a1c8944a14724780e2623424b1be6fae402465b
Author: Uwe Stöhr 
Date:   Thu May 30 16:45:32 2013 +0200

multicol.module: style refinements by Jürgen

- fixes bug #8568

diff --git a/lib/layouts/multicol.module b/lib/layouts/multicol.module
index 0636a2f..eecbbbf 100644
--- a/lib/layouts/multicol.module
+++ b/lib/layouts/multicol.module
@@ -1,7 +1,6 @@
 #\DeclareLyXModule[multicol.sty]{Multiple Columns}
 #DescriptionBegin
-#Adds 2 styles to begin and end text in multiple columns.
-#The begin style contains the number of columns, the end style must be kept 
empty.
+#Adds a custom inset whose content is set with multiple columns (2 by default).
 #See the Additional manual, section 'Multiple Text Columns', for a detailed
 #description of multiple columns.
 #DescriptionEnd
@@ -9,45 +8,27 @@
 
 Format 45
 
-AddToPreamble
- % used for multiple text columns
- \usepackage{multicol}
-
-EndPreamble
-
-Style "Begin Multiple Columns"
-  Category MainText
-  Margin   First_Dynamic
-  LatexTypecommand
-  LabelTypeStatic
-  LabelSep xx
-  LatexNamebegin{multicols}
-  LabelString  "---Begin Multiple Columns---"
-  Argument post:1
-LabelString"Preface"
-Tooltip"An optional preface"
+InsetLayout Flex:Multiple_Columns
+  LyXType   custom
+  Decorationclassic
+  LabelString   Columns
+  LatexType environment
+  LatexName multicols
+  Argument 1
+LabelString "Number of Columns"
+Tooltip "Insert the number of columns here"
+Mandatory   1
+DefaultArg  2
   EndArgument
-  Argument post:2
-LabelString"Space Before Page Break"
-Tooltip"Free space that needs to be on the page to start the 
multiple columns on this page"
+  Argument 2
+LabelString "Preface"
+Tooltip "An optional preface"
   EndArgument
-  KeepEmpty1
-  ParSkip  0
-  TopSep   0
-  BottomSep0
-  ParSep   0
-  Font
-Color  Blue
-  EndFont
-  LabelFont
-Color  Green
-  EndFont
-End
-
-Style "End Multiple Columns"
-  CopyStyle"Begin Multiple Columns"
-  LatexNameend{multicols}
-  LabelString  "---End Multiple Columns---"
-  ResetArgs1
+  Argument 3
+LabelString "Space Before Page Break"
+Tooltip "Free space that needs to be on the page to start the 
multiple columns on this page"
+Requires2
+  EndArgument
+  Requires  multicol
 End
 

---

Summary of changes:
 lib/layouts/multicol.module |   61 +++
 1 files changed, 21 insertions(+), 40 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-05-30 Thread Uwe Stöhr
The branch, master, has been updated.

- Log -

commit 6baa65119b22e88186ecc5291445e1f2f595d906
Merge: f33454b 1b6c138
Author: Uwe Stöhr 
Date:   Thu May 30 18:15:57 2013 +0200

Merge branch 'master' of git.lyx.org:lyx


commit f33454b3c7c58aa86c9e30ae92f3c9e909909f52
Author: Uwe Stöhr 
Date:   Thu May 30 18:15:44 2013 +0200

LaTeXFeatures.cpp: add rsphrase

- also modify the rsphrase.module
- correct naming scheme for the bicaption.module

diff --git a/lib/layouts/bicaption.module b/lib/layouts/bicaption.module
index 5f87a8f..4d3c872 100644
--- a/lib/layouts/bicaption.module
+++ b/lib/layouts/bicaption.module
@@ -1,4 +1,4 @@
-#\DeclareLyXModule[bicaption.sty]{Multilingual captions}
+#\DeclareLyXModule[bicaption.sty]{Multilingual Captions}
 #DescriptionBegin
 #Provides two styles to typeset multilingual captions.
 #For a description see the file MultilingualCaptions.lyx in LyX's examples 
folder.
diff --git a/lib/layouts/rsphrase.module b/lib/layouts/rsphrase.module
index 06fde1b..935da9f 100644
--- a/lib/layouts/rsphrase.module
+++ b/lib/layouts/rsphrase.module
@@ -8,14 +8,11 @@
 
 Format 45
 
-AddToPreamble
-   \usepackage{rsphrase}
-EndPreamble
-
 InsetLayout "Flex:R-S number"
LyxType custom
LatexType   command
LatexName   rsnumber
+   Requiresrsphrase
LabelString "R-S number"
Font
  Color foreground
@@ -42,6 +39,7 @@ End
 Style "Safety phrase"
LatexType   command
LatexName   rsphrase
+   Requiresrsphrase
CategoryMainText
NextNoIndent1
Argument 1
diff --git a/src/LaTeXFeatures.cpp b/src/LaTeXFeatures.cpp
index 924308c..d23f8b0 100644
--- a/src/LaTeXFeatures.cpp
+++ b/src/LaTeXFeatures.cpp
@@ -734,7 +734,8 @@ char const * simplefeatures[] = {
"multicol",
"multirow",
"tfrupee",
-   "shapepar"
+   "shapepar",
+   "rsphrase"
 };
 
 char const * bibliofeatures[] = {

---

Summary of changes:
 lib/layouts/bicaption.module |2 +-
 lib/layouts/rsphrase.module  |6 ++
 src/LaTeXFeatures.cpp|3 ++-
 3 files changed, 5 insertions(+), 6 deletions(-)


hooks/post-receive
-- 
The LyX Source Repository


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2013-08-04 Thread Kornel Benko
commit 34207e5571e38ced82f1b0fce7099ebe29147a7b
Merge: d3245d4 f5cf21d
Author: Kornel Benko 
Date:   Sun Aug 4 16:02:01 2013 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2013-11-18 Thread Kornel Benko
commit 0b991c73fa28b35aea3b0153d7b9f9065eed518b
Merge: 19758b2 63351f4
Author: Kornel Benko 
Date:   Mon Nov 18 16:26:26 2013 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2013-11-18 Thread Kornel Benko
commit 63eaf11493dac69ff2be02c21441212484096a5d
Merge: 5f7102d dd73982
Author: Kornel Benko 
Date:   Mon Nov 18 15:45:22 2013 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2013-11-18 Thread Kornel Benko
commit 19758b248772465db1693cd2537c7737f31d057d
Merge: 63eaf11 be28081
Author: Kornel Benko 
Date:   Mon Nov 18 16:12:50 2013 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2014-03-09 Thread Uwe Stöhr
commit 4f716cb0f8f350a1481dbdee12dbd558e0180a9b
Merge: ea05826 a6f4aa2
Author: Uwe Stöhr 
Date:   Sun Mar 9 18:20:55 2014 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2014-04-28 Thread Uwe Stöhr
commit 40aedb51466eb74f1b4ef54fad92dc47bab5f1cc
Merge: 6faa9b6 79a59fc
Author: Uwe Stöhr 
Date:   Mon Apr 28 22:57:23 2014 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-04-29 Thread Uwe Stöhr
commit f6fde9dbb243b4ddb7a0e73feaf86b632a23e164
Merge: f6029f7 d3eae5b
Author: Uwe Stöhr 
Date:   Thu Apr 30 01:23:03 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-05-03 Thread Uwe Stöhr
commit f5648006fbd0c816488c6a9167b4787d1e3a839a
Merge: 9e87cf0 8c351e3
Author: Uwe Stöhr 
Date:   Mon May 4 01:51:21 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-05-04 Thread Uwe Stöhr
commit 328dbe06026d5fef1ed663a7743daa4b62ccb3d0
Merge: 0fbd25a 6e6abe1
Author: Uwe Stöhr 
Date:   Tue May 5 01:43:51 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-05-22 Thread Uwe Stöhr
commit 0f3fc879d0b47c6715b584c542d9f7f5291f70a8
Merge: 175568b 43dd383
Author: Uwe Stöhr 
Date:   Fri May 22 22:03:13 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-05-24 Thread Uwe Stöhr
commit 9ba270462f29f4ddd913c3b02ed3154181803e62
Merge: 041a3ad bf24ea6
Author: Uwe Stöhr 
Date:   Sun May 24 17:03:24 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-05-24 Thread Uwe Stöhr
commit 0863b7e0fcf7d767d457ea3bdd4613a699209d6e
Merge: f69d5ab 701a100
Author: Uwe Stöhr 
Date:   Sun May 24 23:25:31 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-05-28 Thread Juergen Spitzmueller
commit 5c97c15e0334bdbe1ca5b2f2d6e43725c8431e34
Merge: 6501bb0 24af3f8
Author: Juergen Spitzmueller 
Date:   Thu May 28 09:47:18 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-06-01 Thread Uwe Stöhr
commit f9d9a71df49229a17db3b684a8c086d67e8f0f02
Merge: b621975 d4ae233
Author: Uwe Stöhr 
Date:   Mon Jun 1 20:46:16 2015 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-10-25 Thread Kornel Benko
commit 49f50022319834a4bd8851f02f7015b9aad77005
Merge: 5439f4e a0b3eaf
Author: Kornel Benko 
Date:   Sun Oct 25 16:29:11 2015 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-11-22 Thread Kornel Benko
commit c08a5ade542d971c8e23f86f709279f4491906fa
Merge: 5a9ddb3 08317ec
Author: Kornel Benko 
Date:   Sun Nov 22 13:57:13 2015 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2015-12-31 Thread Kornel Benko
commit 42f1f5841809eec3751490a3f1177c7d20e16885
Merge: 1fbcd26 9e135d9
Author: Kornel Benko 
Date:   Thu Dec 31 15:24:33 2015 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2016-01-23 Thread Uwe Stöhr
commit 716f44d5b93f13b3fd9d8e37c5abe4932f70fe38
Merge: d0ca4dd d763840
Author: Uwe Stöhr 
Date:   Sat Jan 23 16:20:01 2016 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2016-01-31 Thread Uwe Stöhr
commit bd3dd7873a3e7a424e90cf24e1f3d65051c67bc2
Merge: 4848c43 d569431
Author: Uwe Stöhr 
Date:   Sun Jan 31 21:27:47 2016 +0100

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2016-05-08 Thread Uwe Stöhr
commit c62cad7a71bf6ee80afba8c9aca2fde7d4e1b10b
Merge: 41e928b 654f213
Author: Uwe Stöhr 
Date:   Mon May 9 01:24:14 2016 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2016-05-29 Thread Uwe Stöhr
commit b917c4e40f9f5cd3d101444600eddafcca54d6e3
Merge: e7aaaed 82e0ad3
Author: Uwe Stöhr 
Date:   Sun May 29 23:58:10 2016 +0200

Merge branch 'master' of git.lyx.org:lyx



[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2016-06-26 Thread Juergen Spitzmueller
commit 57b69a5efddf9f3c148007322f00dad6c253a2ed
Merge: ecc90a9 3c6f242
Author: Juergen Spitzmueller 
Date:   Sun Jun 26 14:27:30 2016 +0200

Merge branch 'master' of git.lyx.org:lyx

 src/mathed/MathExtern.cpp |2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2017-07-27 Thread Juergen Spitzmueller
commit 5eaee6b51ef95873457059d37ab1cfa48f4f22a0
Merge: ebca8ce 4b21634
Author: Juergen Spitzmueller 
Date:   Thu Jul 27 18:30:10 2017 +0200

Merge branch 'master' of git.lyx.org:lyx

 lib/doc/de/Additional.lyx |11531 +++--
 1 files changed, 5836 insertions(+), 5695 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2018-01-23 Thread Uwe Stöhr
commit 029a6aace60704616f65d9071cc655c79cf755a5
Merge: dceb7e3 a77cfef
Author: Uwe Stöhr 
Date:   Wed Jan 24 01:18:43 2018 +0100

Merge branch 'master' of git.lyx.org:lyx

 lib/examples/fr/seminar.lyx |   10 +
 lib/examples/seminar.lyx|8 +---
 lib/lyx2lyx/lyx_2_0.py  |   75 ---
 lib/lyx2lyx/lyx_2_2.py  |   21 
 lib/lyx2lyx/parser_tools.py |   43 +++-
 5 files changed, 73 insertions(+), 84 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2018-01-29 Thread Uwe Stöhr
commit 46037ea583dd5a15a119a1a5d44c7ee5ca4649e6
Merge: 59ce6da c2ed75f
Author: Uwe Stöhr 
Date:   Mon Jan 29 15:10:13 2018 +0100

Merge branch 'master' of git.lyx.org:lyx

 src/LyX.cpp |   53 +++--
 1 files changed, 27 insertions(+), 26 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2018-12-29 Thread José Matos
commit 8663a371f31dc7bb888071c15a0b2cd4c3669c60
Merge: 3f03f0a 69726b8
Author: José Matos 
Date:   Sat Dec 29 19:24:59 2018 +

Merge branch 'master' of git.lyx.org:lyx

 src/support/filetools.cpp |6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2019-01-25 Thread Juergen Spitzmueller
commit c1dabfebea21769c70d5ac6444747838afb1c4a8
Merge: 394f039 67ed1ec
Author: Juergen Spitzmueller 
Date:   Fri Jan 25 18:29:15 2019 +0100

Merge branch 'master' of git.lyx.org:lyx

 development/autotests/invertedTests |6 --
 lib/doc/zh_CN/Intro.lyx |2 +-
 lib/doc/zh_CN/Tutorial.lyx  |4 ++--
 lib/examples/ko/splash.lyx  |8 
 po/de.po|4 ++--
 5 files changed, 9 insertions(+), 15 deletions(-)

diff --cc po/de.po
index 6310bd5,cee9fb6..4ce80aa
--- a/po/de.po
+++ b/po/de.po
@@@ -95,8 -95,8 +95,8 @@@ msgid "
  msgstr ""
  "Project-Id-Version: LyX 2.4git\n"
  "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n"
 -"POT-Creation-Date: 2018-12-29 18:15+0100\n"
 -"PO-Revision-Date: 2018-12-29 18:18+0100\n"
 +"POT-Creation-Date: 2019-01-25 14:43+0100\n"
- "PO-Revision-Date: 2019-01-25 14:48+0100\n"
++"PO-Revision-Date: 2019-01-25 15:00+0100\n"
  "Last-Translator: Juergen Spitzmueller \n"
  "Language-Team: German \n"
  "Language: de\n"
@@@ -26375,24 -26375,7 +26375,24 @@@ msgstr "Vergessen Sie nicht, ihre Date
  msgid "Remove emergency file now?"
  msgstr "Notspeicherungsdatei jetzt löschen?"
  
 -#: src/Buffer.cpp:4778
 +#: src/Buffer.cpp:4792
 +msgid "Can't rename emergency file!"
- msgstr "Notspeicherung kann nicht umbenannt werden!"
++msgstr "Notspeicherungsdatei kann nicht umbenannt werden!"
 +
 +#: src/Buffer.cpp:4793
 +msgid ""
 +"LyX was unable to rename the emergency file. You should do so manually. "
 +"Otherwise, you will be asked about it again the next time you try to load "
 +"this file, and may over-write your own work."
 +msgstr ""
 +"LyX konnte die Notspeicherungsdatei nicht umbenennen. Sie sollten das 
manuell"
 +" tun. "
 +"Sonst werden Sie nächstes Mal, wenn Sie diese Datei laden, wieder danach"
 +" gefragt, "
 +"und Ihre Datei könnte mit einer dann nicht mehr aktuellen Notspeicherung"
 +" überschrieben werden."
 +
 +#: src/Buffer.cpp:4818
  #, c-format
  msgid ""
  "The backup of the document %1$s is newer.\n"


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2019-03-26 Thread Juergen Spitzmueller
commit 2871b484a1730c528f902494e33ab7d9e35bcbfd
Merge: fd28958 c5fa523
Author: Juergen Spitzmueller 
Date:   Tue Mar 26 10:08:42 2019 +0100

Merge branch 'master' of git.lyx.org:lyx

 development/cmake/modules/LyXPaths.cmake |   16 
 1 files changed, 8 insertions(+), 8 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2019-07-15 Thread Juergen Spitzmueller
commit ebf0fe6756ab2d1a54848095284fb142431bb423
Merge: f83c5ea 10379ab
Author: Juergen Spitzmueller 
Date:   Tue Jul 16 07:18:29 2019 +0200

Merge branch 'master' of git.lyx.org:lyx

 lib/Makefile.am   |   21 ---
 lib/doc/Math.lyx  |   31 +---
 lib/images/classic/layout_Chunk.png   |  Bin 327 -> 0 bytes
 lib/images/classic/layout_Description.png |  Bin 210 -> 0 bytes
 lib/images/classic/layout_Enumerate.png   |  Bin 234 -> 0 bytes
 lib/images/classic/layout_Itemize.png |  Bin 202 -> 0 bytes
 lib/images/classic/layout_List.png|  Bin 199 -> 0 bytes
 lib/images/classic/layout_LyX-Code.png|  Bin 268 -> 0 bytes
 lib/images/classic/layout_Section.png |  Bin 238 -> 0 bytes
 lib/images/layout_Chunk.svgz  |  Bin 1646 -> 0 bytes
 lib/images/layout_Description.svgz|  Bin 1553 -> 0 bytes
 lib/images/layout_Enumerate.svgz  |  Bin 2043 -> 0 bytes
 lib/images/layout_Itemize.svgz|  Bin 1441 -> 0 bytes
 lib/images/layout_List.svgz   |  Bin 1568 -> 0 bytes
 lib/images/layout_LyX-Code.svgz   |  Bin 2163 -> 0 bytes
 lib/images/layout_Section.svgz|  Bin 3248 -> 0 bytes
 lib/images/oxygen/layout_Chunk.svgz   |  Bin 4675 -> 0 bytes
 lib/images/oxygen/layout_Description.svgz |  Bin 1714 -> 0 bytes
 lib/images/oxygen/layout_Enumerate.svgz   |  Bin 4278 -> 0 bytes
 lib/images/oxygen/layout_Itemize.svgz |  Bin 1850 -> 0 bytes
 lib/images/oxygen/layout_List.svgz|  Bin 1677 -> 0 bytes
 lib/images/oxygen/layout_LyX-Code.svgz|  Bin 3121 -> 0 bytes
 lib/images/oxygen/layout_Section.svgz |  Bin 2681 -> 0 bytes
 po/postats.py |   24 +++---
 24 files changed, 39 insertions(+), 37 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2019-07-15 Thread Juergen Spitzmueller
commit f83c5eab77f4f2c57ff8d05496468f5f1e9007b3
Merge: 317091c b9cc642
Author: Juergen Spitzmueller 
Date:   Mon Jul 15 18:23:04 2019 +0200

Merge branch 'master' of git.lyx.org:lyx

 INSTALL.Cygwin   |   34 +++
 Makefile.am  |2 +-
 README.Cygwin|   34 ---
 lib/configure.py |  253 +++---
 po/postats.py|   11 ++-
 5 files changed, 170 insertions(+), 164 deletions(-)


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2019-12-24 Thread Juergen Spitzmueller
commit bab184e49e4420ad5277eacd45f2447727f55bbd
Merge: a08cbf4 fc46e45
Author: Juergen Spitzmueller 
Date:   Tue Dec 24 18:09:34 2019 +0100

Merge branch 'master' of git.lyx.org:lyx

 po/de.po |  276 +++---
 po/sk.po |   57 +
 2 files changed, 177 insertions(+), 156 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2020-07-19 Thread Thibaut Cuvelier
commit 85283760024ba87339677f693bc9c6f0f6a476c9
Merge: c6b17b7 a2e7830
Author: Thibaut Cuvelier 
Date:   Mon Jul 20 03:03:16 2020 +0200

Merge branch 'master' of git.lyx.org:lyx

-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2021-03-01 Thread Juergen Spitzmueller
commit d49c4abb437f391efc00c1234df338ae1b4fa2c3
Merge: f28affd f92f2f9
Author: Juergen Spitzmueller 
Date:   Tue Mar 2 08:36:42 2021 +0100

Merge branch 'master' of git.lyx.org:lyx

 src/frontends/qt/GuiApplication.cpp |5 +
 1 files changed, 5 insertions(+), 0 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2021-03-01 Thread Juergen Spitzmueller
commit f28affd421a30b7c8620b6aedf76bfa665321733
Merge: 0e54e01 234886f
Author: Juergen Spitzmueller 
Date:   Tue Mar 2 07:04:03 2021 +0100

Merge branch 'master' of git.lyx.org:lyx

 src/Cursor.cpp|9 ++---
 src/frontends/qt/GuiAbout.cpp |2 +-
 src/mathed/InsetMathColor.cpp |9 -
 src/mathed/InsetMathColor.h   |4 
 4 files changed, 19 insertions(+), 5 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2022-06-12 Thread Juergen Spitzmueller
commit c29f31e9822f1ae651129e9647be2de4afa4e918
Merge: b2a7b71 1e58d5c
Author: Juergen Spitzmueller 
Date:   Sun Jun 12 13:35:52 2022 +0200

Merge branch 'master' of git.lyx.org:lyx

 development/autotests/ctests-costs-benefits.txt |8 ++-
 src/Row.cpp |   12 +++-
 src/RowFlags.h  |   29 
 src/insets/InsetIndex.h |2 +
 src/insets/InsetLabel.h |2 +
 src/lyxfind.cpp |   80 +-
 6 files changed, 41 insertions(+), 92 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2023-04-23 Thread Juergen Spitzmueller
commit cb17dbf68db47435a38914df1028dba4ed32884f
Merge: 4f83a99 a156606
Author: Juergen Spitzmueller 
Date:   Sun Apr 23 14:49:44 2023 +0200

Merge branch 'master' of git.lyx.org:lyx

 po/cs.po |   79 +++--
 1 files changed, 30 insertions(+), 49 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2023-07-21 Thread Juergen Spitzmueller
commit c3e0ae4bfdf7e718f0048cf73df9ca3002cd65a6
Merge: 07c2440 f31bf0d
Author: Juergen Spitzmueller 
Date:   Fri Jul 21 09:09:30 2023 +0200

Merge branch 'master' of git.lyx.org:lyx

 development/FORMAT |3 +
 po/sk.po   |  106 
 src/Cursor.cpp |6 +-
 3 files changed, 104 insertions(+), 11 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2024-03-15 Thread Juergen Spitzmueller
commit 5f82a7a515bffd3527c9e557ebfb1e39d1705a97
Merge: 1f4238c9fb b3fe9cb704
Author: Juergen Spitzmueller 
Date:   Sat Mar 16 04:59:08 2024 +0100

Merge branch 'master' of git.lyx.org:lyx

 src/graphics/PreviewLoader.cpp | 25 ++---
 1 file changed, 22 insertions(+), 3 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2024-03-15 Thread Juergen Spitzmueller
commit 1fca6842a57f0cf9ccefbb4be178a227895f407a
Merge: 5f82a7a515 f9c60d477d
Author: Juergen Spitzmueller 
Date:   Sat Mar 16 05:03:16 2024 +0100

Merge branch 'master' of git.lyx.org:lyx

 src/graphics/PreviewLoader.cpp | 6 ++
 1 file changed, 2 insertions(+), 4 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


[LyX/master] Merge branch 'master' of git.lyx.org:lyx

2024-04-02 Thread Juergen Spitzmueller
commit 77b680546d08e4cf5cefac2feca30155d52ad183
Merge: 655cdfbb7b 34dbdad957
Author: Juergen Spitzmueller 
Date:   Wed Apr 3 07:26:11 2024 +0200

Merge branch 'master' of git.lyx.org:lyx

 .gitignore|   2 +-
 lib/doc/UserGuide.lyx |  87 --
 po/fr.gmo | Bin 656494 -> 656498 bytes
 po/fr.po  |  26 +++
 src/LyXAction.cpp |   4 ++-
 5 files changed, 101 insertions(+), 18 deletions(-)
-- 
lyx-cvs mailing list
lyx-cvs@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-cvs


Re: [LyX master] Merge branch 'master' of git.lyx.org:lyx

2013-02-19 Thread Jürgen Spitzmüller
Am Dienstag 19 Februar 2013, 09:28:58 schrieb Kornel Benko:
> commit 8e4f656aa79cb1e39a4b8b3fc18b0d4571b8eee4
> Author: Kornel Benko 
> Date:   Tue Feb 19 09:26:05 2013 +0100
> 
> Add new output format dvi4 ( == DVI(pLaTeX)
> Add converter for this format (platex without extra parameters)

As said, I don't think this is correct. Instead, the current platex support 
should be fixed.

Jürgen