Re: LateX file ... not found

2006-07-02 Thread Paul Smith

On 7/2/06, Alexander Braun <[EMAIL PROTECTED]> wrote:

at the moment I'm pretty desperate, because I try to insert some images into
my lyx-document, that are not shown in any preview or exported document.

To be more precise:
I inserted graphic overview.eps, which lies in the same path as my document.
The picture is diplayed in the open lyx-document. Now, when I choose
View->DVI or View->Postscript my document is rendered perfectly despite the
images.
On the shell I can see the error message:
! LaTeX Error: File `overview' not found.

What do I wrong? I already searched google the whole evening. Can anybody help
me, even tough the question might be asked already (could find nothing in
archive, which helped)


Probably, Alexander, you need to specify (inside LyX) the *full* path
to your eps picture. That is only an idea.

Paul


Re: please consolidate the documentation

2006-07-17 Thread Paul Smith

On 7/17/06, Martin A. Hansen <[EMAIL PROTECTED]> wrote:

agreed!

one file would be so nice, because then you could search for a particular
keyword you are looking for without having to open all the different help
files. and since lyx/latex is so good at sectioning, it would be straight
forward to combine them all.


As a temporary solution, produce a pdf output for each help file and,
then, by using pdftk (or another tool) join all of them in a single
pdf file. Afterwards, you can search the joint pdf file with the
search tool of Acrobat Reader, for instance.

Paul


Re: 1.4.2 pdflatex viewing problem

2006-07-28 Thread Paul Smith

On 7/28/06, chipbrock <[EMAIL PROTECTED]> wrote:

On a mac, OSX 10.4.2:  I have just upgraded lyx to 1.4.2, replacing
everywhere the installer said "replace"...Now, I cannot view a
document in the pdf viewer. If I do View->DVI, the file happily
appears through my default tex viewer (TexShop). When I hit View-
 >pdflatex...I get the error: No Information for viewing PDF
(pdflatex). I notice that much is different in the format preference
and gather that some of the pdflatex stuff in the new version of lyx
is changed?

Any ideas? I've never had any lyx problems before this! Thanks...


Go to

Tools --> Preferences --> File formats

and there configure the PDF (pdflatex) viewer.

Paul


Re: including pictures

2006-07-30 Thread Paul Smith

On 7/30/06, pol <[EMAIL PROTECTED]> wrote:

Is it possible to include pictures into your lyx doc, so as you are able to
move across directories or send to someone the whole lot easily?


Could you please ask a more detailed question?

Paul


Re: including pictures

2006-07-30 Thread Paul Smith

On 7/30/06, pol <[EMAIL PROTECTED]> wrote:

>> Is it possible to include pictures into your lyx doc, so as you are able
>> to move across directories or send to someone the whole lot easily?
>
> Could you please ask a more detailed question?

Well, i have produced a document with 8 pictures. Pictures are properly
displayed, as the document is open, but they are stored as separate .eps
files in the file system, each tagged by a distinct file name.

As i need to copy or send that lyx doc, i have to remember what are the
names of those 8 pictures, then copy or send 9 files.

Sending one file, including text and pictures, would be easier and safe.


Then, just export your document as pdf. All pictures will be included
in the pdf file. Or are you thinking about the lyx file itself plus
the eps files?

Paul


Re: including pictures

2006-07-30 Thread Paul Smith

On 7/30/06, pol <[EMAIL PROTECTED]> wrote:

> Then, just export your document as pdf. All pictures will be included
> in the pdf file. Or are you thinking about the lyx file itself plus
> the eps files?

Yes, i would like to resume editing after the doc has been moved


Then, the answer was just given by Georg.

Paul


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-03 Thread Paul Smith

On 8/3/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:

>>> IMHO, it's a pity to export to bitmap diagrams which have such a strong
>>> vectorial nature. The UML diagrams which are in the xfig library do not
>>> fit your needs ? In addition, the xfig inset in lyx works great.
>>
>>   It has been at least six years since I looked at xfig.

The looks are the same, but it improved a lot, specially about the combined 
export (pdf available)
and the libraries.
And the combined export solves one of the main drawbacks, that is to insert 
type3 fonts in the
document through the selected fonts in xfig: the textual part of the document 
can be written
with the document fonts, not the LyX fonts (and latex math is understood).
For example, if I select the component/interface diagram of the UML library
and select the special flag for the "Component" word, it will be exported as
 \begin{picture}(3948,)(3205,-4837)
\put(3926,-4353){\makebox(0,0)[lb]{\smash{{\SetFigFont{12}{14.4}{\sfdefault}{\mddefault}
{\updefault}{\color[rgb]{0,0,0}Component}%

\end{picture}%
As you may see, it uses document defaults,  the size, family, series, and shape 
only being extracted from
the font selected in xfig.


>>Then I found the
>>learning curve steep and used Gri instead. However, I agree that UML
>>diagrams should remain vector format. Do I have issues mixing graphic
>>formats (e.g., png and eps) in the same document?

Not in LyX, due to the great work of the developers to make graphic conversions
transparent, so that compilation with latex or pdflatex is equivalent.

But in fact eps belongs to latex and png to pdflatex, and it's
an exclusive or.

Personnally, I compile in latex when there are a lot of figures,
because dvi does not load the figures (latex needs only the bounding box)
and is thus faster, I compile with pdflatex when there are many
screenshots.


Inkscape seems particularly apt to produce flowcharts, as it has got
the 'connectors' features, making the arrows connected even when one
moves the connected frames. And it can save the pictures as vectorial
eps, pdf, and so on.

Paul


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-03 Thread Paul Smith

On 8/3/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

> Inkscape seems particularly apt to produce flowcharts, as it has got
> the 'connectors' features, making the arrows connected even when one
> moves the connected frames. And it can save the pictures as vectorial
> eps, pdf, and so on.

Inkscape looks pretty nice, but unless I'm missing something, it does
not support embedded LaTeX commands (and in particular math formulas)?


That is true that it does not support embedded LaTeX commands in
general, but one can virtually insert anything LaTeX can output (math
formulas included) by converting from eps to svg (the Inkscape's
format). The final picture (with the math formulas inserted) looks
great and it is vectorial, scalable.

Paul


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/3/06, Paul Smith <[EMAIL PROTECTED]> wrote:

> > Inkscape seems particularly apt to produce flowcharts, as it has got
> > the 'connectors' features, making the arrows connected even when one
> > moves the connected frames. And it can save the pictures as vectorial
> > eps, pdf, and so on.
>
> Inkscape looks pretty nice, but unless I'm missing something, it does
> not support embedded LaTeX commands (and in particular math formulas)?

That is true that it does not support embedded LaTeX commands in
general, but one can virtually insert anything LaTeX can output (math
formulas included) by converting from eps to svg (the Inkscape's
format). The final picture (with the math formulas inserted) looks
great and it is vectorial, scalable.


To illustrate what I said, I am sending a small svg picture with a
math formula produced with LaTeX.

Paul


integral.svg
Description: image/svg


Re: openoffice

2006-08-04 Thread Paul Smith

On 8/4/06, Stephen Harris <[EMAIL PROTECTED]> wrote:

Nick Thomas developed a script to convert LyX to OpenOffice called
ConvTeX: http://wiki.lyx.org/Tools/LyX2OpenOffice [.sxw OOo ext.?]
which probably works a bit better on Linux than Windows.


Maybe, it would be helpful to have it integrated in LyX itself.

Does Nick Thomas' script convert formulas?

Paul


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:

>>To illustrate what I said, I am sending a small svg picture with a
>>math formula produced with LaTeX.

Thank you for this example.
To illustrate the difference in handling between Xfig and Inkscape, here is a 
beamer
slide with both formulas:
 SVG integral is Paul's saved as eps
 Xfig integral is an external inset of the formula in a rectangle.
As you may see, the beamer fonts are respected in the xfig inset.

If I add in preamble mathserif option to the beamer document class,
I get the second result.


The inferior quality of my example as it appears on your beamer
presentation is because you took the screenshot of the kpdf output.
You will not notice any difference if you use acroread. (A screenshot
is attached.)

Paul


integral.png
Description: PNG image


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:

>>> >>To illustrate what I said, I am sending a small svg picture with a
>>> >>math formula produced with LaTeX.

>>
>>The inferior quality of my example as it appears on your beamer
>>presentation is because you took the screenshot of the kpdf output.
>>You will not notice any difference if you use acroread. (A screenshot
>>is attached.)

My point was not about quality od the output, but about adaptation do document 
fonts.

However, what I did was to export tp eps (to get a vector graphics eps)
and then to run pdflatex on the lyx file (which in turn runs epstopdf of the 
vector graphics
eps to get a vector graphic pdf).
Direct export from svg to pdf does nor crop the figure,
otherwise I would have tried direct export to pdf.

Looking closer to the eps file, it is a set of GS command to draw the formula: 
no fonts
in it, nor of course in the converted pdf file:
-> pdffonts integral.pdf
name type emb sub uni object ID
  --- --- --- -

Thus it seems that Inkscape draws the formula in vector graphics.

I use Inkscape 0.43 (Nov 30 2005)
Maybe a more recent versioon does a better job with eps and pdf exports ?


It is correct your guess: Inkscape draws the formula in vector
graphics. You can export a cropped pdf picture directly from Inkscape:
fit page to selection in Document Properties. However, my svg picture
is already cropped; so, you just need to save it as pdf. Anyway, it is
true that formulas are drawn, but it does not really matter, in my
opinion, as you can always change the fonts with which LaTeX draws the
eps formulas.

Paul


Re: Flow Chart Drawing For LaTeX/LyX

2006-08-04 Thread Paul Smith

On 8/4/06, Rich Shepard <[EMAIL PROTECTED]> wrote:

>> As you may see, the beamer fonts are respected in the xfig inset.

> The inferior quality of my example as it appears on your beamer
> presentation is because you took the screenshot of the kpdf output. You
> will not notice any difference if you use acroread. (A screenshot is
> attached.)

All,

   I'm sorry that my request for vector drawing suggestions raised
testosterone levels so high. That was not my intent.

   The point that _I_ think is important is the number of choices available
to those of us who work in a F/OSS environment. It doesn't matter one bit --
at least to me -- what approach is used; they all work and each of us is
comfortable using a different application to reach the same end point. Heck,
I got excellent LaTeX fonts in my Tgif figures, too.

   I think the count of vector drawing applications (point-and-shoot, coding,
whatever) is about 18. This does not include data plotting applications (of
which I know of about a half-dozen). Those stuck behind closed Windows
should appreciate that we have a plethora of choices, not the only one that
comes out of Redmond. As this thread illustrates so well, each choice has
its following who are passionate that their comfortable way is The One True
Way.

   The same response of "Oh, yeah? Let's put 'em on the bar and see who's
bigger" used to regularly occur on the local linux/UNIX user group's mail
list. Someone would ask how to accomplish a task and within a few hours
solutions were presented as: bash shell scripts, grep, perl, python, ruby,
lisp, sed/awk, and so on.

   IMNSHO, the major point is that we have multiple ways of accomplishing the
same tasks and reaching the same goals. In the end -- on paper or projected
on a screen -- they all work. None is better or worse, they're just all
different. Is it Emacs or Vi? Xfce, Gnome, or KDE? One of the 200+
distributions? Who really cares? Perhaps some, but not me.

   You're both correct, and I am grateful to learn from both of you how you
use your tool of choice. Thank you very much for that.


Maybe, Rich misunderstood me. I did not mean to be defending Inkscape
against Xfig (or any other program). My only intent was to illustrate,
to the public of this list, the possibilities of Inkscape, specially
regarding the insertion of math formulas. I am not enough literate
regarding drawing programs to be able of judging one better than the
other one.

Paul


Error while converting xfig figure

2006-08-05 Thread Paul Smith

Dear All

I have tried to include a figure.pstex_t into a LyX document with
'Insert -> File -> External Material', but I get the error when I
'View -> Postscript':

"An error occurred whilst running sh '/usr/share/lyx/scripts/fig2pstex.sh'

Any ideas? The figure and the LyX file are attached.

Paul


figura.pstex_t
Description: Binary data


figure.pstex
Description: Binary data


figure.lyx
Description: application/lyx


Re: Error while converting xfig figure

2006-08-05 Thread Paul Smith

On 8/5/06, Enrico Forestieri <[EMAIL PROTECTED]> wrote:

> I have tried to include a figure.pstex_t into a LyX document with
> 'Insert -> File -> External Material', but I get the error when I
> 'View -> Postscript':

Try including figure.fig directly.


Just tried that, but getting the following error:

«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.»

The xfig file is attached.

Paul


figure.fig
Description: image/xfig


Re: Error while converting xfig figure

2006-08-05 Thread Paul Smith

On 8/5/06, Bo Peng <[EMAIL PROTECTED]> wrote:

> > > I have tried to include a figure.pstex_t into a LyX document with
> > > 'Insert -> File -> External Material', but I get the error when I
> > > 'View -> Postscript':

I can not test for 1.4.2 but 1.4.3 (using the python scripts) fails,
because the output files are fig.pstex not fig.pstex_t . I just tried
'python fig2pstex.py fig.fig fig.pstex_t' and the the .pstex_t is
generated so there is a problem with lyx itself...


Have you tried to insert *only* the fig file and 'View -> Postscript'?
I get a compilation error.

Paul


Re: Error while converting xfig figure

2006-08-05 Thread Paul Smith

On 8/5/06, Bo Peng <[EMAIL PROTECTED]> wrote:

> Have you tried to insert *only* the fig file and 'View -> Postscript'?
> I get a compilation error.

The figure displays well in lyx, but export->ps shows 'can not
determine the size of figure blah blah...'


And you do not get the ps output, is not it? If so, then the bug seems
to be confirmed.

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Bo Peng <[EMAIL PROTECTED]> wrote:

> And you do not get the ps output, is not it? If so, then the bug seems
> to be confirmed.

Please submit a bug in lyx bugzilla so that it will be taken care of for 1.4.3.


Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Paul Smith <[EMAIL PROTECTED]> wrote:

> > And you do not get the ps output, is not it? If so, then the bug seems
> > to be confirmed.
>
> Please submit a bug in lyx bugzilla so that it will be taken care of for 
1.4.3.

Thanks, Bo. I am trying to do so, but unfortunately there is no way to
attach the problematic files into bugzilla. Any ideas?


Successful meanwhile:

http://bugzilla.lyx.org/show_bug.cgi?id=2737

Paul


Re: Error while converting xfig figure

2006-08-06 Thread Paul Smith

On 8/6/06, Enrico Forestieri <[EMAIL PROTECTED]> wrote:

> > > I have tried to include a figure.pstex_t into a LyX document with
> > > 'Insert -> File -> External Material', but I get the error when I
> > > 'View -> Postscript':
> >
> > Try including figure.fig directly.
>
> Just tried that, but getting the following error:

Please, add \usepackage{color} to the preamble.
I have no problem with your .fig file after that.


Yes, it works, as well as with the package xcolor. But should not it
be inserted by LyX automatically? If not, I will have to close the bug
that I opened this morning.

Paul


Pasting with the mouse middle button inside math mode

2006-08-15 Thread Paul Smith

Dear All

Selecting a piece of text and clicking on the middle button of the
mouse pastes the selected text, with *no* need of CTRL+c. A similar
procedure worked fine inside math mode, but not anymore on LyX 1.4.2
(on Fedora Core 5). Is it possible to have that so useful feature
back?

Thanks in advance,

Paul


Re: Pasting with the mouse middle button inside math mode

2006-08-15 Thread Paul Smith

On 8/15/06, Georg Baum <[EMAIL PROTECTED]> wrote:

> Selecting a piece of text and clicking on the middle button of the
> mouse pastes the selected text, with *no* need of CTRL+c. A similar
> procedure worked fine inside math mode, but not anymore on LyX 1.4.2
> (on Fedora Core 5). Is it possible to have that so useful feature
> back?

Indeed. Note that you must leave the selected text highlighted before
clicking the middle mouse button if this text is from LyX and no ther
window, i.e. you must not first click with the left button to position the
cursor, but if you followed this rule it used to work. Do you remember the
last version that worked?


Thanks Georg. I have followed the rule that you have just enunciated,
but it does not work. I remember it worked fine before version 1.4.

Paul


Re: Conversion wmf to ps or eps

2006-08-16 Thread Paul Smith

On 8/16/06, Rainer M Krug <[EMAIL PROTECTED]> wrote:

I want to convert a wmf to a ps or eps file but all wmf2eps gives me as
a result is an empty page.

I am using libwmf: version 0.2.8.

Is it OK to attach the WMF?

Any ideas or hints appreciated,


Try ImageMagick:

convert picture.wmf picture.eps

Paul


Re: Pasting with the mouse middle button inside math mode

2006-08-16 Thread Paul Smith

On 8/16/06, Paul A. Rubin <[EMAIL PROTECTED]> wrote:

>> Selecting a piece of text and clicking on the middle button of the
>> mouse pastes the selected text, with *no* need of CTRL+c. A similar
>> procedure worked fine inside math mode, but not anymore on LyX 1.4.2
>> (on Fedora Core 5). Is it possible to have that so useful feature
>> back?
>
> Indeed. Note that you must leave the selected text highlighted before
> clicking the middle mouse button if this text is from LyX and no ther
> window, i.e. you must not first click with the left button to position the
> cursor, but if you followed this rule it used to work. Do you remember the
> last version that worked?
>

Worked for me in 1.3.7, not in 1.4.1.


Should one open a bug at Bugzilla?

Paul


Re: Conversion wmf to ps or eps

2006-08-16 Thread Paul Smith

On 8/16/06, Rainer M Krug <[EMAIL PROTECTED]> wrote:

>> I want to convert a wmf to a ps or eps file but all wmf2eps gives me as
>> a result is an empty page.
>>
>> I am using libwmf: version 0.2.8.
>>
>> Is it OK to attach the WMF?
>>
>> Any ideas or hints appreciated,
>
> Try ImageMagick:
>
> convert picture.wmf picture.eps

Thanks for the tip. I tried it out and it seems that convert is
converting through a bitmap stage because the wmf (as far as I know a
vector format) looks more like a bitmap then a vector representation.
Am I right in saying that ps is also a vector format?


Yes, ps is a vectorial format. Try the following:

* print your wmf picture to a file with a postscript printer driver
(you will get a ps file);
* use ps2epsi.

Paul


Re: Conversion wmf to ps or eps

2006-08-16 Thread Paul Smith

On 8/16/06, Rainer M Krug <[EMAIL PROTECTED]> wrote:

> Yes, ps is a vectorial format. Try the following:
>
> * print your wmf picture to a file with a postscript printer driver
> (you will get a ps file);

If I open it with Gimp, I get an empty screen. Is there a program which
can open this wmf?

Interestingly, if I open the wmf with gwenview, it automatically
converts it to an eps - but B&W (which is not a problem in this case).


I can open wmf files with Skencil. Then, I save them as ps and,
afterwards, I use ps2epsi to get nice eps pictures.

Paul


Re: Pasting with the mouse middle button inside math mode

2006-08-16 Thread Paul Smith

On 8/16/06, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

>> Worked for me in 1.3.7, not in 1.4.1.

Paul> Should one open a bug at Bugzilla?

Yes. The situation is that an external selection (in another X app)
will be inserted, but a selection internal to LyX will not.


Done, Jean-Marc:

http://bugzilla.lyx.org/show_bug.cgi?id=2779

Paul


Re: Pasting with the mouse middle button inside math mode

2006-08-23 Thread Paul Smith

On 8/23/06, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

>> >> Worked for me in 1.3.7, not in 1.4.1.
>>
Paul> Should one open a bug at Bugzilla?
>>  Yes. The situation is that an external selection (in another X
>> app) will be inserted, but a selection internal to LyX will not.

Paul> Done, Jean-Marc:

Paul> http://bugzilla.lyx.org/show_bug.cgi?id=2779

Fixed, Paul :)


Thanks a lot, Jean-Marc.

Paul


Package inputenc Error

2006-08-25 Thread Paul Schwartz
LyX 1.4.1
I am probably making a mistake which I don't understand:

In a document I input the following:
part*
section*
tex\setcounter{footnote}{0}
T  X  T with some footnotes and index inputs
New page
section* with the following title N°1 b, (p.6).

Then when I try to display with PDF_(pdflatex), I got the following error 
window
--
upper part:
Package inputenc Error: keyboard character is undefined

lower part:
You need to provide a definition with \DeclareInputText or \DeclareInputMath 
before using this key

-

If I remove the section* after New page then there is no problem

Any Clue!

Thanks

Paul





Re: Package inputenc Error

2006-08-26 Thread Paul Schwartz
Just to add some information: the problem is coming because I selected the 
class of document: "Book AMS" and LaTex was not, apparently, able  to 
interprate the headings as text  : "N° 1 b, (p.6)."

"Book AMS" was selected because chapter and section format are centered and 
not on the left side like in Book.
I read most of the doc. but I did not find the way to modify the settings of 
chapter and others. Is it possible ?

Thanks in advance

Paul

"Paul Schwartz" <[EMAIL PROTECTED]> a écrit dans le 
message de news: [EMAIL PROTECTED]
> LyX 1.4.1
> I am probably making a mistake which I don't understand:
>
> In a document I input the following:
> part*
> section*
> tex\setcounter{footnote}{0}
> T  X  T with some footnotes and index inputs
> New page
> section* with the following title N°1 b, (p.6).
>
> Then when I try to display with PDF_(pdflatex), I got the following error 
> window
> --
> upper part:
> Package inputenc Error: keyboard character is undefined
>
> lower part:
> You need to provide a definition with \DeclareInputText or 
> \DeclareInputMath before using this key
>
> -
>
> If I remove the section* after New page then there is no problem
>
> Any Clue!
>
> Thanks
>
> Paul
>
>
>
> 





Re: Colors

2006-08-27 Thread Paul Smith

On 8/27/06, Pupeno <[EMAIL PROTECTED]> wrote:

Maybe they can be changed by some commands in the preamble ? (sorry, I don't
really know tex or latex).

On Saturday 26 August 2006 22:57, Pupeno wrote:
> I am heavily using colors in some LyX documents. Is it possible to make
> them darker ? some are really light, like yellow and cyan.


Pupeno,

You can use the package xcolor and define your own colors. You may
want to use agave

(http://home.gna.org/colorscheme/)

to determine the RGB codes of the colors. Pay attention to the
preamble of the attached example.

Paul


pupeno.lyx
Description: application/lyx


Re: Colors

2006-08-27 Thread Paul Smith

On 8/27/06, Pupeno <[EMAIL PROTECTED]> wrote:

> You can use the package xcolor and define your own colors. You may
> want to use agave
>
> (http://home.gna.org/colorscheme/)
>
> to determine the RGB codes of the colors. Pay attention to the
> preamble of the attached example.

Just for the record, getting the xcolor package was a matter of emerging
dev-tex/xcolor on my Gentoo and then in the preamble I wrote:

\usepackage{xcolor}
\definecolor{green}{RGB}{0, 180, 0}
\definecolor{cyan}{RGB}{0, 180, 180}
\definecolor{yellow}{RGB}{211,211,0}

which was very nice because I could still work using LyX's nice way to sent a
font color (no ERT) and get the colors I wanted (which were just a bit darker
than the originals).

Do you think that I should write this on some wiki for others to have it ?


Yes, I think it is worthy to mention that procedure in LyX Wiki. As a
side comment, notice that you could have installed the package xcolor
directly from CTAN.

Paul


Re: Continuous numbering of list items

2006-08-29 Thread Paul Smith

On 8/29/06, K. Elo <[EMAIL PROTECTED]> wrote:

is there any possibilities to prevent lyx from resetting the counter of
enumerated lists when several enumerated lists appear in different
sections? What I am looking for is the possibility to have a
continuously numerated list separated with section titles, i.e.:

a) Section a
1. List item #1
2. List item #2
3. List item #3
b) Section b
4. List item #4
5. List item #5
c) Section c
6. List item #6
7. List item #7
8. List item #8
...

Any ideas how to make this happen? I have tried to insert the following
commands:
\usepackage{remreset}
[EMAIL PROTECTED]

into the preamble, but this is not working.


Kimmo,

I have not tried it, but the section "Break and Continue a Enumerate List" at

http://www.people.ku.edu/~ashan/museWeb/LyxNotes.html

seems to be a solution for your problem.

Paul


noweb book child documents: don't get processed through the noweb handler

2006-08-29 Thread Paul Johnson

Hello, everybody.

If I have a book chapter in book-noweb document class, I can view it
and the R/Noweb linkage is fine--the code chunks run through R and the
documents are displayed.

If I take the same book chapter, and put it in as a child document
inside the whole book the Noweb processing is not done. he
over-arching document's setting is also book-noweb, and it is simply a
series of included lyx child documents.  The code chunks just show up
in the final document, along with the macro commands at the beginning
and end of each code chunk.

What do you think?

If you have R and are willing to set up your system according to the
instructions in the Lyx Wiki for using Rweave/Noweb, then I can give
you the files so you can see for yourself.

For system details, I have Fedora Core 5 with the newest LyX from the
Fedora Extras, 1.4.2

pj

--
Paul E. Johnson
Professor, Political Science
1541 Lilac Lane, Room 504
University of Kansas


Re: pdf: "file is damaged and could not be repaired"

2006-09-03 Thread Paul Smith

On 9/3/06, Eran Kaplinsky <[EMAIL PROTECTED]> wrote:

I, too, thought I was missing a bracket, but I checked and couldn't find
anything wrong. What's more, the same file used to compile without a
problem with 1.4.1 and Miktex 2.4! I'm wondering if there is any
incompatibility here?!


To get more details, Eran, export your file as LaTeX and try to
compile it with pdflatex. What are the errors?

Paul


Re: Package inputenc Error

2006-09-04 Thread Paul Schwartz
Thanks for taking some of your time. I "solved the problem" by masking it 
moving from "Book AMS" to "Book" class. But of course I had to change some 
points inside the document. also, due to the fact I am not yet enough 
familiar with LyX (even looking to the doc) I do not find always the "state 
of the art " solution.
Anyway, please find a sample document in "Book" class.

Best regards

Paul


"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> a écrit 
dans le message de news: [EMAIL PROTECTED]
>>>>> "Paul" == Paul Schwartz <[EMAIL PROTECTED]> 
>>>>> writes:

Paul> Just to add some information: the problem is coming because I
Paul> selected the class of document: "Book AMS" and LaTex was not,
Paul> apparently, able to interprate the headings as text : "N° 1 b,
Paul> (p.6)."

I guess the problem is with the character "°". Could ou send an
example file?

JMarc



begin 666 sample.lyx
M(TQY6" Q+C0N,2!C[EMAIL PROTECTED];W)G+PT*7&QY>&9O'1C;&%S2!T6QE
M(&1E9F%U;'0-"EQTF4@;F]R;6%L#0I.L" Q(&$L("AP+C4I
[EMAIL PROTECTED]&YE=VQI;F4-"E!23T-,04U!5$E/3B!$12!,02!-54Y)0TE004Q)5,D-
M"EQE;F1?;&%Y;W5T#0H-"EQB96=I;[EMAIL PROTECTED];F1AV9O;W1N;W1E?7LP
M?0T*7&5N9%]L87EO=70-"@T*7&5N9%]I;G-E= T*#0H-"EQE;F1?;&%Y;W5T
M#0H-"EQB96=I;[EMAIL PROTECTED];F1A[EMAIL PROTECTED]"=E;7!R=6YT(&QE"!#
M;VUP86=N:65S(&0G06EX('%U:2!Y('-O;[EMAIL PROTECTED]@1V%R;FES;VXL('9U('%U
M92!L82!#;[EMAIL PROTECTED](&3I<&]U'M4879E6]U="!3=&%N9&%R9 T*02!L)TES;&4L(&1A;G,@;&[EMAIL PROTECTED];75N
[EMAIL PROTECTED]@8VEN<2!J=6EN(#$W.3,L(&%N(#(@9&4@;&$@<[EMAIL PROTECTED](&9R86XN
M#0I<96YD7VQA>6]U= T*#0I<8F5G:6Y?;&%Y;W5T(%-T86YD87)D#0H-"EQE
M;7!H(&]N#0I3:6=NZ7,-"EQE;7!H(&1E9F%U;'0-"[EMAIL PROTECTED]"X-"B!4:7)A;@T*
M7&)E9VEN7VEN$-O;6UA;[EMAIL PROTECTED]&EN
M9&5X>U)O=6%N;F5T?0T*#0I<96YD7VENF5T#0I<8F5G
M:6Y?:[EMAIL PROTECTED]&%T97A#;VUM86YD(%QI;F1E>'M#[EMAIL PROTECTED]&YO=&5S:7IE#0I0:>AC92!D92!N;W,@8V]L
M;&5C=&EO;G,-"EQE;F1?;&%Y;W5T#0H-"EQE;F1?:6YS970-"@[EMAIL PROTECTED]&YE
M=W!A9V4-"@T*7&5N9%]L87EO=70-"@T*7&)E9VEN7VQA>6]U="!396-T:6]N
[EMAIL PROTECTED]<V9O;W1N;W1E?7LP?0T*7&5N9%]L87EO=70-"@T*
M7&5N9%]I;G-E= T*#0H-"EQE;F1?;&%Y;W5T#0H-"EQB96=I;E]L87EO=70@
M4W1A;F1AF]N('+I=6YI
M<[EMAIL PROTECTED](&1E(&QA(&3I;&EBZ7)A=&EO;B!D=2!C;VYS96EL(&UU
M;FEC:7!A;"!D92!L82!V:6QL92!D92!L)TES;&4L(&1U(#(S(&;I=G)I97(-
M"B!P6]U= T*#0I<96YD7VEN'M2961O;GT-"@T*7&5N9%]I;G-E= T*#0HL(&]F9FEC:65R
M(&UU;FEC:7!A;"[EMAIL PROTECTED](&UO;G3I(&5N(&-H86ER92!E="!A('!R;VYO;F/I
M('5N(&1I6]U= T*#0I<8F5G:6Y?;&%Y;W5T(%-T
M86YD87)D#0I#96QA(&9A:70L('1O=6IO=7)S(&5N(&-O;F9O<[EMAIL PROTECTED]&4@
M;&[EMAIL PROTECTED]2!S;VYT(&5N(&=A6]U="!3=&%N9&%R9 T*16YF:[EMAIL PROTECTED]@;&5S(&3I<'5T
MZ7,@9&5S(&-O;6UU;F5S(&]N="[EMAIL PROTECTED]'5I=',@[EMAIL PROTECTED]"!D
M97,@4E([EMAIL PROTECTED] [EMAIL PROTECTED]&5L:65R"!DZ7!U=.ES(&1E(&-H87%U92!C;VUP86=N:[EMAIL PROTECTED]&4@;&[EMAIL 
PROTECTED]&4@
M;F%T:6]N86QE#0H@;VYT(&%S<[EMAIL PROTECTED]&[EMAIL PROTECTED](.ETZ2!D97,@
M<&QU[EMAIL PROTECTED]"!L)[EMAIL 
PROTECTED]'4@<&QU2!A('!O[EMAIL PROTECTED]&YO=&5S:7IE#0I<96UP
M:"!O;@T*06-T97,@9&5S($-O;G-E:6QS#0I<96UP:"!D969A=6QT#0H@,3

Pasting with the middle button of the mouse: another bug?

2006-09-05 Thread Paul Smith

Dear All

Copying a citation with selecting and pasting it with the middle
button of the mouse works, but it undesirably opens the citation
window at the end of the process. I am working on Linux and I would
like to ask other people for confirming this as a bug.

Thanks in advance,

Paul


Problem with including a gnuplot picture

2006-09-09 Thread Paul Smith

Dear All

As ERT, I have the following line in a LyX document:

\include{mypicture}

in order to include an epslatex picture drawn with Gnuplot. When
compiling the LyX document with pdflatex, I get the error message that
follows:

loading : Context Support Macros / PDF (2004.03.26)
) (./grafico.tex

! LaTeX Error: File `/home/psmith/Desktop/mypicture' not found.

There is no problem with 'View -> DVI'.

Any ideas?

Thanks in advance,

Paul


Re: Problem with including a gnuplot picture

2006-09-09 Thread Paul Smith

On 9/9/06, Georg Baum <[EMAIL PROTECTED]> wrote:

> As ERT, I have the following line in a LyX document:
>
> \include{mypicture}
>
> in order to include an epslatex picture drawn with Gnuplot. When
> compiling the LyX document with pdflatex, I get the error message that
> follows:
>
> loading : Context Support Macros / PDF (2004.03.26)
> ) (./grafico.tex
>
> ! LaTeX Error: File `/home/psmith/Desktop/mypicture' not found.
>
> There is no problem with 'View -> DVI'.
>
> Any ideas?

Probably mypicture.eps exists, but mypicture.pdf is missing. If you include
mypicture.eps with the graphics inset LyX will create the pdf version for
you. Or write an external template for gnuplot. I am actually surprised
that nobody did that yet.


Yes, Georg, you are right: mypicture.pdf was missing. If I previously
create the pdf file with

epstopdf mypicture.eps

then the problem is removed. Should I report that in bugzilla?

Paul


Re: Problem with including a gnuplot picture

2006-09-09 Thread Paul Smith

On 9/9/06, Georg Baum <[EMAIL PROTECTED]> wrote:

> Yes, Georg, you are right: mypicture.pdf was missing. If I previously
> create the pdf file with
>
> epstopdf mypicture.eps
>
> then the problem is removed. Should I report that in bugzilla?

No. For anything you do in ERT you are responsible yourself. LyX can't know
that it should create a file, since it knows nothing about the contents of
ERT boxes. As I wrote: Use the graphics inset if you want automatic image
conversion.


I understand your point, Georg, however I do not see any way to insert
epslatex pictures generated by Gnuplot but using ERT. If ERT is the
only way left, then it seems that LyX should add a simpler and
automatic way, likewise it already does with xfig figures.

Paul


Re: Problem with including a gnuplot picture

2006-09-10 Thread Paul Smith

On 9/10/06, Georg Baum <[EMAIL PROTECTED]> wrote:

> I understand your point, Georg, however I do not see any way to insert
> epslatex pictures generated by Gnuplot but using ERT. If ERT is the
> only way left, then it seems that LyX should add a simpler and
> automatic way, likewise it already does with xfig figures.

I don't understand. Inserting gnuplot figures with the graphics inset works
perfectly for me, and it is equivalent to what you did with ERT +
automatic conversion.
Of course you need to include the generated .eps file, not the original
gnuplot file, so it is not as comfortable as with xfig, but still better
than ERT.


The problem is that the format epslatex separates the picture into two
files: one with the LaTeX commands and the other one being an eps file
with the picture itself. Thus, by inserting only the eps file, one
misses the LaTeX content. The command

\include{mypicture}

given as ERT is recognized as, in truth, including two files:
mypicture.tex and mypicture.eps. Therefore, the graphics inset (of
LyX) seems to be useless here. Just try it to see exactly what I mean.

Paul


Re: Problem with including a gnuplot picture

2006-09-10 Thread Paul Smith

On 9/10/06, Paul Smith <[EMAIL PROTECTED]> wrote:

> > I understand your point, Georg, however I do not see any way to insert
> > epslatex pictures generated by Gnuplot but using ERT. If ERT is the
> > only way left, then it seems that LyX should add a simpler and
> > automatic way, likewise it already does with xfig figures.
>
> I don't understand. Inserting gnuplot figures with the graphics inset works
> perfectly for me, and it is equivalent to what you did with ERT +
> automatic conversion.
> Of course you need to include the generated .eps file, not the original
> gnuplot file, so it is not as comfortable as with xfig, but still better
> than ERT.

The problem is that the format epslatex separates the picture into two
files: one with the LaTeX commands and the other one being an eps file
with the picture itself. Thus, by inserting only the eps file, one
misses the LaTeX content. The command

\include{mypicture}

given as ERT is recognized as, in truth, including two files:
mypicture.tex and mypicture.eps. Therefore, the graphics inset (of
LyX) seems to be useless here. Just try it to see exactly what I mean.


I am sending the two files (eps+tex) to make it easier for you to try.

Paul


mypicture.rar
Description: application/rar


Re: Problem with including a gnuplot picture

2006-09-10 Thread Paul Smith

On 9/10/06, Georg Baum <[EMAIL PROTECTED]> wrote:

> On 9/10/06, Georg Baum <[EMAIL PROTECTED]> wrote:
> The problem is that the format epslatex separates the picture into two
> files: one with the LaTeX commands and the other one being an eps file
> with the picture itself. Thus, by inserting only the eps file, one
> misses the LaTeX content. The command
>
> \include{mypicture}
>
> given as ERT is recognized as, in truth, including two files:
> mypicture.tex and mypicture.eps. Therefore, the graphics inset (of
> LyX) seems to be useless here. Just try it to see exactly what I mean.

Sorry, I remembered you had \includegraphics in your ERT. Then indeed you
need an external inset for gnuplot. Unfortunately such an inset cannot be
part of the official LyX sources, since gnuplot has a shell command that
lets you enter arbitrary commands in a gnuplot script. If LyX had an
official gnuplot template then somebody could send you a file with a
malicious gnuplot script that would delete all your files - welcome to the
world of LyX macro viruses.


If I am correct, there is a way to escape to that security threat: do
not call Gnuplot inside LyX, and allow LyX to insert the two files
(eps+tex) without ERT (and with previewing the picture in LyX). It is
not a solution as great as the one implemented for Xfig pictures, but,
even so, it is much better than ERT.

Paul


footnote inside table

2006-09-10 Thread Paul Schwartz
class of document : book - LyX 1.4.1 - windows XP installation  with widows 
installer.
basic language : French.
when I am inserting a footnote inside a table, it is properly displayed in 
the lyx document.
However, in pdf via (pdflatex) the reference of the footnote is displayed 
inside the table, but the corresponding footnote is not. Any clue
Thanks
Paul





Re: footnote inside table

2006-09-10 Thread Paul Schwartz
<[EMAIL PROTECTED]> a écrit dans le message 
de news: [EMAIL PROTECTED]
> Paul Schwartz wrote:
>
>> class of document : book - LyX 1.4.1 - windows XP installation  with
>> widows installer.
>> basic language : French.
>> when I am inserting a footnote inside a table, it is properly displayed 
>> in
>> the lyx document.
>> However, in pdf via (pdflatex) the reference of the footnote is displayed
>> inside the table, but the corresponding footnote is not. Any clue
>> Thanks
>> Paul
>
> http://marc.theaimsgroup.com/?l=lyx-users&m=114987731201702&w=2
>
>
thanks. ok with my case (documents with specific notes for each of them) i 
will put it like a note inserting it manually just below the table.
Paul 





Re: External Xfig inset conversion fails

2006-09-13 Thread Paul Smith

On 9/13/06, Jean-Pierre Chretien <[EMAIL PROTECTED]> wrote:

External insets conversions works well for me and not for colleagues
(LyX complained about the pstex_t file not found in the document dir).

It seems that this comes from the fact that I launch LyX from a command shell
while others launch from the file manager (I created an association between the 
file
type and the application on the Solaris application server).
I can reproduce it by launching from a mail attachment.

Is this an explanation, and is this behaviour known ? I see nothing in bugzilla.
LyX-1.4.2-qt/Solaris


I do not use Solaris, but something similar to what you describe
occurs if I try to insert the *.pstex and not the *.fig file itself.
Are you sure that your colleagues are not doing that?

Paul


Re: Inkscape SVG and LyX

2006-09-14 Thread Paul Smith

On 9/14/06, Helge Hafting <[EMAIL PROTECTED]> wrote:

> Would it be appropriate to add it to the list of external insets, if more 
sophisticated
> export scripting is requitred ?
> ipe files could be added this way too I guess.
>
An external inset may or may not be necessary.
Graphichs conversions may be all you need you can convert to:
.eps for processing with latex
.png for displaying in lyx
.pdf for processing with pdflatex

A sophisticated export script is not a problem, these converters
can be as complicated as you like.

The external inset is nice in that it allows:
* Specifying an editor for the format, you can click on
   an xfig inset to edit it. This may be useful for svg stuff.
* More complicated ways of including the output, i.e.
   .fig is converted to a .eps and a .pstex_t, which are
   included using more complicated latex commands.


There is something that may be relevant: it is possible to convert
from SVG to Xfig format with pstoedit. With this approach, we can then
edit the Xfig picture and edit the text with the special flag on,
getting at last the text of the picture written with the default LaTeX
font of the document.

Paul


Re: Inkscape SVG and LyX

2006-09-14 Thread Paul Smith

On 9/14/06, Bernhard Roider <[EMAIL PROTECTED]> wrote:

>> > Would it be appropriate to add it to the list of external insets,
>> if more sophisticated
>> > export scripting is requitred ?
>> > ipe files could be added this way too I guess.
>> >
>> An external inset may or may not be necessary.
>> Graphichs conversions may be all you need you can convert to:
>> .eps for processing with latex
>> .png for displaying in lyx
>> .pdf for processing with pdflatex
>>
>> A sophisticated export script is not a problem, these converters
>> can be as complicated as you like.
>>
>> The external inset is nice in that it allows:
>> * Specifying an editor for the format, you can click on
>>an xfig inset to edit it. This may be useful for svg stuff.
>> * More complicated ways of including the output, i.e.
>>.fig is converted to a .eps and a .pstex_t, which are
>>included using more complicated latex commands.
>
> There is something that may be relevant: it is possible to convert
> from SVG to Xfig format with pstoedit. With this approach, we can then
> edit the Xfig picture and edit the text with the special flag on,
> getting at last the text of the picture written with the default LaTeX
> font of the document.
>
I've tried to draw with xfig two or three times, and in my oppinion the
user interface is realy awful! inkscape has a really feature rich
interface and  i can draw images there very quickly. inkscape runs on
windows and unix systems - what about xfig? moreover, i do not like to
add plain LaTeX to my images (which is done with those special flags if
i got that right). why not support psfrag in lyx? as i wrote in the tips
wiki, i use it now with ERTs. The big advantage would be, that i can
write everything i want to typeset with LaTeX into the picture can be
written with LyX.


I share your opinion regarding Xfig. However, I think that the best
way to insert SVG pictures in LyX is through Xfig together with
pstoedit. You will not really need to edit your Xfig picture with
Xfig, as a simple text editor is able to change (almost at once) all
needed special flags. Doing so, there is no need for using psfrag.
However, if you feel comfortable with your way, just use it, as I am
not campaigning for using my solution!

Paul

PS: Jfig (http://tams-www.informatik.uni-hamburg.de/applets/jfig/), a
clone of Xfig, works on MS Windows.


Re: Inkscape SVG and LyX

2006-09-14 Thread Paul Smith

On 9/14/06, Bernhard Roider <[EMAIL PROTECTED]> wrote:

>> > There is something that may be relevant: it is possible to convert
>> > from SVG to Xfig format with pstoedit. With this approach, we can then
>> > edit the Xfig picture and edit the text with the special flag on,
>> > getting at last the text of the picture written with the default LaTeX
>> > font of the document.
>> >
>> I've tried to draw with xfig two or three times, and in my oppinion the
>> user interface is realy awful! inkscape has a really feature rich
>> interface and  i can draw images there very quickly. inkscape runs on
>> windows and unix systems - what about xfig? moreover, i do not like to
>> add plain LaTeX to my images (which is done with those special flags if
>> i got that right). why not support psfrag in lyx? as i wrote in the tips
>> wiki, i use it now with ERTs. The big advantage would be, that i can
>> write everything i want to typeset with LaTeX into the picture can be
>> written with LyX.
>
> I share your opinion regarding Xfig. However, I think that the best
> way to insert SVG pictures in LyX is through Xfig together with
> pstoedit. You will not really need to edit your Xfig picture with
> Xfig, as a simple text editor is able to change (almost at once) all
> needed special flags. Doing so, there is no need for using psfrag.
> However, if you feel comfortable with your way, just use it, as I am
> not campaigning for using my solution!
as i never tried your way i cannot really decide whats better. is it
possible to typeset e.g. formulas within LyX and place them in the
images that way?


No, but you can open your Xfig file with a text editor, and then you
just replace, e.g., 'x' with '$x^2$' to get a math mode squared x.
Alternatively, you can insert '$x^2$' directly in Inkscape, when you
are drawing your picture. That is simple, I think.

Paul


Re: Inkscape SVG and LyX

2006-09-14 Thread Paul Smith

On 9/14/06, Bernhard Roider <[EMAIL PROTECTED]> wrote:

>> >> > There is something that may be relevant: it is possible to convert
>> >> > from SVG to Xfig format with pstoedit. With this approach, we
>> can then
>> >> > edit the Xfig picture and edit the text with the special flag on,
>> >> > getting at last the text of the picture written with the default
>> LaTeX
>> >> > font of the document.
>> >> >
>> >> I've tried to draw with xfig two or three times, and in my
>> oppinion the
>> >> user interface is realy awful! inkscape has a really feature rich
>> >> interface and  i can draw images there very quickly. inkscape runs on
>> >> windows and unix systems - what about xfig? moreover, i do not
>> like to
>> >> add plain LaTeX to my images (which is done with those special
>> flags if
>> >> i got that right). why not support psfrag in lyx? as i wrote in
>> the tips
>> >> wiki, i use it now with ERTs. The big advantage would be, that i can
>> >> write everything i want to typeset with LaTeX into the picture can be
>> >> written with LyX.
>> >
>> > I share your opinion regarding Xfig. However, I think that the best
>> > way to insert SVG pictures in LyX is through Xfig together with
>> > pstoedit. You will not really need to edit your Xfig picture with
>> > Xfig, as a simple text editor is able to change (almost at once) all
>> > needed special flags. Doing so, there is no need for using psfrag.
>> > However, if you feel comfortable with your way, just use it, as I am
>> > not campaigning for using my solution!
>> as i never tried your way i cannot really decide whats better. is it
>> possible to typeset e.g. formulas within LyX and place them in the
>> images that way?
>
> No, but you can open your Xfig file with a text editor, and then you
> just replace, e.g., 'x' with '$x^2$' to get a math mode squared x.
> Alternatively, you can insert '$x^2$' directly in Inkscape, when you
> are drawing your picture. That is simple, I think.
>
Yes, but i don't want to typeset such (often much more complex) formulas
by myself if i have such a great tool like lyx that supports me.


If you have such a great tool, just use it :-)

To be precise, when you copy a formula from LyX to a text editor, the
latex code of the formula is pasted. And from a text editor, you can
copy the code of your formula into Inkscape.

Paul


Re: Inkscape SVG and LyX

2006-09-14 Thread Paul Smith

On 9/14/06, Bernhard Roider <[EMAIL PROTECTED]> wrote:

Ah, i didn't know that copy/paste stuff works with lyx. it didn't in
1.3.x, did it? it's an option, but still i would prefer having all of
the latex typesetting in a single file (or file type if i split a large
document into several smaller parts). Managing formulas in images to
match the ones in the main document is always more work i think.
Another question: pstoedit converts .eps files to editable formats such
as .fig, am i right? wouldn't there be a direct way to convert .svg to
.fig? then we could circumvent inkscapes (not so good) .svg to .eps
conversion. (even if i look forward that it will grow better)
another idea: inkscape is in heavy development - maybe those special
flags (i still don't know what these exactly are) can be included there
without having to use intermediate file formats.


pstoedit does need an postscript file. What is wrong with Inscape
conversion to EPS? I see people loosely complain about it, but I have
not had any problem until now.

Paul


Re: Inkscape SVG and LyX

2006-09-15 Thread Paul Smith

On 9/15/06, Martin A. Hansen <[EMAIL PROTECTED]> wrote:

there is a previous thread on this.

but basically, rescaling svg, using clippath and other features results in
fubar EPS. inscape developers are awere of this and they want to hire a
programmer to make a new svg2ps library.


Oh, thanks, Martin. I was not aware of that.

Paul


Re: Inkscape SVG and LyX

2006-09-15 Thread Paul Smith

On 9/15/06, Bernhard Roider <[EMAIL PROTECTED]> wrote:

as i mentioned earlier i use psfrag for that purpose. that way i write
the formulas in lyx and latex replaces them in the image (the only
drawback is that u must use dvips, but i always do that). the thing that
i miss here is some support from lyx such that i don't always have to
insert ERTs (psfrags calling syntax is no really standard latex. and
even if it was i think u can only write layouts with paragraph styles
that are translated to latex commands but not something like an inlined
latex command - which would be nice in my opinion).
by the way: does lyx support writing latex code in another window but
the main window? would it be difficult to make a dialog window with an
input field in which the user can write formulas?


It is not essential to use dvips with psfrag: use package pst-pdf and
then the script ps4pdf (which uses pdflatex). You can configure LyX to
have "View -> PS4PDF" to call ps4pdf from inside LyX.

Paul


Re: Inkscape SVG and LyX

2006-09-15 Thread Paul Smith

Since EPS pictures can be inserted into LyX through Xfig and pstoedit,
I think LyX could progress by adding the possibility of having,
automatically, all text in the picture marked with the special flag. I
am not a programmer, but I suspect it would be very easy to create a
script to do that, as Xfig format is a text file. Details about Xfig
format can be found at:

http://www.xfig.org/userman/fig-format.html

Such an option would save the effort undertaken by the common user
with hacking the Xfig file, as pstoedit does not generate Xfig files
with the special flag on.

Paul


uninstalling 1.4.1

2006-09-19 Thread Paul Schwartz
I'd like to move to 1.4.2 but the uninstalling soft is not available inside 
1.4.1.
May I copy the one inside 1.3.7 into 1.4.1 and use it for uninstalling it or 
may I find the uninstalling prog somewhere ?
OR shall I uninstall successively all related soft's
Thanks

Paul 





Re: [ANNOUNCE] LyX 1.4.3 is relelased

2006-09-21 Thread Paul Schwartz

"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> a écrit 
dans le message de news: [EMAIL PROTECTED]
>
> Public release of LyX version 1.4.3
> ===
>

Sorry, but as a neophyte i am not sure to understand what do you exactly 
mean  with the "patch".
Shall I understand that I can upgrade from a
- complete installation having used the windows installer from 1.4.1 to 
1.4.2 using the corresponding patch and then from 1.4.2 to 1.4.3 using the 
patch "below" and being totally up to date for all soft's included in the 
"complete version installer" ?

or is it better to uninstall and reinstall ?

Thanks for your kind answer

best regards

Paul 





Beamer / Lyx/ Handouts

2006-09-22 Thread Paul Fenner
Can somebody please point me in the right direction to create handouts from my
beamer presentation. I have tried to follow the Beamer Class Tutorial but I am
getting hopelessly lost. I am using Windows XP / LyX 1.4.
Thank you.
Paul



Re: [ANNOUNCE] LyX 1.4.3 is relelased

2006-09-22 Thread Paul Schwartz

"Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> a écrit 
dans le message de news: [EMAIL PROTECTED]
>>>>> "Paul" == Paul Schwartz <[EMAIL PROTECTED]> 
>>>>> writes:

Paul> "Jean-Marc Lasgouttes" <[EMAIL PROTECTED]> a 
écrit dans le
Paul> message de news: 
[EMAIL PROTECTED]
>>  Public release of LyX version 1.4.3
>> ===
>>

Paul> Sorry, but as a neophyte i am not sure to understand what do you
Paul> exactly mean with the "patch". Shall I understand that I can
Paul> upgrade from a - complete installation having used the windows
Paul> installer from 1.4.1 to 1.4.2 using the corresponding patch and
Paul> then from 1.4.2 to 1.4.3 using the patch "below" and being
Paul> totally up to date for all soft's included in the "complete
Paul> version installer" ?

The patch is only for people who compile from source. Windows users
should (when the windows installer is available) install 1.4.3 over
1.4.2.

JMarc

Sorry to disturb again and coming back so far but when I installed 1.3.7, I 
used the "uninstaller" program supplied with the former version to uninstall 
it.
Now if I want to uninstall 1.3.7, I still have a uninstall program inside 
1.3.7.
However in 1.4.1, I just have an icon and nothing else and I am sure that it 
is far better to uninstall 1.4.1 ahead of installing 1.4.2 or 1.4.3.
My question is how to unistall it properly (the one supplied with the 
complete version installer for windows without compiling). May I use the 
unistaller supplied with 1.3.7 or have you an better suggestion.

Thanks

Paul





Re: [ANNOUNCE] LyX 1.4.3 is relelased

2006-09-22 Thread Paul Schwartz

"Paul A. Rubin" <[EMAIL PROTECTED]> a écrit dans le message 
de news: [EMAIL PROTECTED]
> Paul Schwartz wrote:
>
>>
>> Sorry to disturb again and coming back so far but when I installed 1.3.7, 
>> I used the "uninstaller" program supplied with the former version to 
>> uninstall it.
>> Now if I want to uninstall 1.3.7, I still have a uninstall program inside 
>> 1.3.7.
>> However in 1.4.1, I just have an icon and nothing else and I am sure that 
>> it is far better to uninstall 1.4.1 ahead of installing 1.4.2 or 1.4.3.
>
> Personally, I have 1.4.1, 1.4.2 and 1.4.3 installed in parallel, with no 
> major problems.  (They all share configuration info, so preference changes 
> in one apply to all, but to date I have not found any conflicts there.)
>
> Interestingly, I have uninstallers for 1.4.1 and 1.4.3, but not for 1.4.2.
>
>> My question is how to unistall it properly (the one supplied with the 
>> complete version installer for windows without compiling). May I use the 
>> unistaller supplied with 1.3.7 or have you an better suggestion.
>
> The 1.3.7 uninstaller is unlikely to know what to do to uninstall 1.4.1.
>
> Have you checked Control Panel->Add/Remove Programs to make sure that 
> 1.4.1 is not listed there?  If it is, you should be able to uninstall it 
> from there.
>
> I just crawled my registry and didn't find anything particularly funky 
> associated with the directory in which I have 1.4.1 installed.  So if I 
> wanted to delete 1.4.1 and lacked the installer, here's what I would do: 
> install 1.4.3 first (in a different directory) and make sure it works (!); 
> note down the path to 1.4.1 and then delete its root directory and all 
> subdirectories; then either (a) quit while I'm ahead and live with a 
> little harmless clutter in the registry or (b) run a registry cleaner 
> program that hopefully would delete any keys referring to the now 
> nonexistent 1.4.1 directory or (c) run regedit, search for all references 
> to the deleted directory and manually delete them.
>
> HTH,
> Paul
>
>
Thanks for the detailed comments.
Regarding  Add/Remove Programs, you are right, it can be done from there, 
however when there is an uninstaller in a program, I do prefer to use it.
To go a bit further (pse don't sigh):
In fact there is so many "aside" programs with LyX that I am always afraid 
to miss one and for that reason, till today, each time I have fully update 
(reinstalling everything).
But, if I follow you properly, when you have got one installation, let us 
say 1.4.1, you just need to install 1.4.3 and keep former Miktex, 
ImageMagick, Ghostscript, Aspell ( I am not sure ) and GSView or to update 
them directly.
As such I should have just to download LyX 1.4.3. Am I correct ?

Thanks
Paul 





Re: [ANNOUNCE] LyX 1.4.3 is relelased

2006-09-23 Thread Paul Schwartz
Thanks Paul, you have been very patient with me; sorry for MikTeX, it was 
not really my feeling to call it an ancillary. I appreciate your tolerance 
for those beotians who are just using without knowing the details  ... and 
being quite happy with that.

Thanks again

Paul


"Paul A. Rubin" <[EMAIL PROTECTED]> a écrit dans le message 
de news: [EMAIL PROTECTED]
> Paul Schwartz wrote:
>
>> In fact there is so many "aside" programs with LyX that I am always 
>> afraid to miss one and for that reason, till today, each time I have 
>> fully update (reinstalling everything).
>> But, if I follow you properly, when you have got one installation, let us 
>> say 1.4.1, you just need to install 1.4.3 and keep former Miktex, 
>> ImageMagick, Ghostscript, Aspell ( I am not sure ) and GSView or to 
>> update them directly.
>> As such I should have just to download LyX 1.4.3. Am I correct ?
>>
>
> Yes, that is correct.  Once you have all the ancillary programs installed 
> (although calling MikTeX "ancillary" is a bit of the tail wagging the 
> dog), you need only upgrade LyX itself (using the more compact of the 
> installers).  Similarly, ImageMagick, Ghostscript/GSView and MikTeX can be 
> upgraded independently.  (I would be a bit hesitant to upgrade Aspell, as 
> the connections from LyX to Aspell are hard-wired.) In point of fact, I 
> don't know that I've ever upgraded ImageMagick, I upgrade Ghostscript at 
> best sporadically, but I do try to keep MikTeX up to date, and that seems 
> to work well for me.
>
> /Paul
>
> 





1.4.3 user interface file

2006-09-28 Thread Paul Schwartz
Sorry to feel that the "user interface file" with "windefault" was far more 
user friendly than the current one (default). I tried the other one's with 
no upgrade.

I tried to use "wintoolbars.ui" without success getting an error requiring 
to "check the configuration".
Is there a way to use "windefault.ui" from LyX 1.4.1 into 1.4.3 there is 
some controls like Bf, dvi, pdf->latex which are quite agreable and 
efficient.
Also the buttons spread over two lines are quickly accessible in regards of 
one line in 1.4.3.

Thanks

Paul 





Re: Greek Text in Xfig -- SOLVED

2006-10-01 Thread Paul Smith

On 9/30/06, Rich Shepard <[EMAIL PROTECTED]> wrote:

>  How do I enter, for example \mu, in Xfig so it displays as the letter and
> not the LaTeX command?

   D'oh! I change the typeface to Symbols(Greek).


You have perhaps a better solution, Rich:

1. insert '$\mu$' in your figure;
2. select 'Special flag' and 'Use LaTeX fonts' for  '$\mu$';
3. insert your Xfig picture in your LyX document with Insert -> File
-> External material (Xfig's Template).

There is no need to convert your xfig picture to an eps one, as LyX
knows quite well how to operate the needed conversions by itself
regarding xfig files.

Paul


Re: Greek Text in Xfig -- SOLVED

2006-10-01 Thread Paul Smith

On 10/1/06, Rich Shepard <[EMAIL PROTECTED]> wrote:

> You have perhaps a better solution, Rich:
>
> 1. insert '$\mu$' in your figure;
> 2. select 'Special flag' and 'Use LaTeX fonts' for  '$\mu$';
> 3. insert your Xfig picture in your LyX document with Insert -> File
> -> External material (Xfig's Template).
>
> There is no need to convert your xfig picture to an eps one, as LyX knows
> quite well how to operate the needed conversions by itself regarding xfig
> files.

   But, does it matter if we directly import a .fig or we export the image to
.eps and insert that format?


Yes, Rich, it matters if you have text or formulas in your figure. The
enunciated procedure allows you to have the text in your figure
written (in the ps/pdf output) with the same font used by your
document. In particular, it is quite handy when you have formulas in
your figure, as they will render as nice LaTeX wirtten formulas (in
your ps/pdf output), and no need to use psfrag. (Take the attached
xfig file and insert it directly; you will see a nice integral drawn
inside a rectangle.)

Paul


Re: Greek Text in Xfig -- SOLVED

2006-10-01 Thread Paul Smith

On 10/1/06, Paul Smith <[EMAIL PROTECTED]> wrote:

> > You have perhaps a better solution, Rich:
> >
> > 1. insert '$\mu$' in your figure;
> > 2. select 'Special flag' and 'Use LaTeX fonts' for  '$\mu$';
> > 3. insert your Xfig picture in your LyX document with Insert -> File
> > -> External material (Xfig's Template).
> >
> > There is no need to convert your xfig picture to an eps one, as LyX knows
> > quite well how to operate the needed conversions by itself regarding xfig
> > files.
>
>But, does it matter if we directly import a .fig or we export the image to
> .eps and insert that format?

Yes, Rich, it matters if you have text or formulas in your figure. The
enunciated procedure allows you to have the text in your figure
written (in the ps/pdf output) with the same font used by your
document. In particular, it is quite handy when you have formulas in
your figure, as they will render as nice LaTeX wirtten formulas (in
your ps/pdf output), and no need to use psfrag. (Take the attached
xfig file and insert it directly; you will see a nice integral drawn
inside a rectangle.)


Forgot the file in my previous post. Sorry about that!

Paul


rich.fig
Description: image/xfig


Re: 1.4.3 user interface file

2006-10-01 Thread Paul Schwartz

"Juergen Spitzmueller"  a écrit dans le message de news:
Paul Schwartz wrote:
> I tried to use "wintoolbars.ui" without success getting an error requiring
> to "check the configuration".

I don't know that file, but I suspect it is a replacement for 
stdtoolbars.ui.
If so, you should copy the file default.ui and wintoolbars.ui to your
personal LyX directory (if something like that exists on Windows), and 
change
in default .ui the line:
Include "stdtoolbars.ui"

by

Include "wintoolbars.ui"

Jürgen

Thanks, after several trials I copied all ui files from 1.4.1 into personal 
LyX directory (for windows xp pro : documents and settings\application 
data\LyX1.4.x\ui and now it works properly for both 1.4.1 (which is still 
installed) and 1.4.3 ... they are interferring between each other.

I didn't verify which files are necessary. With the doc I have, I am sure I 
cannot elaborate one of my own.

Thanks again

Paul 





Re: EPS Shrinks Numerals

2006-10-05 Thread Paul Smith

On 10/5/06, Bruce Pourciau <[EMAIL PROTECTED]> wrote:

>> Using Mathematica I created a figure that contains axes labeled
>> with numerals. When this figure was saved as an eps file, included
>> a lyx file, and then printed (after View > pdflatex), the numerals
>> in the output appear to be about twice the size of the originals
>> in the Mathematica file.
>>
>> Does anyone know what's going on here and whether this behavior
>> can be stopped or controlled? I would have tried saving the figure
>> as a pdf file, rather than an eps file, to see if that helped, but
>> Mathematica does not offer that option.
>
> You might try View -> ps2pdf instead of pdflatex.

Thanks for the suggestion, Stephen. It didn't seem to make a
difference, though.


Bruce,

You may want to try a conversion from eps to pdf of your figure and
then insert it into your LyX document. Thus, you can still use
pdflatex.

Paul


Re: Enumerate with Figure

2006-10-06 Thread Paul Smith

On 10/6/06, José Matos <[EMAIL PROTECTED]> wrote:

> Sounds like what I need, but when I tried to open your file I saw
> this message: "This file is from an earlier version of LyX, but the
> lyx2lyx script failed to convert it."

  The file was generated with a newer version and the lyx2lyx version that
comes with 1.4.3 is not able to convert it back.


Is not 1.4.3 the last version? If so, it does not work here with 1.4.3.

Paul


Re: Page Breaks in Lyx

2006-10-10 Thread Paul Smith

On 10/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

can anyone tell me a very basic thing, i suppose.
How can i do in order to display that blue line with the words Page Break in my
document.


If I understand your question correctly, you would like to know how to
insert a page break. If I am right, then the answer is:

Insert -> Special formatting -> Page break.

Paul


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-10 Thread Paul Smith

On 10/10/06, Rex Dieter <[EMAIL PROTECTED]> wrote:

> I managed to create a RPM package of lyx 1.4.3 for Mandriva Linux LE 2006.
>  I followed the guidelines originally posted by Paul Smith and Christian
> Ridderström in:
>
> http://wiki.lyx.org/LyX/LyXOnRedHat

Now that lyx is in Fedora Extras (and has been for some time), is there
really much point in keeping that wiki page around?


I am not the creator of that page, although it is based on a post by
me. I think the page should be retained, but with another title, say,
"LyX on Mandriva".

Paul


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-10 Thread Paul Smith

On 10/10/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:

> > > I managed to create a RPM package of lyx 1.4.3 for Mandriva Linux LE 2006.
> > > I followed the guidelines originally posted by Paul Smith and Christian
> > > Ridderström in:
> > >
> > > http://wiki.lyx.org/LyX/LyXOnRedHat
> >
> > Now that lyx is in Fedora Extras (and has been for some time), is there
> > really much point in keeping that wiki page around?
>
> I am not the creator of that page, although it is based on a post by
> me. I think the page should be retained, but with another title, say,
> "LyX on Mandriva".

I might have created the page based on Paul's post. The page should
probably say that LyX is in Fedora Extras (whatever that is).

Is there a point to having a page describing how to create LyX RPM? If so,
maybe the page could be called 'LyX on RPM-based Linux'?


I fully agree with you, Christian.

Paul


Table of content

2006-10-10 Thread Paul Schwartz
LyX 1.4.3 svn - class of document : book - language : French.

The table of content appear in the LyX document when it does not in the 
transcoding pdflatex.
I used Chapter* but it is not supposed to appear in the TOC with this class 
of doc. So I replaced Chapter* by Section* which is supposed to appear.
Effectively it appears inside the LyX file but not in the pdf doc through 
pdflatex.
Sorry the title "table des matieres" (toc) appears with nothing below.
Any clue

Thanks and regards

Paul






Re: Table of content

2006-10-14 Thread Paul Schwartz

Juergen Spitzmueller a écrit :
Paul Schwartz wrote:
> I used Chapter* but it is not supposed to appear in the TOC with this 
> class
> of doc. So I replaced Chapter* by Section* which is supposed to appear.
> Effectively it appears inside the LyX file but not in the pdf doc through
> pdflatex.

Are you sure? Normally, none of the *-headings are supposed to appear in the
TOC (that's what the star insicates, amongst others).

Sorry, I have got a problem to update my LyX news files.
May be I misinterpret, but in "Document parameters ", "Numbering and TOC" 
window, I find :
Examplenumberedappears in TOC
Part*yesyes
section*yesyes
subsectionyesyes
subsubsection nono ...
and when I click on the "toc" button inside the document it is exactly what 
is appearing. but never in the pdf doc.

If you want unnumbered sections in the TOC, you have to do something else.
Here are some possibilities:

(1) write
\addcontentsline{toc}{chapter}{}
in TeX-mode just below the Chapter*. If it's a Sction*. replace "chapter"
by "section".

(2) use KOMA-book as a class and use "Addchap" and "Addsec" instead of
Chapter* and Section*

(3) if you have only unnumbered, no numbered headings, just use Chapter and
Section and set "Numbering" to "no" in Document->Settings->Numbering & TOC

Thanks for the tip, I was afraid to use the "slider" to modify the numbering 
to "no".

thanks again

Paul






Date of document

2006-10-14 Thread Paul Schwartz
Is there a way to remove the "date of the document" in the title.

Thanks

Paul





centering chapter heading

2006-10-17 Thread Paul Schwartz
Again a silly question:
is there a way to modify the formatting of chapter or section headings to 
have them centered ?
Thanks

Paul 





Re: pdf looks like low quality scan

2006-10-18 Thread Paul Smith

On 10/18/06, Jean-Marc Lasgouttes <[EMAIL PROTECTED]> wrote:

>>>>> "Rainer" == Rainer M Krug <[EMAIL PROTECTED]> writes:

Rainer> Someone told me it might be because the reader is Acrobat 5 -
Rainer> any ideas on what I can do so that it shows properly in Adobe
Rainer> Reader 5 as well as it is out of my control which version is
Rainer> used? (I use scalable fonts)

Are you 100% sure that the PDF contains scalable fonts? What does
Acrobat 5 say about the document's fonts?


If you are using the default LaTeX font, to insert it in your pdf
document, in the preamble write

\usepackage{lmodern}

Paul


Re: Help with Table of Contents

2006-10-19 Thread Paul Schwartz

"Timothy Reaves"  a écrit :
> I'm using the book document class.  It seems that chapters are the only 
> high level entity to be included into a ToC, and it seems Chapters and 
> Sections are the high level classes for the document.

- Go to "Document" --> "parameter" ---> Numbering & TOC : you can adjust the 
"slider"
- As Juergen Spitzmueller advised me those marked with * are not suppose to 
appear in the TOC.
- If you does not want any numbering put the corresponding slider to "0f" 
(lefthandside) and use the entries which are supposed to have number.
- When you have that, you can check with Document --> Table of contents.


 This seems -
> well, not odd so much as plain wrong.  Most books I have would include 
> things like the Index, List of Figures, and even the ToC in the ToC.

For inserting index that's no problem, just place the "index button" 
(Insert --> Floating ...) where you want to see it.
The same for the others.
However I supposed that you used the floating placement for your figures and 
pictures, otherwise I don't think it will work (if you used the fixed one : 
no reference).

>
> Also, they support other high level, non-numbered entities, such as 
> appendices, glossaries, etc.
>
> So am I using the wrong document class, or is it really that limited?
>
>
Hope it helps

Paul 





Re: lyx-1.4.3

2006-10-24 Thread Paul Smith

On 10/23/06, Rudi Gaelzer <[EMAIL PROTECTED]> wrote:

I'd say that if you successfully compiled the source with the qt frontend but
it won't start, then you have some problem with the KDE desktop on your
laptop, otherwise you wouldn't be able to compile, to start with.

Perhaps you should consult someone close to you that could give a good look at
your mandriva/kde configuration and figure out what the problem could be.
Unless someone else in this list could give some hints...

Another suggestion, which takes time and effort, is to perform a fresh install
of mandriva 2006... was your /home directory created in its own partition?
In this case, a fresh install won't delete your personal files...

On Monday 23 October 2006 11:54, icebna wrote:
> Hi Rudi
> I have compiled the tarball in my laptop and neither; don"t start
> I have compiled the tarball to frontend = xforms, and start well and
> work, but the xforms interface, don't like me very much. What do you think
> ?
>
> Miguel


Miguel,

Why do not you give a try to Fedora Core Linux? You will always get
the recentest rpm for LyX, without having to compile it.

Paul


Re: Replacing Quotation Marks

2006-11-01 Thread Paul Smith

On 11/1/06, Bruce Pourciau <[EMAIL PROTECTED]> wrote:

A copyeditor has asked if I could find and replace all the double
quotation marks with single quotation marks, so she doesn't have to
mark them all. Normal find/replace in LyX doesn't seem to work. Is
there a way to do this?


Use a text editor instead to find and replace the LyX file.

Paul


Aspell-fr-0.50.3

2006-11-02 Thread Paul Schwartz
Sorry to say that it might be a source of confusion with "baptistaire" which 
in french is an adjective and not the noun which is written "Baptistere" 
(with accent-grave on  the first e) and which is not appearing in this 
Aspell version.

Regards

Paul 





article (AMS)

2006-11-03 Thread Paul Schwartz
Is it forbidden to notch "two sided document" with this class of document.
If I notch it, I got a error when displaying under PDF_(pdflatex)

thanks

Paul 





Re: article (AMS)

2006-11-03 Thread Paul Schwartz

"Paul A. Rubin"  a écrit

> Paul Schwartz wrote:
>> Is it forbidden to notch "two sided document" with this class of 
>> document.
>> If I notch it, I got a error when displaying under PDF_(pdflatex)
>>
>
> Works for me with no problems.  Perhaps it's something specific to your 
> document?
>
> /Paul
>
Just for your information,  here are the specs of the document with the 
corresponding error console. If I tick two-sided document I got the error, 
if not everything is ok.

- Class of document : article (AMS) postscript driver: default
- Text format font : default, size default, identation, line spacing simple
- page format : personnalised , height 17.2 cm, width : 10.5 cm, portrait, 
two-sided document ticked
- margins: (in cm) top 1.7, bottom:1.6, inner: 1, outer: 1.6, head sep: 0.4, 
head height : 1.3
- language : French use language's default encoding : ticked; quote style 
(french style)
nothing else has been modified

Upper windows error console: the same paragraph 4 times

Use of \relax doen't match its definition.
Use of \relax doen't match its definition.
Use of \relax doen't match its definition.
Missing number, treated as zero.
Illegal unit of measure (pt inserted).

Lower windows error console:
if you say, e.g.,'\def\a1{...}', the you must always
put'1' after '\a', since control sequence names are
made up of letters only. the macro here has not been
followed by the required stuff, so I'm ignoring it.

I inserted some footnotes  with greek using:
"TEX$\alpha\iota\lambda\.$

will advise you if I find something
Regards

Paul 





Re: article (AMS)

2006-11-03 Thread Paul Schwartz

"Paul Schwartz" a écrit
>
> "Paul A. Rubin"  a écrit
>
>> Paul Schwartz wrote:
>>> Is it forbidden to notch "two sided document" with this class of 
>>> document.
>>> If I notch it, I got a error when displaying under PDF_(pdflatex)
>>>
>>
>> Works for me with no problems.  Perhaps it's something specific to your 
>> document?
>>
>> /Paul

> will advise you if I find something
> Regards

In fact, it works perfectly if your document does not reach the second page, 
then as soon as you had something switching to the second page then you got 
the error.

Paul





Article (AMS) [French language]

2006-11-05 Thread Paul Schwartz
Sorry to come back again on this class, but I start to believe that the 
problem might come from the formatting of this class into French.

1) Two-sided document:
If it works in the English-American version then in my installation (1.4.3 
svn) whether I select English or French, as soon as I reach the second page 
of my document and I want to display it under PDF_(pdflatex) then I got an 
error. If I untick "two-sided" then it works.

2) If I want to insert a "part", if I change the size of the font then I got 
an error. Without changing anything, it works but then the display in 
PDF_(pdflatex) is:
"première partie 1.les peuples (les peuples being the part title) which is 
in English something like "first part 1. The tribes".

I believe that whether "first part" or "1." should be displayed but not both 
isn't it ?

I am a bit puzzled !

paul 





Re: article (AMS)

2006-11-05 Thread Paul Schwartz

"Paul A. Rubin"  a écrit
>>
>> In fact, it works perfectly if your document does not reach the second 
>> page,
>> then as soon as you had something switching to the second page then you 
>> got
>> the error.
>>
>
> The attached document (four pages) seems to work for me, so I suspect it
> is something specific in yours that is causing the problem.  If you
> apply your formatting selections to my document, does the problem arise?
>
I  load your document and effectively it displays perfectly. I tried to 
apply
your parameters to mine without success.
So I transcoded into TeX to see the differences

In fact provided it has been prepared in French then it keeps the memory of
the original parameters adding yours.
So, I modified my document under TeX to fulfill your parameters (newtherorem
and theorem style excepted) and saved it under .TeX.
Then I imported it in LyX, then readjust some parameters which where not
properly imported. Also, I removed what has been added into the Latex
preamble(at the end of the LyX parameters) to avoid two preambles and tried
to display without success

However, as soon as I unticked the "double-sided" document then I displayed
under PDF_(pdflatex) without problem in US letter format.

So, I believe that there is something in the French LyX built version under
windows which misinterpretes something, maybe with miktex or ... may be a 
problem with the accents which are largelly used in French ...

I already got a problem like that the first time I used LyX to translate a
user manual. I was obliged to be in English to be able displaying in some
cases even inputting in French.

Here whether I move to English, it does not change anything.

I have prepared a document with the difference in the LaTeX preamble between 
your document and mine. Also I keep at your disposal my document modified 
with your parameters. However, I guess the list forbid to join them here !

Paul/s





Re: Article (AMS) [French language]

2006-11-06 Thread Paul Schwartz

"Jean-Marc Lasgouttes" < a écrit dans le message de news:

>Part of the problem is that ams is _American_ mathematical society.
>Historically, working well with babel has not been a high priority.
>Please check that you have the latest versions of both amsart and
>babel (3.8h).

Sorry to ask you this simple question:

Where and how do I check the version of amsart and babel under windows 
(version 1.4.3. svn) installation made using the windows installer (not the 
full installation).

I do search in LyX and MikTeX but no one is giving that information. Shall I 
go back to gmane version page to look at the versions which are installed 
for this version.
I am also afraid to install the new version because each time the new one is 
stacked on the former one, using some ressources from the old one.
In such a case might it be better to uninstall everything  and reinstall the 
new version.

Regarding MikTeX, it is possible to upgrade to the 2.5 version. But when you 
go to the MikTeX site, there is some upgrade issues regarding dvipdfm, 
dvipdfmx, dvips, miktex, pdftex config which are lost. and for a "basic 
windower" it is not so clear. of course I can still just upgrade the files 
which are displayed to be upgrade... but neither babel nor amsart are 
concerned.

What are your suggestions.

If I come back to the problem of "two-sided" document, I have the filling 
that it is a matter of misinterpreting accentuation which should be entered 
under TeX mode instead of straight keyboard code. So I 'll prepare one 
document without accent but with French as a language, then an other with 
accent under TeX and I come back with the results.

Paul








Re: article (AMS)

2006-11-06 Thread Paul Schwartz

"Paul Schwartz" <[EMAIL PROTECTED]> a écrit dans le 
message de news: [EMAIL PROTECTED]
>
> "Paul A. Rubin"  a écrit
>>>
>>> In fact, it works perfectly if your document does not reach the second 
>>> page,
>>> then as soon as you had something switching to the second page then you 
>>> got
>>> the error.
>>>
>>
>> The attached document (four pages) seems to work for me, so I suspect it
>> is something specific in yours that is causing the problem.  If you
>> apply your formatting selections to my document, does the problem arise?
>>
> I  load your document and effectively it displays perfectly. I tried to 
> apply
> your parameters to mine without success.
> So I transcoded into TeX to see the differences
>
> In fact provided it has been prepared in French then it keeps the memory 
> of
> the original parameters adding yours.
> So, I modified my document under TeX to fulfill your parameters 
> (newtherorem
> and theorem style excepted) and saved it under .TeX.
> Then I imported it in LyX, then readjust some parameters which where not
> properly imported. Also, I removed what has been added into the Latex
> preamble(at the end of the LyX parameters) to avoid two preambles and 
> tried
> to display without success
>
> However, as soon as I unticked the "double-sided" document then I 
> displayed
> under PDF_(pdflatex) without problem in US letter format.
>
Finally I found the problem :
If you insert a Title without an Author you got automatically the reported 
error.
if you just insert an Author name then you got undefined control sequence 
identified with the Author.
As soon as you put both then there is no more problem and you can 
display,add what you wan in accentuation, using English or French ...

Sorry to have disturbed you with all these litterature for nearly nothing.

Paul 





Re: Article (AMS) [French language]

2006-11-06 Thread Paul Schwartz

"Paul Schwartz" <
> "Jean-Marc Lasgouttes" < a écrit dans le message de news:
>
>>Part of the problem is that ams is _American_ mathematical society.
>>Historically, working well with babel has not been a high priority.
>>Please check that you have the latest versions of both amsart and
>>babel (3.8h).
>
paul schwartz a écrit
> If I come back to the problem of "two-sided" document, I have the filling 
> that it is a matter of misinterpreting accentuation which should be 
> entered under TeX mode instead of straight keyboard code. So I 'll prepare 
> one document without accent but with French as a language, then an other 
> with accent under TeX and I come back with the results.

In fact the problem comes when you put a title without an author or 
vice-versa
As soon as you put both then everything works properly using whether 
English, French, French accentuation, TeX accentuation ...

With just a title then you got a long list of error described in 
"article(AMS)" message hereunder.
With just an author then you got "undefined control sequence" but related to 
author easy to identify.

regards

Paul





Re: break long equation into two lines

2006-11-08 Thread Paul Smith

On 11/8/06, Neal Becker <[EMAIL PROTECTED]> wrote:

>> When working with math formula in equation array mode, I found out that
>> my equation is too long on the page. I want to break it to two lines. Is
>> there a way do that ? All my equations are numbered (with label), when
>> breaking long equation into two lines, the first line should not be
>> numbered.
>
Look at amslatex.  It has lots of options.


An excellent resource for things like those is Herbert Voss's MathMode
guide, available for free at:

http://www.tug.org/tex-archive/info/math/voss/mathmode/Mathmode.pdf

Paul


Document class: Article

2006-11-10 Thread Paul Schwartz
Is there a way to change the font size of the "index" through the preamble

Thanks

Paul 





Re: PLEASE TO HELP ME

2006-11-12 Thread Paul Smith

On 11/11/06, Mario Casaverde Rio <[EMAIL PROTECTED]> wrote:

I´m wishing to install the lyx but I do not get. Please to explain me what are 
the requirements and to install this text program. I´m wishing long time a text 
editor in windows plataform. The steps for to install.


Use the Windows LyX installer, available from:

http://developer.berlios.de/projects/lyxwininstall

Paul


Re: Document class: Article

2006-11-12 Thread Paul Schwartz

"Juergen Spitzmueller" <[EMAIL PROTECTED]> 
a écrit dans le message de news: 
[EMAIL PROTECTED]
You could try
[EMAIL PROTECTED] [EMAIL PROTECTED]

Selecting the Index List inset with the mouse and altering the font size in
Layout->Text Style probably has the same effect.

For any fancier formatting, you should create an index style file (cf. the
MakeIndex documentation for details).


Thanks for the tips

Paul 





Re: error when installing on Mac OS X (3.9) python not found

2006-11-24 Thread Paul Tremblay
On Wed, 22 Nov 2006 11:00:37 -0500
Cynthia Johnson <[EMAIL PROTECTED]> wrote:

> 
> When I try to install LyX on Mac OS X by using the LyX installer, I
> get  the following error message:
> 
> sh: line 1: python: command not found (127)
> 
>  From the terminal I type:
> 
> which python
> 
> /usr/local/bin/python
> 
> which latex
> 
> /usr/TeX/bin/powerpc-darwin/latex
> 
> which pdflatex
> 
> /usr/TeX/bin/powerpc-darwin//pdflatex
> 
> When I try to run LyX without using the installer, it cannot find my 
> home TeX directory, and hence I cannot user the view option.  I have 
> added the path to the preferences and reconfigured LyX, but that does 
> not work.
> 


Can anyone help me here? This is a bit frustrating to get no resposne. 

I can fix the sh script if someone could just send me it. The problem is
that I can't open the sh script itself because because it is embedded in
a [EMAIL PROTECTED] applescript. 

Likewise, I could do manuaully what the sh script does if someone just
tells me what that is. 

I will start another thread on the third possiblity, which is simply
configuring LyX itslef.

Paul


how to configure LyX

2006-11-24 Thread Paul Tremblay
The LyX installation on a Mac OS running 3.9 is not configured properly,
and I think to confiugre it should be easy. (I was not able to install
LyX using the installer because of problems with the script; I started
another thread on this problem, but no one can seem to answer it.)

When I open up the view menu, I cannot update my file. That is, I cannot
get LyX to convert it automatically to PDF of DVI. I have added the path
to the preferences and reconfigured LyX, but that does 
not work. 

My latex binary is in:

/usr/TeX/bin/powerpc-darwin/latex

So I have added 

/usr/TeX/bin/powerpc-darwin: to the beginning of my path. I have then
run the reconfigure commnd. But this does not seem to help. LyX cannot
find latex and cannot find my classes. I have looked through the
documentation and cannot find anything to help me.

Thanks

Pal


Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
On Fri, 24 Nov 2006 13:30:02 -0800
Jens Noeckel <[EMAIL PROTECTED]> wrote:



> since your path is not one of those listed under "prerequisites" at
> http://wiki.lyx.org/Mac/Mac#toc4
> my first question would be if you have checked that pdflatex,  
> ghostscript and imagemagick work properly outside of LyX. How did you 
> 
> install this TeX (manually or using some installer)? If you're sure  
> that this is a kosher TeX installation, you could create a symbolic  
> link as mentioned in the above link.

Okay, I didn't realize I needed ghostview and imagemagic. I am
installing them right now. The version is 1.4.3. My TeX installation is
"kosher" in that from the terminal I can type "latex " and get
a PDF document. I installed it with TeXLive, I believe. 

> path to the preferences - I'm assuming you mean the preferences in  
> the LyX menu, under "PATH prefix". Is that correct?

Yes, that is correct. 

> 
> To make sure people know which sh script you're talking about, it  
> would probably be good to send the verbatim output from the Console  
> or Terminal command line.

I did this in a thread on 2006-11-23. The post is actually from Cynthia
Johnson (whose computer I am trying to install this on). In brief, the
.sh script stated that python was not found, though I have a working
version of python in /usr/local/bin.

Thanks for your response. I wanted to reply right away even before I
downloaded ghostview because the easiest (and perhaps best) way to fix
this problem is to fix the installer problem, if possible. 

Paul




Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
On Fri, 24 Nov 2006 16:51:23 -0800
Jens Noeckel <[EMAIL PROTECTED]> wrote:

Thanks again Jens. I will try this in a bit. 

In the mean time I wanted to report (in case this is valuable to anyone
else), that I was able to reconfigure LyX with some success. What I did
is create a soft link in /usr/local/bin to the my executable. I didn't
think I had to do this because I added the path in the preferences in
LyX, but adding the path didn't work.

When I tried to view a document using pdflatex, I got a message stating
that /tmp/xxxlyx/xxlyx/myfile.pdf could not be found. I went to the
directory and found the file myfile.tex and typed

pdflatex myfile.tex

Some defaults had to run in pdflatex, as if pdflatex was a first run.
Then the document was created.

When I went back to LyX and tried to view the document in view, I had
success. 

The only problem I have now is that if I modify the document, I cannot
update it. I think this problem is different. On my linux machine you
can update PDF documents in the PDF viewer, but I know you can't do this
in Mac. Since Mac uses Adobe, the file cannot be updated. So I need to
find another viewer like ghostview. I have ghostview installed, but it
requires X11 (which is also installed), so I may have to use X11 as my
viewer. 

I will let you know how the installation goes when I change that
variable. I could also create a soft link to the place where python is
expected, couldn't I?

Paul



> 
> On Nov 24, 2006, at 3:56 PM, Paul Tremblay wrote:
> 
> > On Fri, 24 Nov 2006 13:30:02 -0800
> > Jens Noeckel <[EMAIL PROTECTED]> wrote:
> >
> >
> >
> >> since your path is not one of those listed under "prerequisites" at
> >> http://wiki.lyx.org/Mac/Mac#toc4
> >> my first question would be if you have checked that pdflatex,
> >> ghostscript and imagemagick work properly outside of LyX. How did
> >you >
> >> install this TeX (manually or using some installer)? If you're sure
> >> that this is a kosher TeX installation, you could create a symbolic
> >> link as mentioned in the above link.
> >
> > Okay, I didn't realize I needed ghostview and imagemagic. I am
> > installing them right now. The version is 1.4.3. My TeX  
> > installation is
> > "kosher" in that from the terminal I can type "latex "  
> > and get
> > a PDF document. I installed it with TeXLive, I believe.
> >
> >> path to the preferences - I'm assuming you mean the preferences in
> >> the LyX menu, under "PATH prefix". Is that correct?
> >
> > Yes, that is correct.
> >
> >>
> >> To make sure people know which sh script you're talking about, it
> >> would probably be good to send the verbatim output from the Console
> >> or Terminal command line.
> >
> > I did this in a thread on 2006-11-23. The post is actually from  
> > Cynthia
> > Johnson (whose computer I am trying to install this on). In brief,
> > the .sh script stated that python was not found, though I have a
> > working version of python in /usr/local/bin.
> >
> > Thanks for your response. I wanted to reply right away even before I
> > downloaded ghostview because the easiest (and perhaps best) way to
> > fix this problem is to fix the installer problem, if possible.
> >
> > Paul
> >
> >
> 
> Paul,
> 
> looks like your python isn't being recognized, even though it  
> evidently exists. Under factory conditions, there is a python in /usr/
> 
> bin/python, but you probably installed another one (maybe MacPython). 
> 
> Hopefully this /usr/local/bin/python of yours is functional. Assuming 
> 
> it is, you could try the following command before invoking the LyX  
> Install script:
> 
> defaults write ~/.MacOSX/environment PATH $PATH
> 
> This will hopefully tell the installer what your shell path settings  
> are, and that you want it to find /usr/local/bin/python as you do in  
> the Terminal.
> 
> That way you can (with luck) get the standard installation process to 
> 
> go through before trying LyX.
> 
> Regards,
> Jens
> 
> 


Re: how to configure LyX

2006-11-24 Thread Paul Tremblay
On Fri, 24 Nov 2006 16:51:23 -0800
Jens Noeckel <[EMAIL PROTECTED]> wrote:

>
> 
> 
> Paul,
> 
> looks like your python isn't being recognized, even though it  
> evidently exists. Under factory conditions, there is a python in /usr/
> 
> bin/python, but you probably installed another one (maybe MacPython). 
> 
> Hopefully this /usr/local/bin/python of yours is functional. Assuming 
> 
> it is, you could try the following command before invoking the LyX  
> Install script:
> 
> defaults write ~/.MacOSX/environment PATH $PATH

This didn't work, maybe because I had a broken link in /usr/bin/python
pointing to a non-existent link. When I got rid of the broken link and
created a link to the right location, I was able to get the installer to
run. I did get a red x next to preview, indicating that the right
preview is not working? 

At any rate, I now have a working version of LyX. Thanks!

Paul


Re: It's a bug ?

2006-12-08 Thread Paul Smith

On 12/8/06, icebna <[EMAIL PROTECTED]> wrote:

The image of the logo in preamble, don't print it. I can see it in the
xdvi visor, but don't print it. This file, work fine in lyx-1.3.7, and
print the logo. It's a bug of lyx-1.4.3 ?. My distro is Mandriva 2007.


Please, send an example LyX file so that one can check it out.

Paul


Re: patricks-add Barchart

2006-12-08 Thread Paul Smith

On 11/29/06, Jaime Díaz-Deus Fernández <[EMAIL PROTECTED]> wrote:

Helo to all. I have problems with this code from the pstricks-add manual
(pstricks-add-doc) and there are errors in the DVI wiew:

\psset{xunit=.44cm,yunit=.3cm}
\begin{pspicture}(-2,-3)(29,13)
\psaxes[axesstyle=axes,0x=1466,0y=0,Dx=4,Dy=2,ylabelFactor={\,\%}{-}(29,12)
\listplot[shadow=true,linecolor=blue,plotstyle=bar,barwidth=0.3cm,fillcolor=
red,fillstyle=solid]{\barData}{\barras.dat}
\rput{90}(-3,6.25){Amount}
\end{pspicture}

I am not shure about the notation of the data file but this file is in the
LyX work directory and his name is barras.dat. In the preamble I have:

\usepackage{pstricks}
\usepackege{pst-bar}
\usepackage{pstricks-add}

The file barras.dat is like this:

1466, 0
1470, 6.2
1474, 6.3
1478, 2
1482, 1
1486, 0.5
1490, 4.3
1494, 5

Thanks for your help.


PSTricks acts directly on the PS file and therefore the DVI output
should not be considered. Use PS View instead.

Paul


The spell-checker detects typos but no suggestions window

2006-12-18 Thread Paul Smith

Dear All

The spell-checker detects typos but never any window with replacements
suggestion is shown. I am using LyX 1.4.3 installed from the official
repositories on Fedora Core 6, and aspell-en-6.0-2.1 is installed. Any
ideas?

Thanks in advance,

Paul


Special case of enumerate

2006-12-18 Thread Paul Smith

Dear All

I am trying to get the following special case of enumerate:

-
A1. The first item;
A2. The second item;
A3. The third item;

Here, there is some standard text and then enumerate again.

A4. The fourth item;
A5. The fifth item.
-

Any ideas?

Thanks in advance,

Paul


<    1   2   3   4   5   6   7   8   9   10   >