Re: Exporting to OpenOffice with Bibtex references in 1.5.4

2008-04-16 Thread Richard Heck

Lars Olesen wrote:

Does anyone know how to make sure that the references to bibtex is
kept, when exporting to for instance OpenOffice in the 1.5.4 version
of Lyx?

  
Compile to DVI (or whatever) first. Then do the OOo export. That should 
work.


rh




Re: Can't \includegraphic in preamble or ERT

2008-04-16 Thread José Matos
On Wednesday 16 April 2008 16:34:17 Jeremy Malcolm wrote:
> I have the layout of a Memoir book title page defined in LyX using  
> LaTeX, because it is too complex to be done with the LyX editor.  One  
> line of it is this:
>
> \includegraphics[scale=0.1]{terminuspress.png}

I know that it is a waste :-( but you have to put the absolute path. The 
problem happens because lyx moves the file to a temporary directory to create 
the pdf (or any other format) and so the relative path becomes invalid.

-- 
José Abílio


Re: many sections aren't in PDF

2008-04-16 Thread Uwe Stöhr

Jeremy C. Reed schrieb:


Using lyx 1.5.4 and document class: book (KOMA-Script)

I have over 200 sections in an outline. No chapters. (I decided not to use 
chapters for the design of this book.)


Then you could have also used the koma-script report class, since the difference to a bokk is mainly 
that no chapters are used.


The generated PDF (and even DVI) is missing a lot of content. One page 
just has the section headers going down all the way to bottom of page 
(even the page numbers on bottom are gone). The next page is many (like 
100) sections later. Most of the sections are empty. Section header 
followed by section header (no content added yet -- but it is planned).


(If you want, I can send you the 50K lyx file.)


Send it to me privately, otherwise I couldn't help you.

regards Uwe


Re: Howto ERT that uses external files?

2008-04-16 Thread Juergen Spitzmueller
Neal Becker wrote:

> I wanted to play with pdfpages.  I tried ERT:
> \includepdf[pages=-,angle=90,fitpaper]{Visio-rx_block_diagram_rev4}
> 
> But 'view' will fail, because the file is in my cwd, not in /tmp/blah,
> which is where pdflatex is run.
> 
> Howto workaround this?

Does this in preamble help?

[EMAIL PROTECTED]/path/to/workingdir/}}

Jürgen



Re: LyX and Scientific Word/Workplace

2008-04-16 Thread Paul A. Rubin

Ken wrote:

Minor correction: SWP crashes when I simply try to open LyX's exported
.tex file.  In SWP if I choose to open a non-SWP tex file I get the
error "The file ... is not valid for the selected filter." SWP does
not crash but I am still unable to import the .tex file created by
LyX.

Any suggestions would be greatly appreciated.

Thanks,
Ken


On Wed, Apr 16, 2008 at 4:06 PM, Ken <[EMAIL PROTECTED]> wrote:

Hi.  There is a Wiki page on importing Scientific Workplace (SWP)
 documents into LyX:
 http://wiki.lyx.org/FAQ/ImportingFromSWP
 but I can not seem to find any information on import a LyX document into SWP.

 I love using LyX but my co-author uses Scientific Word/Workplace.  I
 don't want to have to buy a copy for myself but I am not able export
 my LyX documents in a way that he can import them.  I have tried in
 LyX File->Export->LaTeX but when I try to import that into SWP I get
 the error:

 "Error while reading paragraph 13.
 Document has been truncated."

 followed by

 "A serious program error has occurred.
 ...{various dump and support information}"

 and SWP crashes.

 Is there any advice on how I can export LyX to SWP as I love LyX and
 really, really don't want to have to buy/learn SWP.

 Thanks,
 Ken





Can you View -> DVI the document successfully in LyX?  If you run LaTeX 
against the exported .tex file, do you get a valid DVI?


The only other thing I can think of is maybe an encoding issue.  I'm 
pretty sure the exported .tex file will be UTF-8.  I don't know what SWP 
can/cannot ingest.  Does paragraph 13 contain an funky characters?  You 
might try running iconv against the .tex file.  Maybe conversion to 
ASCII would fix the problem?


There's a support page about importing external .tex files at 
http://www.mackichan.com/index.html?techtalk/660.htm~mainFrame.  Doesn't 
say anything about encoding (or crashes), though.


FYI, a few years back I worked with a co-author using SWP.  The SWP -> 
LyX direction was a pain because SWP uses its own LaTeX macros, but we 
had no problem the other direction.  I just exported a plain LaTeX file 
and my co-author imported it effortlessly.  This was an earlier version 
of LyX (and likely SWP), though.


/Paul



Can't \includegraphic in preamble or ERT

2008-04-16 Thread Jeremy Malcolm
I have the layout of a Memoir book title page defined in LyX using  
LaTeX, because it is too complex to be done with the LyX editor.  One  
line of it is this:


\includegraphics[scale=0.1]{terminuspress.png}

terminuspress.png is in the same directory as the LyX file, but I've  
also tried using a full path to terminuspress.png.  In either case, it  
comes out on the title page as an empty box - the correct size, so  
obviously it is seeing the image at one point - and the full path to  
the image printed across it.


It makes no difference whether I have this line in my preamble, or in  
ERT in the body of my document, or even - maddeningly - if I break the  
ERT and include the graphic in normal LyX mode then resume the ERT.   
However if I put the line in ERT in an otherwise *blank* document it  
does work...?  Also, I do have other graphics in my text that come out  
fine.


Does anyone have any suggestions as to why I get the empty box?

Also, a completely unrelated question but not worth making a separate  
message about, in my table of contents I have long page numbers like  
xxxiii that go over the right margin to which all the other page  
numbers are justified.  Can anyone suggest how to get them to line up?


TIA

BTW: A while ago I added to the LyX Wiki about how to include multiple  
indexes in your document.  If you are interested it is here: http://wiki.lyx.org/Tips/Indexing#toc4 
.


--
Jeremy Malcolm LLB (Hons) B Com
Internet and Open Source lawyer, IT consultant, actor
host -t NAPTR 1.0.8.0.3.1.2.9.8.1.6.e164.org|awk -F! '{print $3}'

Luxury Perth apartment for sale!
http://www.yourestate.com.au/sresult.php?property_id=8581



Re: LyX and Scientific Word/Workplace

2008-04-16 Thread Abdelrazak Younes

Ken wrote:

Hi.  There is a Wiki page on importing Scientific Workplace (SWP)
documents into LyX:
http://wiki.lyx.org/FAQ/ImportingFromSWP
but I can not seem to find any information on import a LyX document into SWP.

I love using LyX but my co-author uses Scientific Word/Workplace.  I
don't want to have to buy a copy for myself but I am not able export
my LyX documents in a way that he can import them.  I have tried in
LyX File->Export->LaTeX but when I try to import that into SWP I get
the error:

"Error while reading paragraph 13.
Document has been truncated."

followed by

"A serious program error has occurred.
...{various dump and support information}"

and SWP crashes.

Is there any advice on how I can export LyX to SWP as I love LyX and
really, really don't want to have to buy/learn SWP.


Well, it'd be difficult for us to debug SWP LateX import... What about 
convincing your coauthor to use LyX instead :-)


Abdel.



Re: LyX and Scientific Word/Workplace

2008-04-16 Thread Ken
Minor correction: SWP crashes when I simply try to open LyX's exported
.tex file.  In SWP if I choose to open a non-SWP tex file I get the
error "The file ... is not valid for the selected filter." SWP does
not crash but I am still unable to import the .tex file created by
LyX.

Any suggestions would be greatly appreciated.

Thanks,
Ken


On Wed, Apr 16, 2008 at 4:06 PM, Ken <[EMAIL PROTECTED]> wrote:
> Hi.  There is a Wiki page on importing Scientific Workplace (SWP)
>  documents into LyX:
>  http://wiki.lyx.org/FAQ/ImportingFromSWP
>  but I can not seem to find any information on import a LyX document into SWP.
>
>  I love using LyX but my co-author uses Scientific Word/Workplace.  I
>  don't want to have to buy a copy for myself but I am not able export
>  my LyX documents in a way that he can import them.  I have tried in
>  LyX File->Export->LaTeX but when I try to import that into SWP I get
>  the error:
>
>  "Error while reading paragraph 13.
>  Document has been truncated."
>
>  followed by
>
>  "A serious program error has occurred.
>  ...{various dump and support information}"
>
>  and SWP crashes.
>
>  Is there any advice on how I can export LyX to SWP as I love LyX and
>  really, really don't want to have to buy/learn SWP.
>
>  Thanks,
>  Ken
>


LyX and Scientific Word/Workplace

2008-04-16 Thread Ken
Hi.  There is a Wiki page on importing Scientific Workplace (SWP)
documents into LyX:
http://wiki.lyx.org/FAQ/ImportingFromSWP
but I can not seem to find any information on import a LyX document into SWP.

I love using LyX but my co-author uses Scientific Word/Workplace.  I
don't want to have to buy a copy for myself but I am not able export
my LyX documents in a way that he can import them.  I have tried in
LyX File->Export->LaTeX but when I try to import that into SWP I get
the error:

"Error while reading paragraph 13.
Document has been truncated."

followed by

"A serious program error has occurred.
...{various dump and support information}"

and SWP crashes.

Is there any advice on how I can export LyX to SWP as I love LyX and
really, really don't want to have to buy/learn SWP.

Thanks,
Ken


many sections aren't in PDF

2008-04-16 Thread Jeremy C. Reed
Using lyx 1.5.4 and document class: book (KOMA-Script)

I have over 200 sections in an outline. No chapters. (I decided not to use 
chapters for the design of this book.)

The generated PDF (and even DVI) is missing a lot of content. One page 
just has the section headers going down all the way to bottom of page 
(even the page numbers on bottom are gone). The next page is many (like 
100) sections later. Most of the sections are empty. Section header 
followed by section header (no content added yet -- but it is planned).

Anyone else see that?

(If you want, I can send you the 50K lyx file.)



  Jeremy C. Reed


Re: LyX Make "dynamic" TOC on LyX using pdf

2008-04-16 Thread Uwe Stöhr

jucas_lo schrieb:


How do you make the Table of Contents dinamic with LyX, with dynamic I just
mean that you can click over an item and you will be automagically linked to
the corresponding section on the document,...


You have to use the LaTeX-package hyperref in the preamble. To start, copy the hyperref command from 
the Emglish UserGuide to your document. The UserGuide itself is a good example showing a "dynamic" TOC.


The next major LyX release LyX 1.6 supports hyperref directly via the document 
settings dialog, see
http://wiki.lyx.org/LyX/NewInLyX16

regards Uwe


Re: LyX Make "dynamic" TOC on LyX using pdf

2008-04-16 Thread Bob Lounsbury
On Wed, Apr 16, 2008 at 7:47 AM, jucas_lo <[EMAIL PROTECTED]> wrote:
>
>  Hi, I'm a newbie on LyX and also a little bit newbie on LateX, just one
>  question when making pdfs with it:
>
>  How do you make the Table of Contents dinamic with LyX, with dynamic I just
>  mean that you can click over an item and you will be automagically linked to
>  the corresponding section on the document, and obviously the bar that you
>  get at the left side in Adobe Reader where you have a shortcut to every
>  chapter or section of your document
>
>  I think that should be easy to solve but since I don't know very well how is
>  this kind of TOC is called, I've not been able to find it on the docs
>  provided by LyX or in the wiki.
>
>  THanks in advance,
>
>  have a good day
>  --
>  View this message in context: 
> http://www.nabble.com/LyX-Make-%22dynamic%22-TOC-on-LyX-using-pdf-tp16722275p16722275.html
>  Sent from the LyX - Users mailing list archive at Nabble.com.
>
>


It's done with the hyperref package.

http://tug.ctan.org/cgi-bin/ctanPackageInformation.py?id=hyperref

Cheers,
/Bob


Howto ERT that uses external files?

2008-04-16 Thread Neal Becker
I wanted to play with pdfpages.  I tried ERT:
\includepdf[pages=-,angle=90,fitpaper]{Visio-rx_block_diagram_rev4}

But 'view' will fail, because the file is in my cwd, not in /tmp/blah, which
is where pdflatex is run.

Howto workaround this?



LyX Make "dynamic" TOC on LyX using pdf

2008-04-16 Thread jucas_lo

Hi, I'm a newbie on LyX and also a little bit newbie on LateX, just one
question when making pdfs with it:

How do you make the Table of Contents dinamic with LyX, with dynamic I just
mean that you can click over an item and you will be automagically linked to
the corresponding section on the document, and obviously the bar that you
get at the left side in Adobe Reader where you have a shortcut to every
chapter or section of your document

I think that should be easy to solve but since I don't know very well how is
this kind of TOC is called, I've not been able to find it on the docs
provided by LyX or in the wiki.

THanks in advance,

have a good day
-- 
View this message in context: 
http://www.nabble.com/LyX-Make-%22dynamic%22-TOC-on-LyX-using-pdf-tp16722275p16722275.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Exporting to OpenOffice with Bibtex references in 1.5.4

2008-04-16 Thread Lars Olesen
Does anyone know how to make sure that the references to bibtex is
kept, when exporting to for instance OpenOffice in the 1.5.4 version
of Lyx?

-- 
Lars Olesen
Gratis backup https://mozy.com/?code=9MYJPF