Re: maths fonts in FoilTex

2003-01-22 Thread Andre Poenitz
On Wed, Jan 22, 2003 at 07:19:17AM +0100, David Norris wrote:
> Using the space instead of the brackets seems to work in general, but it 
> is not entirely clear why \bm and \boldsymbol work with the brackets. 

I think \bm and \boldsymbol are not "natively" supported so you have to
make LaTeX happy yourself (i.e. add braces if there is more than one thing).
On the other hand, the \text* and \math* font changes are supported and
add braces if necessary automatically.

Andre'


PS: Please quote only the relevant parts of the message you are responding
to. People who need the full message can go to the archives. And please
write _below_ the parts you are quoting as it is easier to read top-down
(context, then your remark) than vice versa.

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



Re: Inserting an URL: not anyone?

2003-01-22 Thread Jean-Marc Lasgouttes
> "Raymond" == Raymond Ouellette <[EMAIL PROTECTED]> writes:

Raymond> Using LyX 1.2.2 (my last compile of 1.2.3 src.rpm failed :-()
Raymond> I noticed this problem: I can't insert in a LyX document an
Raymond> URL if it contains certain characters.

Raymond> http://www.denverpost.com/Stories/0,1413,36%257E73%257E1123977,00.html

Raymond> The above URL, for exemple, when inserted in a LyX document,
Raymond> makes LyX refuse to produce anything -- I got the message «
Raymond> LyX a produit un document vide » or LyX produced an empty
Raymond> document. It is the second time I notice this behavior, and I
Raymond> suspect that the URL must contain invalid characters for LyX
Raymond> (or LaTeX)? Maybe the comma ?

Raymond> Am I wrong?

I would say that the problem is in the % (comment character in latex).

Do you have the package url.sty? 

JMarc



kLyx ?

2003-01-22 Thread harmel
Hello

what is with kLyx ? is the Development down ?

Thanks jojo




Re: Inserting an URL: not anyone?

2003-01-22 Thread Tuukka Toivonen
On Tue, 21 Jan 2003, Raymond Ouellette wrote:

>I can't insert in a LyX document an URL if it contains certain characters.
>http://www.denverpost.com/Stories/0,1413,36%257E73%257E1123977,00.html

Another problem are spaces in the URLs. They will silently disappear in the
output. E.g. if I insert an URL:
"Hello There"
it will appear as
"HelloThere"
Not nice.

(this is lyx 1.1.6fix4, Debian 3.0)



Re: kLyx ?

2003-01-22 Thread Walter H. van Holst
On Wed, Jan 22, 2003 at 10:47:56AM +0100, harmel wrote:
> what is with kLyx ? is the Development down ?

KLyX has been dead for years. 1.3pre2 can be compiled with a QT frontend 
though, it looks quite pretty.

Regards,

 Walter



Re: kLyx ?

2003-01-22 Thread Andre Poenitz
On Wed, Jan 22, 2003 at 10:47:56AM +0100, harmel wrote:
> what is with kLyx ?

Gone the way of the Dodo.

> is the Development down ?

No development since four years or so.

Andre'

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



Re: Error converting to loadable format

2003-01-22 Thread Luis Angel Fernández Cuadrado
El Mar 21 Ene 2003 17:16, Andre Poenitz escribió:
> On Tue, Jan 21, 2003 at 03:42:15PM +0100, Luis Angel Fernández Cuadrado 
wrote:
> > Which puzzles me most is that recently I installed LyX version 1.3.0pre2
> > with the qt frontend (which, by the way, looks great and has compiled and
> > it's been working so far without hassle) and the same thing happens: I
> > can see the .eps's in the system at work but not in the system at home.
>
> Do you have convert from ImageMagick installed on both systems?
>
> Andre'

Thanks Andre, that was just it. I had another script called also 'convert' in 
/usr/local/bin in the machine at home that was fired first. I've renamed it 
and now everything works allright.

Thanks again.

-- 
Dr. Luis A. Fernández
Department of Analytical Chemistry
University of The Basque Country
P.O. Box 644, 48080 Bilbao (Spain)
http://www.ehu.es/udps




Newbie: linuxdoc and forced page breaks

2003-01-22 Thread Richard Huxton
I'm putting together about a 20-page help doc for pdf and html output using 
the linuxdoc (article) template.

I like the linuxdoc pdflatex output (bookmarks, links, standard fonts etc) but 
can't force a page break at the start of a new section. I've tried the Layout 
| Paragraph setting and inserting a \pagebreak TeX code (cribbed from 
somewhere via Google). The first has no effect and the second just seems to 
embed the literal text of the code I type. I believe the code is correct, 
because if I export to Latex and manually add the code I get a page break 
(but no TOC etc). Google and the mailing archives don't seem to have anything 
dealing with this particular problem.

I'm guessing the SGML style-sheet for linuxdoc is the issue, but since I know 
next to nothing about SGML or TeX I'm out of my depth there.

I've tried DocBook and book templates, but the pdf output doesn't seem as 
nice. Should I just accept I'm trying to make linuxdoc do something it isn't 
supposed to? 

Versions: redhat 8.0, lyx 1.2.3 (rpm)

TIA
-- 
  Richard Huxton



fancyhdr

2003-01-22 Thread Robert.R.Koehler
Hi,

does anyone know whether the fancyhdr package when invoked can be overriden by 
other
latex commands to allow the header/footer to be formated by you? I was playing 
with
using Herbert Voss's trick to get a table into a header via fancyhdr, but I 
seem to lose control
over the table. Is fancyhdr necessary to put figs and tables into a 
header/footer or can this be done 
by other means?

thanks in advance.
Rob


Re: Newbie: linuxdoc and forced page breaks

2003-01-22 Thread Richard Huxton
On Wednesday 22 Jan 2003 2:02 pm, Helge Hafting wrote:
> Richard Huxton wrote:
> > I'm putting together about a 20-page help doc for pdf and html output
> > using the linuxdoc (article) template.
> >
> > I like the linuxdoc pdflatex output (bookmarks, links, standard fonts
> > etc) but can't force a page break at the start of a new section. I've
> > tried the Layout
> >
> > | Paragraph setting
>
> Ought to work, could be a bug

Well it inserts "\pagebreak_top" in the .lyx file, I just don't get anything 
happening. If I get a chance I'll try an older RPM and see if I can reproduce 
it there.

> > and inserting a \pagebreak TeX code (cribbed from
>
> You can't just type a latex command in the text.  It is embedded
> literally
> because it must be possible to write things like that (i.e. someone
> writing about the \pagebreak command)

I was using the TeX button...

> you need to write \pagebreak{} or \pagebreak followed by a space
> inside that tex box. (Complicated, but necessary because people
> sometimes
> use tex commands that _should_ affect the next character of text)

...but I didn't know about the space/brackets. It doesn't seem to make a 
difference though, 
  \pagebreak{}
becomes (in an exported .tex file)
  $\backslash$pagebreak$\{$$\}$
Which looks to me like it's been deliberately escaped.

The .lyx file contains:
\begin_inset ERT
status Collapsed

\layout Standard

\backslash
pagebreak{}
\end_inset
Which looks reasonable to the uneducated (me) except maybe for the Standard 
layout.

> If you export to latex yourself, run latex (or pdflatex) three times in
> order to resolve references correctly. (You may get away with less, see
> the output of latex/pdflatex.  If it complains about references near
> the end - use another run.  The TOC is built from lots of references.
>
> Indexes and bibliographies may need a fourth run, and they need
> running of other programs like makeidx too. Try to get lyx to do the job
> instead if you need these.

Ah! thank you - multi-pass to resolve the references of course. Should have 
paid more attention to the output of pdflatex, but LyX redirected it to 
/dev/null so I ignored it.

A small shell-script to do some search & replace, a loop to call pdflatex and 
I can finally get my sections to start new pages. Good enough for the moment.

Thanks very much Helge.

-- 
  Richard Huxton



Re: Newbie: linuxdoc and forced page breaks

2003-01-22 Thread José Matos
On Wednesday 22 January 2003 12:24, Richard Huxton wrote:
> I'm putting together about a 20-page help doc for pdf and html output using
> the linuxdoc (article) template.

  Good. :-)

> I like the linuxdoc pdflatex output (bookmarks, links, standard fonts etc)
> but can't force a page break at the start of a new section. I've tried the
> Layout

  Since the objectif is to separate the content from the form linuxdoc does 
not have those tools.

  In the specific case of linuxdoc it is converted to latex. It uses a sty 
file that in mine and your system is located in 
/usr/share/texmf/tex/latex/misc/linuxdoc-sgml.sty

  In this file is you have the definition of section it can be changed to do 
what you want.

> | Paragraph setting and inserting a \pagebreak TeX code (cribbed from

  This should go in the definition of section in the above file, but I don't 
know how.

> somewhere via Google). The first has no effect and the second just seems to
> embed the literal text of the code I type. I believe the code is correct,
> because if I export to Latex and manually add the code I get a page break
> (but no TOC etc). Google and the mailing archives don't seem to have
> anything dealing with this particular problem.
>
> I'm guessing the SGML style-sheet for linuxdoc is the issue, but since I
> know next to nothing about SGML or TeX I'm out of my depth there.
>
> I've tried DocBook and book templates, but the pdf output doesn't seem as
> nice. Should I just accept I'm trying to make linuxdoc do something it
> isn't supposed to?

  No you are doing it in the wrong place. :-)

> Versions: redhat 8.0, lyx 1.2.3 (rpm)

  I hope this helps.

> TIA
-- 
José Abílio



Re: Newbie: linuxdoc and forced page breaks

2003-01-22 Thread José Matos
On Wednesday 22 January 2003 19:16, Richard Huxton wrote:
>
> Aha - found that already, but doesn't contain nearly enough information to
> transform sgml to latex (something happening behind the scenes).
>
> The latex commands are getting into an exported .tex file though, they're
> just being escaped on the way. Got a work-around for the moment anyway.

  The information you are looking for is in 
/usr/share/linuxdoc-tools/dist/linuxdoc-tools/latex2e/mapping

there you should modify
+   "\n\\section"

to
+   "\n\\pagebreak\n\\section"

  Notice that this is untested, but it should be what you want.

> Thanks

  Does it work this way?

-- 
José Abílio



Re: problem with metapost files

2003-01-22 Thread Matej Cepl
Oscar López wrote:
> 1. The definition of GS_LIB does not conflict with the default
> GS_LIB just in the case that it existe before?

If it did (check with set | less), than you should add new path
to the old one (find, where the old variable is set and then add
it there using colon as a delimiter).

> 2. The links are pointing to files that actually exists in my
> distribution why they weren't found by latex/dvips? I suppose
> that the point is in the definition of $GS_LIB

The problem is not with finding files by latex/dvips, but
ghostscript who was not told about existence of these files.

> 3 Several messages complaingin of dvips are:
> 
> This is dvips(k) 5.86e Copyright 2001 Radical Eye Software
> (www.radicaleye.com) ' TeX output 2003.01.21:1843' -> foo.ps
> dvips: Font cmr10 used in file /home/oscar/tmp/mp/fnflm_p.0 is
> not in the mapping file.  dvips: Font cmmi10 used in file
> /home/oscar/tmp/mp/fnflm_p.0 is not in the mapping file.
> dvips: Font cmmi7 used in file /home/oscar/tmp/mp/fnflm_p.0 is
> not in the mapping file.  dvips: Font cmsy10 used in file
> /home/oscar/tmp/mp/fnflm_p.0 is not in the mapping file.
> . [1]
> 
> Are they important?

They are, but I have no idea, why they are there. Could you
please send me a Metpost-produced EPS file (using prologues :=
1)?

> 4. This means that I must generate every metapost file to be
> included in lyx by menas of:
> 
> mpost '\prologues :=1; input file.mp' in order to ensure that
> they have a prologues :=1; line mustn't I?

No, just put
prologues := 1;
in the beginning of your Metapost source file (.mp).

   Have a nice day,

  Matej Cepl

-- 
Matej Cepl,
Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
138 Highland Ave. #10, Somerville, Ma 02143, (617) 623-1488
 
Give your heartache to him. (1Pt 5,7; Mt 11:28-30)




Re: Newbie: linuxdoc and forced page breaks

2003-01-22 Thread Richard Huxton
On Wednesday 22 Jan 2003 4:53 pm, José Matos wrote:
> On Wednesday 22 January 2003 12:24, Richard Huxton wrote:
> > I'm putting together about a 20-page help doc for pdf and html output
> > using the linuxdoc (article) template.
>
>   Good. :-)
>
> > I like the linuxdoc pdflatex output (bookmarks, links, standard fonts
> > etc) but can't force a page break at the start of a new section. I've
> > tried the Layout
>
>   Since the objectif is to separate the content from the form linuxdoc does
> not have those tools.
>
>   In the specific case of linuxdoc it is converted to latex. It uses a sty
> file that in mine and your system is located in
> /usr/share/texmf/tex/latex/misc/linuxdoc-sgml.sty

Aha - found that already, but doesn't contain nearly enough information to 
transform sgml to latex (something happening behind the scenes).

The latex commands are getting into an exported .tex file though, they're just 
being escaped on the way. Got a work-around for the moment anyway.

Thanks

-- 
  Richard Huxton



Want to subscribe to lyx mailing list

2003-01-22 Thread benabdellah
Hello,

I Want to subscribe to lyx mailing list.
Thanks.




Re: Want to subscribe to lyx mailing list

2003-01-22 Thread robin
[EMAIL PROTECTED] wrote:

Hello,

I Want to subscribe to lyx mailing list.
Thanks.



Send an empty mail to [EMAIL PROTECTED]

Robin

--
"Difficulty is a coin which the learned conjure
with so as not to reveal the vanity of their studies."
- Montaigne

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin





help please. What i have written seems lost!

2003-01-22 Thread Carlo F.
Hello,
I am using LyX 1.1.6fix4 on Gnu?Linux Debian. I have just finished in
writing an about twenty pages document with inside about twenty ".eps"
pictures. I have tried to see it by C-T and C-D. I have have the
following message (more or less) "file/document empty" with only a part
of the first page displyed. After  several tries, I have rebooted the
machine and restarted LyX. Now the document appear with very very small
characters and the C-T shows only a portion of the first page but now
lists three pages as available on the left. C-D the same.
What can I do? 
Some help would be very appreciated.
Bye
Carlo 







Re: help please. What i have written seems lost!

2003-01-22 Thread Herbert Voss
Carlo F. schrieb:

I am using LyX 1.1.6fix4 on Gnu?Linux Debian. I have just finished in
writing an about twenty pages document with inside about twenty ".eps"
pictures. I have tried to see it by C-T and C-D. I have have the
following message (more or less) "file/document empty" with only a part
of the first page displyed. After  several tries, I have rebooted the
machine and restarted LyX. Now the document appear with very very small
characters and the C-T shows only a portion of the first page but now
lists three pages as available on the left. C-D the same.


I suppose that there is a problem in the preamble
or in some ERT stuff in the doc with a missing
closing curly brace }

Have a look at it.

Herbert


--
http://www.educat.hu-berlin.de/~voss/lyx/




Re: help please. What i have written seems lost!

2003-01-22 Thread robin
Herbert Voss wrote:

Carlo F. schrieb:


I am using LyX 1.1.6fix4 on Gnu?Linux Debian. I have just finished in
writing an about twenty pages document with inside about twenty ".eps"
pictures. I have tried to see it by C-T and C-D. I have have the
following message (more or less) "file/document empty" with only a part
of the first page displyed. After  several tries, I have rebooted the
machine and restarted LyX. Now the document appear with very very small
characters and the C-T shows only a portion of the first page but now
lists three pages as available on the left. C-D the same.



I suppose that there is a problem in the preamble
or in some ERT stuff in the doc with a missing
closing curly brace }

Have a look at it.

Herbert



If that doesn't turn up anything, exporting to LaTeX and running latex 
on it might be more revealing.

Robin

--
"Difficulty is a coin which the learned conjure
with so as not to reveal the vanity of their studies."
- Montaigne

Robin Turner
IDMYO
Bilkent Univeritesi
Ankara 06533
Turkey

www.bilkent.edu.tr/~robin




Re: Here is that sample

2003-01-22 Thread big
Attached file:


Re: Inserting an URL: not anyone?

2003-01-22 Thread Raymond Ouellette
Jean-Marc Lasgoutte écrivait :

> I would say that the problem is in the % (comment character in latex).
> Do you have the package url.sty?

Yes, the package is in /usr/share/texmf/tex/latex/misc/. But, whithout using this 
package in the preambule, I opened another LyX file and I had the "offending" URL 
towards the end of the file with no problem. I then try again with a blank LyX file 
and I inserted the URL (Insérer->Url) again without problem...

Well, I really dont't understand this behavior; like I said before I had this problem 
two different times.

Thank you for your hints and explanations!

Raymond

-- 

Édité et transmis avec des logiciels libres sous Linux !



Re: problem with metapost files

2003-01-22 Thread Oscar López
Matej Cepl wrote:

3 Several messages complaingin of dvips are:

This is dvips(k) 5.86e Copyright 2001 Radical Eye Software
(www.radicaleye.com) ' TeX output 2003.01.21:1843' -> foo.ps
dvips: Font cmr10 used in file /home/oscar/tmp/mp/fnflm_p.0 is
not in the mapping file.  dvips: Font cmmi10 used in file
/home/oscar/tmp/mp/fnflm_p.0 is not in the mapping file.
dvips: Font cmmi7 used in file /home/oscar/tmp/mp/fnflm_p.0 is
not in the mapping file.  dvips: Font cmsy10 used in file
/home/oscar/tmp/mp/fnflm_p.0 is not in the mapping file.
. [1]

Are they important?



They are, but I have no idea, why they are there. Could you
please send me a Metpost-produced EPS file (using prologues :=
1)?


You can download the eps file from
http://www.iit.upco.es/~oscar/download/fnflm_p.0

and the original metapost file from
http://www.iit.upco.es/~oscar/download/fnflm_p.mp


4. This means that I must generate every metapost file to be
included in lyx by menas of:

mpost '\prologues :=1; input file.mp' in order to ensure that
they have a prologues :=1; line mustn't I?



No, just put
prologues := 1;
in the beginning of your Metapost source file (.mp).


I meant a more automatic solution. The problem
is I produce metapost files from several applications, mainly xfig,
gnuplot, and metagraf. Most of the times it is not possible to control
that they produce the metapost files with the prologues:=1; line added.
So every time I need to include these files in lyx I must edit the file
and add the line, which is a pain, so i was thinking about a shell
script to convert 0 to ps to be used in lyx or something that allows me
to substitute "mpost foo.mp" by something that add the line and run
mpost. Before lyx-1.2.3 I have never had this problem and i am forced to
modify the metapost files just to be included in lyx.

So there are any way to define a generic extension format for number 
extensions in the conversion preferences of lyx? Could I define a regexp 
 in the format conversion preferences like (\d)+? The problem has 
appeared because now lyx doesn't like these files despite the fact lyx 
likes before and moreover if i export the latex file without adding 
prologues=1 at all it works nicely. So I must add the prologues line 
just because lyx doesn't like the file just to rendering or produce the 
view.

Thank you very much for all your help
Best wishes


--
http://www.iit.upco.es/~oscar
You know, Callahan's is a peaceable bar, but if you ask that dog what his
favorite formatter is, and he says "roff! roff!", well, I'll just have to...