spitz | 1 Feb 07:33
Favicon

r40696 - in lyx-devel/branches/BRANCH_2_0_X: . src/frontends/qt4

Author: spitz
Date: Wed Feb  1 07:33:51 2012
New Revision: 40696
URL: http://www.lyx.org/trac/changeset/40696

Log:
Fix bug #8013: updateDefaultFormat() checks the osFontsCB state, so the fonts UI needs to be set in advance
of the output UI.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiDocument.cpp
   lyx-devel/branches/BRANCH_2_0_X/status.20x

Modified: lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiDocument.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiDocument.cpp	Tue Jan 31 22:15:53 2012	(r40695)
+++ lyx-devel/branches/BRANCH_2_0_X/src/frontends/qt4/GuiDocument.cpp	Wed Feb  1 07:33:51 2012	(r40696)
@@ -2881,30 +2881,13 @@
 		InsetListingsParams(bp_.listings_params).separatedParams();
 	listingsModule->listingsED->setPlainText(toqstr(lstparams));

-	// Output
-	// update combobox with formats
-	updateDefaultFormat();
-	int index = outputModule->defaultFormatCO->findData(toqstr(
-		bp_.default_output_format));
-	// set to default if format is not found 
-	if (index == -1)
-		index = 0;
-	outputModule->defaultFormatCO->setCurrentIndex(index);
(Continue reading)

sanda | 1 Feb 13:22
Favicon

r40697 - lyx-devel/branches/BRANCH_2_0_X/po

Author: sanda
Date: Wed Feb  1 13:22:23 2012
New Revision: 40697
URL: http://www.lyx.org/trac/changeset/40697

Log:
* cs.po

Modified:
   lyx-devel/branches/BRANCH_2_0_X/po/cs.po

Modified: lyx-devel/branches/BRANCH_2_0_X/po/cs.po
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/po/cs.po	Wed Feb  1 07:33:51 2012	(r40696)
+++ lyx-devel/branches/BRANCH_2_0_X/po/cs.po	Wed Feb  1 13:22:23 2012	(r40697)
@@ -10555,7 +10555,7 @@

 #: lib/layouts/knitr.module:2 lib/configure.py:584
 msgid "Rnw (knitr)"
-msgstr ""
+msgstr "Rnw (knitr)"

 #: lib/layouts/knitr.module:6
 msgid ""
@@ -10563,6 +10563,9 @@
 "has to be installed for this module to work: install.packages('knitr'). Note "
 "it depends on R >= 2.14.1. For more info see http://yihui.github.com/knitr"
 msgstr ""
+"Použít balíček knitr pro dynamické generování reportů. Tento balíček pro jazyk"
+"R musí být naistalován pro správnou funkci modulu: install.packages('knitr'). "
(Continue reading)

baum | 1 Feb 22:03
Favicon

r40698 - in lyx-devel/branches/BRANCH_2_0_X: . lib

Author: baum
Date: Wed Feb  1 22:03:04 2012
New Revision: 40698
URL: http://www.lyx.org/trac/changeset/40698

Log:
Backport the safe part of r40694 to fix bug #7998.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/lib/unicodesymbols
   lyx-devel/branches/BRANCH_2_0_X/status.20x

Modified: lyx-devel/branches/BRANCH_2_0_X/lib/unicodesymbols
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/lib/unicodesymbols	Wed Feb  1 13:22:23 2012	(r40697)
+++ lyx-devel/branches/BRANCH_2_0_X/lib/unicodesymbols	Wed Feb  1 22:03:04 2012	(r40698)
@@ -1530,14 +1530,19 @@
 #
 # general punctuation
 #
+0x200c "\\textcompwordmark"       "" "" "" "" # ZERO WIDTH NON-JOINER
+#0x200d ""                         "" "" "" "" # ZERO WIDTH JOINER
+#0x200e ""                         "" "" "" "" # LEFT-TO-RIGHT MARK
+#0x200f ""                         "" "" "" "" # RIGHT-TO-LEFT MARK
 0x2010 "-"                        "" "" # HYPHEN # identic in LaTeX to FIGURE DASH
+0x2011 "\\nobreakdash-"           "amsmath" "" "" "" # NON-BREAKING HYPHEN
 0x2012 "-"                        "" "" # FIGURE DASH
 0x2013 "\\textendash"             "" "" # EN DASH
 0x2014 "\\textemdash"             "" "" # EM DASH
 # use the following macro for the character HORIZONTAL BAR
(Continue reading)

larsbj | 2 Feb 01:25
Favicon

r40699 - lyx-devel/trunk/src/mathed

Author: larsbj
Date: Thu Feb  2 01:25:13 2012
New Revision: 40699
URL: http://www.lyx.org/trac/changeset/40699

Log:
Fixup multi-line comment to use block-comment

The small ascii art in InsetMathCancel::draw has line continuation characters at
eol, this make consecutive lines be andled as one. The use of a block comment
instead of single line comments makes this less of a "problem." Also it removes
a warning with gcc 4.7.

Modified:
   lyx-devel/trunk/src/mathed/InsetMathCancel.cpp

Modified: lyx-devel/trunk/src/mathed/InsetMathCancel.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathCancel.cpp	Wed Feb  1 22:03:04 2012	(r40698)
+++ lyx-devel/trunk/src/mathed/InsetMathCancel.cpp	Thu Feb  2 01:25:13 2012	(r40699)
@@ -47,13 +47,15 @@
 	cell(0).draw(pi, x + 1, y);
 	Dimension const dim = dimension(*pi.base.bv);

-	// y1 \    /
-	//     \  /
-	//      \/
-	//      /\
-	//     /  \
-	// y2 /    \
(Continue reading)

lasgouttes | 2 Feb 14:39
Favicon

r40700 - lyx-devel/trunk/src/mathed

Author: lasgouttes
Date: Thu Feb  2 14:39:05 2012
New Revision: 40700
URL: http://www.lyx.org/trac/changeset/40700

Log:
* InsetMathScript::doDispatch : properly record undo information before
changing limits status (fixes bug #8007)
* InsetMathScript::getStatus (new) : handle properly status for LFUN_MATH_LIMITS here, along with
checkmark support for the menu)

Modified:
   lyx-devel/trunk/src/mathed/InsetMathNest.cpp
   lyx-devel/trunk/src/mathed/InsetMathScript.cpp
   lyx-devel/trunk/src/mathed/InsetMathScript.h

Modified: lyx-devel/trunk/src/mathed/InsetMathNest.cpp
==============================================================================
--- lyx-devel/trunk/src/mathed/InsetMathNest.cpp	Thu Feb  2 01:25:13 2012	(r40699)
+++ lyx-devel/trunk/src/mathed/InsetMathNest.cpp	Thu Feb  2 14:39:05 2012	(r40700)
@@ -1368,7 +1368,6 @@
 	// we just need to be in math mode to enable that
 	case LFUN_MATH_SIZE:
 	case LFUN_MATH_SPACE:
-	case LFUN_MATH_LIMITS:
 	case LFUN_MATH_EXTERN:
 		flag.setEnabled(true);
 		break;

Modified: lyx-devel/trunk/src/mathed/InsetMathScript.cpp
(Continue reading)

rgheck | 2 Feb 16:39
Favicon

r40701 - lyx-devel/branches/BRANCH_2_0_X/po

Author: rgheck
Date: Thu Feb  2 16:39:36 2012
New Revision: 40701
URL: http://www.lyx.org/trac/changeset/40701

Log:
Updates to Indonesian and Swedish localizations, from Waluyo and Jim.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/po/id.po
   lyx-devel/branches/BRANCH_2_0_X/po/sv.po

Modified: lyx-devel/branches/BRANCH_2_0_X/po/id.po
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/po/id.po	Thu Feb  2 14:39:05 2012	(r40700)
+++ lyx-devel/branches/BRANCH_2_0_X/po/id.po	Thu Feb  2 16:39:36 2012	(r40701)
 <at>  <at>  -8,7 +8,7  <at>  <at> 
 "Project-Id-Version: LyX\n"
 "Report-Msgid-Bugs-To: lyx-devel <at> lists.lyx.org\n"
 "POT-Creation-Date: 2012-01-31 09:56-0500\n"
-"PO-Revision-Date: 2011-11-11 00:57+0730\n"
+"PO-Revision-Date: 2012-02-01 07:13+0730\n"
 "Last-Translator: Waluyo Adi Siswanto <was.uthm <at> gmail.com>\n"
 "Language-Team: Indonesian <was.uthm <at> gmail.com>\n"
 "Language: id\n"
 <at>  <at>  -28,36 +28,48  <at>  <at> 
 msgid "Credits"
 msgstr "Penghargaan"
 
-#: src/frontends/qt4/ui/AboutUi.ui:80 lib/layouts/apa.layout:199
(Continue reading)

rgheck | 2 Feb 16:59
Favicon

r40702 - lyx-devel/trunk/lib

Author: rgheck
Date: Thu Feb  2 16:59:45 2012
New Revision: 40702
URL: http://www.lyx.org/trac/changeset/40702

Log:
Fedora's LibreOffice packages, at least, only know "libreoffice",
not "lwriter".

Modified:
   lyx-devel/trunk/lib/configure.py

Modified: lyx-devel/trunk/lib/configure.py
==============================================================================
--- lyx-devel/trunk/lib/configure.py	Thu Feb  2 16:39:36 2012	(r40701)
+++ lyx-devel/trunk/lib/configure.py	Thu Feb  2 16:59:45 2012	(r40702)
@@ -604,11 +604,11 @@
     checkViewerEditor('Noteedit', ['noteedit'],
         rc_entry = [r'\Format noteedit   not     Noteedit               "" "%%"	"%%"	"vector"'])
     #
-    checkViewerEditor('an OpenDocument/OpenOffice viewer', ['lwriter', 'swriter', 'oowriter', 'abiword'],
+    checkViewerEditor('an OpenDocument/OpenOffice viewer', ['libreoffice', 'lwriter', 'swriter',
'oowriter', 'abiword'],
         rc_entry = [r'''\Format odt        odt     OpenDocument           "" "%%"	"%%"	"document,vector,menu=export"
 \Format sxw        sxw    "OpenOffice.Org (sxw)"  "" ""	""	"document,vector"'''])
     #
-    checkViewerEditor('a Rich Text and Word viewer', ['lwriter', 'swriter', 'oowriter', 'abiword'],
+    checkViewerEditor('a Rich Text and Word viewer', ['libreoffice', 'lwriter', 'swriter', 'oowriter', 'abiword'],
         rc_entry = [r'''\Format rtf        rtf    "Rich Text Format"      "" "%%"	"%%"	"document,vector,menu=export"
 \Format word       doc    "MS Word"               W  "%%"	"%%"	"document,vector,menu=export"'''])
(Continue reading)

lasgouttes | 2 Feb 23:30
Favicon

r40703 - lyx-devel/trunk/lib/scripts

Author: lasgouttes
Date: Thu Feb  2 23:30:38 2012
New Revision: 40703
URL: http://www.lyx.org/trac/changeset/40703

Log:
Fix #8019 (from yihui)
* avoid creation of file Rplots.pdf in document file
* find correctly Sweave.sty on old R versions

Modified:
   lyx-devel/trunk/lib/scripts/lyxsweave.R

Modified: lyx-devel/trunk/lib/scripts/lyxsweave.R
==============================================================================
--- lyx-devel/trunk/lib/scripts/lyxsweave.R	Thu Feb  2 16:59:45 2012	(r40702)
+++ lyx-devel/trunk/lib/scripts/lyxsweave.R	Thu Feb  2 23:30:38 2012	(r40703)
@@ -23,8 +23,12 @@
 # The advantage compared to the use of stylepath, is that the exported
 # .tex file will be portable to another machine. (JMarc)
 if (!length(system("kpsewhich Sweave.sty", intern=TRUE, ignore.stderr=TRUE))) {
-  file.copy(file.path(R.home("share"), "texmf", "tex", "latex", "Sweave.sty"),
-    dirname(.cmdargs[2]), overwrite=TRUE)
+  .texmf.path <- file.path(R.home("share"), "texmf")
+  if (!file.exists(.sweave.sty <- file.path(.texmf.path, "Sweave.sty"))) {
+    .sweave.sty <- file.path(.texmf.path, "tex", "latex", "Sweave.sty")
+  } 
+  file.copy(.sweave.sty, dirname(.cmdargs[2]), overwrite=TRUE)
+  rm(list = c('.sweave.sty', '.texmf.path'))
 }
(Continue reading)

lasgouttes | 2 Feb 23:39
Favicon

r40704 - in lyx-devel/branches/BRANCH_2_0_X: . src/mathed

Author: lasgouttes
Date: Thu Feb  2 23:39:26 2012
New Revision: 40704
URL: http://www.lyx.org/trac/changeset/40704

Log:
backport 40700

Modified:
   lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathNest.cpp
   lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathScript.cpp
   lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathScript.h
   lyx-devel/branches/BRANCH_2_0_X/status.20x

Modified: lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathNest.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathNest.cpp	Thu Feb  2 23:30:38 2012	(r40703)
+++ lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathNest.cpp	Thu Feb  2 23:39:26 2012	(r40704)
@@ -1344,7 +1344,6 @@
 	// we just need to be in math mode to enable that
 	case LFUN_MATH_SIZE:
 	case LFUN_MATH_SPACE:
-	case LFUN_MATH_LIMITS:
 	case LFUN_MATH_EXTERN:
 		flag.setEnabled(true);
 		break;

Modified: lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathScript.cpp
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/src/mathed/InsetMathScript.cpp	Thu Feb  2 23:30:38 2012	(r40703)
(Continue reading)

spitz | 3 Feb 07:10
Favicon

r40705 - lyx-devel/branches/BRANCH_2_0_X

Author: spitz
Date: Fri Feb  3 07:10:14 2012
New Revision: 40705
URL: http://www.lyx.org/trac/changeset/40705

Log:
status.20x: Fix glitches introduced with r40704.

Modified:
   lyx-devel/branches/BRANCH_2_0_X/status.20x

Modified: lyx-devel/branches/BRANCH_2_0_X/status.20x
==============================================================================
--- lyx-devel/branches/BRANCH_2_0_X/status.20x	Thu Feb  2 23:39:26 2012	(r40704)
+++ lyx-devel/branches/BRANCH_2_0_X/status.20x	Fri Feb  3 07:10:14 2012	(r40705)
@@ -122,7 +122,7 @@

 - Support configure --with-packaging=posix on Mac OS X (bug 7927).

-- Improved disk image creationi on Mac OS X:
+- Improved disk image creation on Mac OS X:
   * Provide translation of the application menu.
   * Enhanced background image.
   * Package with hunspell dictionaries is default.
@@ -211,7 +211,7 @@

 - Correctly display and handle the math commands \pod and \mod (bug 7962).

-- Fix tabbar visibility in fullscreen mode when opening/closing files (bug 7G963).
+- Fix tabbar visibility in fullscreen mode when opening/closing files (bug 7963).
(Continue reading)


Gmane