Re: Converting a LyX document to a SINGLE tex file

2003-07-14 Thread Nirmal Govind
Thanks Andre and Dekel for your responses..

> Does the conference allows using jpg/pdf figures ?
> If they only allow EPS figures, you should convert your figures to EPS

They basically want just one .tex file which should have everything in
it.. so all the figures should be in there using the filecontents
environment.. and turns out that it has to be eps for filecontents to
work..

I managed to get the eps files that LyX/convert creates from the jpg
files by unchecking the option to use the tmp directory in the
preferences. So I then included these in the filecontents environment.
Doesn't look like filecontents accepts pdf or jpeg.. 

nirmal 



Changing Table Output

2003-07-14 Thread Jason L W Lynn
I posted this message to the lyx-devel group, but have gotten no
response.  I'm guessing from the lack of response, it was the wrong list
to send to.  If this is (again) the wrong mailing list, please point me
toward a more appropriate list.

I have recently started working with lyx and wanted to try some
customizations.  I am using the '(SGML) linuxdoc article' layout for my
document and I am outputting it to html.  I like the way that this
layout looks once converted, but I am having problems with tables.

First, the tables end up looking (something) like this:

++---+Data|Data
++---+Data|Data
++---+Data|Data
++---+Data|Data

I'm not sure how to fix that.

Secondly, I would like to output actual HTML tables instead of ASCII
tables.  Any help would be greatly appreciated.

Thank you,
-- 
Jason L W Lynn <[EMAIL PROTECTED]>



Re: Converting a LyX document to a SINGLE tex file

2003-07-14 Thread Dekel Tsur
On Mon, Jul 14, 2003 at 01:23:32PM -0400, Nirmal Govind wrote:
> 
> 2. I have several .jpg figures and one .pdf figure in my paper. Does
> filecontents* work with jpg/pdf files too? If not, is there any similar
> environment for jpg/pdf files? If not, would it be possible to get LyX

Does the conference allows using jpg/pdf figures ?
If they only allow EPS figures, you should convert your figures to EPS

> to output (to the current directory) the converted ps/eps files that are
> generated when I ask for a Postscript output? I can't seem to find these
> files when I do a View -> Postscript. If this is possible then I
> would'nt have to do the conversion manually...

They are in the temporary directory /tmp/lyx_...



Re: Converting a LyX document to a SINGLE tex file

2003-07-14 Thread Andre Poenitz
On Mon, Jul 14, 2003 at 01:23:32PM -0400, Nirmal Govind wrote:
> Hi.. I need to submit a paper for a conference that accepts Latex files.
> But they require a single .tex file, i.e. the figures, bibliography
> etc. all have to be incorporated into that .tex file using the
> filecontents* environment. I'm having a few problems with this:
> 
> 1. From the instructions given, I'm supposed to put
> \begin{filecontents*}{myfigure.eps}
> \end{filecontents*}
> 
>  for all my figures (assuming that the real eps file is in my current
> directory). These commands need to go before the \documentclass. How do
> I enter ERT in LyX so that it goes before the \documentclass in the .tex
> file?

I don't think this is possible.

I guess you'd need to create some kind of external script that merges a
.tex as exported from LyX with your figures to a new file.

> 2. I have several .jpg figures and one .pdf figure in my paper. Does
> filecontents* work with jpg/pdf files too? If not, is there any similar
> environment for jpg/pdf files?

I'd expect .pdf to work out-of-the-box but .jpg to break.

> If not, would it be possible to get LyX to output (to the current
> directory) the converted ps/eps files that are generated when I ask
> for a Postscript output?

They are in some /tmp/lyx_tmpdirX directory.

Andre'

-- 
Those who desire to give up Freedom in order to gain Security, will not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or both...)


Converting a LyX document to a SINGLE tex file

2003-07-14 Thread Nirmal Govind
Hi.. I need to submit a paper for a conference that accepts Latex files.
But they require a single .tex file, i.e. the figures, bibliography
etc. all have to be incorporated into that .tex file using the
filecontents* environment. I'm having a few problems with this:

1. From the instructions given, I'm supposed to put
\begin{filecontents*}{myfigure.eps}
\end{filecontents*}

 for all my figures (assuming that the real eps file is in my current
directory). These commands need to go before the \documentclass. How do
I enter ERT in LyX so that it goes before the \documentclass in the .tex
file? I'd rather do this than edit the .tex file manually cos then I
just need to have the LyX file up to date when I make changes..

2. I have several .jpg figures and one .pdf figure in my paper. Does
filecontents* work with jpg/pdf files too? If not, is there any similar
environment for jpg/pdf files? If not, would it be possible to get LyX
to output (to the current directory) the converted ps/eps files that are
generated when I ask for a Postscript output? I can't seem to find these
files when I do a View -> Postscript. If this is possible then I
would'nt have to do the conversion manually...

3. I need to use the filecontents* environment to include the .bbl file.
I do not see a .bbl file in my directory though I see all my references
in the final pdf doc generated using pdflatex. I had a .bbl file for the
earlier version of this paper but it isn't being generated again after
I deleted that .bbl file (cos the filename changed).

Any help on these would be greatly appreciated.

Thanks,
nirmal



Re: Floatflt Figs...

2003-07-14 Thread woodbd
Andre'--

Thanks, that did the trick!

brian

On Sunday, July 13, 2003, at 11:48  PM, Andre Poenitz wrote:

On Sun, Jul 13, 2003 at 04:03:55PM -0700, Brian Wood wrote:
The LyX code compiles when I tell it to generate a DVI, but no figures
appear.  No warnings or error messages either...  This actually may be
a LaTeX problem, not a LyX problem, since I do not get the figures 
when
I export the code as LaTeX and compile independently of LyX.  I did
verify that the package floatflt is installed and LaTeX "knows" about
it...

Any ideas out there?  I am writing a proposal, and I need all the 
space
I can get!
floatflt is a bit tricky to use. If there is not enough ordinary text,
the used algorithm fails and the figures are dropped. Try to place the
figures a page earlier or so.
[This is a pure LaTeX problem, so LyX can't really do much about it]

Andre'

--
Those who desire to give up Freedom in order to gain Security, will 
not have,
nor do they deserve, either one. (T. Jefferson or B. Franklin or 
both...)



Re: Floatflt Figs...

2003-07-14 Thread Holger Zebner
Hello

> Any ideas out there?  I am writing a proposal, and I need all the space
> I can get!
floatflt is a bit tricky to use. If there is not enough ordinary text,
the used algorithm fails and the figures are dropped. Try to place the
figures a page earlier or so.
Or try do change the size of your floatflt.
I take "%line" and size the pic 3 to 5 % smaller than the whole float. If 
you have to many pics or if they're to close to the end of the page they 
won't be printed. So eather change the size or the placement. I think the 
latex options "hbp!" don't work with this option.

Holger



Re: unexpected quit

2003-07-14 Thread Ronald Florence
Lenore Horner <[EMAIL PROTECTED]> writes:

> I have just, rather excitedly, followed Ron's instructions for
> installing Aqua Lyx.  To my disappointment, double clicking on the Lyx
> icon immediately results in an unexpected quit error message. 

Sounds like a version of MacOS before 10.2, or a very early (and
obsolete) version of the binary.  The Qt library on which the LyX on
Aqua port is based doesn't work with pre-Jaguar versions of MacOSX.
Sorry.
-- 

Ronald Florence www.18james.com



Bibliography error

2003-07-14 Thread Jihène Krichène
Hello everybody

I have a problem with the bibliography. I use the bibtex database. The following text 
is the debugger output:

Log line: 
Log line: (scheduling_conf.bbl
Log line: 
Log line: ! LaTeX Error: \newblock undefined.
line: 1
Desc: LaTeX Error: \newblock undefined.
Text:  \begin{thebibliography}{1}
  
Try typingto proceed.
If that doesn't work, type  X   to quit.

Log line: )
Log line: 
Log line: Package natbib Warning: There were undefined citations.
Log line: 
Log line: [8
Log line: 
Log line: ] (scheduling_conf.aux
Log line: 
Log line: Package natbib Warning: Citation(s) may have changed.
Log line: (natbib)Rerun to get citations correct.
We should rerun.
Log line: 



Do you have any idea about the problem? If yes, please help.
Best regards





Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005