Re: Math.lyx export to latex

2015-04-01 Thread Scott Kostyshak
On Wed, Apr 1, 2015 at 4:56 PM, Georg Baum wrote: > Guenter Milde wrote: > >> On 2015-03-31, Kornel Benko wrote: >> >> >>> What is a good name for the subdir? >> >> Similar to the behaviour of web browsers when downloading HTML+images, I'd >> name it "-files/" i.e. for "math.tex" it >> would becom

Re: Math.lyx export to latex

2015-04-01 Thread Georg Baum
Guenter Milde wrote: > On 2015-03-31, Kornel Benko wrote: > > >> What is a good name for the subdir? > > Similar to the behaviour of web browsers when downloading HTML+images, I'd > name it "-files/" i.e. for "math.tex" it > would becomd "math-files/" This looks good. I have a vague memory th

Re: Math.lyx export to latex

2015-04-01 Thread Guenter Milde
On 2015-03-31, Kornel Benko wrote: > What is a good name for the subdir? Similar to the behaviour of web browsers when downloading HTML+images, I'd name it "-files/" i.e. for "math.tex" it would becomd "math-files/" > What do we do if it already exists? Add a number or ask. Günter

Re: Math.lyx export to latex

2015-03-31 Thread Kornel Benko
Am Dienstag, 31. März 2015 um 10:31:18, schrieb Scott Kostyshak > On Tue, Mar 31, 2015 at 5:36 AM, Kornel Benko wrote: > > Am Dienstag, 31. März 2015 um 11:02:45, schrieb Enrico Forestieri > > > >> On Tue, Mar 31, 2015 at 09:04:41AM +0200, Kornel Benko wrote: > >> > Am Montag, 30. März 2015 um

Re: Math.lyx export to latex

2015-03-31 Thread Scott Kostyshak
On Tue, Mar 31, 2015 at 5:36 AM, Kornel Benko wrote: > Am Dienstag, 31. März 2015 um 11:02:45, schrieb Enrico Forestieri > >> On Tue, Mar 31, 2015 at 09:04:41AM +0200, Kornel Benko wrote: >> > Am Montag, 30. März 2015 um 20:26:04, schrieb Scott Kostyshak >> > >> > >> > > It seems there is an e

Re: Math.lyx export to latex

2015-03-31 Thread Kornel Benko
Am Dienstag, 31. März 2015 um 11:02:45, schrieb Enrico Forestieri > On Tue, Mar 31, 2015 at 09:04:41AM +0200, Kornel Benko wrote: > > Am Montag, 30. März 2015 um 20:26:04, schrieb Scott Kostyshak > > > > > > > It seems there is an enhancement that we can do. For example, we could > > > have a

Re: Math.lyx export to latex

2015-03-31 Thread Enrico Forestieri
On Tue, Mar 31, 2015 at 09:04:41AM +0200, Kornel Benko wrote: > Am Montag, 30. März 2015 um 20:26:04, schrieb Scott Kostyshak > > > > It seems there is an enhancement that we can do. For example, we could > > have a user-friendly dialog about not having write permissions to the > > directory whe

Re: Math.lyx export to latex

2015-03-31 Thread Kornel Benko
Am Montag, 30. März 2015 um 20:26:04, schrieb Scott Kostyshak > On Mon, Mar 30, 2015 at 8:12 PM, Enrico Forestieri wrote: > > On Sun, Mar 29, 2015 at 11:07:35PM +0200, Kornel Benko wrote: > > > >> This is a recipe to observe creation of files in lyx-source > >> > >> 1.) copy {lyx-source}/lib/doc/

Re: Math.lyx export to latex

2015-03-30 Thread Scott Kostyshak
On Mon, Mar 30, 2015 at 8:12 PM, Enrico Forestieri wrote: > On Sun, Mar 29, 2015 at 11:07:35PM +0200, Kornel Benko wrote: > >> This is a recipe to observe creation of files in lyx-source >> >> 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/. >> This is not needed

Re: Math.lyx export to latex

2015-03-30 Thread Enrico Forestieri
On Sun, Mar 29, 2015 at 11:07:35PM +0200, Kornel Benko wrote: > This is a recipe to observe creation of files in lyx-source > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/. > This is not needed, but shows that the behaviour does not depend on > the pat

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
Am Montag, 30. März 2015 um 22:52:20, schrieb Georg Baum > Kornel Benko wrote: > > > Am Montag, 30. März 2015 um 22:23:38, schrieb Georg Baum > > > >> Unfortunately I don't have time to investigate now, but I'd guess that > >> neither Exporter.cpp nor TempFile is the culprit. It is normal for t

Re: Math.lyx export to latex

2015-03-30 Thread Georg Baum
Kornel Benko wrote: > Am Montag, 30. März 2015 um 22:23:38, schrieb Georg Baum > >> Unfortunately I don't have time to investigate now, but I'd guess that >> neither Exporter.cpp nor TempFile is the culprit. It is normal for the >> conversion process to use temporary files. The path of the temp f

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
Am Montag, 30. März 2015 um 22:23:38, schrieb Georg Baum > Kornel Benko wrote: > > > This is a recipe to observe creation of files in lyx-source > > > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say > > ~/lyx/test/. This is not needed, but shows that the behaviour does not > >

Re: Math.lyx export to latex

2015-03-30 Thread Georg Baum
Kornel Benko wrote: > This is a recipe to observe creation of files in lyx-source > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say > ~/lyx/test/. This is not needed, but shows that the behaviour does not > depend on the path of Math.lyx > 2.) use your lyx from the build direct

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
I tried to debug, but ended at /usr/src/lyx/lyx-git/src/Exporter.cpp:142 FileMap::const_iterator cit = externalfiles_.find(format); Here the log: gdb) b FileName.cpp:690 Breakpoint 1, lyx::support::FileName::createPath (this=0x7fffe3ffe910) at /usr/src/lyx/lyx-git/src/support/FileName.cpp

Re: Math.lyx export to latex

2015-03-30 Thread Kornel Benko
Am Sonntag, 29. März 2015 um 23:07:35, schrieb Kornel Benko > This is a recipe to observe creation of files in lyx-source > > 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/. > This is not needed, but shows that the behaviour does not depend on > the path

Math.lyx export to latex

2015-03-29 Thread Kornel Benko
This is a recipe to observe creation of files in lyx-source 1.) copy {lyx-source}/lib/doc/Math.lyx to a local directory, say ~/lyx/test/. This is not needed, but shows that the behaviour does not depend on the path of Math.lyx 2.) use your lyx from the build directory to open the f