Rotate pdf

2011-02-02 Thread Sonja Russell
Hi,
I have imported a page from a pdf. file and would like to rotate it 90
degrees but when I click on the pdf. the size and rotation tab in grayed
out. Why can I not click on it and how do I fix this?
FYI, I am doing this because I have a word/pdf document that I want in the
format of an A5 document and I dont know how else to re order the pages so I
am doing it manually in lyx. I would be happy to hear suggestions on better
ways this can me done.

Kind Regards,
Sonja Russell


Re: Rotate pdf

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:24 schrieb Sonja Russell:

 Hi, 
 I have imported a page from a pdf. file and would like to rotate it 90 
 degrees but when I click on the pdf. the size and rotation tab in grayed 
 out. Why can I not click on it and how do I fix this?
 FYI, I am doing this because I have a word/pdf document that I want in the 
 format of an A5 document and I dont know how else to re order the pages so I 
 am doing it manually in lyx. I would be happy to hear suggestions on better 
 ways this can me done.

Hi,

to be sure I understand it: 
you have a word/pdf document you like to downscale to A5? 
Or do you want to embed this document into a LyX document?
What did you do to import the pdf - Insert Graphics?
AFAIK, you have to rotate the pdf externally,
LyX doesn't support pdf rotation.

Stephan

Re: Rotate pdf

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:47 schrieb Stephan Witt:

 Am 02.02.2011 um 11:24 schrieb Sonja Russell:
 
 Hi, 
 I have imported a page from a pdf. file and would like to rotate it 90 
 degrees but when I click on the pdf. the size and rotation tab in grayed 
 out. Why can I not click on it and how do I fix this?
 FYI, I am doing this because I have a word/pdf document that I want in the 
 format of an A5 document and I dont know how else to re order the pages so I 
 am doing it manually in lyx. I would be happy to hear suggestions on better 
 ways this can me done.
 
 Hi,
 
 to be sure I understand it: 
 you have a word/pdf document you like to downscale to A5? 
 Or do you want to embed this document into a LyX document?
 What did you do to import the pdf - Insert Graphics?
 AFAIK, you have to rotate the pdf externally,
 LyX doesn't support pdf rotation.

Sorry, that's not true. I could rotate it 90° e. g.
But the text flow isn't really correct here.
The pdf is like an background image - a little bit tricky.

Stephan

Re: Auto-reload pdf files on Mac?

2011-02-02 Thread Daron Wilson
Greetings.

I read something like the following in the Skim documentation, but I can't find 
where at the moment.  It seems that reason you must always specify 
auto-(re)load the first time you update a PDF is so that you don't forget and 
override a previously compiled version of the document that you might actually 
want to save.  

I have been using Skim regularly and the autoupdate feature works very well and 
is very handy.

Daron

 It is already checked in my case, but Skims asks if it must auto load the pdf 
 if I change it the first time. Afterwards, it does it automatically.
 
 2011/1/31 BH bewih...@gmail.com
 On Mon, Jan 31, 2011 at 12:17 PM, Murat Yildizoglu
 murat.yildizo...@univ-cezanne.fr wrote:
  I confirm that Skim is able to autoload the pdf and keep the actual view of
  the file. You have just tell it, the first time you update the PDF, that you
  want it to auto-load it (I have not found a way to tell it to auto-load
  without asking this question).
 
 Skim.app  Preferences  Sync ... and check the Check for file changes box.
 
 BH
 
 
 
 -- 
 Prof. Murat Yildizoglu
 Université Paul Cézanne (Aix-Marseille 3) 
 GREQAM (UMR CNRS 6579)
 Centre de la Vieille Charité
 2, rue de la Charité
 13236 Marseille cedex 02
 
 Bureau 320
 Tel : +33 4 91 14 07 27 (standard)
 Tel : +33 4 91 14 07 70 (secrétariat) 
 Tel : +33 4 91 14 07 47 (bureau)
 Fax : +33 4 91 90 02 27 
 
 e-mail: murat.yildizo...@univ-cezanne.fr
 www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
 http://www.twitter.com/yildizoglu
 __



More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Jan 27, 2011, at 11:00 AM, Kevin Middleton wrote:
 
 On Jan 27, 2011, at 7:12 AM, Richard Heck wrote:
 
 On 01/24/2011 09:07 AM, Michelle Bottorff wrote:
 
 I think my personal preference would be to run Lyx or even just rtf2latex2e 
 from the terminalsnip
 
 Can someone on Mac help Michelle here?
 
 From the terminal,
 
 /Applications/LyX.app/Contents/MacOS/lyx

Thank you Kevin!
(Thank you Richard also, I really appreciate you taking the time to respond.)

My terminal error for the failed rtf import says  sh: rtf2latex2e: command not 
found.  Which sounds like either a path error or a missing file, is that right?

And,  catching up with the rest of the list... 

... I discover that that the problem is most likely that the needed files 
aren't there.  
...that it is almost certainly that they aren't there . 

So I have downloaded the package linked to by Mathias!  -- Thank you Mathias!

... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf

But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.

asking the terminal which latext2rtf2e gets me nothing.

Now what?  Do I need to hunt down a different package, or do I need to set Lyx 
up to use the files I just downloaded?




Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin

On 2/1/2011 7:12 PM, Gabriel Kniffin wrote:
The image files live on my E: drive. I'm able to build a .ps or .dvi 
without any figure issues, just not a .pdf.
What format are the image files?  I wonder if the reason DVI works and 
PDF doesn't has to do with a failed attempt to convert the format.


Also, I still get a [?] instead of citations in the document after 
I've added my .bib file to the LyX document using the LyX: BibTeX 
Bibliography dialog box.
Does the LaTeX log file have anything to say about that?  If all the 
citations show up as ?, either it can't find the .bib file or latex (or 
pdflatex) was not run enough times.


/Paul


Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 09:21 AM, Michelle Bottorff wrote:


... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf


That is good. It will allow you to export to RTF, but not to import.


But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.


Note: rtf2latex2e, not the other way around.


asking the terminal which latext2rtf2e gets me nothing.

If you try which rtf2latex2e, you will probably also get nothing, in 
which case that program is not installed.



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

Richard




xetex use stix fonts?

2011-02-02 Thread Neal Becker
Any easy way to switch to all stix fonts (lyx  2.0)?



Re: More RTF import errors

2011-02-02 Thread Mathias Girel
On Wed, Feb 2, 2011 at 3:47 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:

 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you
 BH!
 now gets me /usr/local/bin/latex2rtf

 That is good. It will allow you to export to RTF, but not to import.

Yes. After two or three days, I confirm that the installer for which I
provided the link works perfectly. I have contacted the author to
thank him and he tells me that he might update the latex2rtf version.

But that will still not do for importing!
Best
MG


Re: More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:

 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:
 
 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you 
 BH!
 now gets me /usr/local/bin/latex2rtf
 
 That is good. It will allow you to export to RTF, but not to import.

So it does.  And it works perfectly!  Great, half-way there.  :)

 Note: rtf2latex2e, not the other way around.

D'oh.  Me feel dumb. 

 asking the terminal which latext2rtf2e gets me nothing.
 
 If you try which rtf2latex2e, you will probably also get nothing, in which 
 case that program is not installed.

Yeah, I tried that the right way round, and it wasn't there.  So...

 
 Now what?  Do I need to hunt down a different package...?
 
 Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
 it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.  
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.
(They're supposed to be on my install disk, but my optical drive is shot, and 
so I can't actually read my install disk anymore.)   :(





How LyX copies files to the temp directory

2011-02-02 Thread Paul A . Rubin
Hi all,

I asked this on the developer list with no luck (probably got lost in the
clutter).  Can somebody tell me the mechanism by which LyX copies dependent
files (images, for instance) to the temp directory (mangling names along the
way)?  Does it call tex_copy.py, do the copying directly (meaning there's C/C++
code in LyX to do it), or what?

TIA,
Paul



Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 11:31 AM, Michelle Bottorff wrote:

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.

Yes, I had to go through this, too. This is because macports compiles 
everything right on your machine.


Richard



Re: How LyX copies files to the temp directory

2011-02-02 Thread Richard Heck

On 02/02/2011 11:44 AM, Paul A. Rubin wrote:

Hi all,

I asked this on the developer list with no luck (probably got lost in the
clutter).  Can somebody tell me the mechanism by which LyX copies dependent
files (images, for instance) to the temp directory (mangling names along the
way)?  Does it call tex_copy.py, do the copying directly (meaning there's C/C++
code in LyX to do it), or what?


I see the message on devel and will answer there.

rh



Re: How to make frontmatter appear in italics in ToC?

2011-02-02 Thread Richard Heck

On 02/01/2011 08:58 PM, Stig Rognes wrote:

Hello LyX-users,

I'm using book class (Memoir) and would like to have the frontmatter 
(abstract, acknowledgments (unnumbered chapter), nom, lof, lot, and 
toc itself) appear in emphasized/italics font on  the Contents page. I 
don't want the actual chapter titles appear in italics, just in the ToC.


I've tried the following hack, which kinda works, first removing LyX's 
own List of tables, then inserting two TeX-boxes, first a 
non-contents-listed lot, and then one adding it manually right after:


\listoftables*
\addcontentsline{toc}{chapter}{\emph{List of tables}}

This isn't good enough though, as it messes up the pdf-bookmarks page 
numbering and doesn't work with LyX's own List of Tables, 
Nomenclature, or whatever list. And I haven't found any hack for 
getting the Contents-insert itself in the ToC appear in italics/emphasis.


Any ideas would be highly appreciated!

Well, it's a wild guess, but what if you temporarily redefine 
\addcontentsline at the start of the frontmatter and then restore it at 
the end? E.g.:


\let\oldaddcl=\addcontentsline
\renewcommand\addcontentsline[3]{\oldaddcl{#1}{#2}{\emph{#3}}
...
\let\addcontentsline=\oldaddcl

Something like that ought to have the right effect.

rh


Stig




Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The images are all .eps files.

The log file says LaTeX Warning: Citation `name of citation' on page
whatever page undefined on input line input line number. Then on the
bottom it says LaTeX: Warning: There were undefined references.

There are no strings in the log file that match the name of my .bib file
(Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
LyX file, but there is some text at the bottom that points to a .bbl the C:
drive that matches the name of my .bib file:
[21]

(C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

1.bbl) [22]


-Gabe

On Wed, Feb 2, 2011 at 6:36 AM, Paul A. Rubin ru...@msu.edu wrote:

 On 2/1/2011 7:12 PM, Gabriel Kniffin wrote:

 The image files live on my E: drive. I'm able to build a .ps or .dvi
 without any figure issues, just not a .pdf.

 What format are the image files?  I wonder if the reason DVI works and PDF
 doesn't has to do with a failed attempt to convert the format.


 Also, I still get a [?] instead of citations in the document after I've
 added my .bib file to the LyX document using the LyX: BibTeX Bibliography
 dialog box.

 Does the LaTeX log file have anything to say about that?  If all the
 citations show up as ?, either it can't find the .bib file or latex (or
 pdflatex) was not run enough times.

 /Paul




-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


Re: xetex use stix fonts?

2011-02-02 Thread Guenter Milde
On 2011-02-02, Neal Becker wrote:
 Any easy way to switch to all stix fonts (lyx  2.0)?

What for (Text/Math/both)?

I recommend using XITS (a re-packed STIX font) and the unicode-math
package.

Günter



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Richard Heck

On 02/02/2011 03:13 PM, Gabriel Kniffin wrote:

The images are all .eps files.

The log file says LaTeX Warning: Citation `name of citation' on 
page whatever page undefined on input line input line number. 
Then on the bottom it says LaTeX: Warning: There were undefined 
references.


There are no strings in the log file that match the name of my .bib 
file (Kniffin_2011.bib) which is in the same directory (in the E: 
drive) as my LyX file, but there is some text at the bottom that 
points to a .bbl the C: drive that matches the name of my .bib file:

[21]

(C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

1.bbl) [22]


This is in LyX's temporary directory. You might want to check and see if 
this file actually exists. (The directory changes each time, so start 
over)


Richard



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The .bbl file is there but explorer says its size is 0 KB.

On Wed, Feb 2, 2011 at 12:34 PM, Richard Heck rgh...@comcast.net wrote:

 On 02/02/2011 03:13 PM, Gabriel Kniffin wrote:

 The images are all .eps files.

 The log file says LaTeX Warning: Citation `name of citation' on page
 whatever page undefined on input line input line number. Then on the
 bottom it says LaTeX: Warning: There were undefined references.

 There are no strings in the log file that match the name of my .bib file
 (Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
 LyX file, but there is some text at the bottom that points to a .bbl the C:
 drive that matches the name of my .bib file:
 [21]


 (C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

 1.bbl) [22]


  This is in LyX's temporary directory. You might want to check and see if
 this file actually exists. (The directory changes each time, so start
 over)

 Richard




-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Julien Rioux

On 02/02/2011 3:13 PM, Gabriel Kniffin wrote:

There are no strings in the log file that match the name of my .bib file
(Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
LyX file, but there is some text at the bottom that points to a .bbl the C:
drive that matches the name of my .bib file


Yes probably your lyx file is Kniffin_2011.lyx ? Then lyx creates a 
Kniffin_2011.tex file and latex produces a Kniffin_2011.aux file and 
bibtex produces a Kniffin_2011.bbl file... the name of the .bib file 
does not matter as long as it is found by bibtex.


But to answer Mr. Rubin's question:


Does the LaTeX log file have anything to say about that?  If all the citations 
show up as ?, either it can't find the .bib file or latex (or pdflatex) was not 
run enough times.


can you confirm that in the LyX's temp dir, there are no .bib file and 
no .eps files? This would indicate that there is a problem with LyX 
copying those files there.


--
Julien



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin

On 02/02/2011 03:59 PM, Gabriel Kniffin wrote:

The .bbl file is there but explorer says its size is 0 KB.

That means that (a) BibTeX was run (which is good) and (b) it failed 
(not so good).


Try exporting your document to a .tex file (File  Export  LaTeX 
(plain)).  Open a command shell and run


latex myfile
bibtex myfile
latex myfile

where myfile.tex is the LaTeX file you created.  See what messages you 
get from the bibtex run.  Also see if the DVI file you wind up with has 
the citations properly filled in.


/Paul



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
Thanks! I ran bibtex as you suggested and the output looked like bibtex
didn't recognize the bibstyle I was using. I changed it and now it seems to
be producing .ps files with figures and bibliography without a hitch!

Unfortunately I'm still getting the same ...cannot determine size of
graphic in... errors when trying to build a .pdf.

Any suggestions?

Thanks again,
-Gabe

On Wed, Feb 2, 2011 at 1:16 PM, Paul A. Rubin ru...@msu.edu wrote:

 On 02/02/2011 03:59 PM, Gabriel Kniffin wrote:

 The .bbl file is there but explorer says its size is 0 KB.

  That means that (a) BibTeX was run (which is good) and (b) it failed (not
 so good).

 Try exporting your document to a .tex file (File  Export  LaTeX (plain)).
  Open a command shell and run

 latex myfile
 bibtex myfile
 latex myfile

 where myfile.tex is the LaTeX file you created.  See what messages you get
 from the bibtex run.  Also see if the DVI file you wind up with has the
 citations properly filled in.

 /Paul




-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


A slash o ?? Cannot get it...

2011-02-02 Thread Kenward Vaughan
Being a perfectionist, I'd love to get the name Bronsted properly
spelled, with a slash through the o.  Using LyX, I've inserted \o in
ERT, but get an undefined control sequence error:


 ...Define a \inputencoding{latin1}{Br\onsted
  }\inputencoding{latin9}-Lowry
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


I can make umlauts, etc., but this one evades me.  Does anyone know what
my mistake is?

Using LyX 2.0b3 in Debian (Sid).  It happens with 1.6.7 as well.  :(

Thanks!


Kenward
-- 
If you can't explain it simply, you don't understand it well enough. --
  Albert Einstein



Re: A slash o ?? Cannot get it...

2011-02-02 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
 Being a perfectionist, I'd love to get the name Bronsted properly
 spelled, with a slash through the o.  Using LyX, I've inserted \o in
 ERT, but get an undefined control sequence error:
 
 
  ...Define a \inputencoding{latin1}{Br\onsted
   }\inputencoding{latin9}-L
 owry

You need to terminate the macro by a space, i.e.: Br\o nsted. Or insert the 
real character via Insert  Special Characters  Symbols.

Jürgen


Rotate pdf

2011-02-02 Thread Sonja Russell
Hi,
I have imported a page from a pdf. file and would like to rotate it 90
degrees but when I click on the pdf. the size and rotation tab in grayed
out. Why can I not click on it and how do I fix this?
FYI, I am doing this because I have a word/pdf document that I want in the
format of an A5 document and I dont know how else to re order the pages so I
am doing it manually in lyx. I would be happy to hear suggestions on better
ways this can me done.

Kind Regards,
Sonja Russell


Re: Rotate pdf

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:24 schrieb Sonja Russell:

 Hi, 
 I have imported a page from a pdf. file and would like to rotate it 90 
 degrees but when I click on the pdf. the size and rotation tab in grayed 
 out. Why can I not click on it and how do I fix this?
 FYI, I am doing this because I have a word/pdf document that I want in the 
 format of an A5 document and I dont know how else to re order the pages so I 
 am doing it manually in lyx. I would be happy to hear suggestions on better 
 ways this can me done.

Hi,

to be sure I understand it: 
you have a word/pdf document you like to downscale to A5? 
Or do you want to embed this document into a LyX document?
What did you do to import the pdf - Insert Graphics?
AFAIK, you have to rotate the pdf externally,
LyX doesn't support pdf rotation.

Stephan

Re: Rotate pdf

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:47 schrieb Stephan Witt:

 Am 02.02.2011 um 11:24 schrieb Sonja Russell:
 
 Hi, 
 I have imported a page from a pdf. file and would like to rotate it 90 
 degrees but when I click on the pdf. the size and rotation tab in grayed 
 out. Why can I not click on it and how do I fix this?
 FYI, I am doing this because I have a word/pdf document that I want in the 
 format of an A5 document and I dont know how else to re order the pages so I 
 am doing it manually in lyx. I would be happy to hear suggestions on better 
 ways this can me done.
 
 Hi,
 
 to be sure I understand it: 
 you have a word/pdf document you like to downscale to A5? 
 Or do you want to embed this document into a LyX document?
 What did you do to import the pdf - Insert Graphics?
 AFAIK, you have to rotate the pdf externally,
 LyX doesn't support pdf rotation.

Sorry, that's not true. I could rotate it 90° e. g.
But the text flow isn't really correct here.
The pdf is like an background image - a little bit tricky.

Stephan

Re: Auto-reload pdf files on Mac?

2011-02-02 Thread Daron Wilson
Greetings.

I read something like the following in the Skim documentation, but I can't find 
where at the moment.  It seems that reason you must always specify 
auto-(re)load the first time you update a PDF is so that you don't forget and 
override a previously compiled version of the document that you might actually 
want to save.  

I have been using Skim regularly and the autoupdate feature works very well and 
is very handy.

Daron

 It is already checked in my case, but Skims asks if it must auto load the pdf 
 if I change it the first time. Afterwards, it does it automatically.
 
 2011/1/31 BH bewih...@gmail.com
 On Mon, Jan 31, 2011 at 12:17 PM, Murat Yildizoglu
 murat.yildizo...@univ-cezanne.fr wrote:
  I confirm that Skim is able to autoload the pdf and keep the actual view of
  the file. You have just tell it, the first time you update the PDF, that you
  want it to auto-load it (I have not found a way to tell it to auto-load
  without asking this question).
 
 Skim.app  Preferences  Sync ... and check the Check for file changes box.
 
 BH
 
 
 
 -- 
 Prof. Murat Yildizoglu
 Université Paul Cézanne (Aix-Marseille 3) 
 GREQAM (UMR CNRS 6579)
 Centre de la Vieille Charité
 2, rue de la Charité
 13236 Marseille cedex 02
 
 Bureau 320
 Tel : +33 4 91 14 07 27 (standard)
 Tel : +33 4 91 14 07 70 (secrétariat) 
 Tel : +33 4 91 14 07 47 (bureau)
 Fax : +33 4 91 90 02 27 
 
 e-mail: murat.yildizo...@univ-cezanne.fr
 www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
 http://www.twitter.com/yildizoglu
 __



More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Jan 27, 2011, at 11:00 AM, Kevin Middleton wrote:
 
 On Jan 27, 2011, at 7:12 AM, Richard Heck wrote:
 
 On 01/24/2011 09:07 AM, Michelle Bottorff wrote:
 
 I think my personal preference would be to run Lyx or even just rtf2latex2e 
 from the terminalsnip
 
 Can someone on Mac help Michelle here?
 
 From the terminal,
 
 /Applications/LyX.app/Contents/MacOS/lyx

Thank you Kevin!
(Thank you Richard also, I really appreciate you taking the time to respond.)

My terminal error for the failed rtf import says  sh: rtf2latex2e: command not 
found.  Which sounds like either a path error or a missing file, is that right?

And,  catching up with the rest of the list... 

... I discover that that the problem is most likely that the needed files 
aren't there.  
...that it is almost certainly that they aren't there . 

So I have downloaded the package linked to by Mathias!  -- Thank you Mathias!

... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf

But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.

asking the terminal which latext2rtf2e gets me nothing.

Now what?  Do I need to hunt down a different package, or do I need to set Lyx 
up to use the files I just downloaded?




Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin

On 2/1/2011 7:12 PM, Gabriel Kniffin wrote:
The image files live on my E: drive. I'm able to build a .ps or .dvi 
without any figure issues, just not a .pdf.
What format are the image files?  I wonder if the reason DVI works and 
PDF doesn't has to do with a failed attempt to convert the format.


Also, I still get a [?] instead of citations in the document after 
I've added my .bib file to the LyX document using the LyX: BibTeX 
Bibliography dialog box.
Does the LaTeX log file have anything to say about that?  If all the 
citations show up as ?, either it can't find the .bib file or latex (or 
pdflatex) was not run enough times.


/Paul


Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 09:21 AM, Michelle Bottorff wrote:


... and asking  which latex2rtf  as BH advised Mathias to do --Thank you BH!
now gets me /usr/local/bin/latex2rtf


That is good. It will allow you to export to RTF, but not to import.


But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.


Note: rtf2latex2e, not the other way around.


asking the terminal which latext2rtf2e gets me nothing.

If you try which rtf2latex2e, you will probably also get nothing, in 
which case that program is not installed.



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

Richard




xetex use stix fonts?

2011-02-02 Thread Neal Becker
Any easy way to switch to all stix fonts (lyx  2.0)?



Re: More RTF import errors

2011-02-02 Thread Mathias Girel
On Wed, Feb 2, 2011 at 3:47 PM, Richard Heck rgh...@comcast.net wrote:
 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:

 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you
 BH!
 now gets me /usr/local/bin/latex2rtf

 That is good. It will allow you to export to RTF, but not to import.

Yes. After two or three days, I confirm that the installer for which I
provided the link works perfectly. I have contacted the author to
thank him and he tells me that he might update the latex2rtf version.

But that will still not do for importing!
Best
MG


Re: More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:

 On 02/02/2011 09:21 AM, Michelle Bottorff wrote:
 
 ... and asking  which latex2rtf  as BH advised Mathias to do --Thank you 
 BH!
 now gets me /usr/local/bin/latex2rtf
 
 That is good. It will allow you to export to RTF, but not to import.

So it does.  And it works perfectly!  Great, half-way there.  :)

 Note: rtf2latex2e, not the other way around.

D'oh.  Me feel dumb. 

 asking the terminal which latext2rtf2e gets me nothing.
 
 If you try which rtf2latex2e, you will probably also get nothing, in which 
 case that program is not installed.

Yeah, I tried that the right way round, and it wasn't there.  So...

 
 Now what?  Do I need to hunt down a different package...?
 
 Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
 it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.  
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.
(They're supposed to be on my install disk, but my optical drive is shot, and 
so I can't actually read my install disk anymore.)   :(





How LyX copies files to the temp directory

2011-02-02 Thread Paul A . Rubin
Hi all,

I asked this on the developer list with no luck (probably got lost in the
clutter).  Can somebody tell me the mechanism by which LyX copies dependent
files (images, for instance) to the temp directory (mangling names along the
way)?  Does it call tex_copy.py, do the copying directly (meaning there's C/C++
code in LyX to do it), or what?

TIA,
Paul



Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 11:31 AM, Michelle Bottorff wrote:

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.

Yes, I had to go through this, too. This is because macports compiles 
everything right on your machine.


Richard



Re: How LyX copies files to the temp directory

2011-02-02 Thread Richard Heck

On 02/02/2011 11:44 AM, Paul A. Rubin wrote:

Hi all,

I asked this on the developer list with no luck (probably got lost in the
clutter).  Can somebody tell me the mechanism by which LyX copies dependent
files (images, for instance) to the temp directory (mangling names along the
way)?  Does it call tex_copy.py, do the copying directly (meaning there's C/C++
code in LyX to do it), or what?


I see the message on devel and will answer there.

rh



Re: How to make frontmatter appear in italics in ToC?

2011-02-02 Thread Richard Heck

On 02/01/2011 08:58 PM, Stig Rognes wrote:

Hello LyX-users,

I'm using book class (Memoir) and would like to have the frontmatter 
(abstract, acknowledgments (unnumbered chapter), nom, lof, lot, and 
toc itself) appear in emphasized/italics font on  the Contents page. I 
don't want the actual chapter titles appear in italics, just in the ToC.


I've tried the following hack, which kinda works, first removing LyX's 
own List of tables, then inserting two TeX-boxes, first a 
non-contents-listed lot, and then one adding it manually right after:


\listoftables*
\addcontentsline{toc}{chapter}{\emph{List of tables}}

This isn't good enough though, as it messes up the pdf-bookmarks page 
numbering and doesn't work with LyX's own List of Tables, 
Nomenclature, or whatever list. And I haven't found any hack for 
getting the Contents-insert itself in the ToC appear in italics/emphasis.


Any ideas would be highly appreciated!

Well, it's a wild guess, but what if you temporarily redefine 
\addcontentsline at the start of the frontmatter and then restore it at 
the end? E.g.:


\let\oldaddcl=\addcontentsline
\renewcommand\addcontentsline[3]{\oldaddcl{#1}{#2}{\emph{#3}}
...
\let\addcontentsline=\oldaddcl

Something like that ought to have the right effect.

rh


Stig




Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The images are all .eps files.

The log file says LaTeX Warning: Citation `name of citation' on page
whatever page undefined on input line input line number. Then on the
bottom it says LaTeX: Warning: There were undefined references.

There are no strings in the log file that match the name of my .bib file
(Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
LyX file, but there is some text at the bottom that points to a .bbl the C:
drive that matches the name of my .bib file:
[21]

(C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

1.bbl) [22]


-Gabe

On Wed, Feb 2, 2011 at 6:36 AM, Paul A. Rubin ru...@msu.edu wrote:

 On 2/1/2011 7:12 PM, Gabriel Kniffin wrote:

 The image files live on my E: drive. I'm able to build a .ps or .dvi
 without any figure issues, just not a .pdf.

 What format are the image files?  I wonder if the reason DVI works and PDF
 doesn't has to do with a failed attempt to convert the format.


 Also, I still get a [?] instead of citations in the document after I've
 added my .bib file to the LyX document using the LyX: BibTeX Bibliography
 dialog box.

 Does the LaTeX log file have anything to say about that?  If all the
 citations show up as ?, either it can't find the .bib file or latex (or
 pdflatex) was not run enough times.

 /Paul




-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


Re: xetex use stix fonts?

2011-02-02 Thread Guenter Milde
On 2011-02-02, Neal Becker wrote:
 Any easy way to switch to all stix fonts (lyx  2.0)?

What for (Text/Math/both)?

I recommend using XITS (a re-packed STIX font) and the unicode-math
package.

Günter



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Richard Heck

On 02/02/2011 03:13 PM, Gabriel Kniffin wrote:

The images are all .eps files.

The log file says LaTeX Warning: Citation `name of citation' on 
page whatever page undefined on input line input line number. 
Then on the bottom it says LaTeX: Warning: There were undefined 
references.


There are no strings in the log file that match the name of my .bib 
file (Kniffin_2011.bib) which is in the same directory (in the E: 
drive) as my LyX file, but there is some text at the bottom that 
points to a .bbl the C: drive that matches the name of my .bib file:

[21]

(C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

1.bbl) [22]


This is in LyX's temporary directory. You might want to check and see if 
this file actually exists. (The directory changes each time, so start 
over)


Richard



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The .bbl file is there but explorer says its size is 0 KB.

On Wed, Feb 2, 2011 at 12:34 PM, Richard Heck rgh...@comcast.net wrote:

 On 02/02/2011 03:13 PM, Gabriel Kniffin wrote:

 The images are all .eps files.

 The log file says LaTeX Warning: Citation `name of citation' on page
 whatever page undefined on input line input line number. Then on the
 bottom it says LaTeX: Warning: There were undefined references.

 There are no strings in the log file that match the name of my .bib file
 (Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
 LyX file, but there is some text at the bottom that points to a .bbl the C:
 drive that matches the name of my .bib file:
 [21]


 (C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

 1.bbl) [22]


  This is in LyX's temporary directory. You might want to check and see if
 this file actually exists. (The directory changes each time, so start
 over)

 Richard




-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Julien Rioux

On 02/02/2011 3:13 PM, Gabriel Kniffin wrote:

There are no strings in the log file that match the name of my .bib file
(Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
LyX file, but there is some text at the bottom that points to a .bbl the C:
drive that matches the name of my .bib file


Yes probably your lyx file is Kniffin_2011.lyx ? Then lyx creates a 
Kniffin_2011.tex file and latex produces a Kniffin_2011.aux file and 
bibtex produces a Kniffin_2011.bbl file... the name of the .bib file 
does not matter as long as it is found by bibtex.


But to answer Mr. Rubin's question:


Does the LaTeX log file have anything to say about that?  If all the citations 
show up as ?, either it can't find the .bib file or latex (or pdflatex) was not 
run enough times.


can you confirm that in the LyX's temp dir, there are no .bib file and 
no .eps files? This would indicate that there is a problem with LyX 
copying those files there.


--
Julien



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin

On 02/02/2011 03:59 PM, Gabriel Kniffin wrote:

The .bbl file is there but explorer says its size is 0 KB.

That means that (a) BibTeX was run (which is good) and (b) it failed 
(not so good).


Try exporting your document to a .tex file (File  Export  LaTeX 
(plain)).  Open a command shell and run


latex myfile
bibtex myfile
latex myfile

where myfile.tex is the LaTeX file you created.  See what messages you 
get from the bibtex run.  Also see if the DVI file you wind up with has 
the citations properly filled in.


/Paul



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
Thanks! I ran bibtex as you suggested and the output looked like bibtex
didn't recognize the bibstyle I was using. I changed it and now it seems to
be producing .ps files with figures and bibliography without a hitch!

Unfortunately I'm still getting the same ...cannot determine size of
graphic in... errors when trying to build a .pdf.

Any suggestions?

Thanks again,
-Gabe

On Wed, Feb 2, 2011 at 1:16 PM, Paul A. Rubin ru...@msu.edu wrote:

 On 02/02/2011 03:59 PM, Gabriel Kniffin wrote:

 The .bbl file is there but explorer says its size is 0 KB.

  That means that (a) BibTeX was run (which is good) and (b) it failed (not
 so good).

 Try exporting your document to a .tex file (File  Export  LaTeX (plain)).
  Open a command shell and run

 latex myfile
 bibtex myfile
 latex myfile

 where myfile.tex is the LaTeX file you created.  See what messages you get
 from the bibtex run.  Also see if the DVI file you wind up with has the
 citations properly filled in.

 /Paul




-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


A slash o ?? Cannot get it...

2011-02-02 Thread Kenward Vaughan
Being a perfectionist, I'd love to get the name Bronsted properly
spelled, with a slash through the o.  Using LyX, I've inserted \o in
ERT, but get an undefined control sequence error:


 ...Define a \inputencoding{latin1}{Br\onsted
  }\inputencoding{latin9}-Lowry
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


I can make umlauts, etc., but this one evades me.  Does anyone know what
my mistake is?

Using LyX 2.0b3 in Debian (Sid).  It happens with 1.6.7 as well.  :(

Thanks!


Kenward
-- 
If you can't explain it simply, you don't understand it well enough. --
  Albert Einstein



Re: A slash o ?? Cannot get it...

2011-02-02 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
 Being a perfectionist, I'd love to get the name Bronsted properly
 spelled, with a slash through the o.  Using LyX, I've inserted \o in
 ERT, but get an undefined control sequence error:
 
 
  ...Define a \inputencoding{latin1}{Br\onsted
   }\inputencoding{latin9}-L
 owry

You need to terminate the macro by a space, i.e.: Br\o nsted. Or insert the 
real character via Insert  Special Characters  Symbols.

Jürgen


Rotate pdf

2011-02-02 Thread Sonja Russell
Hi,
I have imported a page from a pdf. file and would like to rotate it 90
degrees but when I click on the pdf. the "size and rotation" tab in grayed
out. Why can I not click on it and how do I fix this?
FYI, I am doing this because I have a word/pdf document that I want in the
format of an A5 document and I dont know how else to re order the pages so I
am doing it manually in lyx. I would be happy to hear suggestions on better
ways this can me done.

Kind Regards,
Sonja Russell


Re: Rotate pdf

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:24 schrieb Sonja Russell:

> Hi, 
> I have imported a page from a pdf. file and would like to rotate it 90 
> degrees but when I click on the pdf. the "size and rotation" tab in grayed 
> out. Why can I not click on it and how do I fix this?
> FYI, I am doing this because I have a word/pdf document that I want in the 
> format of an A5 document and I dont know how else to re order the pages so I 
> am doing it manually in lyx. I would be happy to hear suggestions on better 
> ways this can me done.

Hi,

to be sure I understand it: 
you have a word/pdf document you like to downscale to A5? 
Or do you want to embed this document into a LyX document?
What did you do to import the pdf - Insert Graphics?
AFAIK, you have to rotate the pdf externally,
LyX doesn't support pdf rotation.

Stephan

Re: Rotate pdf

2011-02-02 Thread Stephan Witt
Am 02.02.2011 um 11:47 schrieb Stephan Witt:

> Am 02.02.2011 um 11:24 schrieb Sonja Russell:
> 
>> Hi, 
>> I have imported a page from a pdf. file and would like to rotate it 90 
>> degrees but when I click on the pdf. the "size and rotation" tab in grayed 
>> out. Why can I not click on it and how do I fix this?
>> FYI, I am doing this because I have a word/pdf document that I want in the 
>> format of an A5 document and I dont know how else to re order the pages so I 
>> am doing it manually in lyx. I would be happy to hear suggestions on better 
>> ways this can me done.
> 
> Hi,
> 
> to be sure I understand it: 
> you have a word/pdf document you like to downscale to A5? 
> Or do you want to embed this document into a LyX document?
> What did you do to import the pdf - Insert Graphics?
> AFAIK, you have to rotate the pdf externally,
> LyX doesn't support pdf rotation.

Sorry, that's not true. I could rotate it 90° e. g.
But the text flow isn't really correct here.
The pdf is like an background image - a little bit tricky.

Stephan

Re: Auto-reload pdf files on Mac?

2011-02-02 Thread Daron Wilson
Greetings.

I read something like the following in the Skim documentation, but I can't find 
where at the moment.  It seems that reason you must always specify 
"auto-(re)load" the first time you update a PDF is so that you don't forget and 
override a previously compiled version of the document that you might actually 
want to save.  

I have been using Skim regularly and the autoupdate feature works very well and 
is very handy.

Daron

> It is already checked in my case, but Skims asks if it must auto load the pdf 
> if I change it the first time. Afterwards, it does it automatically.
> 
> 2011/1/31 BH 
> On Mon, Jan 31, 2011 at 12:17 PM, Murat Yildizoglu
>  wrote:
> > I confirm that Skim is able to autoload the pdf and keep the actual view of
> > the file. You have just tell it, the first time you update the PDF, that you
> > want it to auto-load it (I have not found a way to tell it to auto-load
> > without asking this question).
> 
> Skim.app > Preferences > Sync ... and check the "Check for file changes" box.
> 
> BH
> 
> 
> 
> -- 
> Prof. Murat Yildizoglu
> Université Paul Cézanne (Aix-Marseille 3) 
> GREQAM (UMR CNRS 6579)
> Centre de la Vieille Charité
> 2, rue de la Charité
> 13236 Marseille cedex 02
> 
> Bureau 320
> Tel : +33 4 91 14 07 27 (standard)
> Tel : +33 4 91 14 07 70 (secrétariat) 
> Tel : +33 4 91 14 07 47 (bureau)
> Fax : +33 4 91 90 02 27 
> 
> e-mail: murat.yildizo...@univ-cezanne.fr
> www : http://www.vcharite.univ-mrs.fr/PP/yildi/index.html
> http://www.twitter.com/yildizoglu
> __



More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Jan 27, 2011, at 11:00 AM, Kevin Middleton wrote:
> 
> On Jan 27, 2011, at 7:12 AM, Richard Heck wrote:
> 
>> On 01/24/2011 09:07 AM, Michelle Bottorff wrote:
>>> 
>>> I think my personal preference would be to run Lyx or even just rtf2latex2e 
>>> from the terminal
>>> 
>> Can someone on Mac help Michelle here?
> 
> From the terminal,
> 
> /Applications/LyX.app/Contents/MacOS/lyx

Thank you Kevin!
(Thank you Richard also, I really appreciate you taking the time to respond.)

My terminal error for the failed rtf import says  "sh: rtf2latex2e: command not 
found".  Which sounds like either a path error or a missing file, is that right?

And,  catching up with the rest of the list... 

... I discover that that the problem is most likely that the needed files 
aren't there.  
...that it is almost certainly that they aren't there . 

So I have downloaded the package linked to by Mathias!  -- Thank you Mathias!

... and asking " which latex2rtf"  as BH advised Mathias to do --Thank you BH!
now gets me "/usr/local/bin/latex2rtf"

But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.

asking the terminal "which latext2rtf2e" gets me nothing.

Now what?  Do I need to hunt down a different package, or do I need to set Lyx 
up to use the files I just downloaded?




Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin

On 2/1/2011 7:12 PM, Gabriel Kniffin wrote:
The image files live on my E: drive. I'm able to build a .ps or .dvi 
without any figure issues, just not a .pdf.
What format are the image files?  I wonder if the reason DVI works and 
PDF doesn't has to do with a failed attempt to convert the format.


Also, I still get a [?] instead of citations in the document after 
I've added my .bib file to the LyX document using the "LyX: BibTeX 
Bibliography" dialog box.
Does the LaTeX log file have anything to say about that?  If all the 
citations show up as ?, either it can't find the .bib file or latex (or 
pdflatex) was not run enough times.


/Paul


Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 09:21 AM, Michelle Bottorff wrote:


... and asking " which latex2rtf"  as BH advised Mathias to do --Thank you BH!
now gets me "/usr/local/bin/latex2rtf"


That is good. It will allow you to export to RTF, but not to import.


But when I run Lyx and ask it to import an rtf file I still get:

An error occurred whilst running rtf2latex2e 'DarkMoon.rtf'
sh: rtf2latex2e: command not found
Error: Cannot convert file

Hmm... latex2rtf, and latex2rtf2e...  That's not the same.


Note: rtf2latex2e, not the other way around.


asking the terminal "which latext2rtf2e" gets me nothing.

If you try "which rtf2latex2e", you will probably also get nothing, in 
which case that program is not installed.



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

Richard




xetex use stix fonts?

2011-02-02 Thread Neal Becker
Any easy way to switch to all stix fonts (lyx > 2.0)?



Re: More RTF import errors

2011-02-02 Thread Mathias Girel
On Wed, Feb 2, 2011 at 3:47 PM, Richard Heck  wrote:
> On 02/02/2011 09:21 AM, Michelle Bottorff wrote:
>>
>> ... and asking " which latex2rtf"  as BH advised Mathias to do --Thank you
>> BH!
>> now gets me "/usr/local/bin/latex2rtf"
>>
> That is good. It will allow you to export to RTF, but not to import.
>
Yes. After two or three days, I confirm that the installer for which I
provided the link works perfectly. I have contacted the "author" to
thank him and he tells me that he might update the latex2rtf version.

But that will still not do for importing!
Best
MG


Re: More RTF import errors

2011-02-02 Thread Michelle Bottorff

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:

> On 02/02/2011 09:21 AM, Michelle Bottorff wrote:
>> 
>> ... and asking " which latex2rtf"  as BH advised Mathias to do --Thank you 
>> BH!
>> now gets me "/usr/local/bin/latex2rtf"
>> 
> That is good. It will allow you to export to RTF, but not to import.

So it does.  And it works perfectly!  Great, half-way there.  :)

> Note: rtf2latex2e, not the other way around.

D'oh.  Me feel dumb. 

>> asking the terminal "which latext2rtf2e" gets me nothing.
>> 
> If you try "which rtf2latex2e", you will probably also get nothing, in which 
> case that program is not installed.

Yeah, I tried that the right way round, and it wasn't there.  So...

> 
>> Now what?  Do I need to hunt down a different package...?
>> 
> Looks like it. Apparently:
>http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
> it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.  
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.
(They're supposed to be on my install disk, but my optical drive is shot, and 
so I can't actually read my install disk anymore.)   :(





How LyX copies files to the temp directory

2011-02-02 Thread Paul A . Rubin
Hi all,

I asked this on the developer list with no luck (probably got lost in the
clutter).  Can somebody tell me the mechanism by which LyX copies dependent
files (images, for instance) to the temp directory (mangling names along the
way)?  Does it call tex_copy.py, do the copying directly (meaning there's C/C++
code in LyX to do it), or what?

TIA,
Paul



Re: More RTF import errors

2011-02-02 Thread Richard Heck

On 02/02/2011 11:31 AM, Michelle Bottorff wrote:

On Feb 2, 2011, at 9:47 AM, Richard Heck wrote:



Now what?  Do I need to hunt down a different package...?


Looks like it. Apparently:
http://www.mail-archive.com/lyx-users@lists.lyx.org/msg62704.html
it is on MacPorts, or at least was.

In order to use MacPorts I need to install the Developer Tools.
In order to download the Tools I must register as a Developer -- now there's a 
laugh.
And having done that, I will now be downloading the Developer Tools for the 
next day and a half.

Yes, I had to go through this, too. This is because macports compiles 
everything right on your machine.


Richard



Re: How LyX copies files to the temp directory

2011-02-02 Thread Richard Heck

On 02/02/2011 11:44 AM, Paul A. Rubin wrote:

Hi all,

I asked this on the developer list with no luck (probably got lost in the
clutter).  Can somebody tell me the mechanism by which LyX copies dependent
files (images, for instance) to the temp directory (mangling names along the
way)?  Does it call tex_copy.py, do the copying directly (meaning there's C/C++
code in LyX to do it), or what?


I see the message on devel and will answer there.

rh



Re: How to make frontmatter appear in italics in ToC?

2011-02-02 Thread Richard Heck

On 02/01/2011 08:58 PM, Stig Rognes wrote:

Hello LyX-users,

I'm using book class (Memoir) and would like to have the frontmatter 
(abstract, acknowledgments (unnumbered chapter), nom, lof, lot, and 
toc itself) appear in emphasized/italics font on  the Contents page. I 
don't want the actual chapter titles appear in italics, just in the ToC.


I've tried the following hack, which kinda works, first removing LyX's 
own List of tables, then inserting two TeX-boxes, first a 
non-contents-listed lot, and then one adding it manually right after:


\listoftables*
\addcontentsline{toc}{chapter}{\emph{List of tables}}

This isn't good enough though, as it messes up the pdf-bookmarks page 
numbering and doesn't work with LyX's own List of Tables, 
Nomenclature, or whatever list. And I haven't found any hack for 
getting the Contents-insert itself in the ToC appear in italics/emphasis.


Any ideas would be highly appreciated!

Well, it's a wild guess, but what if you temporarily redefine 
\addcontentsline at the start of the frontmatter and then restore it at 
the end? E.g.:


\let\oldaddcl=\addcontentsline
\renewcommand\addcontentsline[3]{\oldaddcl{#1}{#2}{\emph{#3}}
...
\let\addcontentsline=\oldaddcl

Something like that ought to have the right effect.

rh


Stig




Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The images are all .eps files.

The log file says "LaTeX Warning: Citation `' on page
 undefined on input line ." Then on the
bottom it says "LaTeX: Warning: There were undefined references."

There are no strings in the log file that match the name of my .bib file
(Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
LyX file, but there is some text at the bottom that points to a .bbl the C:
drive that matches the name of my .bib file:
"[21]

(C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

1.bbl) [22]"


-Gabe

On Wed, Feb 2, 2011 at 6:36 AM, Paul A. Rubin  wrote:

> On 2/1/2011 7:12 PM, Gabriel Kniffin wrote:
>
>> The image files live on my E: drive. I'm able to build a .ps or .dvi
>> without any figure issues, just not a .pdf.
>>
> What format are the image files?  I wonder if the reason DVI works and PDF
> doesn't has to do with a failed attempt to convert the format.
>
>
>> Also, I still get a [?] instead of citations in the document after I've
>> added my .bib file to the LyX document using the "LyX: BibTeX Bibliography"
>> dialog box.
>>
> Does the LaTeX log file have anything to say about that?  If all the
> citations show up as ?, either it can't find the .bib file or latex (or
> pdflatex) was not run enough times.
>
> /Paul
>



-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


Re: xetex use stix fonts?

2011-02-02 Thread Guenter Milde
On 2011-02-02, Neal Becker wrote:
> Any easy way to switch to all stix fonts (lyx > 2.0)?

What for (Text/Math/both)?

I recommend using XITS (a re-packed STIX font) and the unicode-math
package.

Günter



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Richard Heck

On 02/02/2011 03:13 PM, Gabriel Kniffin wrote:

The images are all .eps files.

The log file says "LaTeX Warning: Citation `' on 
page  undefined on input line ." 
Then on the bottom it says "LaTeX: Warning: There were undefined 
references."


There are no strings in the log file that match the name of my .bib 
file (Kniffin_2011.bib) which is in the same directory (in the E: 
drive) as my LyX file, but there is some text at the bottom that 
points to a .bbl the C: drive that matches the name of my .bib file:

"[21]

(C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201

1.bbl) [22]"


This is in LyX's temporary directory. You might want to check and see if 
this file actually exists. (The directory changes each time, so start 
over)


Richard



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
The .bbl file is there but explorer says its size is 0 KB.

On Wed, Feb 2, 2011 at 12:34 PM, Richard Heck  wrote:

> On 02/02/2011 03:13 PM, Gabriel Kniffin wrote:
>
>> The images are all .eps files.
>>
>> The log file says "LaTeX Warning: Citation `' on page
>>  undefined on input line ." Then on the
>> bottom it says "LaTeX: Warning: There were undefined references."
>>
>> There are no strings in the log file that match the name of my .bib file
>> (Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
>> LyX file, but there is some text at the bottom that points to a .bbl the C:
>> drive that matches the name of my .bib file:
>> "[21]
>>
>>
>> (C:\Users\kniffing\AppData\Local\Temp\lyx_tmpdir.Hp3296\lyx_tmpbuf0\Kniffin_201
>>
>> 1.bbl) [22]"
>>
>>
>>  This is in LyX's temporary directory. You might want to check and see if
> this file actually exists. (The directory changes each time, so start
> over)
>
> Richard
>
>


-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Julien Rioux

On 02/02/2011 3:13 PM, Gabriel Kniffin wrote:

There are no strings in the log file that match the name of my .bib file
(Kniffin_2011.bib) which is in the same directory (in the E: drive) as my
LyX file, but there is some text at the bottom that points to a .bbl the C:
drive that matches the name of my .bib file


Yes probably your lyx file is Kniffin_2011.lyx ? Then lyx creates a 
Kniffin_2011.tex file and latex produces a Kniffin_2011.aux file and 
bibtex produces a Kniffin_2011.bbl file... the name of the .bib file 
does not matter as long as it is found by bibtex.


But to answer Mr. Rubin's question:


Does the LaTeX log file have anything to say about that?  If all the citations 
show up as ?, either it can't find the .bib file or latex (or pdflatex) was not 
run enough times.


can you confirm that in the LyX's temp dir, there are no .bib file and 
no .eps files? This would indicate that there is a problem with LyX 
copying those files there.


--
Julien



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Paul A. Rubin

On 02/02/2011 03:59 PM, Gabriel Kniffin wrote:

The .bbl file is there but explorer says its size is 0 KB.

That means that (a) BibTeX was run (which is good) and (b) it failed 
(not so good).


Try exporting your document to a .tex file (File > Export > LaTeX 
(plain)).  Open a command shell and run


latex myfile
bibtex myfile
latex myfile

where myfile.tex is the LaTeX file you created.  See what messages you 
get from the bibtex run.  Also see if the DVI file you wind up with has 
the citations properly filled in.


/Paul



Re: [WINDOWS] Python scripts fail

2011-02-02 Thread Gabriel Kniffin
Thanks! I ran bibtex as you suggested and the output looked like bibtex
didn't recognize the bibstyle I was using. I changed it and now it seems to
be producing .ps files with figures and bibliography without a hitch!

Unfortunately I'm still getting the same "...cannot determine size of
graphic in..." errors when trying to build a .pdf.

Any suggestions?

Thanks again,
-Gabe

On Wed, Feb 2, 2011 at 1:16 PM, Paul A. Rubin  wrote:

> On 02/02/2011 03:59 PM, Gabriel Kniffin wrote:
>
>> The .bbl file is there but explorer says its size is 0 KB.
>>
>>  That means that (a) BibTeX was run (which is good) and (b) it failed (not
> so good).
>
> Try exporting your document to a .tex file (File > Export > LaTeX (plain)).
>  Open a command shell and run
>
> latex myfile
> bibtex myfile
> latex myfile
>
> where myfile.tex is the LaTeX file you created.  See what messages you get
> from the bibtex run.  Also see if the DVI file you wind up with has the
> citations properly filled in.
>
> /Paul
>
>


-- 
Gabriel Kniffin
Research Assistant
Northwest Electromagnetics and Acoustics Research Laboratory (NEAR-Lab)
http://nearlab.ece.pdx.edu/
Electrical and Computer Engineering Dept.
Portland State University
(503) 725-3813 Lab
(360) 521-8772 Mobile


A "slash o" ?? Cannot get it...

2011-02-02 Thread Kenward Vaughan
Being a perfectionist, I'd love to get the name Bronsted properly
spelled, with a slash through the o.  Using LyX, I've inserted "\o" in
ERT, but get an undefined control sequence error:


 ...Define a \inputencoding{latin1}{Br\onsted
  }\inputencoding{latin9}-Lowry
The control sequence at the end of the top line
of your error message was never \def'ed. If you have
misspelled it (e.g., `\hobx'), type `I' and the correct
spelling (e.g., `I\hbox'). Otherwise just continue,
and I'll forget about whatever was undefined.


I can make umlauts, etc., but this one evades me.  Does anyone know what
my mistake is?

Using LyX 2.0b3 in Debian (Sid).  It happens with 1.6.7 as well.  :(

Thanks!


Kenward
-- 
If you can't explain it simply, you don't understand it well enough. --
  Albert Einstein



Re: A "slash o" ?? Cannot get it...

2011-02-02 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
> Being a perfectionist, I'd love to get the name Bronsted properly
> spelled, with a slash through the o.  Using LyX, I've inserted "\o" in
> ERT, but get an undefined control sequence error:
> 
> 
>  ...Define a \inputencoding{latin1}{Br\onsted
>   }\inputencoding{latin9}-L
> owry

You need to terminate the macro by a space, i.e.: Br\o nsted. Or insert the 
real character via Insert > Special Characters > Symbols.

Jürgen