Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
Am 09.06.2014 21:42, schrieb Alex Vergara Gil: - Original Message - From: Wolfgang Engelmann To: lyx-users@lists.lyx.org Sent: Monday, June 09, 2014 12:55 PM Subject: Re: Python Graphics in LyX [was: Python bindings] where in lyx is this done?-- Define a new

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
I retryed again and now got the PythonGraphicsLyX converter after reconfiguring, but running it gives me: LaTeX Warning: File `0_home_we_Lyx_PhytonGraphics_example.pdf' not found on inp ut line 80. shouldn't it load example.pygr, which I selected in my folder PhytonGraphics containing all

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: Dear Lyxers! Studying a little of python and LyX I have reached to this feature that makes LyX show and process python graphics. Thanks to Rainer M Krug for the hints. I share this contribution for LyX under LGPL license, so everyone benefits from

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Rainer M Krug
Murat Yildizoglu myi...@gmail.com writes: Thanks Alex, That opens new and nice perspectives. I have just thought about another possibility: Since the Sage software uses Python as a glue, it must be also possible to use the Sage module for LyX to make computations in Python in Sage and

Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Hi In the thread Python Graphics in LyX it was shown nicely how other programming languages can be used to include grahics generated by these into a LyX Document. That made me thinking: How can I do the same for text files generated by these external code blocks? Obviously, this depends on the

Re: reconfiguration fails (miktex)

2014-06-10 Thread Fabian Wilde
Paul A. Rubin rubin at msu.edu writes: I don't have ready access to a Windows partition with LyX 2.1 any more, so I'm winging this a bit. I noticed your path to lyx.exe contained cygdrive: $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure By any chance does that

Re: Backspacing at the start of an inset occupying a paragraph

2014-06-10 Thread Jean-Marc Lasgouttes
08/06/2014 22:57, Richard Heck: I think the reason this happens is that the layout in effect in the inset becomes the layout in effect in the paragraph, if the inset is the only thing there. I'm not sure exactly why it works that way, though. This is is probably the case indeed. This makes

Re: How to insert a slashed o?

2014-06-10 Thread Jean-Marc Lasgouttes
08/06/2014 23:01, stefano franchi: Thanks Richard, that's what I did, eventually (cutting and pasting). I was just hoping there'd be a function I could bind to a shortcut, but apparently not. Try unicode-insert 0x00F8. JMarc

paper accepted for publication, but need help!

2014-06-10 Thread Neal Becker
Submitting to IEEE conf. They accept TeX. If I try to give them the TeX output, they say they need dvi, and all figures in eps (what is this, 1980??) If I try to export to dvi from lyx, I get: --- ! Package inputenc Error: Keyboard character used is undefined (inputenc)

Re: paper accepted for publication, but need help!

2014-06-10 Thread Wolfgang Engelmann
I guess, if you take out the ref: Vazquez-Castro, and A.~Morello the error is gone. Check carefully the reference, perhaps by adding parts only (eg only the first word of the title, journal etc) Wolfgang Am 10.06.2014 13:35, schrieb Neal Becker: Submitting to IEEE conf. They accept TeX. If

Re: paper accepted for publication, but need help!

2014-06-10 Thread Neal Becker
The problem is triggered by my .bib entry, which includes a non-ascii character: author = {Wojciech Bruzda and Wojciech Tadej and Karol Życzkowski}, By playing with lyx Document/Settings/Encoding, selecting unicode XeTeX (utf-8), I seem to be able to export dvi and then convert dvipdf

Re: [Feature Request] python binding

2014-06-10 Thread Ross Reyes
Alex, This did not work for me. I can run the python script from the command line and it does produce a .png output. So I know the script is working. But, in LyX 2.0.1 which I'm using, I get Error converting to loadable format. I am trying to debug it. Not sure at this point why it

Re: paper accepted for publication, but need help!

2014-06-10 Thread Jean-Marc Lasgouttes
10/06/2014 13:49, Neal Becker: The problem is triggered by my .bib entry, which includes a non-ascii character: author = {Wojciech Bruzda and Wojciech Tadej and Karol Życzkowski}, By playing with lyx Document/Settings/Encoding, selecting unicode XeTeX (utf-8), I seem to be able to

Re: Insets that don't mess up text flow.

2014-06-10 Thread Klaus-Dieter Bauer
Thanks for the tip! While not what I intended, it indeed results in much less intrusive multi-line footnotes, especially when combined with Richard Heck's local layout. - Klaus 2014-05-27 16:42 GMT+02:00 Liviu Andronic landronim...@gmail.com: On Tue, May 27, 2014 at 3:19 PM, Klaus-Dieter

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Alex Vergara Gil
Dear all I have rewritten a little the procedure using recommendations from several users that doesn´t understand the original one. I hope this time everyone can understand the procedure. Regards Alex - Original Message - From: Wolfgang Engelmann To: lyx-users@lists.lyx.org

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: Rainer M Krug rai...@krugs.de Sent: Tuesday, June 10, 2014 3:26 AM Hi In the thread Python Graphics in LyX it was shown nicely how other programming languages can be used to include grahics generated by these into a LyX Document. That made me

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: - Original Message - From: Rainer M Krug rai...@krugs.de Sent: Tuesday, June 10, 2014 3:26 AM Hi In the thread Python Graphics in LyX it was shown nicely how other programming languages can be used to include grahics generated by

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
Better than ever I've found that the pandas package in python handles with excel files and produces tables in csv too, so it can be used to read excel files as input, process a little and output csv tables which can be read by LyX as external documents (child) The panorama becomes

Re: reconfiguration fails (miktex)

2014-06-10 Thread Fabian Wilde
Fabian Wilde fabian.wilde at icloud.com writes: Paul A. Rubin rubin at msu.edu writes: I don't have ready access to a Windows partition with LyX 2.1 any more, so I'm winging this a bit. I noticed your path to lyx.exe contained cygdrive: $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: - Original Message - From: Rainer M Krug rai...@krugs.de Sent: Tuesday, June 10, 2014 8:39 AM As I said - I have missed something trivial. Suggestion: could you add these cases to your document about graphs from Python? Especially

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: Better than ever I've found that the pandas package in python handles with excel files and produces tables in csv too, so it can be used to read excel files as input, process a little and output csv tables which can be read by LyX as external

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: Rainer M Krug Sent: Tuesday, June 10, 2014 9:09 AM OK - spreadsheets work via the external documents. But have you found a way of including normal txt files as verbatim? One could always use good old ert (e.g.

pick out all graphics from a lyx file?

2014-06-10 Thread Neal Becker
Anyone know an easy way to pick out all the pdfs that are included in my lyx file? Before you answer, some are multipage pdfs, and are included using page=option. I want to just pick the correct pages of those.

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Liviu Andronic
On Tue, Jun 10, 2014 at 4:54 PM, Neal Becker ndbeck...@gmail.com wrote: Anyone know an easy way to pick out all the pdfs that are included in my lyx file? Try to export to archive bundle, and then check what was included in there. LyX should collect all files necessary for the compilation.

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Neal Becker
Liviu Andronic wrote: On Tue, Jun 10, 2014 at 4:54 PM, Neal Becker ndbeck...@gmail.com wrote: Anyone know an easy way to pick out all the pdfs that are included in my lyx file? Try to export to archive bundle, and then check what was included in there. LyX should collect all files necessary

Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
On Mon, Jun 9, 2014 at 1:46 PM, umair durrani umairdurr...@outlook.com wrote: I have asked this question on tex.stackexchange but got no answer so far. I am new to LaTeX and LyX. For writing my thesis I got 2 files from university: uw_masters_thesis.sty and sample_thesis.tex. The sample file

Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
*How to get your custom university thesis template to work:* This has been asked here before, and I will answer specific questions once you read the previous posts and wiki on how to do that. The wiki page on this can be found at: http://wiki.lyx.org/Examples/Thesis One recent post from the

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Jacob Bishop
On Tue, Jun 10, 2014 at 11:35 AM, Neal Becker ndbeck...@gmail.com wrote: Helpful, but does not pick out a page from a multi-page pdf If you want to export a single page from a multi-page pdf then one possibility is to use a .pdf split/merge program such as pdfsam ( http://www.pdfsam.org/ ) or

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
Am 10.06.2014 15:52, schrieb Alex Vergara Gil: Thanks, Alex, for the new lyx file. I now realized, that I had to load the matplotlib and pandas packages, which I did. I followed your advices Define a new file format in toolspreferences, name it Python graphics, extension pygr and vector image

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: Wolfgang Engelmann Sent: Tuesday, June 10, 2014 2:19 PM Thanks, Alex, for the new lyx file. I now realized, that I had to load the matplotlib and pandas packages, which I did. I followed your advices Define a new file format in toolspreferences, name it

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Liviu Andronic
On Tue, Jun 10, 2014 at 7:35 PM, Neal Becker ndbeck...@gmail.com wrote: Helpful, but does not pick out a page from a multi-page pdf Oh, then (on Linux) I would recommend: PDF Mod: https://wiki.gnome.org/Apps/PdfMod PDF Chain: http://pdfchain.sourceforge.net/ PDF-Shuffler:

Re: Backspacing at the start of an inset occupying a paragraph

2014-06-10 Thread aparsloe
On 10/06/2014 8:38 p.m., Jean-Marc Lasgouttes wrote: 08/06/2014 22:57, Richard Heck: I think the reason this happens is that the layout in effect in the inset becomes the layout in effect in the paragraph, if the inset is the only thing there. I'm not sure exactly why it works that way,

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
Am 09.06.2014 21:42, schrieb Alex Vergara Gil: - Original Message - From: Wolfgang Engelmann To: lyx-users@lists.lyx.org Sent: Monday, June 09, 2014 12:55 PM Subject: Re: Python Graphics in LyX [was: Python bindings] where in lyx is this done?-- Define a new

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
I retryed again and now got the PythonGraphicsLyX converter after reconfiguring, but running it gives me: LaTeX Warning: File `0_home_we_Lyx_PhytonGraphics_example.pdf' not found on inp ut line 80. shouldn't it load example.pygr, which I selected in my folder PhytonGraphics containing all

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: Dear Lyxers! Studying a little of python and LyX I have reached to this feature that makes LyX show and process python graphics. Thanks to Rainer M Krug for the hints. I share this contribution for LyX under LGPL license, so everyone benefits from

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Rainer M Krug
Murat Yildizoglu myi...@gmail.com writes: Thanks Alex, That opens new and nice perspectives. I have just thought about another possibility: Since the Sage software uses Python as a glue, it must be also possible to use the Sage module for LyX to make computations in Python in Sage and

Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Hi In the thread Python Graphics in LyX it was shown nicely how other programming languages can be used to include grahics generated by these into a LyX Document. That made me thinking: How can I do the same for text files generated by these external code blocks? Obviously, this depends on the

Re: reconfiguration fails (miktex)

2014-06-10 Thread Fabian Wilde
Paul A. Rubin rubin at msu.edu writes: I don't have ready access to a Windows partition with LyX 2.1 any more, so I'm winging this a bit. I noticed your path to lyx.exe contained cygdrive: $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure By any chance does that

Re: Backspacing at the start of an inset occupying a paragraph

2014-06-10 Thread Jean-Marc Lasgouttes
08/06/2014 22:57, Richard Heck: I think the reason this happens is that the layout in effect in the inset becomes the layout in effect in the paragraph, if the inset is the only thing there. I'm not sure exactly why it works that way, though. This is is probably the case indeed. This makes

Re: How to insert a slashed o?

2014-06-10 Thread Jean-Marc Lasgouttes
08/06/2014 23:01, stefano franchi: Thanks Richard, that's what I did, eventually (cutting and pasting). I was just hoping there'd be a function I could bind to a shortcut, but apparently not. Try unicode-insert 0x00F8. JMarc

paper accepted for publication, but need help!

2014-06-10 Thread Neal Becker
Submitting to IEEE conf. They accept TeX. If I try to give them the TeX output, they say they need dvi, and all figures in eps (what is this, 1980??) If I try to export to dvi from lyx, I get: --- ! Package inputenc Error: Keyboard character used is undefined (inputenc)

Re: paper accepted for publication, but need help!

2014-06-10 Thread Wolfgang Engelmann
I guess, if you take out the ref: Vazquez-Castro, and A.~Morello the error is gone. Check carefully the reference, perhaps by adding parts only (eg only the first word of the title, journal etc) Wolfgang Am 10.06.2014 13:35, schrieb Neal Becker: Submitting to IEEE conf. They accept TeX. If

Re: paper accepted for publication, but need help!

2014-06-10 Thread Neal Becker
The problem is triggered by my .bib entry, which includes a non-ascii character: author = {Wojciech Bruzda and Wojciech Tadej and Karol Życzkowski}, By playing with lyx Document/Settings/Encoding, selecting unicode XeTeX (utf-8), I seem to be able to export dvi and then convert dvipdf

Re: [Feature Request] python binding

2014-06-10 Thread Ross Reyes
Alex, This did not work for me. I can run the python script from the command line and it does produce a .png output. So I know the script is working. But, in LyX 2.0.1 which I'm using, I get Error converting to loadable format. I am trying to debug it. Not sure at this point why it

Re: paper accepted for publication, but need help!

2014-06-10 Thread Jean-Marc Lasgouttes
10/06/2014 13:49, Neal Becker: The problem is triggered by my .bib entry, which includes a non-ascii character: author = {Wojciech Bruzda and Wojciech Tadej and Karol Życzkowski}, By playing with lyx Document/Settings/Encoding, selecting unicode XeTeX (utf-8), I seem to be able to

Re: Insets that don't mess up text flow.

2014-06-10 Thread Klaus-Dieter Bauer
Thanks for the tip! While not what I intended, it indeed results in much less intrusive multi-line footnotes, especially when combined with Richard Heck's local layout. - Klaus 2014-05-27 16:42 GMT+02:00 Liviu Andronic landronim...@gmail.com: On Tue, May 27, 2014 at 3:19 PM, Klaus-Dieter

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Alex Vergara Gil
Dear all I have rewritten a little the procedure using recommendations from several users that doesn´t understand the original one. I hope this time everyone can understand the procedure. Regards Alex - Original Message - From: Wolfgang Engelmann To: lyx-users@lists.lyx.org

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: Rainer M Krug rai...@krugs.de Sent: Tuesday, June 10, 2014 3:26 AM Hi In the thread Python Graphics in LyX it was shown nicely how other programming languages can be used to include grahics generated by these into a LyX Document. That made me

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: - Original Message - From: Rainer M Krug rai...@krugs.de Sent: Tuesday, June 10, 2014 3:26 AM Hi In the thread Python Graphics in LyX it was shown nicely how other programming languages can be used to include grahics generated by

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
Better than ever I've found that the pandas package in python handles with excel files and produces tables in csv too, so it can be used to read excel files as input, process a little and output csv tables which can be read by LyX as external documents (child) The panorama becomes

Re: reconfiguration fails (miktex)

2014-06-10 Thread Fabian Wilde
Fabian Wilde fabian.wilde at icloud.com writes: Paul A. Rubin rubin at msu.edu writes: I don't have ready access to a Windows partition with LyX 2.1 any more, so I'm winging this a bit. I noticed your path to lyx.exe contained cygdrive: $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: - Original Message - From: Rainer M Krug rai...@krugs.de Sent: Tuesday, June 10, 2014 8:39 AM As I said - I have missed something trivial. Suggestion: could you add these cases to your document about graphs from Python? Especially

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Alex Vergara Gil a...@cphr.edu.cu writes: Better than ever I've found that the pandas package in python handles with excel files and produces tables in csv too, so it can be used to read excel files as input, process a little and output csv tables which can be read by LyX as external

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: Rainer M Krug Sent: Tuesday, June 10, 2014 9:09 AM OK - spreadsheets work via the external documents. But have you found a way of including normal txt files as verbatim? One could always use good old ert (e.g.

pick out all graphics from a lyx file?

2014-06-10 Thread Neal Becker
Anyone know an easy way to pick out all the pdfs that are included in my lyx file? Before you answer, some are multipage pdfs, and are included using page=option. I want to just pick the correct pages of those.

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Liviu Andronic
On Tue, Jun 10, 2014 at 4:54 PM, Neal Becker ndbeck...@gmail.com wrote: Anyone know an easy way to pick out all the pdfs that are included in my lyx file? Try to export to archive bundle, and then check what was included in there. LyX should collect all files necessary for the compilation.

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Neal Becker
Liviu Andronic wrote: On Tue, Jun 10, 2014 at 4:54 PM, Neal Becker ndbeck...@gmail.com wrote: Anyone know an easy way to pick out all the pdfs that are included in my lyx file? Try to export to archive bundle, and then check what was included in there. LyX should collect all files necessary

Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
On Mon, Jun 9, 2014 at 1:46 PM, umair durrani umairdurr...@outlook.com wrote: I have asked this question on tex.stackexchange but got no answer so far. I am new to LaTeX and LyX. For writing my thesis I got 2 files from university: uw_masters_thesis.sty and sample_thesis.tex. The sample file

Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
*How to get your custom university thesis template to work:* This has been asked here before, and I will answer specific questions once you read the previous posts and wiki on how to do that. The wiki page on this can be found at: http://wiki.lyx.org/Examples/Thesis One recent post from the

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Jacob Bishop
On Tue, Jun 10, 2014 at 11:35 AM, Neal Becker ndbeck...@gmail.com wrote: Helpful, but does not pick out a page from a multi-page pdf If you want to export a single page from a multi-page pdf then one possibility is to use a .pdf split/merge program such as pdfsam ( http://www.pdfsam.org/ ) or

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
Am 10.06.2014 15:52, schrieb Alex Vergara Gil: Thanks, Alex, for the new lyx file. I now realized, that I had to load the matplotlib and pandas packages, which I did. I followed your advices Define a new file format in toolspreferences, name it Python graphics, extension pygr and vector image

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: Wolfgang Engelmann Sent: Tuesday, June 10, 2014 2:19 PM Thanks, Alex, for the new lyx file. I now realized, that I had to load the matplotlib and pandas packages, which I did. I followed your advices Define a new file format in toolspreferences, name it

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Liviu Andronic
On Tue, Jun 10, 2014 at 7:35 PM, Neal Becker ndbeck...@gmail.com wrote: Helpful, but does not pick out a page from a multi-page pdf Oh, then (on Linux) I would recommend: PDF Mod: https://wiki.gnome.org/Apps/PdfMod PDF Chain: http://pdfchain.sourceforge.net/ PDF-Shuffler:

Re: Backspacing at the start of an inset occupying a paragraph

2014-06-10 Thread aparsloe
On 10/06/2014 8:38 p.m., Jean-Marc Lasgouttes wrote: 08/06/2014 22:57, Richard Heck: I think the reason this happens is that the layout in effect in the inset becomes the layout in effect in the paragraph, if the inset is the only thing there. I'm not sure exactly why it works that way,

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
Am 09.06.2014 21:42, schrieb Alex Vergara Gil: - Original Message - From: Wolfgang Engelmann To: lyx-users@lists.lyx.org Sent: Monday, June 09, 2014 12:55 PM Subject: Re: Python Graphics in LyX [was: Python bindings] where in lyx is this done?--> Define a new

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
I retryed again and now got the PythonGraphics>LyX converter after reconfiguring, but running it gives me: LaTeX Warning: File `0_home_we_Lyx_PhytonGraphics_example.pdf' not found on inp ut line 80. shouldn't it load example.pygr, which I selected in my folder PhytonGraphics containing all

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Rainer M Krug
"Alex Vergara Gil" writes: > Dear Lyxers! > > Studying a little of python and LyX I have reached to this feature > that makes LyX show and process python graphics. Thanks to Rainer M > Krug for the hints. I share this contribution for LyX under LGPL > license, so everyone

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Rainer M Krug
Murat Yildizoglu writes: > Thanks Alex, > That opens new and nice perspectives. > > I have just thought about another possibility: Since the Sage software > uses Python as a glue, it must be also possible to use the Sage module > for LyX to make computations in Python in Sage

Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
Hi In the thread "Python Graphics in LyX" it was shown nicely how other programming languages can be used to include grahics generated by these into a LyX Document. That made me thinking: How can I do the same for text files generated by these external code blocks? Obviously, this depends on the

Re: reconfiguration fails (miktex)

2014-06-10 Thread Fabian Wilde
Paul A. Rubin msu.edu> writes: > > I don't have ready access to a Windows partition with LyX 2.1 any more, so > I'm winging this a bit. I noticed your path to lyx.exe contained "cygdrive": > > > $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure > > By any chance does

Re: Backspacing at the start of an inset occupying a paragraph

2014-06-10 Thread Jean-Marc Lasgouttes
08/06/2014 22:57, Richard Heck: I think the reason this happens is that the layout in effect in the inset becomes the layout in effect in the paragraph, if the inset is the only thing there. I'm not sure exactly why it works that way, though. This is is probably the case indeed. This makes

Re: How to insert a slashed o?

2014-06-10 Thread Jean-Marc Lasgouttes
08/06/2014 23:01, stefano franchi: Thanks Richard, that's what I did, eventually (cutting and pasting). I was just hoping there'd be a function I could bind to a shortcut, but apparently not. Try "unicode-insert 0x00F8". JMarc

paper accepted for publication, but need help!

2014-06-10 Thread Neal Becker
Submitting to IEEE conf. They accept TeX. If I try to give them the TeX output, they say they need dvi, and all figures in eps (what is this, 1980??) If I try to export to dvi from lyx, I get: --- ! Package inputenc Error: Keyboard character used is undefined (inputenc)

Re: paper accepted for publication, but need help!

2014-06-10 Thread Wolfgang Engelmann
I guess, if you take out the ref: Vazquez-Castro, and A.~Morello the error is gone. Check carefully the reference, perhaps by adding parts only (eg only the first word of the title, journal etc) Wolfgang Am 10.06.2014 13:35, schrieb Neal Becker: Submitting to IEEE conf. They accept TeX. If

Re: paper accepted for publication, but need help!

2014-06-10 Thread Neal Becker
The problem is triggered by my .bib entry, which includes a non-ascii character: author = {Wojciech Bruzda and Wojciech Tadej and Karol Życzkowski}, By playing with lyx Document/Settings/Encoding, selecting unicode XeTeX (utf-8), I seem to be able to export dvi and then convert dvipdf

Re: [Feature Request] python binding

2014-06-10 Thread Ross Reyes
Alex, This did not work for me. I can run the python script from the command line and it does produce a .png output. So I know the script is working. But, in LyX 2.0.1 which I'm using, I get "Error converting to loadable format". I am trying to debug it. Not sure at this point why it

Re: paper accepted for publication, but need help!

2014-06-10 Thread Jean-Marc Lasgouttes
10/06/2014 13:49, Neal Becker: The problem is triggered by my .bib entry, which includes a non-ascii character: author = {Wojciech Bruzda and Wojciech Tadej and Karol Życzkowski}, By playing with lyx Document/Settings/Encoding, selecting unicode XeTeX (utf-8), I seem to be able to

Re: Insets that don't mess up text flow.

2014-06-10 Thread Klaus-Dieter Bauer
Thanks for the tip! While not what I intended, it indeed results in much less intrusive multi-line footnotes, especially when combined with Richard Heck's local layout. - Klaus 2014-05-27 16:42 GMT+02:00 Liviu Andronic : > On Tue, May 27, 2014 at 3:19 PM, Klaus-Dieter

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Alex Vergara Gil
Dear all I have rewritten a little the procedure using recommendations from several users that doesn´t understand the original one. I hope this time everyone can understand the procedure. Regards Alex - Original Message - From: Wolfgang Engelmann To: lyx-users@lists.lyx.org

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: "Rainer M Krug" Sent: Tuesday, June 10, 2014 3:26 AM Hi In the thread "Python Graphics in LyX" it was shown nicely how other programming languages can be used to include grahics generated by these into a LyX Document. That made me

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
"Alex Vergara Gil" writes: > - Original Message - From: "Rainer M Krug" Sent: > Tuesday, June 10, 2014 3:26 AM > > Hi > > In the thread "Python Graphics in LyX" it was shown nicely how other > programming languages can be used to include

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
Better than ever I've found that the pandas package in python handles with excel files and produces tables in csv too, so it can be used to read excel files as input, process a little and output csv tables which can be read by LyX as external documents (child) The panorama becomes

Re: reconfiguration fails (miktex)

2014-06-10 Thread Fabian Wilde
Fabian Wilde icloud.com> writes: > > Paul A. Rubin msu.edu> writes: > > > > > I don't have ready access to a Windows partition with LyX 2.1 any more, so > > I'm winging this a bit. I noticed your path to lyx.exe contained "cygdrive": > > > > > $ /cygdrive/c/Program\ Files\ \(x86\)/LyX\

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
"Alex Vergara Gil" writes: > - Original Message - From: "Rainer M Krug" Sent: > Tuesday, June 10, 2014 8:39 AM > > As I said - I have missed something trivial. > > Suggestion: could you add these cases to your document about graphs from >

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Rainer M Krug
"Alex Vergara Gil" writes: > Better than ever > I've found that the pandas package in python handles with excel files > and produces tables in csv too, so it can be used to read excel files > as input, process a little and output csv tables which can be read by > LyX as

Re: Inserting text (instead of graphics) from code into LyX?

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: "Rainer M Krug" Sent: Tuesday, June 10, 2014 9:09 AM OK - spreadsheets work via the "external documents". But have you found a way of including "normal" txt files as verbatim? One could always use good old ert (e.g.

pick out all graphics from a lyx file?

2014-06-10 Thread Neal Becker
Anyone know an easy way to pick out all the pdfs that are included in my lyx file? Before you answer, some are multipage pdfs, and are included using page=option. I want to just pick the correct pages of those.

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Liviu Andronic
On Tue, Jun 10, 2014 at 4:54 PM, Neal Becker wrote: > Anyone know an easy way to pick out all the pdfs that are included in my lyx > file? > Try to export to archive bundle, and then check what was included in there. LyX should collect all files necessary for the compilation.

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Neal Becker
Liviu Andronic wrote: > On Tue, Jun 10, 2014 at 4:54 PM, Neal Becker wrote: >> Anyone know an easy way to pick out all the pdfs that are included in my lyx >> file? >> > Try to export to archive bundle, and then check what was included in > there. LyX should collect all

Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
On Mon, Jun 9, 2014 at 1:46 PM, umair durrani wrote: > I have asked this question on tex.stackexchange but got no answer so far. I > am new to LaTeX and LyX. For writing my thesis I got 2 files from > university: uw_masters_thesis.sty and sample_thesis.tex. The sample

Re: How to include child documents in Lyx

2014-06-10 Thread Jacob Bishop
*How to get your custom university thesis template to work:* > > This has been asked here before, and I will answer specific questions once > you read the previous posts and wiki on how to do that. The wiki page on > this can be found at: > http://wiki.lyx.org/Examples/Thesis > One recent post

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Jacob Bishop
On Tue, Jun 10, 2014 at 11:35 AM, Neal Becker wrote: > Helpful, but does not pick out a page from a multi-page pdf > If you want to export a single page from a multi-page pdf then one possibility is to use a .pdf split/merge program such as pdfsam ( http://www.pdfsam.org/ )

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Wolfgang Engelmann
Am 10.06.2014 15:52, schrieb Alex Vergara Gil: Thanks, Alex, for the new lyx file. I now realized, that I had to load the matplotlib and pandas packages, which I did. I followed your advices Define a new file format in tools>preferences, name it Python graphics, extension pygr and vector image

Re: Python Graphics in LyX [was: Python bindings]

2014-06-10 Thread Alex Vergara Gil
- Original Message - From: Wolfgang Engelmann Sent: Tuesday, June 10, 2014 2:19 PM Thanks, Alex, for the new lyx file. I now realized, that I had to load the matplotlib and pandas packages, which I did. I followed your advices Define a new file format in tools>preferences, name

Re: pick out all graphics from a lyx file?

2014-06-10 Thread Liviu Andronic
On Tue, Jun 10, 2014 at 7:35 PM, Neal Becker wrote: > Helpful, but does not pick out a page from a multi-page pdf > Oh, then (on Linux) I would recommend: PDF Mod: https://wiki.gnome.org/Apps/PdfMod PDF Chain: http://pdfchain.sourceforge.net/ PDF-Shuffler:

Re: Backspacing at the start of an inset occupying a paragraph

2014-06-10 Thread aparsloe
On 10/06/2014 8:38 p.m., Jean-Marc Lasgouttes wrote: 08/06/2014 22:57, Richard Heck: I think the reason this happens is that the layout in effect in the inset becomes the layout in effect in the paragraph, if the inset is the only thing there. I'm not sure exactly why it works that way,