Re: Removing a period from BibTeX generated references

2014-06-06 Thread Csikos Bela
Steve Burnham írta:
I have a BibTeX generated list of references that is doing one entry 
incorrectly. As sen in the attached picture there is a period being placed 
after the question mark. I need to remove this period but am I having 
difficulty doing so. I found this 
solutionhttp://tex.stackexchange.com/questions/181130/remove-question-mark-following-period-for-reference-title-in-pdf-using-vancouveI
 tried to implement it by adding the \killpunct after the question mark in my 
.bib file and then added \newcommand{\killpunct}[1]{} to my preamble. Upon 
compilation I get an error that there is a built in limit of 9 arguments. 
Searching around it seems like there are some fixes to overcome this 
limitation but nothing straightforward and all involve lots of programming in 
LaTeX, which I am not comfortable with. Is there any easy fix to remove the 
offending period?--Steve Burnham

Hello:

I guess the problem is the bst file. It should not add the dot after given 
characters as ? !.
Nevertheless I would check first the database file if the title has as ? or 
?.. If it's the latter correcting it might help.

If the database entry is correct you have two options.

1. Find or create a bst file which makes correct output. makebst (custom-bst ) 
generated bst files never does not have this issue (at least never had it for 
me).

2. Compile the document manually as:
--Export the lyx file as plain latex (tex) file from lyx. Make sure the paths 
for the bst and bib files are correct in the tex file.
--In a console (or dos window) navigate to the directory where the file is 
located.
--run pdflatex on the file (pdflatex filename.tex) This creates a bbl file in 
the directory.
--run bibtex (bibtex filename without extension or bibtex filename.aux.
--In the directory now you should see a file filename.bbl. Look for bbl 
extension.
--Edit the bbl file: search for the incorrect entry and correct it, save the 
edited file.
--Now run again pdflatex filename.tex one, two, or even more time until all 
the citations, references, cross references in the file are inserted correctly.

You can use latex insted of pdflatex if want dvi output.

bcsikos



reconfiguration fails (miktex)

2014-06-06 Thread Fabian Wilde
Hello everone!

I have a fresh install of Lyx (bundle) on my windows box. Lyx starts up
fine, but I can not typeset files using Ctrl-R. All packages are marked as
unavailable, although the miktex path seems to be fine (C:\Program Files
(x86)\MiKTeX 2.9\miktex\bin) and miktex itself seems to work as expected.
Lyx Reconfigure fails with:

$ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure
Looking for python v2.x ...
Examining C:/Program Files (x86)/LyX 2.1//Python/python.exe
Examining C:/Program Files (x86)/LyX 2.1//Python/pythonw.exe
Examining C:/cygwin64/bin/python2.7.exe
Examining C:/cygwin64/bin/python3.2m.exe
Warning: No python v2.x binary found.
checking for DVI to DTL converter...
+checking for dv2dt...  yes
checking for DTL to DVI converter...
+checking for dt2dv...  yes
checking for a Latex2e program...
+checking for latex...  yes
checking for a DVI postprocessing program...
+checking for pplatex...  yes
checking for pLaTeX, the Japanese LaTeX...
+checking for platex...  yes
'\\win.desy.de\home\fwilde\Application Data\LyX2.1'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
platex: The memory dump file could not be found.
platex: Data: platex.fmt
Traceback (most recent call last):
  File C:/Program Files (x86)/LyX 2.1/Resources/configure.py, line 1536,
in module
LATEX = checkLatex(dtl_tools)
  File C:/Program Files (x86)/LyX 2.1/Resources/configure.py, line 506, in
checkLatex
''')
  File C:/Program Files (x86)/LyX 2.1/Resources/configure.py, line 32, in
writeToFile
file = open(filename, 'w')
IOError: [Errno 13] Permission denied: 'chklatex.ltx'
..\..\..\src\support\Systemcall.cpp (292): Systemcall: 'python -tt
C:/Program Files (x86)/LyX 2.1/Resources/configure.py
--binary-dir=C:/Program Files (x86)/LyX 2.1/bin/' finished with exit code 1

Calling python -tt C:/Program Files (x86)/LyX 2.1/Resources/configure.py
--binary-dir=C:/Program Files (x86)/LyX 2.1/bin/ oth works fine. I gave
almost every Permissions to everyone in C:/Program Files (x86)/LyX 2.1 and
can write file there. So, somethings is very wrong with my installation I
can't figure out what that is. Does anyone have an idea what is going on?

Cheers,
Fabian

 




Re: error

2014-06-06 Thread Benedict Holland
EPS files are not natively supported. The pdf created is a wrapper for the
EPS. Do you have the


\DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics


Declared in the preamble? There are huge reasons to not use .jpgs in text
and an EPS should work. I know that this might be a huge pain, but if it
doesn't work, can you load it into something and save it as a pdf? A pdf
will work. I have had great luck with svg files as well but yes, you might
also have to spam the dev list.


~Ben




On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:



 Sent: Thursday, June 05, 2014 at 9:08 PM
 From: Steve Burnham dan...@gmail.com
 To: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
 Subject: Re: error

 On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com) wrote:


 Hello,

 Can somebody tell me what is wrong in this file?
 There 2 issues,
 with the figure and with the bibliography!

 Thank.



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===


 I don’t know if this is an acceptable solution for you but when I convert
 the .eps file to a .jpg and insert that instead it complies properly.  I’ve
 attached the .jpg if you would like it.  I don’t see any problems with the
 bibliography.

 -Steve

 On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com) wrote:


 Hello,

 Why I need to use epstopdf
 How can I avoid to use epstopdf. I have an eps file, there is not point to
 convert it!

 Thank.

 ===

 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
 ===





 This is probably a question better suited for a LyX developer to answer
 but I would assume that unless you have used .eps files successfully before
 then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
 know what operating system you are using but on OSX and Windows there are
 very simple to use screen capture tools where you can just open up the file
 and draw a box around the picture and it creates a .jpg file.  I run OSX
 and this is what I did with your file (Cmd+Shift+4).

 -Steve











Embedding asymptote in Lyx

2014-06-06 Thread Cyril

Hello everybody,

I'm trying to embed asymptote code in my LyX files.

The compilation of a file containing asymptote code named myfile.tex 
works like this:


latex myfile.tex
asy myfile-*
latex myfile.tex

How can i manage to get this sequence of instructions with a simple 
shortcut inside LyX ?


Thank you for your answers,

Cyril


Re: error

2014-06-06 Thread Patrick Dupre

 
===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
 
 

Sent: Friday, June 06, 2014 at 4:25 PM
From: Benedict Holland benedict.m.holl...@gmail.com
To: Steve Burnham dan...@gmail.com
Cc: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
Subject: Re: error

EPS files are not natively supported. The pdf created is a wrapper for the EPS. 
Do you have the 

eps was originally the only supported graphic file format for latex, isn't it?
Which would it not supported any more. To my knowledge, the editors still like 
the eps files!

\DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics
 
Declared in the preamble? There are huge reasons to not use .jpgs in text and 
an EPS should work. I know that this might be a huge pain, but if it doesn't 
work, can you load it into something and save it as a pdf? A pdf will work. I 
have had great luck with svg files as well but yes, you might also have to spam 
the dev list. 
 
~Ben
 

 
On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:

 
Sent: Thursday, June 05, 2014 at 9:08 PM 
From: Steve Burnham dan...@gmail.com[dan...@gmail.com] 
To: Patrick Dupre pdu...@gmx.com[pdu...@gmx.com], lyx 
lyx-users@lists.lyx.org[lyx-users@lists.lyx.org] 
Subject: Re: error 

On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[pdu...@gmx.com]) 
wrote: 

  
Hello,  

Can somebody tell me what is wrong in this file?  
There 2 issues,  
with the figure and with the bibliography!  

Thank.  


===  
Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]  
Laboratoire de Physico-Chimie de l'Atmosphère | |  
Université du Littoral-Côte d'Opale | |  
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44  
189A, avenue Maurice Schumann | | 59140 Dunkerque, France  
===  

  
I don’t know if this is an acceptable solution for you but when I convert the 
.eps file to a .jpg and insert that instead it complies properly.  I’ve 
attached the .jpg if you would like it.  I don’t see any problems with the 
bibliography. 
  
-Steve 
On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[pdu...@gmx.com]) 
wrote:

 
Hello,
 
Why I need to use epstopdf
How can I avoid to use epstopdf. I have an eps file, there is not point to 
convert it!
 
Thank.
 
===
Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
 
 
  
This is probably a question better suited for a LyX developer to answer but I 
would assume that unless you have used .eps files successfully before then LyX 
isn’t able to handle them and doesn’t know what they are.  I don’t know what 
operating system you are using but on OSX and Windows there are very simple to 
use screen capture tools where you can just open up the file and draw a box 
around the picture and it creates a .jpg file.  I run OSX and this is what I 
did with your file (Cmd+Shift+4). 
 
-Steve
 
 
 
 
 
 
 
 


Re: error

2014-06-06 Thread Benedict Holland
That is quite

Thanks,
~Ben
On Jun 6, 2014 11:11 AM, Patrick Dupre pdu...@gmx.com wrote:



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
 ===



 Sent: Friday, June 06, 2014 at 4:25 PM
 From: Benedict Holland benedict.m.holl...@gmail.com
 To: Steve Burnham dan...@gmail.com
 Cc: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
 Subject: Re: error

 EPS files are not natively supported. The pdf created is a wrapper for the
 EPS. Do you have the

 eps was originally the only supported graphic file format for latex, isn't
 it?
 Which would it not supported any more. To my knowledge, the editors still
 like the eps files!

 \DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics

 Declared in the preamble? There are huge reasons to not use .jpgs in text
 and an EPS should work. I know that this might be a huge pain, but if it
 doesn't work, can you load it into something and save it as a pdf? A pdf
 will work. I have had great luck with svg files as well but yes, you might
 also have to spam the dev list.

 ~Ben



 On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:


 Sent: Thursday, June 05, 2014 at 9:08 PM
 From: Steve Burnham dan...@gmail.com[dan...@gmail.com]
 To: Patrick Dupre pdu...@gmx.com[pdu...@gmx.com], lyx 
 lyx-users@lists.lyx.org[lyx-users@lists.lyx.org]
 Subject: Re: error

 On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Can somebody tell me what is wrong in this file?
 There 2 issues,
 with the figure and with the bibliography!

 Thank.



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===


 I don’t know if this is an acceptable solution for you but when I convert
 the .eps file to a .jpg and insert that instead it complies properly.  I’ve
 attached the .jpg if you would like it.  I don’t see any problems with the
 bibliography.

 -Steve
 On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Why I need to use epstopdf
 How can I avoid to use epstopdf. I have an eps file, there is not point to
 convert it!

 Thank.

 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
 ===



 This is probably a question better suited for a LyX developer to answer
 but I would assume that unless you have used .eps files successfully before
 then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
 know what operating system you are using but on OSX and Windows there are
 very simple to use screen capture tools where you can just open up the file
 and draw a box around the picture and it creates a .jpg file.  I run OSX
 and this is what I did with your file (Cmd+Shift+4).

 -Steve











Re: error

2014-06-06 Thread Benedict Holland
Sorry about the last email. I tried a complex one from my phone and I
shouldn't have bothered. It is very possible that latex natively supports
.eps. I have found that converting an EPS to PDF and using that within Lyx
makes life much easier. I don't know if Lyx SHOULD work natively with EPS
or really PS files but I know that EPS to PDF is lossless. Both are vector
graphics. I also know that lyx natively works with PDFs as child documents.

I also read that unless you are using a PDF as an image, you have to
declare EPS as an extension. I don't know why. I also don't know how this
SHOULD work but I have used 5 different file formats extensively. What I
would suggest doing is converting the EPS to a PDF. I don't know why that
is a problem. Again, nothing should be lost in this transition. EPS to SVG
I know loses nothing and EPS to PDF, when I have done it, print exactly the
same. Does the program crash if EPS is declared as a valid graphics type?
If it doesn't crash and works, might I suggest just using it? If making the
EPS into a PDF also works and your document compiles, might I also suggest
using that? I don't think either fixes the core crash but if you can make
it work fairly easily, I would personally prefer to have a document work
with a minor hack than not have a document work at all.


~Ben


On Fri, Jun 6, 2014 at 2:01 PM, Benedict Holland 
benedict.m.holl...@gmail.com wrote:

 That is quite

 Thanks,
 ~Ben
 On Jun 6, 2014 11:11 AM, Patrick Dupre pdu...@gmx.com wrote:




 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===



 Sent: Friday, June 06, 2014 at 4:25 PM
 From: Benedict Holland benedict.m.holl...@gmail.com
 To: Steve Burnham dan...@gmail.com
 Cc: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
 Subject: Re: error

 EPS files are not natively supported. The pdf created is a wrapper for
 the EPS. Do you have the

 eps was originally the only supported graphic file format for latex,
 isn't it?
 Which would it not supported any more. To my knowledge, the editors still
 like the eps files!

 \DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics

 Declared in the preamble? There are huge reasons to not use .jpgs in text
 and an EPS should work. I know that this might be a huge pain, but if it
 doesn't work, can you load it into something and save it as a pdf? A pdf
 will work. I have had great luck with svg files as well but yes, you might
 also have to spam the dev list.

 ~Ben



 On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:


 Sent: Thursday, June 05, 2014 at 9:08 PM
 From: Steve Burnham dan...@gmail.com[dan...@gmail.com]
 To: Patrick Dupre pdu...@gmx.com[pdu...@gmx.com], lyx 
 lyx-users@lists.lyx.org[lyx-users@lists.lyx.org]
 Subject: Re: error

 On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Can somebody tell me what is wrong in this file?
 There 2 issues,
 with the figure and with the bibliography!

 Thank.



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===


 I don’t know if this is an acceptable solution for you but when I convert
 the .eps file to a .jpg and insert that instead it complies properly.  I’ve
 attached the .jpg if you would like it.  I don’t see any problems with the
 bibliography.

 -Steve
 On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Why I need to use epstopdf
 How can I avoid to use epstopdf. I have an eps file, there is not point
 to convert it!

 Thank.


 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===



 This is probably a question better suited for a LyX developer to answer
 but I would assume that unless you have used .eps files successfully before
 then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
 know what operating system you are using but on OSX and Windows there are
 very simple to use screen capture tools where you 

Re: error

2014-06-06 Thread stefano franchi
On Fri, Jun 6, 2014 at 1:13 PM, Benedict Holland 
benedict.m.holl...@gmail.com wrote:

 Sorry about the last email. I tried a complex one from my phone and I
 shouldn't have bothered. It is very possible that latex natively supports
 .eps.


The problem is that the above sentence Latex natively supports natively
eps is neither true nor false. It all depends on which output format you
direct Latex to (or, rather, TeX). If you use LaTeX to produce .ps
(postscript) files, then, yes, native inclusion of EPS is supported, while
pdf is not. If you use LaTeX to produce pdf (for instance, as it is most
common, by using the pdftex backend) then eps is *not* supported, while pdf
is. (I am not going into *how* you can produce different formats with the
many different TeX backends now available, as there are numerous,
overlapping possibilities. Suffice it to say that the most common option is
to use pdftex, which can output either .ps and .pdf. The user's manual has
details for those interested.)

LyX tries to take care of this (and many other) discrepancies by using
imagemagick's facilities to convert back and forth among the various
graphics formats. Often, though, it is better to avoid this
behind-the-scene magic by inserting the images in the graphics format
directly supported by the output format one is aiming for (.ps .pdf, etc.)

All this is explained in the user's manual, BTW, sec. 3.8.2 Output file
formats

Cheers,

Stefano




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Embedding asymptote in Lyx

2014-06-06 Thread Scott Kostyshak
On Fri, Jun 6, 2014 at 10:53 AM, Cyril mathsbruye...@free.fr wrote:
 Hello everybody,

 I'm trying to embed asymptote code in my LyX files.

 The compilation of a file containing asymptote code named myfile.tex works
 like this:

 latex myfile.tex
 asy myfile-*
 latex myfile.tex

 How can i manage to get this sequence of instructions with a simple shortcut
 inside LyX ?

 Thank you for your answers,

Hi Cyril,

I have little experience with this kind of thing, but you should take
a look at the converters section in Help  Customization. You could
create a format pdfA (or PDF (Asymptote) ) and then a converter
latex - pdfA and add your commands there.

Best,

Scott


Backspacing at the start of an inset occupying a paragraph

2014-06-06 Thread aparsloe
Placing the cursor at the start of an inset and pressing the backspace 
key destroys the inset and makes its content part of the surrounding 
text. However, if the inset is the *only* item in a paragraph 
environment (list, Quotation, etc.) then not only is the inset destroyed 
but so too is the environment, which becomes a standard paragraph. 
Writing [note](note contents) to denote a note inset,


1. [note](blah blah blah)
(a) sub-item
(b) another sub-item

displays in the pdf as

1. (a) sub-item
(b) another sub-item

which may what is desired, but if you feel the blah blah blah should 
be made visible in the pdf and put the cursor before the first blah 
and press backspace, the result is


blah blah blah  -- a standard paragraph
1. sub-item
(a) another sub-item

What I expected was

1. blah blah blah
(a) sub-item
(b) another sub-item

This seems to apply to all insets (I've also tried footnotes, margin 
notes, minipages, ERT), not just notes.


Andrew


Re: Removing a period from BibTeX generated references

2014-06-06 Thread Csikos Bela
Steve Burnham írta:
I have a BibTeX generated list of references that is doing one entry 
incorrectly. As sen in the attached picture there is a period being placed 
after the question mark. I need to remove this period but am I having 
difficulty doing so. I found this 
solutionhttp://tex.stackexchange.com/questions/181130/remove-question-mark-following-period-for-reference-title-in-pdf-using-vancouveI
 tried to implement it by adding the \killpunct after the question mark in my 
.bib file and then added \newcommand{\killpunct}[1]{} to my preamble. Upon 
compilation I get an error that there is a built in limit of 9 arguments. 
Searching around it seems like there are some fixes to overcome this 
limitation but nothing straightforward and all involve lots of programming in 
LaTeX, which I am not comfortable with. Is there any easy fix to remove the 
offending period?--Steve Burnham

Hello:

I guess the problem is the bst file. It should not add the dot after given 
characters as ? !.
Nevertheless I would check first the database file if the title has as ? or 
?.. If it's the latter correcting it might help.

If the database entry is correct you have two options.

1. Find or create a bst file which makes correct output. makebst (custom-bst ) 
generated bst files never does not have this issue (at least never had it for 
me).

2. Compile the document manually as:
--Export the lyx file as plain latex (tex) file from lyx. Make sure the paths 
for the bst and bib files are correct in the tex file.
--In a console (or dos window) navigate to the directory where the file is 
located.
--run pdflatex on the file (pdflatex filename.tex) This creates a bbl file in 
the directory.
--run bibtex (bibtex filename without extension or bibtex filename.aux.
--In the directory now you should see a file filename.bbl. Look for bbl 
extension.
--Edit the bbl file: search for the incorrect entry and correct it, save the 
edited file.
--Now run again pdflatex filename.tex one, two, or even more time until all 
the citations, references, cross references in the file are inserted correctly.

You can use latex insted of pdflatex if want dvi output.

bcsikos



reconfiguration fails (miktex)

2014-06-06 Thread Fabian Wilde
Hello everone!

I have a fresh install of Lyx (bundle) on my windows box. Lyx starts up
fine, but I can not typeset files using Ctrl-R. All packages are marked as
unavailable, although the miktex path seems to be fine (C:\Program Files
(x86)\MiKTeX 2.9\miktex\bin) and miktex itself seems to work as expected.
Lyx Reconfigure fails with:

$ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure
Looking for python v2.x ...
Examining C:/Program Files (x86)/LyX 2.1//Python/python.exe
Examining C:/Program Files (x86)/LyX 2.1//Python/pythonw.exe
Examining C:/cygwin64/bin/python2.7.exe
Examining C:/cygwin64/bin/python3.2m.exe
Warning: No python v2.x binary found.
checking for DVI to DTL converter...
+checking for dv2dt...  yes
checking for DTL to DVI converter...
+checking for dt2dv...  yes
checking for a Latex2e program...
+checking for latex...  yes
checking for a DVI postprocessing program...
+checking for pplatex...  yes
checking for pLaTeX, the Japanese LaTeX...
+checking for platex...  yes
'\\win.desy.de\home\fwilde\Application Data\LyX2.1'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
platex: The memory dump file could not be found.
platex: Data: platex.fmt
Traceback (most recent call last):
  File C:/Program Files (x86)/LyX 2.1/Resources/configure.py, line 1536,
in module
LATEX = checkLatex(dtl_tools)
  File C:/Program Files (x86)/LyX 2.1/Resources/configure.py, line 506, in
checkLatex
''')
  File C:/Program Files (x86)/LyX 2.1/Resources/configure.py, line 32, in
writeToFile
file = open(filename, 'w')
IOError: [Errno 13] Permission denied: 'chklatex.ltx'
..\..\..\src\support\Systemcall.cpp (292): Systemcall: 'python -tt
C:/Program Files (x86)/LyX 2.1/Resources/configure.py
--binary-dir=C:/Program Files (x86)/LyX 2.1/bin/' finished with exit code 1

Calling python -tt C:/Program Files (x86)/LyX 2.1/Resources/configure.py
--binary-dir=C:/Program Files (x86)/LyX 2.1/bin/ oth works fine. I gave
almost every Permissions to everyone in C:/Program Files (x86)/LyX 2.1 and
can write file there. So, somethings is very wrong with my installation I
can't figure out what that is. Does anyone have an idea what is going on?

Cheers,
Fabian

 




Re: error

2014-06-06 Thread Benedict Holland
EPS files are not natively supported. The pdf created is a wrapper for the
EPS. Do you have the


\DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics


Declared in the preamble? There are huge reasons to not use .jpgs in text
and an EPS should work. I know that this might be a huge pain, but if it
doesn't work, can you load it into something and save it as a pdf? A pdf
will work. I have had great luck with svg files as well but yes, you might
also have to spam the dev list.


~Ben




On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:



 Sent: Thursday, June 05, 2014 at 9:08 PM
 From: Steve Burnham dan...@gmail.com
 To: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
 Subject: Re: error

 On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com) wrote:


 Hello,

 Can somebody tell me what is wrong in this file?
 There 2 issues,
 with the figure and with the bibliography!

 Thank.



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===


 I don’t know if this is an acceptable solution for you but when I convert
 the .eps file to a .jpg and insert that instead it complies properly.  I’ve
 attached the .jpg if you would like it.  I don’t see any problems with the
 bibliography.

 -Steve

 On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com) wrote:


 Hello,

 Why I need to use epstopdf
 How can I avoid to use epstopdf. I have an eps file, there is not point to
 convert it!

 Thank.

 ===

 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
 ===





 This is probably a question better suited for a LyX developer to answer
 but I would assume that unless you have used .eps files successfully before
 then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
 know what operating system you are using but on OSX and Windows there are
 very simple to use screen capture tools where you can just open up the file
 and draw a box around the picture and it creates a .jpg file.  I run OSX
 and this is what I did with your file (Cmd+Shift+4).

 -Steve











Embedding asymptote in Lyx

2014-06-06 Thread Cyril

Hello everybody,

I'm trying to embed asymptote code in my LyX files.

The compilation of a file containing asymptote code named myfile.tex 
works like this:


latex myfile.tex
asy myfile-*
latex myfile.tex

How can i manage to get this sequence of instructions with a simple 
shortcut inside LyX ?


Thank you for your answers,

Cyril


Re: error

2014-06-06 Thread Patrick Dupre

 
===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
 
 

Sent: Friday, June 06, 2014 at 4:25 PM
From: Benedict Holland benedict.m.holl...@gmail.com
To: Steve Burnham dan...@gmail.com
Cc: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
Subject: Re: error

EPS files are not natively supported. The pdf created is a wrapper for the EPS. 
Do you have the 

eps was originally the only supported graphic file format for latex, isn't it?
Which would it not supported any more. To my knowledge, the editors still like 
the eps files!

\DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics
 
Declared in the preamble? There are huge reasons to not use .jpgs in text and 
an EPS should work. I know that this might be a huge pain, but if it doesn't 
work, can you load it into something and save it as a pdf? A pdf will work. I 
have had great luck with svg files as well but yes, you might also have to spam 
the dev list. 
 
~Ben
 

 
On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:

 
Sent: Thursday, June 05, 2014 at 9:08 PM 
From: Steve Burnham dan...@gmail.com[dan...@gmail.com] 
To: Patrick Dupre pdu...@gmx.com[pdu...@gmx.com], lyx 
lyx-users@lists.lyx.org[lyx-users@lists.lyx.org] 
Subject: Re: error 

On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[pdu...@gmx.com]) 
wrote: 

  
Hello,  

Can somebody tell me what is wrong in this file?  
There 2 issues,  
with the figure and with the bibliography!  

Thank.  


===  
Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]  
Laboratoire de Physico-Chimie de l'Atmosphère | |  
Université du Littoral-Côte d'Opale | |  
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44  
189A, avenue Maurice Schumann | | 59140 Dunkerque, France  
===  

  
I don’t know if this is an acceptable solution for you but when I convert the 
.eps file to a .jpg and insert that instead it complies properly.  I’ve 
attached the .jpg if you would like it.  I don’t see any problems with the 
bibliography. 
  
-Steve 
On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[pdu...@gmx.com]) 
wrote:

 
Hello,
 
Why I need to use epstopdf
How can I avoid to use epstopdf. I have an eps file, there is not point to 
convert it!
 
Thank.
 
===
Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
 
 
  
This is probably a question better suited for a LyX developer to answer but I 
would assume that unless you have used .eps files successfully before then LyX 
isn’t able to handle them and doesn’t know what they are.  I don’t know what 
operating system you are using but on OSX and Windows there are very simple to 
use screen capture tools where you can just open up the file and draw a box 
around the picture and it creates a .jpg file.  I run OSX and this is what I 
did with your file (Cmd+Shift+4). 
 
-Steve
 
 
 
 
 
 
 
 


Re: error

2014-06-06 Thread Benedict Holland
That is quite

Thanks,
~Ben
On Jun 6, 2014 11:11 AM, Patrick Dupre pdu...@gmx.com wrote:



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
 ===



 Sent: Friday, June 06, 2014 at 4:25 PM
 From: Benedict Holland benedict.m.holl...@gmail.com
 To: Steve Burnham dan...@gmail.com
 Cc: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
 Subject: Re: error

 EPS files are not natively supported. The pdf created is a wrapper for the
 EPS. Do you have the

 eps was originally the only supported graphic file format for latex, isn't
 it?
 Which would it not supported any more. To my knowledge, the editors still
 like the eps files!

 \DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics

 Declared in the preamble? There are huge reasons to not use .jpgs in text
 and an EPS should work. I know that this might be a huge pain, but if it
 doesn't work, can you load it into something and save it as a pdf? A pdf
 will work. I have had great luck with svg files as well but yes, you might
 also have to spam the dev list.

 ~Ben



 On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:


 Sent: Thursday, June 05, 2014 at 9:08 PM
 From: Steve Burnham dan...@gmail.com[dan...@gmail.com]
 To: Patrick Dupre pdu...@gmx.com[pdu...@gmx.com], lyx 
 lyx-users@lists.lyx.org[lyx-users@lists.lyx.org]
 Subject: Re: error

 On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Can somebody tell me what is wrong in this file?
 There 2 issues,
 with the figure and with the bibliography!

 Thank.



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===


 I don’t know if this is an acceptable solution for you but when I convert
 the .eps file to a .jpg and insert that instead it complies properly.  I’ve
 attached the .jpg if you would like it.  I don’t see any problems with the
 bibliography.

 -Steve
 On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Why I need to use epstopdf
 How can I avoid to use epstopdf. I have an eps file, there is not point to
 convert it!

 Thank.

 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
 ===



 This is probably a question better suited for a LyX developer to answer
 but I would assume that unless you have used .eps files successfully before
 then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
 know what operating system you are using but on OSX and Windows there are
 very simple to use screen capture tools where you can just open up the file
 and draw a box around the picture and it creates a .jpg file.  I run OSX
 and this is what I did with your file (Cmd+Shift+4).

 -Steve











Re: error

2014-06-06 Thread Benedict Holland
Sorry about the last email. I tried a complex one from my phone and I
shouldn't have bothered. It is very possible that latex natively supports
.eps. I have found that converting an EPS to PDF and using that within Lyx
makes life much easier. I don't know if Lyx SHOULD work natively with EPS
or really PS files but I know that EPS to PDF is lossless. Both are vector
graphics. I also know that lyx natively works with PDFs as child documents.

I also read that unless you are using a PDF as an image, you have to
declare EPS as an extension. I don't know why. I also don't know how this
SHOULD work but I have used 5 different file formats extensively. What I
would suggest doing is converting the EPS to a PDF. I don't know why that
is a problem. Again, nothing should be lost in this transition. EPS to SVG
I know loses nothing and EPS to PDF, when I have done it, print exactly the
same. Does the program crash if EPS is declared as a valid graphics type?
If it doesn't crash and works, might I suggest just using it? If making the
EPS into a PDF also works and your document compiles, might I also suggest
using that? I don't think either fixes the core crash but if you can make
it work fairly easily, I would personally prefer to have a document work
with a minor hack than not have a document work at all.


~Ben


On Fri, Jun 6, 2014 at 2:01 PM, Benedict Holland 
benedict.m.holl...@gmail.com wrote:

 That is quite

 Thanks,
 ~Ben
 On Jun 6, 2014 11:11 AM, Patrick Dupre pdu...@gmx.com wrote:




 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===



 Sent: Friday, June 06, 2014 at 4:25 PM
 From: Benedict Holland benedict.m.holl...@gmail.com
 To: Steve Burnham dan...@gmail.com
 Cc: Patrick Dupre pdu...@gmx.com, lyx lyx-users@lists.lyx.org
 Subject: Re: error

 EPS files are not natively supported. The pdf created is a wrapper for
 the EPS. Do you have the

 eps was originally the only supported graphic file format for latex,
 isn't it?
 Which would it not supported any more. To my knowledge, the editors still
 like the eps files!

 \DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics

 Declared in the preamble? There are huge reasons to not use .jpgs in text
 and an EPS should work. I know that this might be a huge pain, but if it
 doesn't work, can you load it into something and save it as a pdf? A pdf
 will work. I have had great luck with svg files as well but yes, you might
 also have to spam the dev list.

 ~Ben



 On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham dan...@gmail.com wrote:


 Sent: Thursday, June 05, 2014 at 9:08 PM
 From: Steve Burnham dan...@gmail.com[dan...@gmail.com]
 To: Patrick Dupre pdu...@gmx.com[pdu...@gmx.com], lyx 
 lyx-users@lists.lyx.org[lyx-users@lists.lyx.org]
 Subject: Re: error

 On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Can somebody tell me what is wrong in this file?
 There 2 issues,
 with the figure and with the bibliography!

 Thank.



 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===


 I don’t know if this is an acceptable solution for you but when I convert
 the .eps file to a .jpg and insert that instead it complies properly.  I’ve
 attached the .jpg if you would like it.  I don’t see any problems with the
 bibliography.

 -Steve
 On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[
 pdu...@gmx.com]) wrote:


 Hello,

 Why I need to use epstopdf
 How can I avoid to use epstopdf. I have an eps file, there is not point
 to convert it!

 Thank.


 ===
 Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
 Laboratoire de Physico-Chimie de l'Atmosphère | |
 Université du Littoral-Côte d'Opale | |
 Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
 189A, avenue Maurice Schumann | | 59140 Dunkerque, France

 ===



 This is probably a question better suited for a LyX developer to answer
 but I would assume that unless you have used .eps files successfully before
 then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
 know what operating system you are using but on OSX and Windows there are
 very simple to use screen capture tools where you 

Re: error

2014-06-06 Thread stefano franchi
On Fri, Jun 6, 2014 at 1:13 PM, Benedict Holland 
benedict.m.holl...@gmail.com wrote:

 Sorry about the last email. I tried a complex one from my phone and I
 shouldn't have bothered. It is very possible that latex natively supports
 .eps.


The problem is that the above sentence Latex natively supports natively
eps is neither true nor false. It all depends on which output format you
direct Latex to (or, rather, TeX). If you use LaTeX to produce .ps
(postscript) files, then, yes, native inclusion of EPS is supported, while
pdf is not. If you use LaTeX to produce pdf (for instance, as it is most
common, by using the pdftex backend) then eps is *not* supported, while pdf
is. (I am not going into *how* you can produce different formats with the
many different TeX backends now available, as there are numerous,
overlapping possibilities. Suffice it to say that the most common option is
to use pdftex, which can output either .ps and .pdf. The user's manual has
details for those interested.)

LyX tries to take care of this (and many other) discrepancies by using
imagemagick's facilities to convert back and forth among the various
graphics formats. Often, though, it is better to avoid this
behind-the-scene magic by inserting the images in the graphics format
directly supported by the output format one is aiming for (.ps .pdf, etc.)

All this is explained in the user's manual, BTW, sec. 3.8.2 Output file
formats

Cheers,

Stefano




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas AM University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Embedding asymptote in Lyx

2014-06-06 Thread Scott Kostyshak
On Fri, Jun 6, 2014 at 10:53 AM, Cyril mathsbruye...@free.fr wrote:
 Hello everybody,

 I'm trying to embed asymptote code in my LyX files.

 The compilation of a file containing asymptote code named myfile.tex works
 like this:

 latex myfile.tex
 asy myfile-*
 latex myfile.tex

 How can i manage to get this sequence of instructions with a simple shortcut
 inside LyX ?

 Thank you for your answers,

Hi Cyril,

I have little experience with this kind of thing, but you should take
a look at the converters section in Help  Customization. You could
create a format pdfA (or PDF (Asymptote) ) and then a converter
latex - pdfA and add your commands there.

Best,

Scott


Backspacing at the start of an inset occupying a paragraph

2014-06-06 Thread aparsloe
Placing the cursor at the start of an inset and pressing the backspace 
key destroys the inset and makes its content part of the surrounding 
text. However, if the inset is the *only* item in a paragraph 
environment (list, Quotation, etc.) then not only is the inset destroyed 
but so too is the environment, which becomes a standard paragraph. 
Writing [note](note contents) to denote a note inset,


1. [note](blah blah blah)
(a) sub-item
(b) another sub-item

displays in the pdf as

1. (a) sub-item
(b) another sub-item

which may what is desired, but if you feel the blah blah blah should 
be made visible in the pdf and put the cursor before the first blah 
and press backspace, the result is


blah blah blah  -- a standard paragraph
1. sub-item
(a) another sub-item

What I expected was

1. blah blah blah
(a) sub-item
(b) another sub-item

This seems to apply to all insets (I've also tried footnotes, margin 
notes, minipages, ERT), not just notes.


Andrew


Re: Removing a period from BibTeX generated references

2014-06-06 Thread Csikos Bela
Steve Burnham írta:
>I have a BibTeX generated list of references that is doing one entry 
>incorrectly. As sen in the attached picture there is a period being placed 
>after the question mark. I need to remove this period but am I having 
>difficulty doing so. I found this 
>solutionhttp://tex.stackexchange.com/questions/181130/remove-question-mark-following-period-for-reference-title-in-pdf-using-vancouveI
> tried to implement it by adding the \killpunct after the question mark in my 
>.bib file and then added \newcommand{\killpunct}[1]{} to my preamble. Upon 
>compilation I get an error that there is a built in limit of 9 arguments. 
>Searching around it seems like there are some fixes to overcome this 
>limitation but nothing straightforward and all involve lots of programming in 
>LaTeX, which I am not comfortable with. Is there any easy fix to remove the 
>offending period?--Steve Burnham

Hello:

I guess the problem is the bst file. It should not add the dot after given 
characters as ? !.
Nevertheless I would check first the database file if the title has as "?" or 
"?.". If it's the latter correcting it might help.

If the database entry is correct you have two options.

1. Find or create a bst file which makes correct output. makebst (custom-bst ) 
generated bst files never does not have this issue (at least never had it for 
me).

2. Compile the document manually as:
--Export the lyx file as plain latex (tex) file from lyx. Make sure the paths 
for the bst and bib files are correct in the tex file.
--In a console (or dos window) navigate to the directory where the file is 
located.
--run pdflatex on the file ("pdflatex filename.tex") This creates a bbl file in 
the directory.
--run bibtex ("bibtex filename" without extension or "bibtex filename.aux".
--In the directory now you should see a file "filename.bbl". Look for bbl 
extension.
--Edit the bbl file: search for the incorrect entry and correct it, save the 
edited file.
--Now run again "pdflatex filename.tex" one, two, or even more time until all 
the citations, references, cross references in the file are inserted correctly.

You can use latex insted of pdflatex if want dvi output.

bcsikos



reconfiguration fails (miktex)

2014-06-06 Thread Fabian Wilde
Hello everone!

I have a fresh install of Lyx (bundle) on my windows box. Lyx starts up
fine, but I can not typeset files using Ctrl-R. All packages are marked as
unavailable, although the miktex path seems to be fine (C:\Program Files
(x86)\MiKTeX 2.9\miktex\bin) and miktex itself seems to work as expected.
Lyx Reconfigure fails with:

$ /cygdrive/c/Program\ Files\ \(x86\)/LyX\ 2.1/bin/lyx.exe -x reconfigure
Looking for python v2.x ...
Examining C:/Program Files (x86)/LyX 2.1//Python/python.exe
Examining C:/Program Files (x86)/LyX 2.1//Python/pythonw.exe
Examining C:/cygwin64/bin/python2.7.exe
Examining C:/cygwin64/bin/python3.2m.exe
Warning: No python v2.x binary found.
checking for DVI to DTL converter...
+checking for "dv2dt"...  yes
checking for DTL to DVI converter...
+checking for "dt2dv"...  yes
checking for a Latex2e program...
+checking for "latex"...  yes
checking for a DVI postprocessing program...
+checking for "pplatex"...  yes
checking for pLaTeX, the Japanese LaTeX...
+checking for "platex"...  yes
'\\win.desy.de\home\fwilde\Application Data\LyX2.1'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
platex: The memory dump file could not be found.
platex: Data: platex.fmt
Traceback (most recent call last):
  File "C:/Program Files (x86)/LyX 2.1/Resources/configure.py", line 1536,
in 
LATEX = checkLatex(dtl_tools)
  File "C:/Program Files (x86)/LyX 2.1/Resources/configure.py", line 506, in
checkLatex
''')
  File "C:/Program Files (x86)/LyX 2.1/Resources/configure.py", line 32, in
writeToFile
file = open(filename, 'w')
IOError: [Errno 13] Permission denied: 'chklatex.ltx'
..\..\..\src\support\Systemcall.cpp (292): Systemcall: 'python -tt
"C:/Program Files (x86)/LyX 2.1/Resources/configure.py"
--binary-dir="C:/Program Files (x86)/LyX 2.1/bin/"' finished with exit code 1

Calling python -tt "C:/Program Files (x86)/LyX 2.1/Resources/configure.py"
--binary-dir="C:/Program Files (x86)/LyX 2.1/bin/" oth works fine. I gave
almost every Permissions to everyone in C:/Program Files (x86)/LyX 2.1 and
can write file there. So, somethings is very wrong with my installation I
can't figure out what that is. Does anyone have an idea what is going on?

Cheers,
Fabian

 




Re: error

2014-06-06 Thread Benedict Holland
EPS files are not natively supported. The pdf created is a wrapper for the
EPS. Do you have the


\DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics


Declared in the preamble? There are huge reasons to not use .jpgs in text
and an EPS should work. I know that this might be a huge pain, but if it
doesn't work, can you load it into something and save it as a pdf? A pdf
will work. I have had great luck with svg files as well but yes, you might
also have to spam the dev list.


~Ben




On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham  wrote:

>
>
> Sent: Thursday, June 05, 2014 at 9:08 PM
> From: "Steve Burnham" 
> To: "Patrick Dupre" , lyx 
> Subject: Re: error
>
> On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com) wrote:
>
>
> Hello,
>
> Can somebody tell me what is wrong in this file?
> There 2 issues,
> with the figure and with the bibliography!
>
> Thank.
>
>
>
> ===
> Patrick DUPRÉ | | email: pdu...@gmx.com
> Laboratoire de Physico-Chimie de l'Atmosphère | |
> Université du Littoral-Côte d'Opale | |
> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
>
> ===
>
>
> I don’t know if this is an acceptable solution for you but when I convert
> the .eps file to a .jpg and insert that instead it complies properly.  I’ve
> attached the .jpg if you would like it.  I don’t see any problems with the
> bibliography.
>
> -Steve
>
> On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com) wrote:
>
>
> Hello,
>
> Why I need to use epstopdf
> How can I avoid to use epstopdf. I have an eps file, there is not point to
> convert it!
>
> Thank.
>
> ===
>
> Patrick DUPRÉ | | email: pdu...@gmx.com
> Laboratoire de Physico-Chimie de l'Atmosphère | |
> Université du Littoral-Côte d'Opale | |
> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ===
>
>
>
>
>
> This is probably a question better suited for a LyX developer to answer
> but I would assume that unless you have used .eps files successfully before
> then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
> know what operating system you are using but on OSX and Windows there are
> very simple to use screen capture tools where you can just open up the file
> and draw a box around the picture and it creates a .jpg file.  I run OSX
> and this is what I did with your file (Cmd+Shift+4).
>
> -Steve
>
>
>
>
>
>
>
>
>


Embedding asymptote in Lyx

2014-06-06 Thread Cyril

Hello everybody,

I'm trying to embed asymptote code in my LyX files.

The compilation of a file containing asymptote code named "myfile.tex" 
works like this:


latex myfile.tex
asy myfile-*
latex myfile.tex

How can i manage to get this sequence of instructions with a simple 
shortcut inside LyX ?


Thank you for your answers,

Cyril


Re: error

2014-06-06 Thread Patrick Dupre

 
===
Patrick DUPRÉ | | email: pdu...@gmx.com
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
 
 

Sent: Friday, June 06, 2014 at 4:25 PM
From: "Benedict Holland" 
To: "Steve Burnham" 
Cc: "Patrick Dupre" , lyx 
Subject: Re: error

EPS files are not natively supported. The pdf created is a wrapper for the EPS. 
Do you have the 

eps was originally the only supported graphic file format for latex, isn't it?
Which would it not supported any more. To my knowledge, the editors still like 
the eps files!

\DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics
 
Declared in the preamble? There are huge reasons to not use .jpgs in text and 
an EPS should work. I know that this might be a huge pain, but if it doesn't 
work, can you load it into something and save it as a pdf? A pdf will work. I 
have had great luck with svg files as well but yes, you might also have to spam 
the dev list. 
 
~Ben
 

 
On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham  wrote:

 
Sent: Thursday, June 05, 2014 at 9:08 PM 
From: "Steve Burnham"  
To: "Patrick Dupre" , lyx 
 
Subject: Re: error 

On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[pdu...@gmx.com]) 
wrote: 

  
Hello,  

Can somebody tell me what is wrong in this file?  
There 2 issues,  
with the figure and with the bibliography!  

Thank.  


===  
Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]  
Laboratoire de Physico-Chimie de l'Atmosphère | |  
Université du Littoral-Côte d'Opale | |  
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44  
189A, avenue Maurice Schumann | | 59140 Dunkerque, France  
===  

  
I don’t know if this is an acceptable solution for you but when I convert the 
.eps file to a .jpg and insert that instead it complies properly.  I’ve 
attached the .jpg if you would like it.  I don’t see any problems with the 
bibliography. 
  
-Steve 
On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[pdu...@gmx.com]) 
wrote:

 
Hello,
 
Why I need to use epstopdf
How can I avoid to use epstopdf. I have an eps file, there is not point to 
convert it!
 
Thank.
 
===
Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
Laboratoire de Physico-Chimie de l'Atmosphère | |
Université du Littoral-Côte d'Opale | |
Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
189A, avenue Maurice Schumann | | 59140 Dunkerque, France
===
 
 
  
This is probably a question better suited for a LyX developer to answer but I 
would assume that unless you have used .eps files successfully before then LyX 
isn’t able to handle them and doesn’t know what they are.  I don’t know what 
operating system you are using but on OSX and Windows there are very simple to 
use screen capture tools where you can just open up the file and draw a box 
around the picture and it creates a .jpg file.  I run OSX and this is what I 
did with your file (Cmd+Shift+4). 
 
-Steve
 
 
 
 
 
 
 
 


Re: error

2014-06-06 Thread Benedict Holland
That is quite

Thanks,
~Ben
On Jun 6, 2014 11:11 AM, "Patrick Dupre"  wrote:

>
>
> ===
> Patrick DUPRÉ | | email: pdu...@gmx.com
> Laboratoire de Physico-Chimie de l'Atmosphère | |
> Université du Littoral-Côte d'Opale | |
> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ===
>
>
>
> Sent: Friday, June 06, 2014 at 4:25 PM
> From: "Benedict Holland" 
> To: "Steve Burnham" 
> Cc: "Patrick Dupre" , lyx 
> Subject: Re: error
>
> EPS files are not natively supported. The pdf created is a wrapper for the
> EPS. Do you have the
>
> eps was originally the only supported graphic file format for latex, isn't
> it?
> Which would it not supported any more. To my knowledge, the editors still
> like the eps files!
>
> \DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics
>
> Declared in the preamble? There are huge reasons to not use .jpgs in text
> and an EPS should work. I know that this might be a huge pain, but if it
> doesn't work, can you load it into something and save it as a pdf? A pdf
> will work. I have had great luck with svg files as well but yes, you might
> also have to spam the dev list.
>
> ~Ben
>
>
>
> On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham  wrote:
>
>
> Sent: Thursday, June 05, 2014 at 9:08 PM
> From: "Steve Burnham" 
> To: "Patrick Dupre" , lyx <
> lyx-users@lists.lyx.org[lyx-users@lists.lyx.org]>
> Subject: Re: error
>
> On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[
> pdu...@gmx.com]) wrote:
>
>
> Hello,
>
> Can somebody tell me what is wrong in this file?
> There 2 issues,
> with the figure and with the bibliography!
>
> Thank.
>
>
>
> ===
> Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
> Laboratoire de Physico-Chimie de l'Atmosphère | |
> Université du Littoral-Côte d'Opale | |
> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
>
> ===
>
>
> I don’t know if this is an acceptable solution for you but when I convert
> the .eps file to a .jpg and insert that instead it complies properly.  I’ve
> attached the .jpg if you would like it.  I don’t see any problems with the
> bibliography.
>
> -Steve
> On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[
> pdu...@gmx.com]) wrote:
>
>
> Hello,
>
> Why I need to use epstopdf
> How can I avoid to use epstopdf. I have an eps file, there is not point to
> convert it!
>
> Thank.
>
> ===
> Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
> Laboratoire de Physico-Chimie de l'Atmosphère | |
> Université du Littoral-Côte d'Opale | |
> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
> ===
>
>
>
> This is probably a question better suited for a LyX developer to answer
> but I would assume that unless you have used .eps files successfully before
> then LyX isn’t able to handle them and doesn’t know what they are.  I don’t
> know what operating system you are using but on OSX and Windows there are
> very simple to use screen capture tools where you can just open up the file
> and draw a box around the picture and it creates a .jpg file.  I run OSX
> and this is what I did with your file (Cmd+Shift+4).
>
> -Steve
>
>
>
>
>
>
>
>
>


Re: error

2014-06-06 Thread Benedict Holland
Sorry about the last email. I tried a complex one from my phone and I
shouldn't have bothered. It is very possible that latex natively supports
.eps. I have found that converting an EPS to PDF and using that within Lyx
makes life much easier. I don't know if Lyx SHOULD work natively with EPS
or really PS files but I know that EPS to PDF is lossless. Both are vector
graphics. I also know that lyx natively works with PDFs as child documents.

I also read that unless you are using a PDF as an image, you have to
declare EPS as an extension. I don't know why. I also don't know how this
SHOULD work but I have used 5 different file formats extensively. What I
would suggest doing is converting the EPS to a PDF. I don't know why that
is a problem. Again, nothing should be lost in this transition. EPS to SVG
I know loses nothing and EPS to PDF, when I have done it, print exactly the
same. Does the program crash if EPS is declared as a valid graphics type?
If it doesn't crash and works, might I suggest just using it? If making the
EPS into a PDF also works and your document compiles, might I also suggest
using that? I don't think either fixes the core crash but if you can make
it work fairly easily, I would personally prefer to have a document work
with a minor hack than not have a document work at all.


~Ben


On Fri, Jun 6, 2014 at 2:01 PM, Benedict Holland <
benedict.m.holl...@gmail.com> wrote:

> That is quite
>
> Thanks,
> ~Ben
> On Jun 6, 2014 11:11 AM, "Patrick Dupre"  wrote:
>
>>
>>
>>
>> ===
>> Patrick DUPRÉ | | email: pdu...@gmx.com
>> Laboratoire de Physico-Chimie de l'Atmosphère | |
>> Université du Littoral-Côte d'Opale | |
>> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
>> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
>>
>> ===
>>
>>
>>
>> Sent: Friday, June 06, 2014 at 4:25 PM
>> From: "Benedict Holland" 
>> To: "Steve Burnham" 
>> Cc: "Patrick Dupre" , lyx 
>> Subject: Re: error
>>
>> EPS files are not natively supported. The pdf created is a wrapper for
>> the EPS. Do you have the
>>
>> eps was originally the only supported graphic file format for latex,
>> isn't it?
>> Which would it not supported any more. To my knowledge, the editors still
>> like the eps files!
>>
>> \DeclareGraphicsExtensions{.pdf,.eps,png} %Allowed includegraphics
>>
>> Declared in the preamble? There are huge reasons to not use .jpgs in text
>> and an EPS should work. I know that this might be a huge pain, but if it
>> doesn't work, can you load it into something and save it as a pdf? A pdf
>> will work. I have had great luck with svg files as well but yes, you might
>> also have to spam the dev list.
>>
>> ~Ben
>>
>>
>>
>> On Thu, Jun 5, 2014 at 9:23 PM, Steve Burnham  wrote:
>>
>>
>> Sent: Thursday, June 05, 2014 at 9:08 PM
>> From: "Steve Burnham" 
>> To: "Patrick Dupre" , lyx <
>> lyx-users@lists.lyx.org[lyx-users@lists.lyx.org]>
>> Subject: Re: error
>>
>> On June 5, 2014 at 12:50:35 PM, Patrick Dupre (pdu...@gmx.com[
>> pdu...@gmx.com]) wrote:
>>
>>
>> Hello,
>>
>> Can somebody tell me what is wrong in this file?
>> There 2 issues,
>> with the figure and with the bibliography!
>>
>> Thank.
>>
>>
>>
>> ===
>> Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
>> Laboratoire de Physico-Chimie de l'Atmosphère | |
>> Université du Littoral-Côte d'Opale | |
>> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
>> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
>>
>> ===
>>
>>
>> I don’t know if this is an acceptable solution for you but when I convert
>> the .eps file to a .jpg and insert that instead it complies properly.  I’ve
>> attached the .jpg if you would like it.  I don’t see any problems with the
>> bibliography.
>>
>> -Steve
>> On June 5, 2014 at 15:09:08 PM, Patrick Dupre (pdu...@gmx.com[
>> pdu...@gmx.com]) wrote:
>>
>>
>> Hello,
>>
>> Why I need to use epstopdf
>> How can I avoid to use epstopdf. I have an eps file, there is not point
>> to convert it!
>>
>> Thank.
>>
>>
>> ===
>> Patrick DUPRÉ | | email: pdu...@gmx.com[pdu...@gmx.com]
>> Laboratoire de Physico-Chimie de l'Atmosphère | |
>> Université du Littoral-Côte d'Opale | |
>> Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44
>> 189A, avenue Maurice Schumann | | 59140 Dunkerque, France
>>
>> ===
>>
>>
>>
>> This is probably a question better suited for a LyX developer to answer
>> but I would assume that unless 

Re: error

2014-06-06 Thread stefano franchi
On Fri, Jun 6, 2014 at 1:13 PM, Benedict Holland <
benedict.m.holl...@gmail.com> wrote:

> Sorry about the last email. I tried a complex one from my phone and I
> shouldn't have bothered. It is very possible that latex natively supports
> .eps.
>

The problem is that the above sentence "Latex natively supports natively
eps" is neither true nor false. It all depends on which output format you
direct Latex to (or, rather, TeX). If you use LaTeX to produce .ps
(postscript) files, then, yes, native inclusion of EPS is supported, while
pdf is not. If you use LaTeX to produce pdf (for instance, as it is most
common, by using the pdftex backend) then eps is *not* supported, while pdf
is. (I am not going into *how* you can produce different formats with the
many different TeX backends now available, as there are numerous,
overlapping possibilities. Suffice it to say that the most common option is
to use pdftex, which can output either .ps and .pdf. The user's manual has
details for those interested.)

LyX tries to take care of this (and many other) discrepancies by using
imagemagick's facilities to convert back and forth among the various
graphics formats. Often, though, it is better to avoid this
behind-the-scene magic by inserting the images in the graphics format
directly supported by the output format one is aiming for (.ps .pdf, etc.)

All this is explained in the user's manual, BTW, sec. 3.8.2 "Output file
formats"

Cheers,

Stefano




-- 
__
Stefano Franchi
Associate Research Professor
Department of Hispanic Studies Ph:   +1 (979) 845-2125
Texas A University  Fax:  +1 (979) 845-6421
College Station, Texas, USA

stef...@tamu.edu
http://stefano.cleinias.org


Re: Embedding asymptote in Lyx

2014-06-06 Thread Scott Kostyshak
On Fri, Jun 6, 2014 at 10:53 AM, Cyril  wrote:
> Hello everybody,
>
> I'm trying to embed asymptote code in my LyX files.
>
> The compilation of a file containing asymptote code named "myfile.tex" works
> like this:
>
> latex myfile.tex
> asy myfile-*
> latex myfile.tex
>
> How can i manage to get this sequence of instructions with a simple shortcut
> inside LyX ?
>
> Thank you for your answers,

Hi Cyril,

I have little experience with this kind of thing, but you should take
a look at the converters section in Help > Customization. You could
create a format "pdfA" (or "PDF (Asymptote)" ) and then a converter
latex -> pdfA and add your commands there.

Best,

Scott


Backspacing at the start of an inset occupying a paragraph

2014-06-06 Thread aparsloe
Placing the cursor at the start of an inset and pressing the backspace 
key destroys the inset and makes its content part of the surrounding 
text. However, if the inset is the *only* item in a paragraph 
environment (list, Quotation, etc.) then not only is the inset destroyed 
but so too is the environment, which becomes a standard paragraph. 
Writing [note](note contents) to denote a note inset,


1. [note](blah blah blah)
(a) sub-item
(b) another sub-item

displays in the pdf as

1. (a) sub-item
(b) another sub-item

which may what is desired, but if you feel the "blah blah blah" should 
be made visible in the pdf and put the cursor before the first "blah" 
and press backspace, the result is


blah blah blah  <-- a standard paragraph
1. sub-item
(a) another sub-item

What I expected was

1. blah blah blah
(a) sub-item
(b) another sub-item

This seems to apply to all insets (I've also tried footnotes, margin 
notes, minipages, ERT), not just notes.


Andrew