Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Wed, Aug 27, 2014 at 10:39 PM, William Hanson whan...@umn.edu wrote:

 This looks wonderful.  However I can't get beyond Step 2 where I'm asked
 to create a new folder.  I can't do this because I don't have
 administrative status.


Waluyo's bog post explained how to take care of a different problem:
namely, how to install a particular Springer LaTeX class (svjour3) in Lyx
and how to create a LyX document that uses it.
I don't know which class Springer has told you to use (there other others,
depending on journal/book collections), but it is indeed svjour3 you
should have it  installed on your system already. You can check by going to
DocumentSettings...Document class  and clicking on the pop-up menu on
the right just under Document class. If you have svjour3 installed, you
will see an item taht reads article (Springer svjour3/global)
Select it and you are all set.

I'll reply to the other problem (the bibtex issue) in another post.


Cheers,

S.


-- 
__
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: Generating a Tex

2014-08-28 Thread stefano franchi
On Wed, Aug 27, 2014 at 11:09 PM, William Hanson whan...@umn.edu wrote:

 Sorry, but I do not seem to be able to reply except by top posting.

 I'm using Windows, 64 bit.

 Here's the very end of my .tex file:

 \begin{quotation}

 \bibliographystyle{plain}

 \bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
 Documents/BibTeX/library\string}

 \end{quotation}

 \end{document}


 I have tried removing the space in ...My Documents ..., but it doesn't
 help.  In fact in the process of removing the spaces I've somehow managed
 to mess up my document so that now when I convert it to a pdf file there
 are no references at the end.  And in the text all the citations say [?].



I suppose removing the space in My Documents won't help---not, that is,
unless you actaully rename the My Documents directory in Windows to
MyDocuments. And that is not a great idea, as My Documents is a Windows
standard directory and renaming it will undoubtedly mess things up badly,
At any rate, since the the address of your bib file is wrapped by a \string
command, it should actually work even if it contains a space---that is what
the \string command should take care of. In theory at least.
We need to know exactly what is the problem that prevents bibtex from
producing a bbl file. I would suggest the following if you'd like more help:

1. Export your file  to Latex(plain) and produce something called
myfile.tex
2. Run pdflatex myfile.tex in a terminal.
3. You will see that pdflatex produces (in addition to myfile.pdf) a file
called myfile.log.
4. Post that file to the list
5. Run bibtex myfile and cut and paste everything bibtex spits to the
terminal into another file. Call it myfile.bib.log.
6. Post that file to the list as well

(there are more elegant ways to collect a program's output than what I just
suggested, but I don't know how to accomplish them in Windows. Perhaps
other users may help. But the above should work)

Cheers,
Stefano



 Bill







 On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:




 On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from
 the command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



 That probably means bibtex cannot find your bib file(s).  Look at the
 .tex file in anb editor. At the very end (most likely the next to last
 line), you'll see a line like:
 \bibliography{}

 Inside the braces you will have the complete path to your bibtex file
 (the .bib file, but without the extension). Check that:
 1. That path is indeed correct (is the file really there?).
 2, There are no spaces in the path (fix the problem if otherwise. Easiest
 way is to copy your lyx file and your bib file to a temporary directory in
 your home directory)


 If neither of these suggestions works, please post the complete output of
 the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I don't
 know how to tell if there are spaces in the directory structure.



  Which system are you on (Mac, Linux, Win)? I can help with the first
 two, but I am hopeless on Windows.

 Cheers,

 Stefano

 P.S. Also, please do not top post. Answer in line with your replies
 immediately following the relevant point you are responding to. It makes
 for easier and faster reading. Besides, it is the list convention

 --
 __
 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





-- 
__
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: Generating a Tex

2014-08-28 Thread William Hanson
The first time I tried to execute your step 1, immediately above, I got an
error saying that it wouldn't work because of spaces.   I tried it again
and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
But, contrary to your 3, I did not get a file called myfile.log. (It did,
however, produce the following files:  myfile.toc, myfile.aux,
synctex.gz.)

So I'm stuck at this point.

Cheers,

Bill


On Thu, Aug 28, 2014 at 9:03 AM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Wed, Aug 27, 2014 at 11:09 PM, William Hanson whan...@umn.edu wrote:

 Sorry, but I do not seem to be able to reply except by top posting.

 I'm using Windows, 64 bit.

 Here's the very end of my .tex file:

 \begin{quotation}

 \bibliographystyle{plain}

 \bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
 Documents/BibTeX/library\string}

 \end{quotation}

 \end{document}


 I have tried removing the space in ...My Documents ..., but it doesn't
 help.  In fact in the process of removing the spaces I've somehow managed
 to mess up my document so that now when I convert it to a pdf file there
 are no references at the end.  And in the text all the citations say [?].



 I suppose removing the space in My Documents won't help---not, that is,
 unless you actaully rename the My Documents directory in Windows to
 MyDocuments. And that is not a great idea, as My Documents is a Windows
 standard directory and renaming it will undoubtedly mess things up badly,
 At any rate, since the the address of your bib file is wrapped by a
 \string command, it should actually work even if it contains a space---that
 is what the \string command should take care of. In theory at least.
 We need to know exactly what is the problem that prevents bibtex from
 producing a bbl file. I would suggest the following if you'd like more help:

 1. Export your file  to Latex(plain) and produce something called
 myfile.tex
 2. Run pdflatex myfile.tex in a terminal.
 3. You will see that pdflatex produces (in addition to myfile.pdf) a file
 called myfile.log.
 4. Post that file to the list
 5. Run bibtex myfile and cut and paste everything bibtex spits to the
 terminal into another file. Call it myfile.bib.log.
 6. Post that file to the list as well

 (there are more elegant ways to collect a program's output than what I
 just suggested, but I don't know how to accomplish them in Windows. Perhaps
 other users may help. But the above should work)

 Cheers,
 Stefano



 Bill







 On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:




 On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from
 the command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



 That probably means bibtex cannot find your bib file(s).  Look at the
 .tex file in anb editor. At the very end (most likely the next to last
 line), you'll see a line like:
 \bibliography{}

 Inside the braces you will have the complete path to your bibtex file
 (the .bib file, but without the extension). Check that:
 1. That path is indeed correct (is the file really there?).
 2, There are no spaces in the path (fix the problem if otherwise.
 Easiest way is to copy your lyx file and your bib file to a temporary
 directory in your home directory)


 If neither of these suggestions works, please post the complete output
 of the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I
 don't know how to tell if there are spaces in the directory structure.



  Which system are you on (Mac, Linux, Win)? I can help with the first
 two, but I am hopeless on Windows.

 Cheers,

 Stefano

 P.S. Also, please do not top post. Answer in line with your replies
 immediately following the relevant point you are responding to. It makes
 for easier and faster reading. Besides, it is the list convention

 --
 __
 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





 --
 __
 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: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 11:47 AM, William Hanson whan...@umn.edu wrote:

 The first time I tried to execute your step 1, immediately above, I got an
 error saying that it wouldn't work because of spaces.   I tried it again
 and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
 But, contrary to your 3, I did not get a file called myfile.log. (It did,
 however, produce the following files:  myfile.toc, myfile.aux,
 synctex.gz.)



This is strange, pdflatex always produces a log file unless instructed
otherwise. Are you calling pdflatex from the command line or are you using
a latex editor (such as texmaker or winedit, for instance). That would
explain the lack of a log file, as these editors may be configured to erase
log files and/or move them to other directories.

Do you also have a myfile.pdf file? That would indicate that the pdflatex
run was at least partially successful.

And what did you see on the console when you ran pdflatex (assuming you are
using a terminal-like interface and not a LaTeX editor)?


S.



-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread William Hanson
I am calling pdflatex from the command line of TeXworks.

It did also produce a myfile.pdf file.

What I see on my screen after running pdflatex is a window labeled
myfile.tex - TeXworks.  It contains what apparently is myfile.tex, which I
assume is the TeX version of my paper,




On Thu, Aug 28, 2014 at 11:58 AM, stefano franchi stefano.fran...@gmail.com
 wrote:




 On Thu, Aug 28, 2014 at 11:47 AM, William Hanson whan...@umn.edu wrote:

 The first time I tried to execute your step 1, immediately above, I got
 an error saying that it wouldn't work because of spaces.   I tried it again
 and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
 But, contrary to your 3, I did not get a file called myfile.log. (It did,
 however, produce the following files:  myfile.toc, myfile.aux,
 synctex.gz.)



 This is strange, pdflatex always produces a log file unless instructed
 otherwise. Are you calling pdflatex from the command line or are you using
 a latex editor (such as texmaker or winedit, for instance). That would
 explain the lack of a log file, as these editors may be configured to erase
 log files and/or move them to other directories.

 Do you also have a myfile.pdf file? That would indicate that the pdflatex
 run was at least partially successful.

 And what did you see on the console when you ran pdflatex (assuming you
 are using a terminal-like interface and not a LaTeX editor)?


 S.



 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread William Hanson
Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
Is there an easy way forward from here?


On Thu, Aug 28, 2014 at 12:59 PM, stefano franchi stefano.fran...@gmail.com
 wrote:




 On Thu, Aug 28, 2014 at 12:55 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:




 On Thu, Aug 28, 2014 at 12:26 PM, William Hanson whan...@umn.edu wrote:

 I am calling pdflatex from the command line of TeXworks.

 It did also produce a myfile.pdf file.

 What I see on my screen after running pdflatex is a window labeled
 myfile.tex - TeXworks.  It contains what apparently is myfile.tex, which I
 assume is the TeX version of my paper,



 If you use texworks, you should just be able to select pdflatex from the
 Typeset menu, and it will compile your file to myfile.pdf and also produce
 a myfile.log. For instance, this is what I see in TeXWorks console, when I
 try to compile a test.tex file:

 This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded
 format=pdflatex)

 restricted \write18 enabled.

 entering extended mode

 (./test.tex

 LaTeX2e 2014/05/01

 Babel 3.9k and hyphenation patterns for 79 languages loaded.

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls

 Document Class: article 2007/10/19 v1.4h Standard LaTeX document class

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size11.clo))

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1enc.def))

 (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.sty

 (/usr/local/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf

 (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.def)))


 LaTeX Warning: Unused global option(s):

 [article].


 (./test.aux)
 [1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdfte

 x.map}] (./test.aux)
 ){/usr/local/texlive/2014/texmf-dist/fonts/enc/dvips/cm-su


 per/cm-super-t1.enc}/usr/local/texlive/2014/texmf-dist/fonts/type1/public/cm-s

 uper/sfrm1095.pfb

 Output written on test.pdf (1 page, 13144 bytes).

 SyncTeX written on test.synctex.gz.

 Transcript written on test.log.


 Notice how on the last line it informs me that it has produced a log file.


 At any rate, try recompiling your file, and if you cannot find the log
 file, juct cut and paste everything you see in TeXWorks's console output
 window into an email message and send it to the list.

 Do the same for a compilation with bibtex (just select bibtex from the
 Typeset menu and hit ctrl-T). Cut and paste the console output into an
 email message and send it to the list.


 That should give us enough info to understand what's going wrong.




 The alternative is to use a good old-fashioned terminal---I believe it is
 called Command prompt in Windows, or at least it used to be. See here [1]
 on how to do it in Windows 7 (with apologies if it is obvious to you).


 [1]
 http://smallbusiness.chron.com/open-terminal-session-windows-7-56627.html




 S.


 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 1:54 PM, William Hanson whan...@umn.edu wrote:

 Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
 mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
 Is there an easy way forward from here?



Assuming your bbl file is correct, you're almost there. You just:

1. open the myfile.bbl file in TeXWorks (be sure to select all files
ffrom the open dialog or it won't show up)
2. Select and copy everything in the bbl file
3, go to your myfile,.tex file in TeXWorks, delete the two lines (at the
end), that begin with, respectively, \bibliographystyle and \bibliography
and replace them with the content you just copied from the bbl file.
4. Compile the file again with pdflatex to be sure everything works
correctly and the pdf is how it should be (with all the refs, etcetera).
5. Send to Springer!

Cheers,

Stefano

-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread William Hanson
So close, but my bbl file does not show up om TeXWorks.  I don't see any
all files ffrom the open dialog.


On Thu, Aug 28, 2014 at 2:12 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Thu, Aug 28, 2014 at 1:54 PM, William Hanson whan...@umn.edu wrote:

 Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
 mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
 Is there an easy way forward from here?



 Assuming your bbl file is correct, you're almost there. You just:

 1. open the myfile.bbl file in TeXWorks (be sure to select all files
 ffrom the open dialog or it won't show up)
 2. Select and copy everything in the bbl file
 3, go to your myfile,.tex file in TeXWorks, delete the two lines (at the
 end), that begin with, respectively, \bibliographystyle and \bibliography
 and replace them with the content you just copied from the bbl file.
 4. Compile the file again with pdflatex to be sure everything works
 correctly and the pdf is how it should be (with all the refs, etcetera).
 5. Send to Springer!

 Cheers,

 Stefano

 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread William Hanson
Foiled again, I'm afraid.  All that's in the bbl file is

\begin{thebibliography}{}

\end{thebibliography}


Cheers nonetheless.



On Thu, Aug 28, 2014 at 3:02 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Thu, Aug 28, 2014 at 2:46 PM, William Hanson whan...@umn.edu wrote:

 So close, but my bbl file does not show up om TeXWorks.  I don't see any
   all files ffrom the open dialog.



 Look at the last line in the open file dialog screen (see attached
 screenshot, where it says Filter). It is a pop up menu, you need to click
 on it and select the last item all files


 S.

 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 3:22 PM, William Hanson whan...@umn.edu wrote:

 Foiled again, I'm afraid.  All that's in the bbl file is

 \begin{thebibliography}{}

 \end{thebibliography}


 Cheers nonetheless.


That means that the bibtex run failed. Run bibtex again from within
TeXworks, and cut and paste the console output into an email message to the
list.
It is hard to help without knowing what is wrong.
Cheers,

S.

-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Wed, Aug 27, 2014 at 10:39 PM, William Hanson whan...@umn.edu wrote:

 This looks wonderful.  However I can't get beyond Step 2 where I'm asked
 to create a new folder.  I can't do this because I don't have
 administrative status.


Waluyo's bog post explained how to take care of a different problem:
namely, how to install a particular Springer LaTeX class (svjour3) in Lyx
and how to create a LyX document that uses it.
I don't know which class Springer has told you to use (there other others,
depending on journal/book collections), but it is indeed svjour3 you
should have it  installed on your system already. You can check by going to
DocumentSettings...Document class  and clicking on the pop-up menu on
the right just under Document class. If you have svjour3 installed, you
will see an item taht reads article (Springer svjour3/global)
Select it and you are all set.

I'll reply to the other problem (the bibtex issue) in another post.


Cheers,

S.


-- 
__
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: Generating a Tex

2014-08-28 Thread stefano franchi
On Wed, Aug 27, 2014 at 11:09 PM, William Hanson whan...@umn.edu wrote:

 Sorry, but I do not seem to be able to reply except by top posting.

 I'm using Windows, 64 bit.

 Here's the very end of my .tex file:

 \begin{quotation}

 \bibliographystyle{plain}

 \bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
 Documents/BibTeX/library\string}

 \end{quotation}

 \end{document}


 I have tried removing the space in ...My Documents ..., but it doesn't
 help.  In fact in the process of removing the spaces I've somehow managed
 to mess up my document so that now when I convert it to a pdf file there
 are no references at the end.  And in the text all the citations say [?].



I suppose removing the space in My Documents won't help---not, that is,
unless you actaully rename the My Documents directory in Windows to
MyDocuments. And that is not a great idea, as My Documents is a Windows
standard directory and renaming it will undoubtedly mess things up badly,
At any rate, since the the address of your bib file is wrapped by a \string
command, it should actually work even if it contains a space---that is what
the \string command should take care of. In theory at least.
We need to know exactly what is the problem that prevents bibtex from
producing a bbl file. I would suggest the following if you'd like more help:

1. Export your file  to Latex(plain) and produce something called
myfile.tex
2. Run pdflatex myfile.tex in a terminal.
3. You will see that pdflatex produces (in addition to myfile.pdf) a file
called myfile.log.
4. Post that file to the list
5. Run bibtex myfile and cut and paste everything bibtex spits to the
terminal into another file. Call it myfile.bib.log.
6. Post that file to the list as well

(there are more elegant ways to collect a program's output than what I just
suggested, but I don't know how to accomplish them in Windows. Perhaps
other users may help. But the above should work)

Cheers,
Stefano



 Bill







 On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:




 On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from
 the command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



 That probably means bibtex cannot find your bib file(s).  Look at the
 .tex file in anb editor. At the very end (most likely the next to last
 line), you'll see a line like:
 \bibliography{}

 Inside the braces you will have the complete path to your bibtex file
 (the .bib file, but without the extension). Check that:
 1. That path is indeed correct (is the file really there?).
 2, There are no spaces in the path (fix the problem if otherwise. Easiest
 way is to copy your lyx file and your bib file to a temporary directory in
 your home directory)


 If neither of these suggestions works, please post the complete output of
 the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I don't
 know how to tell if there are spaces in the directory structure.



  Which system are you on (Mac, Linux, Win)? I can help with the first
 two, but I am hopeless on Windows.

 Cheers,

 Stefano

 P.S. Also, please do not top post. Answer in line with your replies
 immediately following the relevant point you are responding to. It makes
 for easier and faster reading. Besides, it is the list convention

 --
 __
 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





-- 
__
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: Generating a Tex

2014-08-28 Thread William Hanson
The first time I tried to execute your step 1, immediately above, I got an
error saying that it wouldn't work because of spaces.   I tried it again
and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
But, contrary to your 3, I did not get a file called myfile.log. (It did,
however, produce the following files:  myfile.toc, myfile.aux,
synctex.gz.)

So I'm stuck at this point.

Cheers,

Bill


On Thu, Aug 28, 2014 at 9:03 AM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Wed, Aug 27, 2014 at 11:09 PM, William Hanson whan...@umn.edu wrote:

 Sorry, but I do not seem to be able to reply except by top posting.

 I'm using Windows, 64 bit.

 Here's the very end of my .tex file:

 \begin{quotation}

 \bibliographystyle{plain}

 \bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
 Documents/BibTeX/library\string}

 \end{quotation}

 \end{document}


 I have tried removing the space in ...My Documents ..., but it doesn't
 help.  In fact in the process of removing the spaces I've somehow managed
 to mess up my document so that now when I convert it to a pdf file there
 are no references at the end.  And in the text all the citations say [?].



 I suppose removing the space in My Documents won't help---not, that is,
 unless you actaully rename the My Documents directory in Windows to
 MyDocuments. And that is not a great idea, as My Documents is a Windows
 standard directory and renaming it will undoubtedly mess things up badly,
 At any rate, since the the address of your bib file is wrapped by a
 \string command, it should actually work even if it contains a space---that
 is what the \string command should take care of. In theory at least.
 We need to know exactly what is the problem that prevents bibtex from
 producing a bbl file. I would suggest the following if you'd like more help:

 1. Export your file  to Latex(plain) and produce something called
 myfile.tex
 2. Run pdflatex myfile.tex in a terminal.
 3. You will see that pdflatex produces (in addition to myfile.pdf) a file
 called myfile.log.
 4. Post that file to the list
 5. Run bibtex myfile and cut and paste everything bibtex spits to the
 terminal into another file. Call it myfile.bib.log.
 6. Post that file to the list as well

 (there are more elegant ways to collect a program's output than what I
 just suggested, but I don't know how to accomplish them in Windows. Perhaps
 other users may help. But the above should work)

 Cheers,
 Stefano



 Bill







 On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:




 On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from
 the command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



 That probably means bibtex cannot find your bib file(s).  Look at the
 .tex file in anb editor. At the very end (most likely the next to last
 line), you'll see a line like:
 \bibliography{}

 Inside the braces you will have the complete path to your bibtex file
 (the .bib file, but without the extension). Check that:
 1. That path is indeed correct (is the file really there?).
 2, There are no spaces in the path (fix the problem if otherwise.
 Easiest way is to copy your lyx file and your bib file to a temporary
 directory in your home directory)


 If neither of these suggestions works, please post the complete output
 of the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I
 don't know how to tell if there are spaces in the directory structure.



  Which system are you on (Mac, Linux, Win)? I can help with the first
 two, but I am hopeless on Windows.

 Cheers,

 Stefano

 P.S. Also, please do not top post. Answer in line with your replies
 immediately following the relevant point you are responding to. It makes
 for easier and faster reading. Besides, it is the list convention

 --
 __
 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





 --
 __
 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: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 11:47 AM, William Hanson whan...@umn.edu wrote:

 The first time I tried to execute your step 1, immediately above, I got an
 error saying that it wouldn't work because of spaces.   I tried it again
 and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
 But, contrary to your 3, I did not get a file called myfile.log. (It did,
 however, produce the following files:  myfile.toc, myfile.aux,
 synctex.gz.)



This is strange, pdflatex always produces a log file unless instructed
otherwise. Are you calling pdflatex from the command line or are you using
a latex editor (such as texmaker or winedit, for instance). That would
explain the lack of a log file, as these editors may be configured to erase
log files and/or move them to other directories.

Do you also have a myfile.pdf file? That would indicate that the pdflatex
run was at least partially successful.

And what did you see on the console when you ran pdflatex (assuming you are
using a terminal-like interface and not a LaTeX editor)?


S.



-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread William Hanson
I am calling pdflatex from the command line of TeXworks.

It did also produce a myfile.pdf file.

What I see on my screen after running pdflatex is a window labeled
myfile.tex - TeXworks.  It contains what apparently is myfile.tex, which I
assume is the TeX version of my paper,




On Thu, Aug 28, 2014 at 11:58 AM, stefano franchi stefano.fran...@gmail.com
 wrote:




 On Thu, Aug 28, 2014 at 11:47 AM, William Hanson whan...@umn.edu wrote:

 The first time I tried to execute your step 1, immediately above, I got
 an error saying that it wouldn't work because of spaces.   I tried it again
 and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
 But, contrary to your 3, I did not get a file called myfile.log. (It did,
 however, produce the following files:  myfile.toc, myfile.aux,
 synctex.gz.)



 This is strange, pdflatex always produces a log file unless instructed
 otherwise. Are you calling pdflatex from the command line or are you using
 a latex editor (such as texmaker or winedit, for instance). That would
 explain the lack of a log file, as these editors may be configured to erase
 log files and/or move them to other directories.

 Do you also have a myfile.pdf file? That would indicate that the pdflatex
 run was at least partially successful.

 And what did you see on the console when you ran pdflatex (assuming you
 are using a terminal-like interface and not a LaTeX editor)?


 S.



 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread William Hanson
Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
Is there an easy way forward from here?


On Thu, Aug 28, 2014 at 12:59 PM, stefano franchi stefano.fran...@gmail.com
 wrote:




 On Thu, Aug 28, 2014 at 12:55 PM, stefano franchi 
 stefano.fran...@gmail.com wrote:




 On Thu, Aug 28, 2014 at 12:26 PM, William Hanson whan...@umn.edu wrote:

 I am calling pdflatex from the command line of TeXworks.

 It did also produce a myfile.pdf file.

 What I see on my screen after running pdflatex is a window labeled
 myfile.tex - TeXworks.  It contains what apparently is myfile.tex, which I
 assume is the TeX version of my paper,



 If you use texworks, you should just be able to select pdflatex from the
 Typeset menu, and it will compile your file to myfile.pdf and also produce
 a myfile.log. For instance, this is what I see in TeXWorks console, when I
 try to compile a test.tex file:

 This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded
 format=pdflatex)

 restricted \write18 enabled.

 entering extended mode

 (./test.tex

 LaTeX2e 2014/05/01

 Babel 3.9k and hyphenation patterns for 79 languages loaded.

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls

 Document Class: article 2007/10/19 v1.4h Standard LaTeX document class

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size11.clo))

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty

 (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1enc.def))

 (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.sty

 (/usr/local/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf

 (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.def)))


 LaTeX Warning: Unused global option(s):

 [article].


 (./test.aux)
 [1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdfte

 x.map}] (./test.aux)
 ){/usr/local/texlive/2014/texmf-dist/fonts/enc/dvips/cm-su


 per/cm-super-t1.enc}/usr/local/texlive/2014/texmf-dist/fonts/type1/public/cm-s

 uper/sfrm1095.pfb

 Output written on test.pdf (1 page, 13144 bytes).

 SyncTeX written on test.synctex.gz.

 Transcript written on test.log.


 Notice how on the last line it informs me that it has produced a log file.


 At any rate, try recompiling your file, and if you cannot find the log
 file, juct cut and paste everything you see in TeXWorks's console output
 window into an email message and send it to the list.

 Do the same for a compilation with bibtex (just select bibtex from the
 Typeset menu and hit ctrl-T). Cut and paste the console output into an
 email message and send it to the list.


 That should give us enough info to understand what's going wrong.




 The alternative is to use a good old-fashioned terminal---I believe it is
 called Command prompt in Windows, or at least it used to be. See here [1]
 on how to do it in Windows 7 (with apologies if it is obvious to you).


 [1]
 http://smallbusiness.chron.com/open-terminal-session-windows-7-56627.html




 S.


 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 1:54 PM, William Hanson whan...@umn.edu wrote:

 Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
 mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
 Is there an easy way forward from here?



Assuming your bbl file is correct, you're almost there. You just:

1. open the myfile.bbl file in TeXWorks (be sure to select all files
ffrom the open dialog or it won't show up)
2. Select and copy everything in the bbl file
3, go to your myfile,.tex file in TeXWorks, delete the two lines (at the
end), that begin with, respectively, \bibliographystyle and \bibliography
and replace them with the content you just copied from the bbl file.
4. Compile the file again with pdflatex to be sure everything works
correctly and the pdf is how it should be (with all the refs, etcetera).
5. Send to Springer!

Cheers,

Stefano

-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread William Hanson
So close, but my bbl file does not show up om TeXWorks.  I don't see any
all files ffrom the open dialog.


On Thu, Aug 28, 2014 at 2:12 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Thu, Aug 28, 2014 at 1:54 PM, William Hanson whan...@umn.edu wrote:

 Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
 mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
 Is there an easy way forward from here?



 Assuming your bbl file is correct, you're almost there. You just:

 1. open the myfile.bbl file in TeXWorks (be sure to select all files
 ffrom the open dialog or it won't show up)
 2. Select and copy everything in the bbl file
 3, go to your myfile,.tex file in TeXWorks, delete the two lines (at the
 end), that begin with, respectively, \bibliographystyle and \bibliography
 and replace them with the content you just copied from the bbl file.
 4. Compile the file again with pdflatex to be sure everything works
 correctly and the pdf is how it should be (with all the refs, etcetera).
 5. Send to Springer!

 Cheers,

 Stefano

 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread William Hanson
Foiled again, I'm afraid.  All that's in the bbl file is

\begin{thebibliography}{}

\end{thebibliography}


Cheers nonetheless.



On Thu, Aug 28, 2014 at 3:02 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Thu, Aug 28, 2014 at 2:46 PM, William Hanson whan...@umn.edu wrote:

 So close, but my bbl file does not show up om TeXWorks.  I don't see any
   all files ffrom the open dialog.



 Look at the last line in the open file dialog screen (see attached
 screenshot, where it says Filter). It is a pop up menu, you need to click
 on it and select the last item all files


 S.

 --
 __
 Stefano Franchi

 stefano.fran...@gmail.com stef...@tamu.edu
 http://stefano.cleinias.org



Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 3:22 PM, William Hanson whan...@umn.edu wrote:

 Foiled again, I'm afraid.  All that's in the bbl file is

 \begin{thebibliography}{}

 \end{thebibliography}


 Cheers nonetheless.


That means that the bibtex run failed. Run bibtex again from within
TeXworks, and cut and paste the console output into an email message to the
list.
It is hard to help without knowing what is wrong.
Cheers,

S.

-- 
__
Stefano Franchi

stefano.fran...@gmail.com stef...@tamu.edu
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Wed, Aug 27, 2014 at 10:39 PM, William Hanson  wrote:

> This looks wonderful.  However I can't get beyond Step 2 where I'm asked
> to create a new folder.  I can't do this because I don't have
> administrative status.
>
>
Waluyo's bog post explained how to take care of a different problem:
namely, how to install a particular Springer LaTeX class (svjour3) in Lyx
and how to create a LyX document that uses it.
I don't know which class Springer has told you to use (there other others,
depending on journal/book collections), but it is indeed svjour3 you
should have it  installed on your system already. You can check by going to
Document>>Settings...>>Document class  and clicking on the pop-up menu on
the right just under "Document class". If you have svjour3 installed, you
will see an item taht reads "article (Springer svjour3/global)"
Select it and you are all set.

I'll reply to the other problem (the bibtex issue) in another post.


Cheers,

S.


-- 
__
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: Generating a Tex

2014-08-28 Thread stefano franchi
On Wed, Aug 27, 2014 at 11:09 PM, William Hanson  wrote:

> Sorry, but I do not seem to be able to reply except by "top posting".
>
> I'm using Windows, 64 bit.
>
> Here's the very end of my .tex file:
>
> \begin{quotation}
>
> \bibliographystyle{plain}
>
> \bibliography{\string"//phil-home.ad.umn.edu/phil-home$/whanson/My
> Documents/BibTeX/library\string"}
>
> \end{quotation}
>
> \end{document}
>
>
> I have tried removing the space in "...My Documents ...", but it doesn't
> help.  In fact in the process of removing the spaces I've somehow managed
> to mess up my document so that now when I convert it to a pdf file there
> are no references at the end.  And in the text all the citations say [?].
>
>
>
I suppose removing the space in "My Documents" won't help---not, that is,
unless you actaully rename the "My Documents" directory in Windows to
"MyDocuments". And that is not a great idea, as "My Documents" is a Windows
standard directory and renaming it will undoubtedly mess things up badly,
At any rate, since the the address of your bib file is wrapped by a \string
command, it should actually work even if it contains a space---that is what
the \string command should take care of. In theory at least.
We need to know exactly what is the problem that prevents bibtex from
producing a bbl file. I would suggest the following if you'd like more help:

1. Export your file  to Latex(plain) and produce something called
"myfile.tex"
2. Run "pdflatex myfile.tex" in a terminal.
3. You will see that pdflatex produces (in addition to myfile.pdf) a file
called myfile.log.
4. Post that file to the list
5. Run "bibtex myfile" and cut and paste everything bibtex spits to the
terminal into another file. Call it myfile.bib.log.
6. Post that file to the list as well

(there are more elegant ways to collect a program's output than what I just
suggested, but I don't know how to accomplish them in Windows. Perhaps
other users may help. But the above should work)

Cheers,
Stefano



> Bill
>
>
>
>
>
>
>
> On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi <
> stefano.fran...@gmail.com> wrote:
>
>>
>>
>>
>> On Wed, Aug 27, 2014 at 2:26 PM, William Hanson  wrote:
>>
>>> Well, I got as far as your 3, that is I ran bibtex on myfile.tex from
>>> the command line.  It gave me lots of LateX Errors, like
>>>
>>> LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
>>> line 103
>>>
>>
>>
>> That probably means bibtex cannot find your bib file(s).  Look at the
>> .tex file in anb editor. At the very end (most likely the next to last
>> line), you'll see a line like:
>> \bibliography{}
>>
>> Inside the braces you will have the complete path to your bibtex file
>> (the .bib file, but without the extension). Check that:
>> 1. That path is indeed correct (is the file really there?).
>> 2, There are no spaces in the path (fix the problem if otherwise. Easiest
>> way is to copy your lyx file and your bib file to a temporary directory in
>> your home directory)
>>
>>
>> If neither of these suggestions works, please post the complete output of
>> the bibtex run (from the terminal)
>>
>>
>>> But it didn't seem to produce  myfile.bbl; at least I don't see it
>>> anywhere.  Maybe it didn't generate because of all the errors?
>>> So I'm stuck at this point.
>>>
>>> Yes, it was not generated because bibtex ran into troubles.
>>
>>
>>
>>> By the way, I did find a space in the filename, which I closed.  I don't
>>> know how to tell if there are spaces in the directory structure.
>>>
>>>
>>
>>  Which system are you on (Mac, Linux, Win)? I can help with the first
>> two, but I am hopeless on Windows.
>>
>> Cheers,
>>
>> Stefano
>>
>> P.S. Also, please do not "top post." Answer in line with your replies
>> immediately following the relevant point you are responding to. It makes
>> for easier and faster reading. Besides, it is the list convention
>>
>> --
>> __
>> 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
>>
>
>


-- 
__
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: Generating a Tex

2014-08-28 Thread William Hanson
The first time I tried to execute your step 1, immediately above, I got an
error saying that it wouldn't work because of spaces.   I tried it again
and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
But, contrary to your 3, I did not get a file called myfile.log. (It did,
however, produce the following files:  myfile.toc, myfile.aux,
synctex.gz.)

So I'm stuck at this point.

Cheers,

Bill


On Thu, Aug 28, 2014 at 9:03 AM, stefano franchi 
wrote:

>
>
>
> On Wed, Aug 27, 2014 at 11:09 PM, William Hanson  wrote:
>
>> Sorry, but I do not seem to be able to reply except by "top posting".
>>
>> I'm using Windows, 64 bit.
>>
>> Here's the very end of my .tex file:
>>
>> \begin{quotation}
>>
>> \bibliographystyle{plain}
>>
>> \bibliography{\string"//phil-home.ad.umn.edu/phil-home$/whanson/My
>> Documents/BibTeX/library\string"}
>>
>> \end{quotation}
>>
>> \end{document}
>>
>>
>> I have tried removing the space in "...My Documents ...", but it doesn't
>> help.  In fact in the process of removing the spaces I've somehow managed
>> to mess up my document so that now when I convert it to a pdf file there
>> are no references at the end.  And in the text all the citations say [?].
>>
>>
>>
> I suppose removing the space in "My Documents" won't help---not, that is,
> unless you actaully rename the "My Documents" directory in Windows to
> "MyDocuments". And that is not a great idea, as "My Documents" is a Windows
> standard directory and renaming it will undoubtedly mess things up badly,
> At any rate, since the the address of your bib file is wrapped by a
> \string command, it should actually work even if it contains a space---that
> is what the \string command should take care of. In theory at least.
> We need to know exactly what is the problem that prevents bibtex from
> producing a bbl file. I would suggest the following if you'd like more help:
>
> 1. Export your file  to Latex(plain) and produce something called
> "myfile.tex"
> 2. Run "pdflatex myfile.tex" in a terminal.
> 3. You will see that pdflatex produces (in addition to myfile.pdf) a file
> called myfile.log.
> 4. Post that file to the list
> 5. Run "bibtex myfile" and cut and paste everything bibtex spits to the
> terminal into another file. Call it myfile.bib.log.
> 6. Post that file to the list as well
>
> (there are more elegant ways to collect a program's output than what I
> just suggested, but I don't know how to accomplish them in Windows. Perhaps
> other users may help. But the above should work)
>
> Cheers,
> Stefano
>
>
>
>> Bill
>>
>>
>>
>>
>>
>>
>>
>> On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi <
>> stefano.fran...@gmail.com> wrote:
>>
>>>
>>>
>>>
>>> On Wed, Aug 27, 2014 at 2:26 PM, William Hanson  wrote:
>>>
 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from
 the command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103

>>>
>>>
>>> That probably means bibtex cannot find your bib file(s).  Look at the
>>> .tex file in anb editor. At the very end (most likely the next to last
>>> line), you'll see a line like:
>>> \bibliography{}
>>>
>>> Inside the braces you will have the complete path to your bibtex file
>>> (the .bib file, but without the extension). Check that:
>>> 1. That path is indeed correct (is the file really there?).
>>> 2, There are no spaces in the path (fix the problem if otherwise.
>>> Easiest way is to copy your lyx file and your bib file to a temporary
>>> directory in your home directory)
>>>
>>>
>>> If neither of these suggestions works, please post the complete output
>>> of the bibtex run (from the terminal)
>>>
>>>
 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.
>>>
>>>
>>>
 By the way, I did find a space in the filename, which I closed.  I
 don't know how to tell if there are spaces in the directory structure.


>>>
>>>  Which system are you on (Mac, Linux, Win)? I can help with the first
>>> two, but I am hopeless on Windows.
>>>
>>> Cheers,
>>>
>>> Stefano
>>>
>>> P.S. Also, please do not "top post." Answer in line with your replies
>>> immediately following the relevant point you are responding to. It makes
>>> for easier and faster reading. Besides, it is the list convention
>>>
>>> --
>>> __
>>> 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: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 11:47 AM, William Hanson  wrote:

> The first time I tried to execute your step 1, immediately above, I got an
> error saying that it wouldn't work because of spaces.   I tried it again
> and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
> But, contrary to your 3, I did not get a file called myfile.log. (It did,
> however, produce the following files:  myfile.toc, myfile.aux,
> synctex.gz.)
>


This is strange, pdflatex always produces a log file unless instructed
otherwise. Are you calling pdflatex from the command line or are you using
a latex editor (such as texmaker or winedit, for instance). That would
explain the lack of a log file, as these editors may be configured to erase
log files and/or move them to other directories.

Do you also have a myfile.pdf file? That would indicate that the pdflatex
run was at least partially successful.

And what did you see on the console when you ran pdflatex (assuming you are
using a terminal-like interface and not a LaTeX editor)?


S.



-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread William Hanson
I am calling pdflatex from the command line of TeXworks.

It did also produce a myfile.pdf file.

What I see on my screen after running pdflatex is a window labeled
myfile.tex - TeXworks.  It contains what apparently is myfile.tex, which I
assume is the TeX version of my paper,




On Thu, Aug 28, 2014 at 11:58 AM, stefano franchi  wrote:

>
>
>
> On Thu, Aug 28, 2014 at 11:47 AM, William Hanson  wrote:
>
>> The first time I tried to execute your step 1, immediately above, I got
>> an error saying that it wouldn't work because of spaces.   I tried it again
>> and I did get myfile.tex.  I then ran pdflatex myfile.tex (your step 2).
>> But, contrary to your 3, I did not get a file called myfile.log. (It did,
>> however, produce the following files:  myfile.toc, myfile.aux,
>> synctex.gz.)
>>
>
>
> This is strange, pdflatex always produces a log file unless instructed
> otherwise. Are you calling pdflatex from the command line or are you using
> a latex editor (such as texmaker or winedit, for instance). That would
> explain the lack of a log file, as these editors may be configured to erase
> log files and/or move them to other directories.
>
> Do you also have a myfile.pdf file? That would indicate that the pdflatex
> run was at least partially successful.
>
> And what did you see on the console when you ran pdflatex (assuming you
> are using a terminal-like interface and not a LaTeX editor)?
>
>
> S.
>
>
>
> --
> __
> Stefano Franchi
>
> stefano.fran...@gmail.com 
> http://stefano.cleinias.org
>


Re: Generating a Tex

2014-08-28 Thread William Hanson
Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
Is there an easy way forward from here?


On Thu, Aug 28, 2014 at 12:59 PM, stefano franchi  wrote:

>
>
>
> On Thu, Aug 28, 2014 at 12:55 PM, stefano franchi <
> stefano.fran...@gmail.com> wrote:
>
>>
>>
>>
>> On Thu, Aug 28, 2014 at 12:26 PM, William Hanson  wrote:
>>
>>> I am calling pdflatex from the command line of TeXworks.
>>>
>>> It did also produce a myfile.pdf file.
>>>
>>> What I see on my screen after running pdflatex is a window labeled
>>> myfile.tex - TeXworks.  It contains what apparently is myfile.tex, which I
>>> assume is the TeX version of my paper,
>>>
>>>
>>>
>> If you use texworks, you should just be able to select pdflatex from the
>> Typeset menu, and it will compile your file to myfile.pdf and also produce
>> a myfile.log. For instance, this is what I see in TeXWorks console, when I
>> try to compile a test.tex file:
>>
>> This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded
>> format=pdflatex)
>>
>> restricted \write18 enabled.
>>
>> entering extended mode
>>
>> (./test.tex
>>
>> LaTeX2e <2014/05/01>
>>
>> Babel <3.9k> and hyphenation patterns for 79 languages loaded.
>>
>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/article.cls
>>
>> Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
>>
>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/size11.clo))
>>
>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/fontenc.sty
>>
>> (/usr/local/texlive/2014/texmf-dist/tex/latex/base/t1enc.def))
>>
>> (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.sty
>>
>> (/usr/local/texlive/2014/texmf-dist/tex/generic/babel-english/english.ldf
>>
>> (/usr/local/texlive/2014/texmf-dist/tex/generic/babel/babel.def)))
>>
>>
>> LaTeX Warning: Unused global option(s):
>>
>> [article].
>>
>>
>> (./test.aux)
>> [1{/usr/local/texlive/2014/texmf-var/fonts/map/pdftex/updmap/pdfte
>>
>> x.map}] (./test.aux)
>> ){/usr/local/texlive/2014/texmf-dist/fonts/enc/dvips/cm-su
>>
>>
>> per/cm-super-t1.enc}>
>> uper/sfrm1095.pfb>
>>
>> Output written on test.pdf (1 page, 13144 bytes).
>>
>> SyncTeX written on test.synctex.gz.
>>
>> Transcript written on test.log.
>>
>>
>> Notice how on the last line it informs me that it has produced a log file.
>>
>>
>> At any rate, try recompiling your file, and if you cannot find the log
>> file, juct cut and paste everything you see in TeXWorks's console output
>> window into an email message and send it to the list.
>>
>> Do the same for a compilation with bibtex (just select bibtex from the
>> Typeset menu and hit ctrl-T). Cut and paste the console output into an
>> email message and send it to the list.
>>
>>
>> That should give us enough info to understand what's going wrong.
>>
>>
>>
>
> The alternative is to use a good old-fashioned terminal---I believe it is
> called "Command prompt" in Windows, or at least it used to be. See here [1]
> on how to do it in Windows 7 (with apologies if it is obvious to you).
>
>
> [1]
> http://smallbusiness.chron.com/open-terminal-session-windows-7-56627.html
>
>
>
>
> S.
>
>
> --
> __
> Stefano Franchi
>
> stefano.fran...@gmail.com 
> http://stefano.cleinias.org
>


Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 1:54 PM, William Hanson  wrote:

> Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
> mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
> Is there an easy way forward from here?
>


Assuming your bbl file is correct, you're almost there. You just:

1. open the myfile.bbl file in TeXWorks (be sure to select "all files"
ffrom the open dialog or it won't show up)
2. Select and copy everything in the bbl file
3, go to your myfile,.tex file in TeXWorks, delete the two lines (at the
end), that begin with, respectively, \bibliographystyle and \bibliography
and replace them with the content you just copied from the bbl file.
4. Compile the file again with pdflatex to be sure everything works
correctly and the pdf is how it should be (with all the refs, etcetera).
5. Send to Springer!

Cheers,

Stefano

-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-28 Thread William Hanson
So close, but my bbl file does not show up om TeXWorks.  I don't see any
""all files" ffrom the open dialog".


On Thu, Aug 28, 2014 at 2:12 PM, stefano franchi 
wrote:

>
>
>
> On Thu, Aug 28, 2014 at 1:54 PM, William Hanson  wrote:
>
>> Breaking News!  I just ran LaTeX(plain) on myfile.lyx and it produced
>> mytext.bbl.  I've never gotten a bbl file before.  This is good, isn't it?
>> Is there an easy way forward from here?
>>
>
>
> Assuming your bbl file is correct, you're almost there. You just:
>
> 1. open the myfile.bbl file in TeXWorks (be sure to select "all files"
> ffrom the open dialog or it won't show up)
> 2. Select and copy everything in the bbl file
> 3, go to your myfile,.tex file in TeXWorks, delete the two lines (at the
> end), that begin with, respectively, \bibliographystyle and \bibliography
> and replace them with the content you just copied from the bbl file.
> 4. Compile the file again with pdflatex to be sure everything works
> correctly and the pdf is how it should be (with all the refs, etcetera).
> 5. Send to Springer!
>
> Cheers,
>
> Stefano
>
> --
> __
> Stefano Franchi
>
> stefano.fran...@gmail.com 
> http://stefano.cleinias.org
>


Re: Generating a Tex

2014-08-28 Thread William Hanson
Foiled again, I'm afraid.  All that's in the bbl file is

\begin{thebibliography}{}

\end{thebibliography}


Cheers nonetheless.



On Thu, Aug 28, 2014 at 3:02 PM, stefano franchi 
wrote:

>
>
>
> On Thu, Aug 28, 2014 at 2:46 PM, William Hanson  wrote:
>
>> So close, but my bbl file does not show up om TeXWorks.  I don't see any
>>   ""all files" ffrom the open dialog".
>>
>>
>
> Look at the last line in the open file dialog screen (see attached
> screenshot, where it says "Filter"). It is a pop up menu, you need to click
> on it and select the last item "all files"
>
>
> S.
>
> --
> __
> Stefano Franchi
>
> stefano.fran...@gmail.com 
> http://stefano.cleinias.org
>


Re: Generating a Tex

2014-08-28 Thread stefano franchi
On Thu, Aug 28, 2014 at 3:22 PM, William Hanson  wrote:

> Foiled again, I'm afraid.  All that's in the bbl file is
>
> \begin{thebibliography}{}
>
> \end{thebibliography}
>
>
> Cheers nonetheless.
>
>
That means that the bibtex run failed. Run bibtex again from within
TeXworks, and cut and paste the console output into an email message to the
list.
It is hard to help without knowing what is wrong.
Cheers,

S.

-- 
__
Stefano Franchi

stefano.fran...@gmail.com 
http://stefano.cleinias.org


Re: Generating a Tex

2014-08-27 Thread Eisa Alanazi
Did you try export on the file menu? I remember LyX had this feature. 

On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:

 To All,
 
 I have a document that I want to submit to a Springer journal.  Their web 
 site won't accept my LyX file.  It wants a TeX file.  How do I convert LyX to 
 TeX?
 
 Bill Hanson



Re: Generating a Tex

2014-08-27 Thread tim
Export gives you five different options to generate a LaTeX file.  
Surely one of them (plain would be my first choice) would work.


On 2014-08-27 08:02, Eisa Alanazi wrote:

Did you try export on the file menu? I remember LyX had this feature.

On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:


To All,

I have a document that I want to submit to a Springer journal.  Their 
web site won't accept my LyX file.  It wants a TeX file.  How do I 
convert LyX to TeX?


Bill Hanson


Re: Generating a Tex

2014-08-27 Thread William Hanson
Thanks.  That worked.


On Wed, Aug 27, 2014 at 10:06 AM, t...@wescottdesign.com wrote:

 Export gives you five different options to generate a LaTeX file.
 Surely one of them (plain would be my first choice) would work.


 On 2014-08-27 08:02, Eisa Alanazi wrote:

 Did you try export on the file menu? I remember LyX had this feature.

 On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:

  To All,

 I have a document that I want to submit to a Springer journal.  Their
 web site won't accept my LyX file.  It wants a TeX file.  How do I convert
 LyX to TeX?

 Bill Hanson




Re: Generating a Tex

2014-08-27 Thread stefano franchi
On Wed, Aug 27, 2014 at 10:06 AM, t...@wescottdesign.com wrote:

 Export gives you five different options to generate a LaTeX file.
 Surely one of them (plain would be my first choice) would work.


 On 2014-08-27 08:02, Eisa Alanazi wrote:

 Did you try export on the file menu? I remember LyX had this feature.

 On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:

  To All,

 I have a document that I want to submit to a Springer journal.  Their
 web site won't accept my LyX file.  It wants a TeX file.  How do I convert
 LyX to TeX?



For Springer, it is sometimes a bit more complicated than just exporting to
LaTeX. You also have to take care of inserting the bibliography into the
main LaTeX file, as they usually don't accept separate bib files. It
depends on the journal/book series, though. In case they don't, you
basically, you have to do the following:

1. Export to LaTeX (to, say myfile.tex)
2. Run pdflatex (or xelatex or lualatex) on myfile.tex from the command line
3. run bibtex or biber on myfile.tex from the command line
4. Open the myfile.bbl in an editor, copy all the bibitems to clipboard
5. Open the myfile.tex file in an editor and paste all the bibitems you
copied inside the bibliography environment you will find at the end of the
file.
6. Send the myfile.tex file to Springer

See [1] for an example.


Cheers,

Stefano


[1]
http://fundamentalthinking.blogspot.com/2009/12/convert-bibtex-entries-to-bibitem-in.html


-- 
__
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: Generating a Tex

2014-08-27 Thread stefano franchi
(please, always respond to the list---other users may help or find the
discussion helpful)


On Wed, Aug 27, 2014 at 11:58 AM, William Hanson whan...@umn.edu wrote:

 You're right, the file I uploaded to the Springer site did not include my
 bibliography.  Alas!  But now I have more questions.  Using your numbering:

 1. Which of the various LaTeX export options should I choose?


That depends on what TeX engine you are using (pdfteX, XeTeX, LuaTeX). If
you don't know what I am taking about, it is safe to assume you are using
the default engine (pdfTeX). Choose either FileExportLaTeX(plain)  or
FileExportLaTeX(pdfLaTeX). Either should work.



 And how do I export TO something like myfile.tex?  When I choose one of
 the Exports from the file menu I don't get to choose a file name or a
 destination.



LyX chooses filename and destination for you: you get a file with exactly
the same filename as your lyx file, in the same directory. The only
difference will be the extension, which is changed from .lyx to .tex. For
instance, if yo are working on MyGreatPaperForSpringer.lyx, you will find
a file called MyGreatPaperforSpringer.tex in the same directory where the
.lyx file is.

And I get a warning that the filename it says it's working with can cause
 trouble.


You probably have spaces in the filename and/or the directory structure.
Never a good idea when working with pure LaTeX from the command line. LyX
takes  care of this problem when you compile a LyX file, but you are on
your own when using LaTeX yourself. Better to rename the files (and/or
directories) without spaces before exporting to LaTeX




 2  3.  I'm not sure I have the programs you mention.  Are they part of
 LyX?



The are part of your TeX installation (TexLive, or MacTeX, or MikTeX,
depending on whether you are on Linux, Mac, or Windows, respectively). LyX
can't produce pdf files without TeX, so, yes, if you have ever produced a
pdf file with LyX, you definitely have all these programs. You just never
see them, because it is LyX that calls them, not you.

The only program you need in addition to those provided by TeX is a plain
text editor. You certainly have one on your system. It may be as
sophisticated as emacs or as simple as textedit.  It does not matter, since
you will be using the most basic functionality (cut and paste). I don't
know which platform you are on, so I can't direct you to a specific
program. But I can guarantee you will have one installed already.  Just
don't use a word processor (Word, LibreOffice, etc.) to open your tex and
bbl files. The will most likely save them in a non-text format (doc, odt,
etc.) that will mess up everything. There are ways to force
Word/Libreoffice to work as text editors, but if you know how to do that,
then you don't need any help on editors...

Cheers,

S.



-- 
__
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: Generating a Tex

2014-08-27 Thread William Hanson
Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
command line.  It gave me lots of LateX Errors, like

LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input line
103

But it didn't seem to produce  myfile.bbl; at least I don't see it
anywhere.  Maybe it didn't generate because of all the errors?
So I'm stuck at this point.

By the way, I did find a space in the filename, which I closed.  I don't
know how to tell if there are spaces in the directory structure.

Thanks for the help.

Bill


On Wed, Aug 27, 2014 at 12:15 PM, stefano franchi stefano.fran...@gmail.com
 wrote:

 (please, always respond to the list---other users may help or find the
 discussion helpful)


 On Wed, Aug 27, 2014 at 11:58 AM, William Hanson whan...@umn.edu wrote:

 You're right, the file I uploaded to the Springer site did not include my
 bibliography.  Alas!  But now I have more questions.  Using your numbering:

 1. Which of the various LaTeX export options should I choose?


 That depends on what TeX engine you are using (pdfteX, XeTeX, LuaTeX). If
 you don't know what I am taking about, it is safe to assume you are using
 the default engine (pdfTeX). Choose either FileExportLaTeX(plain)  or
 FileExportLaTeX(pdfLaTeX). Either should work.



 And how do I export TO something like myfile.tex?  When I choose one of
 the Exports from the file menu I don't get to choose a file name or a
 destination.



 LyX chooses filename and destination for you: you get a file with exactly
 the same filename as your lyx file, in the same directory. The only
 difference will be the extension, which is changed from .lyx to .tex. For
 instance, if yo are working on MyGreatPaperForSpringer.lyx, you will find
 a file called MyGreatPaperforSpringer.tex in the same directory where the
 .lyx file is.


 And I get a warning that the filename it says it's working with can cause
 trouble.


 You probably have spaces in the filename and/or the directory structure.
 Never a good idea when working with pure LaTeX from the command line. LyX
 takes  care of this problem when you compile a LyX file, but you are on
 your own when using LaTeX yourself. Better to rename the files (and/or
 directories) without spaces before exporting to LaTeX




 2  3.  I'm not sure I have the programs you mention.  Are they part of
 LyX?



 The are part of your TeX installation (TexLive, or MacTeX, or MikTeX,
 depending on whether you are on Linux, Mac, or Windows, respectively). LyX
 can't produce pdf files without TeX, so, yes, if you have ever produced a
 pdf file with LyX, you definitely have all these programs. You just never
 see them, because it is LyX that calls them, not you.

 The only program you need in addition to those provided by TeX is a plain
 text editor. You certainly have one on your system. It may be as
 sophisticated as emacs or as simple as textedit.  It does not matter, since
 you will be using the most basic functionality (cut and paste). I don't
 know which platform you are on, so I can't direct you to a specific
 program. But I can guarantee you will have one installed already.  Just
 don't use a word processor (Word, LibreOffice, etc.) to open your tex and
 bbl files. The will most likely save them in a non-text format (doc, odt,
 etc.) that will mess up everything. There are ways to force
 Word/Libreoffice to work as text editors, but if you know how to do that,
 then you don't need any help on editors...

 Cheers,

 S.



 --
 __
 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: Generating a Tex

2014-08-27 Thread stefano franchi
On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
 command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



That probably means bibtex cannot find your bib file(s).  Look at the .tex
file in anb editor. At the very end (most likely the next to last line),
you'll see a line like:
\bibliography{}

Inside the braces you will have the complete path to your bibtex file (the
.bib file, but without the extension). Check that:
1. That path is indeed correct (is the file really there?).
2, There are no spaces in the path (fix the problem if otherwise. Easiest
way is to copy your lyx file and your bib file to a temporary directory in
your home directory)


If neither of these suggestions works, please post the complete output of
the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I don't
 know how to tell if there are spaces in the directory structure.



Which system are you on (Mac, Linux, Win)? I can help with the first two,
but I am hopeless on Windows.

Cheers,

Stefano

P.S. Also, please do not top post. Answer in line with your replies
immediately following the relevant point you are responding to. It makes
for easier and faster reading. Besides, it is the list convention

-- 
__
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: Generating a Tex

2014-08-27 Thread Waluyo Adi Siswanto

On 08/27/2014 10:57 PM, William Hanson wrote:

To All,

I have a document that I want to submit to a Springer journal.  Their 
web site won't accept my LyX file.  It wants a TeX file.  How do I 
convert LyX to TeX?


Bill Hanson


Last time I had a similar problem.
The way I managed to submit correctly to springer system was documented 
here:


http://waluyo-adi-siswanto.blogspot.com/2013/06/preparing-springer-article-manuscript.html

I hope this is useful.

Regards,
Waluyo


Re: Generating a Tex

2014-08-27 Thread William Hanson
This looks wonderful.  However I can't get beyond Step 2 where I'm asked to
create a new folder.  I can't do this because I don't have administrative
status.


On Wed, Aug 27, 2014 at 5:43 PM, Waluyo Adi Siswanto was.u...@gmail.com
wrote:

 On 08/27/2014 10:57 PM, William Hanson wrote:

 To All,

 I have a document that I want to submit to a Springer journal.  Their web
 site won't accept my LyX file.  It wants a TeX file.  How do I convert LyX
 to TeX?

 Bill Hanson


 Last time I had a similar problem.
 The way I managed to submit correctly to springer system was documented
 here:

 http://waluyo-adi-siswanto.blogspot.com/2013/06/
 preparing-springer-article-manuscript.html

 I hope this is useful.

 Regards,
 Waluyo



Re: Generating a Tex

2014-08-27 Thread William Hanson
Sorry, but I do not seem to be able to reply except by top posting.

I'm using Windows, 64 bit.

Here's the very end of my .tex file:

\begin{quotation}

\bibliographystyle{plain}

\bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
Documents/BibTeX/library\string}

\end{quotation}

\end{document}


I have tried removing the space in ...My Documents ..., but it doesn't
help.  In fact in the process of removing the spaces I've somehow managed
to mess up my document so that now when I convert it to a pdf file there
are no references at the end.  And in the text all the citations say [?].


Bill







On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
 command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



 That probably means bibtex cannot find your bib file(s).  Look at the .tex
 file in anb editor. At the very end (most likely the next to last line),
 you'll see a line like:
 \bibliography{}

 Inside the braces you will have the complete path to your bibtex file (the
 .bib file, but without the extension). Check that:
 1. That path is indeed correct (is the file really there?).
 2, There are no spaces in the path (fix the problem if otherwise. Easiest
 way is to copy your lyx file and your bib file to a temporary directory in
 your home directory)


 If neither of these suggestions works, please post the complete output of
 the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I don't
 know how to tell if there are spaces in the directory structure.



 Which system are you on (Mac, Linux, Win)? I can help with the first two,
 but I am hopeless on Windows.

 Cheers,

 Stefano

 P.S. Also, please do not top post. Answer in line with your replies
 immediately following the relevant point you are responding to. It makes
 for easier and faster reading. Besides, it is the list convention

 --
 __
 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: Generating a Tex

2014-08-27 Thread Scott Kostyshak
On Thu, Aug 28, 2014 at 12:09 AM, William Hanson whan...@umn.edu wrote:
 Sorry, but I do not seem to be able to reply except by top posting.

 I'm using Windows, 64 bit.

 Here's the very end of my .tex file:

 \begin{quotation}

 \bibliographystyle{plain}

 \bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
 Documents/BibTeX/library\string}

 \end{quotation}

 \end{document}


 I have tried removing the space in ...My Documents ..., but it doesn't
 help.  In fact in the process of removing the spaces I've somehow managed to
 mess up my document so that now when I convert it to a pdf file there are no
 references at the end.  And in the text all the citations say [?].

I believe there are some plans for LyX to export bbl files. In the
meantime I suppose the script will work but you have to set it up
manually. Note that I have no experience doing this, but see
http://www.lyx.org/trac/ticket/4624 (note that any comments regarding
the implementation should be posted at
http://www.lyx.org/trac/ticket/8710).

Best,

Scott


Re: Generating a Tex

2014-08-27 Thread Eisa Alanazi
Did you try export on the file menu? I remember LyX had this feature. 

On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:

 To All,
 
 I have a document that I want to submit to a Springer journal.  Their web 
 site won't accept my LyX file.  It wants a TeX file.  How do I convert LyX to 
 TeX?
 
 Bill Hanson



Re: Generating a Tex

2014-08-27 Thread tim
Export gives you five different options to generate a LaTeX file.  
Surely one of them (plain would be my first choice) would work.


On 2014-08-27 08:02, Eisa Alanazi wrote:

Did you try export on the file menu? I remember LyX had this feature.

On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:


To All,

I have a document that I want to submit to a Springer journal.  Their 
web site won't accept my LyX file.  It wants a TeX file.  How do I 
convert LyX to TeX?


Bill Hanson


Re: Generating a Tex

2014-08-27 Thread William Hanson
Thanks.  That worked.


On Wed, Aug 27, 2014 at 10:06 AM, t...@wescottdesign.com wrote:

 Export gives you five different options to generate a LaTeX file.
 Surely one of them (plain would be my first choice) would work.


 On 2014-08-27 08:02, Eisa Alanazi wrote:

 Did you try export on the file menu? I remember LyX had this feature.

 On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:

  To All,

 I have a document that I want to submit to a Springer journal.  Their
 web site won't accept my LyX file.  It wants a TeX file.  How do I convert
 LyX to TeX?

 Bill Hanson




Re: Generating a Tex

2014-08-27 Thread stefano franchi
On Wed, Aug 27, 2014 at 10:06 AM, t...@wescottdesign.com wrote:

 Export gives you five different options to generate a LaTeX file.
 Surely one of them (plain would be my first choice) would work.


 On 2014-08-27 08:02, Eisa Alanazi wrote:

 Did you try export on the file menu? I remember LyX had this feature.

 On Aug 27, 2014, at 5:57 PM, William Hanson whan...@umn.edu wrote:

  To All,

 I have a document that I want to submit to a Springer journal.  Their
 web site won't accept my LyX file.  It wants a TeX file.  How do I convert
 LyX to TeX?



For Springer, it is sometimes a bit more complicated than just exporting to
LaTeX. You also have to take care of inserting the bibliography into the
main LaTeX file, as they usually don't accept separate bib files. It
depends on the journal/book series, though. In case they don't, you
basically, you have to do the following:

1. Export to LaTeX (to, say myfile.tex)
2. Run pdflatex (or xelatex or lualatex) on myfile.tex from the command line
3. run bibtex or biber on myfile.tex from the command line
4. Open the myfile.bbl in an editor, copy all the bibitems to clipboard
5. Open the myfile.tex file in an editor and paste all the bibitems you
copied inside the bibliography environment you will find at the end of the
file.
6. Send the myfile.tex file to Springer

See [1] for an example.


Cheers,

Stefano


[1]
http://fundamentalthinking.blogspot.com/2009/12/convert-bibtex-entries-to-bibitem-in.html


-- 
__
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: Generating a Tex

2014-08-27 Thread stefano franchi
(please, always respond to the list---other users may help or find the
discussion helpful)


On Wed, Aug 27, 2014 at 11:58 AM, William Hanson whan...@umn.edu wrote:

 You're right, the file I uploaded to the Springer site did not include my
 bibliography.  Alas!  But now I have more questions.  Using your numbering:

 1. Which of the various LaTeX export options should I choose?


That depends on what TeX engine you are using (pdfteX, XeTeX, LuaTeX). If
you don't know what I am taking about, it is safe to assume you are using
the default engine (pdfTeX). Choose either FileExportLaTeX(plain)  or
FileExportLaTeX(pdfLaTeX). Either should work.



 And how do I export TO something like myfile.tex?  When I choose one of
 the Exports from the file menu I don't get to choose a file name or a
 destination.



LyX chooses filename and destination for you: you get a file with exactly
the same filename as your lyx file, in the same directory. The only
difference will be the extension, which is changed from .lyx to .tex. For
instance, if yo are working on MyGreatPaperForSpringer.lyx, you will find
a file called MyGreatPaperforSpringer.tex in the same directory where the
.lyx file is.

And I get a warning that the filename it says it's working with can cause
 trouble.


You probably have spaces in the filename and/or the directory structure.
Never a good idea when working with pure LaTeX from the command line. LyX
takes  care of this problem when you compile a LyX file, but you are on
your own when using LaTeX yourself. Better to rename the files (and/or
directories) without spaces before exporting to LaTeX




 2  3.  I'm not sure I have the programs you mention.  Are they part of
 LyX?



The are part of your TeX installation (TexLive, or MacTeX, or MikTeX,
depending on whether you are on Linux, Mac, or Windows, respectively). LyX
can't produce pdf files without TeX, so, yes, if you have ever produced a
pdf file with LyX, you definitely have all these programs. You just never
see them, because it is LyX that calls them, not you.

The only program you need in addition to those provided by TeX is a plain
text editor. You certainly have one on your system. It may be as
sophisticated as emacs or as simple as textedit.  It does not matter, since
you will be using the most basic functionality (cut and paste). I don't
know which platform you are on, so I can't direct you to a specific
program. But I can guarantee you will have one installed already.  Just
don't use a word processor (Word, LibreOffice, etc.) to open your tex and
bbl files. The will most likely save them in a non-text format (doc, odt,
etc.) that will mess up everything. There are ways to force
Word/Libreoffice to work as text editors, but if you know how to do that,
then you don't need any help on editors...

Cheers,

S.



-- 
__
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: Generating a Tex

2014-08-27 Thread William Hanson
Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
command line.  It gave me lots of LateX Errors, like

LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input line
103

But it didn't seem to produce  myfile.bbl; at least I don't see it
anywhere.  Maybe it didn't generate because of all the errors?
So I'm stuck at this point.

By the way, I did find a space in the filename, which I closed.  I don't
know how to tell if there are spaces in the directory structure.

Thanks for the help.

Bill


On Wed, Aug 27, 2014 at 12:15 PM, stefano franchi stefano.fran...@gmail.com
 wrote:

 (please, always respond to the list---other users may help or find the
 discussion helpful)


 On Wed, Aug 27, 2014 at 11:58 AM, William Hanson whan...@umn.edu wrote:

 You're right, the file I uploaded to the Springer site did not include my
 bibliography.  Alas!  But now I have more questions.  Using your numbering:

 1. Which of the various LaTeX export options should I choose?


 That depends on what TeX engine you are using (pdfteX, XeTeX, LuaTeX). If
 you don't know what I am taking about, it is safe to assume you are using
 the default engine (pdfTeX). Choose either FileExportLaTeX(plain)  or
 FileExportLaTeX(pdfLaTeX). Either should work.



 And how do I export TO something like myfile.tex?  When I choose one of
 the Exports from the file menu I don't get to choose a file name or a
 destination.



 LyX chooses filename and destination for you: you get a file with exactly
 the same filename as your lyx file, in the same directory. The only
 difference will be the extension, which is changed from .lyx to .tex. For
 instance, if yo are working on MyGreatPaperForSpringer.lyx, you will find
 a file called MyGreatPaperforSpringer.tex in the same directory where the
 .lyx file is.


 And I get a warning that the filename it says it's working with can cause
 trouble.


 You probably have spaces in the filename and/or the directory structure.
 Never a good idea when working with pure LaTeX from the command line. LyX
 takes  care of this problem when you compile a LyX file, but you are on
 your own when using LaTeX yourself. Better to rename the files (and/or
 directories) without spaces before exporting to LaTeX




 2  3.  I'm not sure I have the programs you mention.  Are they part of
 LyX?



 The are part of your TeX installation (TexLive, or MacTeX, or MikTeX,
 depending on whether you are on Linux, Mac, or Windows, respectively). LyX
 can't produce pdf files without TeX, so, yes, if you have ever produced a
 pdf file with LyX, you definitely have all these programs. You just never
 see them, because it is LyX that calls them, not you.

 The only program you need in addition to those provided by TeX is a plain
 text editor. You certainly have one on your system. It may be as
 sophisticated as emacs or as simple as textedit.  It does not matter, since
 you will be using the most basic functionality (cut and paste). I don't
 know which platform you are on, so I can't direct you to a specific
 program. But I can guarantee you will have one installed already.  Just
 don't use a word processor (Word, LibreOffice, etc.) to open your tex and
 bbl files. The will most likely save them in a non-text format (doc, odt,
 etc.) that will mess up everything. There are ways to force
 Word/Libreoffice to work as text editors, but if you know how to do that,
 then you don't need any help on editors...

 Cheers,

 S.



 --
 __
 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: Generating a Tex

2014-08-27 Thread stefano franchi
On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
 command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



That probably means bibtex cannot find your bib file(s).  Look at the .tex
file in anb editor. At the very end (most likely the next to last line),
you'll see a line like:
\bibliography{}

Inside the braces you will have the complete path to your bibtex file (the
.bib file, but without the extension). Check that:
1. That path is indeed correct (is the file really there?).
2, There are no spaces in the path (fix the problem if otherwise. Easiest
way is to copy your lyx file and your bib file to a temporary directory in
your home directory)


If neither of these suggestions works, please post the complete output of
the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I don't
 know how to tell if there are spaces in the directory structure.



Which system are you on (Mac, Linux, Win)? I can help with the first two,
but I am hopeless on Windows.

Cheers,

Stefano

P.S. Also, please do not top post. Answer in line with your replies
immediately following the relevant point you are responding to. It makes
for easier and faster reading. Besides, it is the list convention

-- 
__
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: Generating a Tex

2014-08-27 Thread Waluyo Adi Siswanto

On 08/27/2014 10:57 PM, William Hanson wrote:

To All,

I have a document that I want to submit to a Springer journal.  Their 
web site won't accept my LyX file.  It wants a TeX file.  How do I 
convert LyX to TeX?


Bill Hanson


Last time I had a similar problem.
The way I managed to submit correctly to springer system was documented 
here:


http://waluyo-adi-siswanto.blogspot.com/2013/06/preparing-springer-article-manuscript.html

I hope this is useful.

Regards,
Waluyo


Re: Generating a Tex

2014-08-27 Thread William Hanson
This looks wonderful.  However I can't get beyond Step 2 where I'm asked to
create a new folder.  I can't do this because I don't have administrative
status.


On Wed, Aug 27, 2014 at 5:43 PM, Waluyo Adi Siswanto was.u...@gmail.com
wrote:

 On 08/27/2014 10:57 PM, William Hanson wrote:

 To All,

 I have a document that I want to submit to a Springer journal.  Their web
 site won't accept my LyX file.  It wants a TeX file.  How do I convert LyX
 to TeX?

 Bill Hanson


 Last time I had a similar problem.
 The way I managed to submit correctly to springer system was documented
 here:

 http://waluyo-adi-siswanto.blogspot.com/2013/06/
 preparing-springer-article-manuscript.html

 I hope this is useful.

 Regards,
 Waluyo



Re: Generating a Tex

2014-08-27 Thread William Hanson
Sorry, but I do not seem to be able to reply except by top posting.

I'm using Windows, 64 bit.

Here's the very end of my .tex file:

\begin{quotation}

\bibliographystyle{plain}

\bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
Documents/BibTeX/library\string}

\end{quotation}

\end{document}


I have tried removing the space in ...My Documents ..., but it doesn't
help.  In fact in the process of removing the spaces I've somehow managed
to mess up my document so that now when I convert it to a pdf file there
are no references at the end.  And in the text all the citations say [?].


Bill







On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi stefano.fran...@gmail.com
wrote:




 On Wed, Aug 27, 2014 at 2:26 PM, William Hanson whan...@umn.edu wrote:

 Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
 command line.  It gave me lots of LateX Errors, like

 LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
 line 103



 That probably means bibtex cannot find your bib file(s).  Look at the .tex
 file in anb editor. At the very end (most likely the next to last line),
 you'll see a line like:
 \bibliography{}

 Inside the braces you will have the complete path to your bibtex file (the
 .bib file, but without the extension). Check that:
 1. That path is indeed correct (is the file really there?).
 2, There are no spaces in the path (fix the problem if otherwise. Easiest
 way is to copy your lyx file and your bib file to a temporary directory in
 your home directory)


 If neither of these suggestions works, please post the complete output of
 the bibtex run (from the terminal)


 But it didn't seem to produce  myfile.bbl; at least I don't see it
 anywhere.  Maybe it didn't generate because of all the errors?
 So I'm stuck at this point.

 Yes, it was not generated because bibtex ran into troubles.



 By the way, I did find a space in the filename, which I closed.  I don't
 know how to tell if there are spaces in the directory structure.



 Which system are you on (Mac, Linux, Win)? I can help with the first two,
 but I am hopeless on Windows.

 Cheers,

 Stefano

 P.S. Also, please do not top post. Answer in line with your replies
 immediately following the relevant point you are responding to. It makes
 for easier and faster reading. Besides, it is the list convention

 --
 __
 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: Generating a Tex

2014-08-27 Thread Scott Kostyshak
On Thu, Aug 28, 2014 at 12:09 AM, William Hanson whan...@umn.edu wrote:
 Sorry, but I do not seem to be able to reply except by top posting.

 I'm using Windows, 64 bit.

 Here's the very end of my .tex file:

 \begin{quotation}

 \bibliographystyle{plain}

 \bibliography{\string//phil-home.ad.umn.edu/phil-home$/whanson/My
 Documents/BibTeX/library\string}

 \end{quotation}

 \end{document}


 I have tried removing the space in ...My Documents ..., but it doesn't
 help.  In fact in the process of removing the spaces I've somehow managed to
 mess up my document so that now when I convert it to a pdf file there are no
 references at the end.  And in the text all the citations say [?].

I believe there are some plans for LyX to export bbl files. In the
meantime I suppose the script will work but you have to set it up
manually. Note that I have no experience doing this, but see
http://www.lyx.org/trac/ticket/4624 (note that any comments regarding
the implementation should be posted at
http://www.lyx.org/trac/ticket/8710).

Best,

Scott


Re: Generating a Tex

2014-08-27 Thread Eisa Alanazi
Did you try "export" on the file menu? I remember LyX had this feature. 

On Aug 27, 2014, at 5:57 PM, William Hanson  wrote:

> To All,
> 
> I have a document that I want to submit to a Springer journal.  Their web 
> site won't accept my LyX file.  It wants a TeX file.  How do I convert LyX to 
> TeX?
> 
> Bill Hanson



Re: Generating a Tex

2014-08-27 Thread tim
"Export" gives you five different options to generate a LaTeX file.  
Surely one of them ("plain" would be my first choice) would work.


On 2014-08-27 08:02, Eisa Alanazi wrote:

Did you try "export" on the file menu? I remember LyX had this feature.

On Aug 27, 2014, at 5:57 PM, William Hanson  wrote:


To All,

I have a document that I want to submit to a Springer journal.  Their 
web site won't accept my LyX file.  It wants a TeX file.  How do I 
convert LyX to TeX?


Bill Hanson


Re: Generating a Tex

2014-08-27 Thread William Hanson
Thanks.  That worked.


On Wed, Aug 27, 2014 at 10:06 AM,  wrote:

> "Export" gives you five different options to generate a LaTeX file.
> Surely one of them ("plain" would be my first choice) would work.
>
>
> On 2014-08-27 08:02, Eisa Alanazi wrote:
>
>> Did you try "export" on the file menu? I remember LyX had this feature.
>>
>> On Aug 27, 2014, at 5:57 PM, William Hanson  wrote:
>>
>>  To All,
>>>
>>> I have a document that I want to submit to a Springer journal.  Their
>>> web site won't accept my LyX file.  It wants a TeX file.  How do I convert
>>> LyX to TeX?
>>>
>>> Bill Hanson
>>>
>>


Re: Generating a Tex

2014-08-27 Thread stefano franchi
On Wed, Aug 27, 2014 at 10:06 AM,  wrote:

> "Export" gives you five different options to generate a LaTeX file.
> Surely one of them ("plain" would be my first choice) would work.
>
>
> On 2014-08-27 08:02, Eisa Alanazi wrote:
>
>> Did you try "export" on the file menu? I remember LyX had this feature.
>>
>> On Aug 27, 2014, at 5:57 PM, William Hanson  wrote:
>>
>>  To All,
>>>
>>> I have a document that I want to submit to a Springer journal.  Their
>>> web site won't accept my LyX file.  It wants a TeX file.  How do I convert
>>> LyX to TeX?
>>>
>>>

For Springer, it is sometimes a bit more complicated than just exporting to
LaTeX. You also have to take care of inserting the bibliography into the
main LaTeX file, as they usually don't accept separate bib files. It
depends on the journal/book series, though. In case they don't, you
basically, you have to do the following:

1. Export to LaTeX (to, say "myfile.tex)
2. Run pdflatex (or xelatex or lualatex) on myfile.tex from the command line
3. run bibtex or biber on myfile.tex from the command line
4. Open the myfile.bbl in an editor, copy all the bibitems to clipboard
5. Open the myfile.tex file in an editor and paste all the bibitems you
copied inside the bibliography environment you will find at the end of the
file.
6. Send the myfile.tex file to Springer

See [1] for an example.


Cheers,

Stefano


[1]
http://fundamentalthinking.blogspot.com/2009/12/convert-bibtex-entries-to-bibitem-in.html


-- 
__
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: Generating a Tex

2014-08-27 Thread stefano franchi
(please, always respond to the list---other users may help or find the
discussion helpful)


On Wed, Aug 27, 2014 at 11:58 AM, William Hanson  wrote:

> You're right, the file I uploaded to the Springer site did not include my
> bibliography.  Alas!  But now I have more questions.  Using your numbering:
>
> 1. Which of the various LaTeX export options should I choose?
>

That depends on what TeX engine you are using (pdfteX, XeTeX, LuaTeX). If
you don't know what I am taking about, it is safe to assume you are using
the default engine (pdfTeX). Choose either File>>Export>>LaTeX(plain)  or
File>>Export>>LaTeX(pdfLaTeX). Either should work.



> And how do I export TO something like myfile.tex?  When I choose one of
> the Exports from the file menu I don't get to choose a file name or a
> destination.
>


LyX chooses filename and destination for you: you get a file with exactly
the same filename as your lyx file, in the same directory. The only
difference will be the extension, which is changed from .lyx to .tex. For
instance, if yo are working on "MyGreatPaperForSpringer.lyx", you will find
a file called "MyGreatPaperforSpringer.tex" in the same directory where the
.lyx file is.

And I get a warning that the filename it says it's working with can cause
> trouble.
>

You probably have spaces in the filename and/or the directory structure.
Never a good idea when working with pure LaTeX from the command line. LyX
takes  care of this problem when you compile a LyX file, but you are on
your own when using LaTeX yourself. Better to rename the files (and/or
directories) without spaces before exporting to LaTeX




> 2 & 3.  I'm not sure I have the programs you mention.  Are they part of
> LyX?
>


The are part of your TeX installation (TexLive, or MacTeX, or MikTeX,
depending on whether you are on Linux, Mac, or Windows, respectively). LyX
can't produce pdf files without TeX, so, yes, if you have ever produced a
pdf file with LyX, you definitely have all these programs. You just never
see them, because it is LyX that calls them, not you.

The only program you need in addition to those provided by TeX is a plain
text editor. You certainly have one on your system. It may be as
sophisticated as emacs or as simple as textedit.  It does not matter, since
you will be using the most basic functionality (cut and paste). I don't
know which platform you are on, so I can't direct you to a specific
program. But I can guarantee you will have one installed already.  Just
don't use a word processor (Word, LibreOffice, etc.) to open your tex and
bbl files. The will most likely save them in a non-text format (doc, odt,
etc.) that will mess up everything. There are ways to force
Word/Libreoffice to work as text editors, but if you know how to do that,
then you don't need any help on editors...

Cheers,

S.



-- 
__
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: Generating a Tex

2014-08-27 Thread William Hanson
Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
command line.  It gave me lots of LateX Errors, like

LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input line
103

But it didn't seem to produce  myfile.bbl; at least I don't see it
anywhere.  Maybe it didn't generate because of all the errors?
So I'm stuck at this point.

By the way, I did find a space in the filename, which I closed.  I don't
know how to tell if there are spaces in the directory structure.

Thanks for the help.

Bill


On Wed, Aug 27, 2014 at 12:15 PM, stefano franchi  wrote:

> (please, always respond to the list---other users may help or find the
> discussion helpful)
>
>
> On Wed, Aug 27, 2014 at 11:58 AM, William Hanson  wrote:
>
>> You're right, the file I uploaded to the Springer site did not include my
>> bibliography.  Alas!  But now I have more questions.  Using your numbering:
>>
>> 1. Which of the various LaTeX export options should I choose?
>>
>
> That depends on what TeX engine you are using (pdfteX, XeTeX, LuaTeX). If
> you don't know what I am taking about, it is safe to assume you are using
> the default engine (pdfTeX). Choose either File>>Export>>LaTeX(plain)  or
> File>>Export>>LaTeX(pdfLaTeX). Either should work.
>
>
>
>> And how do I export TO something like myfile.tex?  When I choose one of
>> the Exports from the file menu I don't get to choose a file name or a
>> destination.
>>
>
>
> LyX chooses filename and destination for you: you get a file with exactly
> the same filename as your lyx file, in the same directory. The only
> difference will be the extension, which is changed from .lyx to .tex. For
> instance, if yo are working on "MyGreatPaperForSpringer.lyx", you will find
> a file called "MyGreatPaperforSpringer.tex" in the same directory where the
> .lyx file is.
>
>
> And I get a warning that the filename it says it's working with can cause
>> trouble.
>>
>
> You probably have spaces in the filename and/or the directory structure.
> Never a good idea when working with pure LaTeX from the command line. LyX
> takes  care of this problem when you compile a LyX file, but you are on
> your own when using LaTeX yourself. Better to rename the files (and/or
> directories) without spaces before exporting to LaTeX
>
>
>
>
>> 2 & 3.  I'm not sure I have the programs you mention.  Are they part of
>> LyX?
>>
>
>
> The are part of your TeX installation (TexLive, or MacTeX, or MikTeX,
> depending on whether you are on Linux, Mac, or Windows, respectively). LyX
> can't produce pdf files without TeX, so, yes, if you have ever produced a
> pdf file with LyX, you definitely have all these programs. You just never
> see them, because it is LyX that calls them, not you.
>
> The only program you need in addition to those provided by TeX is a plain
> text editor. You certainly have one on your system. It may be as
> sophisticated as emacs or as simple as textedit.  It does not matter, since
> you will be using the most basic functionality (cut and paste). I don't
> know which platform you are on, so I can't direct you to a specific
> program. But I can guarantee you will have one installed already.  Just
> don't use a word processor (Word, LibreOffice, etc.) to open your tex and
> bbl files. The will most likely save them in a non-text format (doc, odt,
> etc.) that will mess up everything. There are ways to force
> Word/Libreoffice to work as text editors, but if you know how to do that,
> then you don't need any help on editors...
>
> Cheers,
>
> S.
>
>
>
> --
> __
> 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: Generating a Tex

2014-08-27 Thread stefano franchi
On Wed, Aug 27, 2014 at 2:26 PM, William Hanson  wrote:

> Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
> command line.  It gave me lots of LateX Errors, like
>
> LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
> line 103
>


That probably means bibtex cannot find your bib file(s).  Look at the .tex
file in anb editor. At the very end (most likely the next to last line),
you'll see a line like:
\bibliography{}

Inside the braces you will have the complete path to your bibtex file (the
.bib file, but without the extension). Check that:
1. That path is indeed correct (is the file really there?).
2, There are no spaces in the path (fix the problem if otherwise. Easiest
way is to copy your lyx file and your bib file to a temporary directory in
your home directory)


If neither of these suggestions works, please post the complete output of
the bibtex run (from the terminal)


> But it didn't seem to produce  myfile.bbl; at least I don't see it
> anywhere.  Maybe it didn't generate because of all the errors?
> So I'm stuck at this point.
>
> Yes, it was not generated because bibtex ran into troubles.



> By the way, I did find a space in the filename, which I closed.  I don't
> know how to tell if there are spaces in the directory structure.
>
>

Which system are you on (Mac, Linux, Win)? I can help with the first two,
but I am hopeless on Windows.

Cheers,

Stefano

P.S. Also, please do not "top post." Answer in line with your replies
immediately following the relevant point you are responding to. It makes
for easier and faster reading. Besides, it is the list convention

-- 
__
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: Generating a Tex

2014-08-27 Thread Waluyo Adi Siswanto

On 08/27/2014 10:57 PM, William Hanson wrote:

To All,

I have a document that I want to submit to a Springer journal.  Their 
web site won't accept my LyX file.  It wants a TeX file.  How do I 
convert LyX to TeX?


Bill Hanson


Last time I had a similar problem.
The way I managed to submit correctly to springer system was documented 
here:


http://waluyo-adi-siswanto.blogspot.com/2013/06/preparing-springer-article-manuscript.html

I hope this is useful.

Regards,
Waluyo


Re: Generating a Tex

2014-08-27 Thread William Hanson
This looks wonderful.  However I can't get beyond Step 2 where I'm asked to
create a new folder.  I can't do this because I don't have administrative
status.


On Wed, Aug 27, 2014 at 5:43 PM, Waluyo Adi Siswanto 
wrote:

> On 08/27/2014 10:57 PM, William Hanson wrote:
>
>> To All,
>>
>> I have a document that I want to submit to a Springer journal.  Their web
>> site won't accept my LyX file.  It wants a TeX file.  How do I convert LyX
>> to TeX?
>>
>> Bill Hanson
>>
>
> Last time I had a similar problem.
> The way I managed to submit correctly to springer system was documented
> here:
>
> http://waluyo-adi-siswanto.blogspot.com/2013/06/
> preparing-springer-article-manuscript.html
>
> I hope this is useful.
>
> Regards,
> Waluyo
>


Re: Generating a Tex

2014-08-27 Thread William Hanson
Sorry, but I do not seem to be able to reply except by "top posting".

I'm using Windows, 64 bit.

Here's the very end of my .tex file:

\begin{quotation}

\bibliographystyle{plain}

\bibliography{\string"//phil-home.ad.umn.edu/phil-home$/whanson/My
Documents/BibTeX/library\string"}

\end{quotation}

\end{document}


I have tried removing the space in "...My Documents ...", but it doesn't
help.  In fact in the process of removing the spaces I've somehow managed
to mess up my document so that now when I convert it to a pdf file there
are no references at the end.  And in the text all the citations say [?].


Bill







On Wed, Aug 27, 2014 at 2:47 PM, stefano franchi 
wrote:

>
>
>
> On Wed, Aug 27, 2014 at 2:26 PM, William Hanson  wrote:
>
>> Well, I got as far as your 3, that is I ran bibtex on myfile.tex from the
>> command line.  It gave me lots of LateX Errors, like
>>
>> LaTeX Warning: Citation `plantinga:1985a' on page 2 undefined on input
>> line 103
>>
>
>
> That probably means bibtex cannot find your bib file(s).  Look at the .tex
> file in anb editor. At the very end (most likely the next to last line),
> you'll see a line like:
> \bibliography{}
>
> Inside the braces you will have the complete path to your bibtex file (the
> .bib file, but without the extension). Check that:
> 1. That path is indeed correct (is the file really there?).
> 2, There are no spaces in the path (fix the problem if otherwise. Easiest
> way is to copy your lyx file and your bib file to a temporary directory in
> your home directory)
>
>
> If neither of these suggestions works, please post the complete output of
> the bibtex run (from the terminal)
>
>
>> But it didn't seem to produce  myfile.bbl; at least I don't see it
>> anywhere.  Maybe it didn't generate because of all the errors?
>> So I'm stuck at this point.
>>
>> Yes, it was not generated because bibtex ran into troubles.
>
>
>
>> By the way, I did find a space in the filename, which I closed.  I don't
>> know how to tell if there are spaces in the directory structure.
>>
>>
>
> Which system are you on (Mac, Linux, Win)? I can help with the first two,
> but I am hopeless on Windows.
>
> Cheers,
>
> Stefano
>
> P.S. Also, please do not "top post." Answer in line with your replies
> immediately following the relevant point you are responding to. It makes
> for easier and faster reading. Besides, it is the list convention
>
> --
> __
> 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: Generating a Tex

2014-08-27 Thread Scott Kostyshak
On Thu, Aug 28, 2014 at 12:09 AM, William Hanson  wrote:
> Sorry, but I do not seem to be able to reply except by "top posting".
>
> I'm using Windows, 64 bit.
>
> Here's the very end of my .tex file:
>
> \begin{quotation}
>
> \bibliographystyle{plain}
>
> \bibliography{\string"//phil-home.ad.umn.edu/phil-home$/whanson/My
> Documents/BibTeX/library\string"}
>
> \end{quotation}
>
> \end{document}
>
>
> I have tried removing the space in "...My Documents ...", but it doesn't
> help.  In fact in the process of removing the spaces I've somehow managed to
> mess up my document so that now when I convert it to a pdf file there are no
> references at the end.  And in the text all the citations say [?].

I believe there are some plans for LyX to export bbl files. In the
meantime I suppose the script will work but you have to set it up
manually. Note that I have no experience doing this, but see
http://www.lyx.org/trac/ticket/4624 (note that any comments regarding
the implementation should be posted at
http://www.lyx.org/trac/ticket/8710).

Best,

Scott