[LyX/master] Update sk.po

2017-09-01 Thread Kornel Benko
commit 53edf3484b00661e1f7791db2e30db23a7505115
Author: Kornel Benko 
Date:   Sat Sep 2 00:42:41 2017 +0200

Update sk.po
---
 po/sk.gmo |  Bin 524787 -> 524820 bytes
 po/sk.po  |   40 ++--
 2 files changed, 38 insertions(+), 2 deletions(-)

diff --git a/po/sk.gmo b/po/sk.gmo
index 239848e..6bb3164 100644
Binary files a/po/sk.gmo and b/po/sk.gmo differ
diff --git a/po/sk.po b/po/sk.po
index 1f7b256..bce33f6 100644
--- a/po/sk.po
+++ b/po/sk.po
@@ -2072,7 +2072,7 @@ msgstr "Odkaz na e-mailovú adresu"
 
 #: src/frontends/qt4/ui/HyperlinkUi.ui:146
 msgid "E&mail"
-msgstr "Ema&il"
+msgstr "E-ma&il"
 
 #: src/frontends/qt4/ui/HyperlinkUi.ui:153
 msgid "Link to a file"
@@ -8245,7 +8245,7 @@ msgstr "Priezvisko"
 #: lib/layouts/db_stdcharstyles.inc:61 lib/layouts/db_stdcharstyles.inc:63
 #: lib/layouts/db_stdlayouts.inc:11
 msgid "Literal"
-msgstr "Doslovné"
+msgstr "Doslovne"
 
 #: lib/layouts/agu_stdclass.inc:114 lib/layouts/agu_stdclass.inc:116
 #: lib/layouts/logicalmkup.module:32 src/frontends/qt4/GuiCharacter.cpp:84
@@ -33465,6 +33465,42 @@ msgstr ""
 msgid "Unknown user"
 msgstr "Neznámy používateľ"
 
+#~ msgid "Note: "
+#~ msgstr "Poznámka: "
+
+#~ msgid "Volume: "
+#~ msgstr "Diel: "
+
+#~ msgid "Number: "
+#~ msgstr "Číslo: "
+
+#~ msgid "Article: "
+#~ msgstr "Článok: "
+
+#~ msgid "Year: "
+#~ msgstr "Rok: "
+
+#~ msgid "Month: "
+#~ msgstr "Mesiac: "
+
+#~ msgid "Submission ID: "
+#~ msgstr "Totožnosť Predloženia: "
+
+#~ msgid "Price: "
+#~ msgstr "Cena: "
+
+#~ msgid "Sweave (Japanese)"
+#~ msgstr "Sweave (japonský)"
+
+#~ msgid "Sweave (Japanese)|S"
+#~ msgstr "Sweave (japonský)|S"
+
+#~ msgid "Rnw (knitr, Japanese)"
+#~ msgstr "Rnw (knitr, japonský)"
+
+#~ msgid "LilyPond book (pLaTeX)"
+#~ msgstr "LilyPond Kniha (pLaTeX)"
+
 #~ msgid "Use the minted package instead of the listings one"
 #~ msgstr "Použiť minted balík namiesto balíka listings"
 


[LyX/master] Update fr.po after 2cbca8be1e

2017-09-01 Thread jpc
commit 6e936eeb398ae365f86820ead5a946ac04baa377
Author: jpc 
Date:   Fri Sep 1 23:07:38 2017 +0200

Update fr.po after 2cbca8be1e
---
 po/fr.gmo |  Bin 540503 -> 540366 bytes
 po/fr.po  |  335 -
 2 files changed, 177 insertions(+), 158 deletions(-)

diff --git a/po/fr.gmo b/po/fr.gmo
index ab5be0f..b97c5d4 100644
Binary files a/po/fr.gmo and b/po/fr.gmo differ
diff --git a/po/fr.po b/po/fr.po
index 5b2e394..0ea9ed3 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -333,8 +333,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LyX 2.3\n"
 "Report-Msgid-Bugs-To: lyx-de...@lists.lyx.org\n"
-"POT-Creation-Date: 2017-08-29 17:59+0200\n"
-"PO-Revision-Date: 2017-08-29 18:06+0200\n"
+"POT-Creation-Date: 2017-09-01 17:44+0200\n"
+"PO-Revision-Date: 2017-09-01 22:53+0200\n"
 "Last-Translator: Jean-Pierre Chrétien \n"
 "Language-Team: lyxfr\n"
 "Language: fr\n"
@@ -2358,8 +2358,8 @@ msgid "Insert the spacing even after a line break"
 msgstr "Insérer l'espacement même après un saut de page"
 
 #: src/frontends/qt4/ui/HyperlinkUi.ui:24
-#: src/frontends/qt4/ui/HyperlinkUi.ui:61 lib/layouts/acmart.layout:682
-#: lib/layouts/acmart.layout:700 lib/layouts/amsdefs.inc:160
+#: src/frontends/qt4/ui/HyperlinkUi.ui:61 lib/layouts/acmart.layout:684
+#: lib/layouts/acmart.layout:702 lib/layouts/amsdefs.inc:160
 #: lib/layouts/minimalistic.module:26 lib/layouts/scrlttr2.layout:212
 #: lib/layouts/stdinsets.inc:534 lib/layouts/stdinsets.inc:537
 msgid "URL"
@@ -5452,7 +5452,7 @@ msgstr "Cette ligne est le pied de la dernière page"
 msgid "Don't output the last footer"
 msgstr "Ne pas créer le dernier pied"
 
-#: src/frontends/qt4/ui/TabularUi.ui:1507
+#: src/frontends/qt4/ui/TabularUi.ui:1507 lib/layouts/AEA.layout:306
 msgid "Caption:"
 msgstr "Légende :"
 
@@ -6064,10 +6064,10 @@ msgstr "TitreCourt"
 #: lib/layouts/aastex.layout:203 lib/layouts/aastex.layout:222
 #: lib/layouts/aastex.layout:296 lib/layouts/achemso.layout:56
 #: lib/layouts/achemso.layout:83 lib/layouts/acm-sigs.inc:11
-#: lib/layouts/acm-sigs.inc:32 lib/layouts/acmart.layout:85
-#: lib/layouts/acmart.layout:155 lib/layouts/acmart.layout:170
-#: lib/layouts/acmart.layout:403 lib/layouts/acmart.layout:455
-#: lib/layouts/acmart.layout:478 lib/layouts/acmsiggraph-0-92.layout:78
+#: lib/layouts/acm-sigs.inc:32 lib/layouts/acmart.layout:87
+#: lib/layouts/acmart.layout:157 lib/layouts/acmart.layout:172
+#: lib/layouts/acmart.layout:405 lib/layouts/acmart.layout:457
+#: lib/layouts/acmart.layout:480 lib/layouts/acmsiggraph-0-92.layout:78
 #: lib/layouts/acmsiggraph-0-92.layout:222
 #: lib/layouts/acmsiggraph-0-92.layout:242 lib/layouts/acmsiggraph.layout:70
 #: lib/layouts/acmsiggraph.layout:179 lib/layouts/acmsiggraph.layout:198
@@ -6186,7 +6186,7 @@ msgstr "JEL :"
 #: lib/layouts/IEEEtran-TransMag.layout:33 lib/layouts/IEEEtran.layout:280
 #: lib/layouts/aa.layout:321 lib/layouts/aastex.layout:290
 #: lib/layouts/achemso.layout:155 lib/layouts/acm-sigs.inc:51
-#: lib/layouts/acmart.layout:396 lib/layouts/acmsiggraph-0-92.layout:187
+#: lib/layouts/acmart.layout:398 lib/layouts/acmsiggraph-0-92.layout:187
 #: lib/layouts/acmsiggraph.layout:163 lib/layouts/agu_stdtitle.inc:120
 #: lib/layouts/amsdefs.inc:168 lib/layouts/apa6.layout:250
 #: lib/layouts/elsart.layout:64 lib/layouts/elsarticle.layout:286
@@ -6222,7 +6222,7 @@ msgstr "Mots-clés :"
 #: lib/layouts/IEEEtran-TransMag.layout:27 lib/layouts/IEEEtran.layout:258
 #: lib/layouts/RJournal.layout:39 lib/layouts/aa.layout:291
 #: lib/layouts/aapaper.layout:102 lib/layouts/aapaper.layout:205
-#: lib/layouts/aastex.layout:248 lib/layouts/acmart.layout:473
+#: lib/layouts/aastex.layout:248 lib/layouts/acmart.layout:475
 #: lib/layouts/acmsiggraph-0-92.layout:238
 #: lib/layouts/acmsiggraph-0-92.layout:254 lib/layouts/acmsiggraph.layout:194
 #: lib/layouts/acmsiggraph.layout:210 lib/layouts/agu_stdtitle.inc:194
@@ -6292,7 +6292,7 @@ msgstr "Notes de figure"
 #: lib/layouts/AEA.layout:116 lib/layouts/AEA.layout:302
 #: lib/layouts/IEEEtran.layout:36 lib/layouts/aa.layout:37
 #: lib/layouts/aapaper.layout:36 lib/layouts/aastex.layout:62
-#: lib/layouts/achemso.layout:32 lib/layouts/acmart.layout:62
+#: lib/layouts/achemso.layout:32 lib/layouts/acmart.layout:64
 #: lib/layouts/acmsiggraph-0-92.layout:44 lib/layouts/acmsiggraph.layout:36
 #: lib/layouts/agu_stdclass.inc:23 lib/layouts/agutex.layout:33
 #: lib/layouts/amsart.layout:32 lib/layouts/amsbook.layout:33
@@ -6356,7 +6356,7 @@ msgstr "Note de tableau"
 msgid "Text of a note in a table"
 msgstr "Texte de note de tableau"
 
-#: lib/layouts/AEA.layout:147 lib/layouts/acmart.layout:543
+#: lib/layouts/AEA.layout:147 lib/layouts/acmart.layout:545
 #: lib/layouts/beamer.layout:1279 lib/layouts/elsart.layout:272
 #: lib/layouts/foils.layout:224 lib/layouts/heb-article.layout:29
 #: lib/layouts/ijmpc.layout:352 lib/layouts/ijmpd.layout:358
@@ -6501,7 +6501,7 @@ msgstr "Conclusion"
 msgid "Condition"
 msgstr "Condition"

[LyX/master] Update acmart.layout following tickets #10722 & #10723

2017-09-01 Thread jpc
commit 2cbca8be1e85c2126014960d179b4d0d25c2fbd4
Author: jpc 
Date:   Fri Sep 1 23:02:26 2017 +0200

 Update acmart.layout following tickets #10722 & #10723
---
 lib/layouts/acmart.layout |   64 +++-
 1 files changed, 33 insertions(+), 31 deletions(-)

diff --git a/lib/layouts/acmart.layout b/lib/layouts/acmart.layout
index 8b95ace..67f7d51 100644
--- a/lib/layouts/acmart.layout
+++ b/lib/layouts/acmart.layout
@@ -6,6 +6,8 @@
 #
 # Author : John Perry 
 #  Guillaume Munch-Maccagnoni 
+# Reviewed following tickets #10722 & #10723
+#  by Jean-Pierre Chrétien 
 
 Format 64
 
@@ -95,7 +97,7 @@ Style Thanks
 Family Roman
   EndFont
   LabelType Static
-  LabelString "Thanks:"
+  LabelString "Thanks: "
   LatexType command
   LatexName thanks
   Margin Dynamic
@@ -106,7 +108,7 @@ Style ACM_Journal
   AlignPossible left
   Category Preamble
   InPreamble  1
-  LabelString "Journal's Short Name:"
+  LabelString "Journal's Short Name: "
   LabelType Static
   LabelFont
 Color Blue
@@ -135,7 +137,7 @@ Style ACM_Conference
 LabelString "Venue"
 Mandatory 1
   EndArgument
-  LabelString "Conference Name:"
+  LabelString "Conference Name: "
   LatexName acmConference
   Margin Dynamic
 End
@@ -173,7 +175,7 @@ Style Email
   EndFont
   #InPreamble  1
   InTitle 1
-  LabelString "Email address:"
+  LabelString "Email address: "
   LabelType Static
   LabelFont
 Color Blue
@@ -187,7 +189,7 @@ End
 
 Style ORCID
   CopyStyle Email
-  LabelString "ORCID:"
+  LabelString "ORCID: "
   Font
 Family Roman
   EndFont
@@ -207,13 +209,13 @@ Style Affiliation
 Color Blue
 Shape Italic
   EndFont
-  LabelString "Affiliation:"
+  LabelString "Affiliation: "
   LatexName affiliation
 End
 
 Style Additional_Affiliation
   CopyStyle Affiliation
-  LabelString "Additional Affiliation:"
+  LabelString "Additional Affiliation: "
   LatexName additionalaffiliation
 End
 
@@ -291,7 +293,7 @@ Style TitleNote
 Color Blue
 Shape Italic
   EndFont
-  LabelString "Title Note:"
+  LabelString "Title Note: "
   LatexName titlenote
   TopSep 0.3
   BottomSep 0.3
@@ -299,103 +301,103 @@ End
 
 Style SubtitleNote
   CopyStyle TitleNote
-  LabelString "Subtitle Note:"
+  LabelString "Subtitle Note: "
   LatexName subtitlenote
 End
 
 Style AuthorNote
   CopyStyle TitleNote
-  LabelString "Author Note:"
+  LabelString "Note: "
   LatexName authornote
 End
 
 Style ACM_Volume
   CopyStyle ACM_Journal
-  LabelString "ACM Volume:"
+  LabelString "Volume: "
   LatexName acmVolume
 End
 
 Style ACM_Number
   CopyStyle ACM_Journal
-  LabelString "ACM Number:"
+  LabelString "Number: "
   LatexName acmNumber
 End
 
 Style ACM_Article
   CopyStyle ACM_Journal
-  LabelString "ACM Article:"
+  LabelString "Article: "
   LatexName acmArticle
 End
 
 Style ACM_Year
   CopyStyle ACM_Journal
-  LabelString "ACM Year:"
+  LabelString "Year: "
   LatexName acmYear
 End
 
 Style ACM_Month
   CopyStyle ACM_Journal
-  LabelString "ACM Month:"
+  LabelString "Month: "
   LatexName acmMonth
 End
 
 Style ACM_Art_Seq_Num
   CopyStyle ACM_Journal
-  LabelString "Article Sequential Number:"
+  LabelString "Article Sequential Number: "
   LatexName acmArticleSeq
 End
 
 Style ACM_Submission_ID
   CopyStyle ACM_Journal
-  LabelString "ACM Submission ID:"
+  LabelString "Submission ID: "
   LatexName acmSubmissionID
 End
 
 Style ACM_Price
   CopyStyle ACM_Journal
-  LabelString "ACM Price:"
+  LabelString "Price: "
   LatexName acmPrice
 End
 
 Style ACM_ISBN
   CopyStyle ACM_Journal
-  LabelString "ACM ISBN:"
+  LabelString "ISBN: "
   LatexName acmISBN
 End
 
 Style ACM_DOI
   CopyStyle ACM_Journal
-  LabelString "ACM DOI:"
+  LabelString "ACM DOI: "
   LatexName acmDOI
 End
 
 Style ACM_Badge_R
   CopyStyle ACM_Journal
-  LabelString "ACM Badge R:"
+  LabelString "ACM Badge R: "
   LatexName acmBadgeR
 End
 
 Style ACM_Badge_L
   CopyStyle ACM_Journal
-  LabelString "ACM Badge L:"
+  LabelString "ACM Badge L: "
   LatexName acmBadgeL
 End
 
 Style Start_Page
   CopyStyle ACM_Journal
-  LabelString "Start Page:"
+  LabelString "Start Page: "
   LatexName startPage
 End
 
 Style Terms
   CopyStyle TitleNote
-  LabelString "Terms:"
+  LabelString "Terms: "
   LatexName terms
 End
 
 Style Keywords
   CopyStyle TitleNote
-  LabelString "Keywords:"
+  LabelString "Keywords: "
   LatexName keywords
 End
 
@@ -410,7 +412,7 @@ Style CCSXML
   EndFont
   FreeSpacing 1
   InTitle 1
-  LabelString "Computing Classification Scheme (XML):"
+  LabelString "Computing Classification Scheme (XML): "
   LabelType Centered
   LabelFont
 Family Roman
@@ -426,7 +428,7 @@ Style CCS_Description
   Argument 1
 LabelString "Significance"
   EndArgument
-  LabelString "Computing Classification Scheme:"
+  LabelString "Computing Classification Scheme: "
   LatexName ccsdesc
   Font
 Family Typewriter
@@ -441,13 +443,13 @@ End
 
 Style Set_Copyright
   CopyStyle ACM_Journal
-  LabelStr

[LyX/master] Remove \a warning

2017-09-01 Thread jpc
commit c17eb8d024e441ab1d87169ccdb7a992dbaecf83
Author: jpc 
Date:   Fri Sep 1 22:57:19 2017 +0200

   Remove \a warning

 po/fi.gmo |  Bin 296997 -> 296914 bytes
 po/fi.po  | 2309 -
 2 files changed, 1208 insertions(+), 1101 deletions(-)


[LyX/master] Remove \f warning

2017-09-01 Thread Kornel Benko
commit 8749ceb8a2ebe1e33507a0a427d16d54007983cc
Author: Kornel Benko 
Date:   Fri Sep 1 18:38:02 2017 +0200

Remove \f warning
---
 po/it.po |4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/po/it.po b/po/it.po
index ff7112a..a333a06 100644
--- a/po/it.po
+++ b/po/it.po
@@ -33519,9 +33519,9 @@ msgstr "Utente sconosciuto"
 #~ "which must be inserted into the 'Option' field in the\n"
 #~ "'LaTeX and LyX options' tab.\n"
 #~ "Example options:\n"
-#~ "* linenos,fontsize=\footnotesize,lang=fortran\n"
+#~ "* linenos,fontsize=\\footnotesize,lang=fortran\n"
 #~ "* bgcolor=yellow,baselinestretch=1.2,lang=c\n"
-#~ "* frame=lines,framesep=2\fboxsep,lang=python\n"
+#~ "* frame=lines,framesep=2\\fboxsep,lang=python\n"
 #~ "If 'lang=xxx' is not given, 'lang=latex' is assumed by default.\n"
 #~ "Make sure to use the '-shell-escape' option for the latex backend.\n"
 #~ "Read the documentation of the minted package\n"


[LyX/master] Add special chain for Modules with OutputFormat for pLaTeX (Japanese)

2017-09-01 Thread Juergen Spitzmueller
commit a3eab363646347155748a6a04794aa1f04829c49
Author: Juergen Spitzmueller 
Date:   Fri Sep 1 10:27:12 2017 +0200

Add special chain for Modules with OutputFormat for pLaTeX (Japanese)

Fixes: #8823
---
 lib/configure.py |   12 ++--
 src/BufferParams.cpp |   12 ++--
 src/Converter.cpp|3 ++-
 src/TextClass.cpp|6 --
 src/TextClass.h  |4 
 5 files changed, 30 insertions(+), 7 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index a9f161e..bda55dd 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -638,10 +638,13 @@ def checkFormatEntries(dtl_tools):
 \Format platex tex"LaTeX (pLaTeX)""" "" "%%"   
"document,menu=export"  ""
 \Format literate   nw  NoWeb  N  """%%"
"document,menu=export"  ""
 \Format sweave Rnw"Sweave"S  "" "%%"   
"document,menu=export"  ""
+\Format sweave-ja  Rnw"Sweave (Japanese)" S  "" "%%"   
"document,menu=export"  ""
 \Format r  R  "R/S code"  "" "" "%%"   
"document,menu=export"  ""
 \Format knitr  Rnw"Rnw (knitr)"   "" "" "%%"   
"document,menu=export"  ""
+\Format knitr-ja   Rnw"Rnw (knitr, Japanese)" "" "" "%%"   
"document,menu=export"  ""
 \Format lilypond   ly "LilyPond music""" """%%"
"vector""text/x-lilypond"
 \Format lilypond-booklytex "LilyPond book (LaTeX)"   "" "" "%%"
"document,menu=export"  ""
+\Format lilypond-book-ja lytex "LilyPond book (pLaTeX)"   "" """%%"
"document,menu=export"  ""
 \Format latex  tex"LaTeX (plain)" L  """%%"
"document,menu=export"  "text/x-tex"
 \Format luatex tex"LaTeX (LuaTeX)""" """%%"
"document,menu=export"  ""
 \Format pdflatex   tex"LaTeX (pdflatex)"  "" """%%"
"document,menu=export"  ""
@@ -793,6 +796,7 @@ def checkConverterEntries():
 checkProg('a Sweave -> LaTeX converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxsweave.R $$p$$i $$p$$o $$e $$r'],
 rc_entry = [r'''\converter sweave   latex  "%%""needauth"
 \converter sweave   pdflatex   "%%""needauth"
+\converter sweave-ja   platex "%%" "needauth"
 \converter sweave   xetex  "%%""needauth"
 \converter sweave   luatex "%%""needauth"
 \converter sweave   dviluatex  "%%""needauth"'''])
@@ -800,15 +804,18 @@ def checkConverterEntries():
 checkProg('a knitr -> LaTeX converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r'],
 rc_entry = [r'''\converter knitr   latex  "%%" "needauth"
 \converter knitr   pdflatex   "%%" "needauth"
+\converter knitr-ja   platex "%%"  "needauth"
 \converter knitr   xetex  "%%" "needauth"
 \converter knitr   luatex "%%" "needauth"
 \converter knitr   dviluatex  "%%" "needauth"'''])
 #
 checkProg('a Sweave -> R/S code converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxstangle.R $$i $$e $$r'],
-rc_entry = [ r'\converter sweave  r  "%%""needauth"' ])
+rc_entry = [ r'\converter sweave  r  "%%""needauth"',
+ r'\converter sweave-ja   r  "%%""needauth"' ])
 #
 checkProg('a knitr -> R/S code converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r tangle'],
-rc_entry = [ r'\converter knitr  r  "%%""needauth"' ])
+rc_entry = [ r'\converter knitr  r  "%%""needauth"',
+ r'\converter knitr-ja   r  "%%""needauth"' ])
 #
 checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex',
 'htmltolatex -input $$i -output $$o', 'htmltolatex.jar -input $$i 
-output $$o'],
@@ -1116,6 +1123,7 @@ def checkConverterEntries():
 #   this, use different output folders for eps and pdf 
outputs.
 addToRC(r'\converter lilypond-book latex"lilypond-book 
--safe --lily-output-dir=ly-eps $$i"""')
 addToRC(r'\converter lilypond-book pdflatex "lilypond-book 
--safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf $$i" ""')
+addToRC(r'\converter lilypond-book-ja platex "lilypond-book 
--safe --pdf --latex-program=platex --lily-output-dir=ly-pdf $$i" ""')
 addToRC(r'\converter lilypond-book xetex"lilypond-book 
--safe --pdf --latex-program=xelatex --lily-output-dir=ly-pdf $$i"  ""')
 addToRC(r'\converter lilypond-book luatex   "lilypond-book 
--safe --pdf --latex-program=lualatex --lily-output-dir=ly-pdf $$i" ""')
 addToRC(r'\converter lilypond-book dviluatex "lilypond-book 
--safe --latex-program=dvilualatex --lily-output-dir=ly-eps $$i" ""')
diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index 444cb5c..5e8f

[LyX/2.3.x] Add special chain for Modules with OutputFormat for pLaTeX (Japanese)

2017-09-01 Thread Juergen Spitzmueller
commit 30eb6dfaebe1df2b38bcc4e69302a5ad2c2d1952
Author: Juergen Spitzmueller 
Date:   Fri Sep 1 10:27:12 2017 +0200

Add special chain for Modules with OutputFormat for pLaTeX (Japanese)

Fixes: #8823
---
 lib/configure.py |   12 ++--
 src/BufferParams.cpp |   12 ++--
 src/Converter.cpp|3 ++-
 src/TextClass.cpp|6 --
 src/TextClass.h  |4 
 5 files changed, 30 insertions(+), 7 deletions(-)

diff --git a/lib/configure.py b/lib/configure.py
index a9f161e..bda55dd 100644
--- a/lib/configure.py
+++ b/lib/configure.py
@@ -638,10 +638,13 @@ def checkFormatEntries(dtl_tools):
 \Format platex tex"LaTeX (pLaTeX)""" "" "%%"   
"document,menu=export"  ""
 \Format literate   nw  NoWeb  N  """%%"
"document,menu=export"  ""
 \Format sweave Rnw"Sweave"S  "" "%%"   
"document,menu=export"  ""
+\Format sweave-ja  Rnw"Sweave (Japanese)" S  "" "%%"   
"document,menu=export"  ""
 \Format r  R  "R/S code"  "" "" "%%"   
"document,menu=export"  ""
 \Format knitr  Rnw"Rnw (knitr)"   "" "" "%%"   
"document,menu=export"  ""
+\Format knitr-ja   Rnw"Rnw (knitr, Japanese)" "" "" "%%"   
"document,menu=export"  ""
 \Format lilypond   ly "LilyPond music""" """%%"
"vector""text/x-lilypond"
 \Format lilypond-booklytex "LilyPond book (LaTeX)"   "" "" "%%"
"document,menu=export"  ""
+\Format lilypond-book-ja lytex "LilyPond book (pLaTeX)"   "" """%%"
"document,menu=export"  ""
 \Format latex  tex"LaTeX (plain)" L  """%%"
"document,menu=export"  "text/x-tex"
 \Format luatex tex"LaTeX (LuaTeX)""" """%%"
"document,menu=export"  ""
 \Format pdflatex   tex"LaTeX (pdflatex)"  "" """%%"
"document,menu=export"  ""
@@ -793,6 +796,7 @@ def checkConverterEntries():
 checkProg('a Sweave -> LaTeX converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxsweave.R $$p$$i $$p$$o $$e $$r'],
 rc_entry = [r'''\converter sweave   latex  "%%""needauth"
 \converter sweave   pdflatex   "%%""needauth"
+\converter sweave-ja   platex "%%" "needauth"
 \converter sweave   xetex  "%%""needauth"
 \converter sweave   luatex "%%""needauth"
 \converter sweave   dviluatex  "%%""needauth"'''])
@@ -800,15 +804,18 @@ def checkConverterEntries():
 checkProg('a knitr -> LaTeX converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r'],
 rc_entry = [r'''\converter knitr   latex  "%%" "needauth"
 \converter knitr   pdflatex   "%%" "needauth"
+\converter knitr-ja   platex "%%"  "needauth"
 \converter knitr   xetex  "%%" "needauth"
 \converter knitr   luatex "%%" "needauth"
 \converter knitr   dviluatex  "%%" "needauth"'''])
 #
 checkProg('a Sweave -> R/S code converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxstangle.R $$i $$e $$r'],
-rc_entry = [ r'\converter sweave  r  "%%""needauth"' ])
+rc_entry = [ r'\converter sweave  r  "%%""needauth"',
+ r'\converter sweave-ja   r  "%%""needauth"' ])
 #
 checkProg('a knitr -> R/S code converter', ['Rscript --verbose --no-save 
--no-restore $$s/scripts/lyxknitr.R $$p$$i $$p$$o $$e $$r tangle'],
-rc_entry = [ r'\converter knitr  r  "%%""needauth"' ])
+rc_entry = [ r'\converter knitr  r  "%%""needauth"',
+ r'\converter knitr-ja   r  "%%""needauth"' ])
 #
 checkProg('an HTML -> LaTeX converter', ['html2latex $$i', 'gnuhtml2latex',
 'htmltolatex -input $$i -output $$o', 'htmltolatex.jar -input $$i 
-output $$o'],
@@ -1116,6 +1123,7 @@ def checkConverterEntries():
 #   this, use different output folders for eps and pdf 
outputs.
 addToRC(r'\converter lilypond-book latex"lilypond-book 
--safe --lily-output-dir=ly-eps $$i"""')
 addToRC(r'\converter lilypond-book pdflatex "lilypond-book 
--safe --pdf --latex-program=pdflatex --lily-output-dir=ly-pdf $$i" ""')
+addToRC(r'\converter lilypond-book-ja platex "lilypond-book 
--safe --pdf --latex-program=platex --lily-output-dir=ly-pdf $$i" ""')
 addToRC(r'\converter lilypond-book xetex"lilypond-book 
--safe --pdf --latex-program=xelatex --lily-output-dir=ly-pdf $$i"  ""')
 addToRC(r'\converter lilypond-book luatex   "lilypond-book 
--safe --pdf --latex-program=lualatex --lily-output-dir=ly-pdf $$i" ""')
 addToRC(r'\converter lilypond-book dviluatex "lilypond-book 
--safe --latex-program=dvilualatex --lily-output-dir=ly-eps $$i" ""')
diff --git a/src/BufferParams.cpp b/src/BufferParams.cpp
index 444cb5c..5e8f