Re: LyX and Inkscape

2014-09-18 Thread Sergey
Mukhtar Ullah mukhtar.ullah at informatik.uni-rostock.de writes: Go to Tools-Preferences-Paths-TEXTINPUTS prefix: by default the current document directory is included (the dot .). Add the subdirectory path by appending ;./figures (the semicolon ; is to separate the two paths). I believe this

Re: LyX and Inkscape

2014-09-18 Thread Sergey
Mukhtar Ullah mukhtar.ullah at informatik.uni-rostock.de writes: Go to Tools-Preferences-Paths-TEXTINPUTS prefix: by default the current document directory is included (the dot .). Add the subdirectory path by appending ;./figures (the semicolon ; is to separate the two paths). I believe this

Re: LyX and Inkscape

2014-09-18 Thread Sergey
Mukhtar Ullah informatik.uni-rostock.de> writes: >Go to Tools->Preferences->Paths->TEXTINPUTS prefix: by default the current document directory is included (the dot .). Add the subdirectory path by appending > ;./figures (the semicolon ; is to separate the two paths). I believe this should >

Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach
On 23.09.2011 02:18, Neal Becker wrote: Why wouldn't you just save as svg? If we just talk about an illustration, I would save it as pdf and then include the pdf. However, if the illustration contains anything in text, then if I saved it as a pdf I would have the text in the font that

Re: LyX and Inkscape

2011-09-23 Thread PhilipPirrip
On 09/23/2011 09:22 AM, Martin Hoßbach wrote: If anyone is interested: something similar can be done with gnuplot, using the epslatex-terminal (then you just need to convert the eps-file to pdf), and also with dia. Martin, can you please tell me what exactly one should do in LyX with those

Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach
On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a normal image. Instead of inserting the image (usually inside a float), you insert a child document, select the

Re: LyX and Inkscape

2011-09-23 Thread Julio Rojas
Martin, I have generated one testing image with a black square and a test formula. I can see the formula in the PDF. I thought the formula was added at compilation time with the PDF_Tex file. Isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com

Re: LyX and Inkscape

2011-09-23 Thread Mukhtar Ullah
So, besides setting the TEXINPUTS, how do you include the image in your document? Using \input or an external template? I am using the \input command in ERT. You may try \input via child document as Martin suggested. Mukhtar

Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Mukhtar Ullah mukhtar.ul...@informatik.uni-rostock.de írta: So, besides setting the TEXINPUTS, how do you include the image in your document? Using \input or an external template? I am using the \input command in ERT. You may try \input via child document as Martin suggested. Hello: I

Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Csikos Bela bcsikos...@freemail.hu írta: I became interested in this one too. However no matter whether I set the TEXINPUTS prefix or leave it as is I always get error message: !pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail I have linux, lyx-2.0.1 and texlive 2010-34.1.

Re: LyX and Inkscape

2011-09-23 Thread Guenter Milde
On 2011-09-23, Martin Hoßbach wrote: On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a normal image. Instead of inserting the image (usually inside a float), you

Re: LyX and Inkscape

2011-09-23 Thread Liviu Andronic
On Fri, Sep 23, 2011 at 11:19 PM, Guenter Milde mi...@users.berlios.de wrote: Wouldn't this be a candidate for an external inset? Then we might even have a preview in LyX. Yes, I also thought that this may improve users' welfare. Liviu

Re: LyX and Inkscape

2011-09-23 Thread Julien Rioux
On 23/09/2011 11:19 PM, Guenter Milde wrote: On 2011-09-23, Martin Hoßbach wrote: On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a normal image. Instead of

Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach
On 23.09.2011 02:18, Neal Becker wrote: Why wouldn't you just save as svg? If we just talk about an illustration, I would save it as pdf and then include the pdf. However, if the illustration contains anything in text, then if I saved it as a pdf I would have the text in the font that

Re: LyX and Inkscape

2011-09-23 Thread PhilipPirrip
On 09/23/2011 09:22 AM, Martin Hoßbach wrote: If anyone is interested: something similar can be done with gnuplot, using the epslatex-terminal (then you just need to convert the eps-file to pdf), and also with dia. Martin, can you please tell me what exactly one should do in LyX with those

Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach
On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a normal image. Instead of inserting the image (usually inside a float), you insert a child document, select the

Re: LyX and Inkscape

2011-09-23 Thread Julio Rojas
Martin, I have generated one testing image with a black square and a test formula. I can see the formula in the PDF. I thought the formula was added at compilation time with the PDF_Tex file. Isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com

Re: LyX and Inkscape

2011-09-23 Thread Mukhtar Ullah
So, besides setting the TEXINPUTS, how do you include the image in your document? Using \input or an external template? I am using the \input command in ERT. You may try \input via child document as Martin suggested. Mukhtar

Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Mukhtar Ullah mukhtar.ul...@informatik.uni-rostock.de írta: So, besides setting the TEXINPUTS, how do you include the image in your document? Using \input or an external template? I am using the \input command in ERT. You may try \input via child document as Martin suggested. Hello: I

Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Csikos Bela bcsikos...@freemail.hu írta: I became interested in this one too. However no matter whether I set the TEXINPUTS prefix or leave it as is I always get error message: !pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail I have linux, lyx-2.0.1 and texlive 2010-34.1.

Re: LyX and Inkscape

2011-09-23 Thread Guenter Milde
On 2011-09-23, Martin Hoßbach wrote: On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a normal image. Instead of inserting the image (usually inside a float), you

Re: LyX and Inkscape

2011-09-23 Thread Liviu Andronic
On Fri, Sep 23, 2011 at 11:19 PM, Guenter Milde mi...@users.berlios.de wrote: Wouldn't this be a candidate for an external inset? Then we might even have a preview in LyX. Yes, I also thought that this may improve users' welfare. Liviu

Re: LyX and Inkscape

2011-09-23 Thread Julien Rioux
On 23/09/2011 11:19 PM, Guenter Milde wrote: On 2011-09-23, Martin Hoßbach wrote: On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a normal image. Instead of

Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach
On 23.09.2011 02:18, Neal Becker wrote: Why wouldn't you just save as svg? If we just talk about an illustration, I would save it as pdf and then include the pdf. However, if the illustration contains anything in text, then if I saved it as a pdf I would have the text in the font that

Re: LyX and Inkscape

2011-09-23 Thread PhilipPirrip
On 09/23/2011 09:22 AM, Martin Hoßbach wrote: If anyone is interested: something similar can be done with gnuplot, using the epslatex-terminal (then you just need to convert the eps-file to pdf), and also with dia. Martin, can you please tell me what exactly one should do in LyX with those

Re: LyX and Inkscape

2011-09-23 Thread Martin Hoßbach
On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a "normal image". Instead of inserting the image (usually inside a float), you insert a child document, select the

Re: LyX and Inkscape

2011-09-23 Thread Julio Rojas
Martin, I have generated one testing image with a black square and a test formula. I can see the formula in the PDF. I thought the formula was added at compilation time with the PDF_Tex file. Isn't it so? Regards. - Julio Rojas jcredbe...@gmail.com

Re: LyX and Inkscape

2011-09-23 Thread Mukhtar Ullah
> So, besides setting the TEXINPUTS, how do you include the image in your > document? Using \input or an external template? > I am using the \input command in ERT. You may try \input via child document as Martin suggested. Mukhtar

Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Mukhtar Ullah írta: > > > So, besides setting the TEXINPUTS, how do you include the image in your > > document? Using \input or an external template?> > > > >I am using the \input command in ERT. You may try \input via child document >>as Martin

Re: LyX and Inkscape

2011-09-23 Thread Csikos Bela
Csikos Bela írta: >I became interested in this one too. >However no matter whether I set the TEXINPUTS prefix or leave it as is >I always get error message:> > >!pdfTeX error: pdflatex (file ./inkscape.pdf): reading image file fail > >I have linux, lyx-2.0.1 and texlive

Re: LyX and Inkscape

2011-09-23 Thread Guenter Milde
On 2011-09-23, Martin Hoßbach wrote: > On 23.09.2011 10:20, PhilipPirrip wrote: >> Martin, can you please tell me what exactly one should do in LyX with >> those two files, a .pdf and a .tex? > The files are used almost like a "normal image". Instead of inserting > the image (usually inside a

Re: LyX and Inkscape

2011-09-23 Thread Liviu Andronic
On Fri, Sep 23, 2011 at 11:19 PM, Guenter Milde wrote: > Wouldn't this be a candidate for an external inset? > Then we might even have a preview in LyX. > Yes, I also thought that this may improve users' welfare. Liviu

Re: LyX and Inkscape

2011-09-23 Thread Julien Rioux
On 23/09/2011 11:19 PM, Guenter Milde wrote: On 2011-09-23, Martin Hoßbach wrote: On 23.09.2011 10:20, PhilipPirrip wrote: Martin, can you please tell me what exactly one should do in LyX with those two files, a .pdf and a .tex? The files are used almost like a "normal image". Instead of

Re: LyX and Inkscape

2011-09-22 Thread Julio Rojas
Hi Martin. I use Inkscape all the time, but have not heard before of this pdf-latex-format. Would you explain how to access it? I tried Save As but it is not there. Thanks. Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at 11:49

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
Is there any way to tell LyX that the pdf-file exists and needs to be copied to the temp-folder, so latex can find it? Martin, I had a similar problem and have to thank the latest version LyX 2.0.1 for solving the issue. This problem occurs when your figure (both .pdf_tex and .pdf) in a

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
Julio, You find this option after you choose save as pdf and confirm your choice. Later you will see a list of options one which is PDF+LaTeX. Regards, Mukhtar

Re: LyX and Inkscape

2011-09-22 Thread Julio Rojas
I just tested it and it works like a charm with LyX. Beautiful results! :D Thanks to both of you. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at 3:09 PM, Mukhtar Ullah mukhtar.ul...@informatik.uni-rostock.de wrote: Julio, You find

Re: LyX and Inkscape

2011-09-22 Thread Martin Hoßbach
I will have to try this later today at home, since here at work I only have a windows pc, and the windows version of 2.0.1 seems not to be available yet... Thanks anyway. Martin On 22.09.2011 15:06, Mukhtar Ullah wrote: Is there any way to tell LyX that the pdf-file exists and needs to be

Re: LyX and Inkscape

2011-09-22 Thread Liviu Andronic
On Thu, Sep 22, 2011 at 3:35 PM, Martin Hoßbach martin.hossb...@igd.fraunhofer.de wrote: I will have to try this later today at home, since here at work I only have a windows pc, and the windows version of 2.0.1 seems not to be available yet... It is, but using Uwe's unofficial installer [1].

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
It is, but using Uwe's unofficial installer [1]. Liviu [1] https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18767 I am also on windows and using Uwe's unofficial installer. I don't see any difference in the two installers except that the unofficial installer

Re: LyX and Inkscape

2011-09-22 Thread Julien Rioux
On 22/09/2011 3:06 PM, Mukhtar Ullah wrote: Is there any way to tell LyX that the pdf-file exists and needs to be copied to the temp-folder, so latex can find it? Martin, I had a similar problem and have to thank the latest version LyX 2.0.1 for solving the issue. This problem occurs when your

Re: LyX and Inkscape

2011-09-22 Thread Neal Becker
Why wouldn't you just save as svg? Julio Rojas wrote: I just tested it and it works like a charm with LyX. Beautiful results! :D Thanks to both of you. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at 3:09 PM, Mukhtar Ullah

Re: LyX and Inkscape

2011-09-22 Thread Julio Rojas
Hi Martin. I use Inkscape all the time, but have not heard before of this pdf-latex-format. Would you explain how to access it? I tried Save As but it is not there. Thanks. Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at 11:49

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
Is there any way to tell LyX that the pdf-file exists and needs to be copied to the temp-folder, so latex can find it? Martin, I had a similar problem and have to thank the latest version LyX 2.0.1 for solving the issue. This problem occurs when your figure (both .pdf_tex and .pdf) in a

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
Julio, You find this option after you choose save as pdf and confirm your choice. Later you will see a list of options one which is PDF+LaTeX. Regards, Mukhtar

Re: LyX and Inkscape

2011-09-22 Thread Julio Rojas
I just tested it and it works like a charm with LyX. Beautiful results! :D Thanks to both of you. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at 3:09 PM, Mukhtar Ullah mukhtar.ul...@informatik.uni-rostock.de wrote: Julio, You find

Re: LyX and Inkscape

2011-09-22 Thread Martin Hoßbach
I will have to try this later today at home, since here at work I only have a windows pc, and the windows version of 2.0.1 seems not to be available yet... Thanks anyway. Martin On 22.09.2011 15:06, Mukhtar Ullah wrote: Is there any way to tell LyX that the pdf-file exists and needs to be

Re: LyX and Inkscape

2011-09-22 Thread Liviu Andronic
On Thu, Sep 22, 2011 at 3:35 PM, Martin Hoßbach martin.hossb...@igd.fraunhofer.de wrote: I will have to try this later today at home, since here at work I only have a windows pc, and the windows version of 2.0.1 seems not to be available yet... It is, but using Uwe's unofficial installer [1].

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
It is, but using Uwe's unofficial installer [1]. Liviu [1] https://developer.berlios.de/project/showfiles.php?group_id=5117release_id=18767 I am also on windows and using Uwe's unofficial installer. I don't see any difference in the two installers except that the unofficial installer

Re: LyX and Inkscape

2011-09-22 Thread Julien Rioux
On 22/09/2011 3:06 PM, Mukhtar Ullah wrote: Is there any way to tell LyX that the pdf-file exists and needs to be copied to the temp-folder, so latex can find it? Martin, I had a similar problem and have to thank the latest version LyX 2.0.1 for solving the issue. This problem occurs when your

Re: LyX and Inkscape

2011-09-22 Thread Neal Becker
Why wouldn't you just save as svg? Julio Rojas wrote: I just tested it and it works like a charm with LyX. Beautiful results! :D Thanks to both of you. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at 3:09 PM, Mukhtar Ullah

Re: LyX and Inkscape

2011-09-22 Thread Julio Rojas
Hi Martin. I use Inkscape all the time, but have not heard before of this "pdf-latex-format". Would you explain how to access it? I tried Save As but it is not there. Thanks. Regards. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
> Is there any way to tell LyX that the pdf-file exists and needs to be > copied to the temp-folder, so latex can find it? Martin, I had a similar problem and have to thank the latest version LyX 2.0.1 for solving the issue. This problem occurs when your figure (both .pdf_tex and .pdf) in a

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
Julio, You find this option after you choose "save as pdf" and confirm your choice. Later you will see a list of options one which is "PDF+LaTeX". Regards, Mukhtar

Re: LyX and Inkscape

2011-09-22 Thread Julio Rojas
I just tested it and it works like a charm with LyX. Beautiful results! :D Thanks to both of you. - Julio Rojas jcredbe...@gmail.com On Thu, Sep 22, 2011 at 3:09 PM, Mukhtar Ullah < mukhtar.ul...@informatik.uni-rostock.de> wrote: > Julio, > > You

Re: LyX and Inkscape

2011-09-22 Thread Martin Hoßbach
I will have to try this later today at home, since here at work I only have a windows pc, and the windows version of 2.0.1 seems not to be available yet... Thanks anyway. Martin On 22.09.2011 15:06, Mukhtar Ullah wrote: Is there any way to tell LyX that the pdf-file exists and needs to be

Re: LyX and Inkscape

2011-09-22 Thread Liviu Andronic
On Thu, Sep 22, 2011 at 3:35 PM, Martin Hoßbach wrote: > I will have to try this later today at home, since here at work I only have > a windows pc, and the windows version of 2.0.1 seems not to be available > yet... > It is, but using Uwe's unofficial installer

Re: LyX and Inkscape

2011-09-22 Thread Mukhtar Ullah
> It is, but using Uwe's unofficial installer [1]. > Liviu > > [1] https://developer.berlios.de/project/showfiles.php?group_id=5117_id=18767 > I am also on windows and using Uwe's unofficial installer. I don't see any difference in the two installers except that the unofficial installer changes

Re: LyX and Inkscape

2011-09-22 Thread Julien Rioux
On 22/09/2011 3:06 PM, Mukhtar Ullah wrote: Is there any way to tell LyX that the pdf-file exists and needs to be copied to the temp-folder, so latex can find it? Martin, I had a similar problem and have to thank the latest version LyX 2.0.1 for solving the issue. This problem occurs when your

Re: LyX and Inkscape

2011-09-22 Thread Neal Becker
Why wouldn't you just save as svg? Julio Rojas wrote: > I just tested it and it works like a charm with LyX. Beautiful results! :D > > Thanks to both of you. > - > Julio Rojas > jcredbe...@gmail.com > > > On Thu, Sep 22, 2011 at 3:09 PM, Mukhtar

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Jacob Bishop
I have. This was one of the major reasons I went to 1.6.7 from older versions. It's great not to have to export figures manually in multiple formats each time you make a change, and all that headache. Without more information, it's difficult to provide much help to you. Basically, you have to

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Jacob Bishop
On Tue, Oct 26, 2010 at 9:05 AM, EJ wehrle.er...@gmail.com wrote: Has anyone gotten Lyx to work with figures exported from Inkscape using the PDF+LaTeX option? Thanks in advance On Tue, Oct 26, 2010 at 1:17 PM, Jacob Bishop bishop.ja...@gmail.comwrote: I have. This was one of the major

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Waluyo Adi Siswanto
around this issue, there are two things. You need to patch your inkscape python installation with something like this http://sourceforge.net/projects/timink/files/pygtk-2.16_for_inkscape-0.48.zip/download and you need to modify your textext.py file as per the instructions here:

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Jacob Bishop
I have. This was one of the major reasons I went to 1.6.7 from older versions. It's great not to have to export figures manually in multiple formats each time you make a change, and all that headache. Without more information, it's difficult to provide much help to you. Basically, you have to

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Jacob Bishop
On Tue, Oct 26, 2010 at 9:05 AM, EJ wehrle.er...@gmail.com wrote: Has anyone gotten Lyx to work with figures exported from Inkscape using the PDF+LaTeX option? Thanks in advance On Tue, Oct 26, 2010 at 1:17 PM, Jacob Bishop bishop.ja...@gmail.comwrote: I have. This was one of the major

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Waluyo Adi Siswanto
around this issue, there are two things. You need to patch your inkscape python installation with something like this http://sourceforge.net/projects/timink/files/pygtk-2.16_for_inkscape-0.48.zip/download and you need to modify your textext.py file as per the instructions here:

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Jacob Bishop
I have. This was one of the major reasons I went to 1.6.7 from older versions. It's great not to have to export figures manually in multiple formats each time you make a change, and all that headache. Without more information, it's difficult to provide much help to you. Basically, you have to

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Jacob Bishop
On Tue, Oct 26, 2010 at 9:05 AM, EJ wrote: Has anyone gotten Lyx to work with figures exported from Inkscape using the PDF+LaTeX option? Thanks in advance On Tue, Oct 26, 2010 at 1:17 PM, Jacob Bishop wrote: I have. This was one of the major

Re: Lyx with Inkscape 0.48

2010-10-26 Thread Waluyo Adi Siswanto
> around this issue, there are two things. You need to patch your inkscape > python installation with something like this > http://sourceforge.net/projects/timink/files/pygtk-2.16_for_inkscape-0.48.zip/download > and you need to modify your textext.py file as per the instructions here: >