Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-04-03 Thread Guenter Milde
On 2013-04-02, Georg Baum wrote: > Guenter Milde wrote: >> On 2013-03-31, Georg Baum wrote: >>> Guenter Milde wrote: On 2013-03-27, Georg Baum wrote: ... >> The "force" flag in lib/unicodesymbols provides a workaround for the >> incomplete translation in inputen's utf8. >> utf8x is non-stan

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-04-03 Thread Jean-Marc Lasgouttes
02/04/2013 22:06, Georg Baum: The encoding default of the OS can be assumed to be the encoding of the majority of files on the system. Hence, this choice would minimize problems with included files. As I tried to explain, this is a dangerous assumption, and I don't agree with it, but I fear we

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-04-02 Thread Georg Baum
Guenter Milde wrote: > On 2013-03-31, Georg Baum wrote: >> Guenter Milde wrote: >>> On 2013-03-27, Georg Baum wrote: > > ... > >>> Without file inclusions, the "LaTeX encoding" of the exported file does >>> not matter for the Postscript/PDF-generation: > >>> * The encoding of the LyX-document i

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-04-02 Thread Guenter Milde
On 2013-03-31, Georg Baum wrote: > Guenter Milde wrote: >> On 2013-03-27, Georg Baum wrote: ... >> Without file inclusions, the "LaTeX encoding" of the exported file does >> not matter for the Postscript/PDF-generation: >> * The encoding of the LyX-document itself is always utf8 (since several >

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-31 Thread Georg Baum
Guenter Milde wrote: > On 2013-03-27, Georg Baum wrote: >> Guenter Milde wrote: >>> This is why I propose: >>> * document the issue (for all included files!) >>> * use the "locale encoding" for LaTeX export. > >> What do you mean by "locale encoding"? If it means that the encoding is >> derived f

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-28 Thread Guenter Milde
On 2013-03-27, Georg Baum wrote: > Guenter Milde wrote: >> On 2013-03-26, Scott Kostyshak wrote: >>> On Tue, Mar 26, 2013 at 6:57 AM, Jean-Marc Lasgouttes >>> wrote: 26/03/2013 11:54, Guenter Milde: ... >> There are ways and programs to *guess* the encoding, but this is not save >> and may l

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-27 Thread Scott Kostyshak
On Wed, Mar 27, 2013 at 4:56 PM, Georg Baum wrote: > Guenter Milde wrote: > >> On 2013-03-26, Scott Kostyshak wrote: >>> On Tue, Mar 26, 2013 at 6:57 AM, Jean-Marc Lasgouttes >>> wrote: 26/03/2013 11:54, Guenter Milde: >> >> Can we use iconv to convert the verbatiminput file to the correc

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-27 Thread Scott Kostyshak
On Wed, Mar 27, 2013 at 12:00 PM, Guenter Milde wrote: > On 2013-03-26, Scott Kostyshak wrote: >> On Tue, Mar 26, 2013 at 6:57 AM, Jean-Marc Lasgouttes >> wrote: >>> 26/03/2013 11:54, Guenter Milde: > > Can we use iconv to convert the verbatiminput file to the correct > encoding when we co

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-27 Thread Georg Baum
Guenter Milde wrote: > On 2013-03-26, Scott Kostyshak wrote: >> On Tue, Mar 26, 2013 at 6:57 AM, Jean-Marc Lasgouttes >> wrote: >>> 26/03/2013 11:54, Guenter Milde: > > Can we use iconv to convert the verbatiminput file to the correct > encoding when we copy it to the temporary directory?

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-27 Thread Guenter Milde
On 2013-03-26, Scott Kostyshak wrote: > On Tue, Mar 26, 2013 at 6:57 AM, Jean-Marc Lasgouttes > wrote: >> 26/03/2013 11:54, Guenter Milde: Can we use iconv to convert the verbatiminput file to the correct encoding when we copy it to the temporary directory? Or would that be too comp

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-26 Thread Scott Kostyshak
On Tue, Mar 26, 2013 at 6:57 AM, Jean-Marc Lasgouttes wrote: > 26/03/2013 11:54, Guenter Milde: > >>> Can we use iconv to convert the verbatiminput file to the correct >>> encoding when we copy it to the temporary directory? Or would that be >>> too complicated for this minor issue? >> >> >> The p

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-26 Thread Jean-Marc Lasgouttes
26/03/2013 11:54, Guenter Milde: Can we use iconv to convert the verbatiminput file to the correct encoding when we copy it to the temporary directory? Or would that be too complicated for this minor issue? The problem is that we do not know the encoding of the to-be-included file. (Of course w

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-26 Thread Guenter Milde
On 2013-03-25, Scott Kostyshak wrote: > On Sun, Mar 24, 2013 at 1:18 PM, Georg Baum > wrote: >> Scott Kostyshak wrote: >>> Thanks for the explanation. If I understand correctly then, >>> DocumentTexteBidon.txt should have latin9 encoding when compiling with >>> latex/pdflatex and should have utf8

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-25 Thread Scott Kostyshak
On Sun, Mar 24, 2013 at 1:18 PM, Georg Baum wrote: > Scott Kostyshak wrote: > >> Thanks for the explanation. If I understand correctly then, >> DocumentTexteBidon.txt should have latin9 encoding when compiling with >> latex/pdflatex and should have utf8 encoding when compiling with >> xetex/luatex

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-24 Thread Scott Kostyshak
On Sun, Mar 24, 2013 at 3:22 PM, Guenter Milde wrote: > On 2013-03-24, Georg Baum wrote: >>> Any advice? > > Either set "LaTeX encoding" = utf-8, or (the safe bet) change the example > file to contain only 7-bit ASCII characters. I like safe :) I will ask the French list if it is OK to change t

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-24 Thread Guenter Milde
On 2013-03-24, Georg Baum wrote: > Scott Kostyshak wrote: >> Thanks for the explanation. If I understand correctly then, >> DocumentTexteBidon.txt should have latin9 encoding when compiling with >> latex/pdflatex and should have utf8 encoding when compiling with >> xetex/luatex and thus it is impo

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-24 Thread Scott Kostyshak
On Sun, Mar 24, 2013 at 1:18 PM, Georg Baum wrote: > Scott Kostyshak wrote: > >> I'm not sure what to do then. When I change the encoding to utf8, >> latex/pdflatex do not complain, which leads me to think it's OK for >> all of them. But on the other hand my unfounded guess is that not as >> many

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-24 Thread Georg Baum
Scott Kostyshak wrote: > Thanks for the explanation. If I understand correctly then, > DocumentTexteBidon.txt should have latin9 encoding when compiling with > latex/pdflatex and should have utf8 encoding when compiling with > xetex/luatex and thus it is impossible to have both (unless we have > t

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-24 Thread Scott Kostyshak
On Sun, Mar 24, 2013 at 12:56 PM, Georg Baum wrote: > Scott Kostyshak wrote: > >> Without this, I get UTF-8 errors. ps2pdf and pdflatex compile fine but >> LuaTeX does not like the current Latin-1 encoding of >> DocumentTexteBidon.txt. >> >> Is this the right fix? > > Unfortunately not. This is a

Re: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-24 Thread Georg Baum
Scott Kostyshak wrote: > Without this, I get UTF-8 errors. ps2pdf and pdflatex compile fine but > LuaTeX does not like the current Latin-1 encoding of > DocumentTexteBidon.txt. > > Is this the right fix? Unfortunately not. This is a LaTeX limitation: files included via \verbatiminput need to be

[PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation

2013-03-24 Thread Scott Kostyshak
:29:18 -0400 Subject: [PATCH] Fix French EmbeddedObjects.lyx LuaTeX compilation Change encoding of DocumentTexteBidon.txt from Latin-1 to UTF-8 so that it will compile with LuaTeX. --- lib/doc/fr/DocumentTexteBidon.txt |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/doc