Re: Instant Preview working in LyX 1.4.1?

2006-06-09 Thread Stefano Grioni

Rudi Gaelzer a écrit :


Is Instant Preview working at all in LyX 1.4.1?
I upgraded from 1.3.7 to 1.4.1 on my Fedora 5 box and mathematical expression 
are not rendered with Instant Preview.  Then, I removed 1.4.1 and installed 
1.3.7 back and it worked again...


Rudi Gaelzer
 

I've got the same problem with my archlinux  But strange thing, on 
my debian SID both works ...If you get the solution let me know it pls :D


Re: Layout copyright; was: Re: Sharing layout files

2006-06-09 Thread christian . ridderstrom

On Fri, 2 Jun 2006, David Neeley wrote:

I've noticed with other wikis that it takes a considerable effort before 
the average user is "sold" on the concept, enough to go through the 
learning curve for the various tags. Unfortunately, IIRC wiki tags are 
just enough different from HTML and other tagging taxonomies that it can 
be confusing at first.


Yes, the tags are certainly a part of the problem. Then I also think many 
people are simply reluctant to write something that'll end up being so 
visible. (Which is kind of strange since everything on this list is 
equally visible... OTOH, I was quite reluctant the first few messages I 
posted to this list).


The problem of learning all the tags will probably be better in the 
future. Someone is bound to create a graphical frontend for editing wiki 
pages - I'm confident that's just a matter of time. I've actually 
considered adapting LyX to being able to edit wiki pages. Due to time 
constraints (and capability!), I'll probably have to postpone that to the 
next decade unless more people would willing to collaborate on such a 
project.


Oh, and Christian--I would suggest you be sure to make the copyright 
info static with editing disallowed. Legal boilerplate is *not* the 
place for community-wide editing!


Hmm... ok, I just tried setting the password for editing that page to 
'LyXers' (same as for uploading).  My browser rememberes the password, so 
I'm 100% sure it's actually activated, but it should be. OTOH, I'm not 
really worried about changes as these are all tracked. I alos monitor what 
pages are changed, so I notice if that particular page was edited. The 
main reason I prefer it editable is so that people could add 
questions/comments to it.


/Christian

http://wiki.lyx.org/Site/Copyrights


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: Lyx gtk&gnome, fonts, encoding and spellcheck

2006-06-09 Thread christian . ridderstrom

On Fri, 9 Jun 2006, [EMAIL PROTECTED] wrote:

I'm sorry, that I wasn't short, but I felt necessary to discuss these 
issues in details. It would be nice to have a functioning gtk&gnome 
spellchecking dialog in LyX. Can I expect it to work if I switch my box 
completely to unicode?


I'm waiting for any suggestions which doesn't involve Qt.


I suggest that you ask on the developers list, as I think gtk is still 
very much something under development.


cheers
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: long standing annoyance with tables

2006-06-09 Thread christian . ridderstrom

On Fri, 9 Jun 2006, Oscar López wrote:



[EMAIL PROTECTED] wrote:

Siterer "Leuven, E." <[EMAIL PROTECTED]>:


1. The current line settings
2. A blank tabular (ie no lines set)


Given those options I would go with 2. It would require the least number
of changes to get what I want.

If it is possible to make a third option I would like a horisontal line
on either side of the top row and a horisontal line at the end of the
table.


I second that


Me too, i.e. either a blank tabular or one as described above, i.e.


-
Header 1Header 2Header 3
-
Row 1.. bla bal bla bla
Row 1.. bla bal bla bla
Row 1.. bla bal bla bla
Row 1.. bla bal bla bla
-

/Christian

PS. Given the WYSIWYM behind LyX, I'm a bit surprised no one has suggested 
introducing "tabular styles" that would allow a consistent styling of all 
the tables.


--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Instant Preview working in LyX 1.4.1?

2006-06-09 Thread Rudi Gaelzer
Is Instant Preview working at all in LyX 1.4.1?
I upgraded from 1.3.7 to 1.4.1 on my Fedora 5 box and mathematical expression 
are not rendered with Instant Preview.  Then, I removed 1.4.1 and installed 
1.3.7 back and it worked again...

Rudi Gaelzer


footnotes and floats

2006-06-09 Thread Curtis Osterhoudt

Cheers, all,

  I found (on Herbert Voss' site -- where else?) what appears to be a 
solution, at least for me. As mentioned here 
http://tug.org/TeXnik/mainFAQ.cgi?file=footnotes/footnotes , footnotes 
sometimes don't end up where they "should". In my document preamble, I wrote

   \usepackage[bottom]{footmisc}
and it appears to fix this problem.

   Hope this helps someone else!

  Curtis O.



Curtis Osterhoudt wrote:


Hi, all. I'm using LyX 1.4.1 on Debian, and writing in the koma-script
book class.
  I'm having a problem with footnotes and table floats (it happens with
figure floats, too). In the text, I have a footnote, which I *think*
should go at the very bottom of the page, under everything else (except
the page number, of course). On the same page, if I insert a figure or
table float, and use either default placement or "bottom of the page", the
float will end
up below the footnote, with the footnote seeming to  be suspended above
the float. It looks pretty bad.
  Is there any way to fix this?


Footnotes do not mix well with tables in LaTeX. One solution would be to
insert your table in a minipage. Footnotes would be inserted just below the
float but not with other footnotes at the bottom of the page.



The catch is that the footnote here does not need to be part of the table.  
I can reproduce what Curtis described:  a footnote in the text (not in the 
float), a tabular float set to bottom, and the float is printed below the 
footnote (and above the page number).


It's not specific to the komascript book class, either; the same thing 
happens with article and book, among others.


I have no idea what the fix would be, though.  It seems to be a LaTeX issue 
(not a LyX bug).  It was reported in 1997 and apparently will not be changed 
(unless there was a more recent report that got a different reception).  See 
http://www.latex-project.org/cgi-bin/ltxbugs2html?category=LaTeX&responsible=anyone&state=anything&keyword=&pr=latex%2F2482&search= 
(sorry for the long URL).


/Paul




Page numbers in margins?

2006-06-09 Thread Mack Kuo

My university requires the page numbers on every page to be at the top
right, 0.5 inches from the top edge and 1 inch from the right edge.
This places the page numbers in the margin.

I'm using the following to place the numbers in the top right, but
cannot place them in the margin.  Any ideas on how to accomplish this?

\chead{}
\lhead{}
\rfoot{}
\lfoot{}
\cfoot{}
\rhead{\fancyplain{\thepage}{\thepage}}
\renewcommand{\headrulewidth}{0pt}
\pagestyle{fancyplain}


Re: problème avec lyx

2006-06-09 Thread Uwe Stöhr

I wrote:

Good news!!! Older versions of GPL Ghostscript were on the level of one 
year old AFPL Ghostscript versions. I'll immediately switch to the GPL 
version. Thanks for the info.


I just realized that the GPLed version is not available as binary :-(.

regards Uwe


Re: problème avec lyx

2006-06-09 Thread Uwe Stöhr

Jean-Pierre Chretien schrieb:


In  fact, AFPL gs and gsview *are* in the protext bundle:
->unzip -l protext.exe | grep -i gsv
  0  10-14-05  12:29   gsv/
9713152  12-02-04  15:40   gsv/gs815w32.exe
1518080  10-14-05  12:19   gsv/gsv47w32.exe
but the gs version is quite outdated.

Now I see that the current version numbers of AFPL and GPL ghostscripts are the 
same (8.54).
If that means that they have achieved the same level of maturity, it would be 
of course
advisable to replace AFPL by GPL to have an homogeneous installation from the 
licensing
point of view.


Good news!!! Older versions of GPL Ghostscript were on the level of one 
year old AFPL Ghostscript versions. I'll immediately switch to the GPL 
version. Thanks for the info.


Unfortunately GSview is still only available under the AFPL.

thanks and regards
Uwe


Re: Equations and Bibliography

2006-06-09 Thread Julio Rojas

Thx... I have solved the problem about the equations, but still have the one
about the bibliography...

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


Julio Rojas wrote:
> Hi. I'm writing my equationsusing "Ctrl-Shift-M" but no numbering
> appears on
> the right side of them. I'm using "Book" class and have automatically
> enabled AMS package. What can be happening???

Equation numbering is off by default.  With the cursor in the equation,
you can toggle numbering with M-m n.  Inserting a label will also cause
the equation to be numbered.

/Paul





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: footnote ends up below tables

2006-06-09 Thread Curtis Osterhoudt


Ah. I've just now seen Paul's message. The URL he cites does, indeed, 
discuss just what I've seen. It's discouraging, but at least I know I'm 
company with some others who agree with me on the way these things might be 
improved. Any idea when LaTeX3 will make headlines? :)


  Best,
 Curtis O.


Original Message Follows
From: "Paul A. Rubin" <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Subject: Re: footnote ends up below tables
Date: Fri, 09 Jun 2006 12:23:24 -0400

Charles de Miramon wrote:

Curtis Osterhoudt wrote:


Hi, all. I'm using LyX 1.4.1 on Debian, and writing in the koma-script
book class.
  I'm having a problem with footnotes and table floats (it happens with
figure floats, too). In the text, I have a footnote, which I *think*
should go at the very bottom of the page, under everything else (except
the page number, of course). On the same page, if I insert a figure or
table float, and use either default placement or "bottom of the page", the
float will end
up below the footnote, with the footnote seeming to  be suspended above
the float. It looks pretty bad.
  Is there any way to fix this?


Footnotes do not mix well with tables in LaTeX. One solution would be to
insert your table in a minipage. Footnotes would be inserted just below the
float but not with other footnotes at the bottom of the page.



The catch is that the footnote here does not need to be part of the table.  
I can reproduce what Curtis described:  a footnote in the text (not in the 
float), a tabular float set to bottom, and the float is printed below the 
footnote (and above the page number).


It's not specific to the komascript book class, either; the same thing 
happens with article and book, among others.


I have no idea what the fix would be, though.  It seems to be a LaTeX issue 
(not a LyX bug).  It was reported in 1997 and apparently will not be changed 
(unless there was a more recent report that got a different reception).  See 
http://www.latex-project.org/cgi-bin/ltxbugs2html?category=LaTeX&responsible=anyone&state=anything&keyword=&pr=latex%2F2482&search= 
(sorry for the long URL).


/Paul


/Paul




Re: footnote ends up below tables

2006-06-09 Thread Curtis Osterhoudt

Hello, Charles.

  Thanks for the reply.

   I may not understand what you propose (I realize that I probably wasn't 
too clear in my original message, either:  I'm not putting a footnote IN the 
table (nor in a figure caption, etc.), but just somewhere else on the page 
so that both it and the table end up on the same page after LaTeX does its 
magic. Maybe that's not what you inferred, but I realize that my original 
message might have implied that. I've seen some messages recently where 
people have tried this, and have had some bad results.


  So, what I've just tried is the following:
*Insert a minipage into my LyX document. In this, insert the floating table.
*Leave the footnote where it is ( a different part of the text, not in the 
table contruct, nor in its caption).


  Is this what you mean? I think your message might have been meant for a 
table with some sort of footnote inside it (which isn't what I have). If I 
do the table-in-a-minipage thing, LaTeX complains with an error message like 
"LaTeX Error: Not in outer par mode," and "Undefined control sequence," and 
"Missing number, treated as zero."  As is almost always the case, I can't 
make much of the errors, especially when such a minor change has been made 
(moving the float to within a minipage).


  I'll rephrase my original question just for clarity's sake: Is it 
possible to have a table float to the bottom of the page, but still be on 
top of any footnotes (which have nothing to do with the table)?


  Also, if I should post this into a TeX group, please tell me. This 
doesn't seem to be a LyX-specific problem.


 Best wishes, all,
Curtis O.


Original Message Follows
From: Charles de Miramon <[EMAIL PROTECTED]>
To: lyx-users@lists.lyx.org
Subject: Re: footnote ends up below tables
Date: Fri, 09 Jun 2006 14:20:25 +0200

Curtis Osterhoudt wrote:

> Hi, all. I'm using LyX 1.4.1 on Debian, and writing in the koma-script
> book class.
>   I'm having a problem with footnotes and table floats (it happens with
> figure floats, too). In the text, I have a footnote, which I *think*
> should go at the very bottom of the page, under everything else (except
> the page number, of course). On the same page, if I insert a figure or
> table float, and use either default placement or "bottom of the page", 
the

> float will end
> up below the footnote, with the footnote seeming to  be suspended above
> the float. It looks pretty bad.
>   Is there any way to fix this?

Footnotes do not mix well with tables in LaTeX. One solution would be to
insert your table in a minipage. Footnotes would be inserted just below the
float but not with other footnotes at the bottom of the page.

Try it.

Cheers,
Charles

--
http://www.kde-france.org




Re: footnote ends up below tables

2006-06-09 Thread Paul A. Rubin

Charles de Miramon wrote:

Curtis Osterhoudt wrote:


Hi, all. I'm using LyX 1.4.1 on Debian, and writing in the koma-script
book class.
  I'm having a problem with footnotes and table floats (it happens with
figure floats, too). In the text, I have a footnote, which I *think*
should go at the very bottom of the page, under everything else (except
the page number, of course). On the same page, if I insert a figure or
table float, and use either default placement or "bottom of the page", the
float will end
up below the footnote, with the footnote seeming to  be suspended above
the float. It looks pretty bad.
  Is there any way to fix this?


Footnotes do not mix well with tables in LaTeX. One solution would be to
insert your table in a minipage. Footnotes would be inserted just below the
float but not with other footnotes at the bottom of the page.



The catch is that the footnote here does not need to be part of the 
table.  I can reproduce what Curtis described:  a footnote in the text 
(not in the float), a tabular float set to bottom, and the float is 
printed below the footnote (and above the page number).


It's not specific to the komascript book class, either; the same thing 
happens with article and book, among others.


I have no idea what the fix would be, though.  It seems to be a LaTeX 
issue (not a LyX bug).  It was reported in 1997 and apparently will not 
be changed (unless there was a more recent report that got a different 
reception).  See 
http://www.latex-project.org/cgi-bin/ltxbugs2html?category=LaTeX&responsible=anyone&state=anything&keyword=&pr=latex%2F2482&search= 
(sorry for the long URL).


/Paul


/Paul



Re: problème avec lyx

2006-06-09 Thread Jean-Pierre Chretien

>>Date: Fri, 09 Jun 2006 16:03:15 +0200
>>From: Uwe Stöhr <[EMAIL PROTECTED]>
>>To: Jean-Pierre Chretien <[EMAIL PROTECTED]>, "lyx-users@lists.lyx.org" 
>>
>>Subject: Re: problème avec lyx
>>
>>Jean-Pierre Chretien schrieb:
>>
>>> I thought it came with ProTeXt ? If the LyX installer downloads it on the 
>>> fly, it's clear
>>> that it may take some time.
>>
>>The installer starts LyX's configuration script that invokes a check for 
>>LaTeX-packages. If a package isn't found MiKTeX (proTeXt) will download 
>>and install it if possible (these MiKTeX settings are adjusted by the 
>>installer). The installer sets MiKTeX's download package repository to 
>>sunsite.dk to assure that the packages are the most actual ones as 
>>sunsite.de is MiKTeX's primary CTAN package repository.

OK, but I checked the ProTeXt bundle:

->unzip -l  protext.exe|grep pgf
[...]
  0  10-14-05  12:07   MiKTeX/texmf/tex/latex/pgf/
  61927  07-18-05  21:00   MiKTeX/texmf/tex/latex/pgf/pgf.sty
[...]
   1440  07-18-05  21:06   MiKTeX/texmf/tpm/packages/pgf.tpm
   
so there is no need to load it.

>>
>>> In fact, I build what I call a LyXWin CD (mostly for repetitive install or 
>>> install
>>> on machines with low bitrate connexion) which holds proTeXt, your installer,
>>> a few aspell dictionaries, and local classes and layouts.
>>
>>Please note that the license "AFPL" that is used by ghostscript and 
>>GSview doesn't allow this unless you ask the authors for a permission. 
>>Now that someone (you) wanted to create a LyX CD, I'll provide a special 
>>installer version that comes with a GPLed Ghostscript and without GSview.
>>(I hope I can publish a new installer version together with the brand 
>>new MiKTeX 2.5 in the next week.)

I don't build a LyXWin CD iso image to sell it, just to ease installation
of LyX among colleagues of my institution, so I don't see restrictions on this
on gs/gsview in the AFPL license. The software can be redistributed if there
is no charge.
Basically the jigdo distribution is a download which
reconstructs the iso image on the client computer.

In  fact, AFPL gs and gsview *are* in the protext bundle:
->unzip -l protext.exe | grep -i gsv
  0  10-14-05  12:29   gsv/
9713152  12-02-04  15:40   gsv/gs815w32.exe
1518080  10-14-05  12:19   gsv/gsv47w32.exe
but the gs version is quite outdated.

Now I see that the current version numbers of AFPL and GPL ghostscripts are the 
same (8.54).
If that means that they have achieved the same level of maturity, it would be 
of course
advisable to replace AFPL by GPL to have an homogeneous installation from the 
licensing
point of view.

If it seems a good idea to provide a jigdo iso CD distribution (e.g. in the 
wiki)
of the installers, I can help of course.

Regards

-- 
Jean-Pierre



Re: Equations and Bibliography

2006-06-09 Thread Paul A. Rubin

Julio Rojas wrote:
Hi. I'm writing my equationsusing "Ctrl-Shift-M" but no numbering 
appears on

the right side of them. I'm using "Book" class and have automatically
enabled AMS package. What can be happening???


Equation numbering is off by default.  With the cursor in the equation, 
you can toggle numbering with M-m n.  Inserting a label will also cause 
the equation to be numbered.


/Paul



Re: long standing annoyance with tables

2006-06-09 Thread Paul A. Rubin

Leuven, E. wrote:

Dear LyX-users,

On the developers list we are presently discussing default behavior with respect to how lines are set when inserting a new tabular. 


There is some reluctance to change default behavior even if the rationale 
behind the default is not that clear.

To move the discussion forward I would like to know what default lyx-users 
would prefer when they insert a tabular:

1. The current line settings
2. A blank tabular (ie no lines set)

Thanks for letting me know.

Edwin



As I indicated on the developer list, given those two choices, I would 
(much) prefer the second.  Given the diversity of responses, though 
(approximately evenly split between 1, 2 and what I would characterize 
as "neither of the above"), I think we're seeing support for a 
user-configurable default option.


With things like margins and line spacing in the document settings 
dialog, we have an option to "Save as Document Defaults".  Perhaps the 
same could be used with the table dialog (in other words, manually 
configure lines once and save that configuration as the default).


Alternatively (and not mutually exclusively), the table dialog could 
offer a few alternatives: all lines; no lines; single horizontal line 
after first row; ...


Happily making work for the developers,
/Paul



Re: problème avec lyx

2006-06-09 Thread Uwe Stöhr

Jean-Pierre Chretien schrieb:


I thought it came with ProTeXt ? If the LyX installer downloads it on the fly, 
it's clear
that it may take some time.


The installer starts LyX's configuration script that invokes a check for 
LaTeX-packages. If a package isn't found MiKTeX (proTeXt) will download 
and install it if possible (these MiKTeX settings are adjusted by the 
installer). The installer sets MiKTeX's download package repository to 
sunsite.dk to assure that the packages are the most actual ones as 
sunsite.de is MiKTeX's primary CTAN package repository.



In fact, I build what I call a LyXWin CD (mostly for repetitive install or 
install
on machines with low bitrate connexion) which holds proTeXt, your installer,
a few aspell dictionaries, and local classes and layouts.


Please note that the license "AFPL" that is used by ghostscript and 
GSview doesn't allow this unless you ask the authors for a permission. 
Now that someone (you) wanted to create a LyX CD, I'll provide a special 
installer version that comes with a GPLed Ghostscript and without GSview.
(I hope I can publish a new installer version together with the brand 
new MiKTeX 2.5 in the next week.)


regards Uwe


how to disable ligatures

2006-06-09 Thread mail.k
I'd like to set a text in Trump, a typeface to which ligatures would be 
inimical.

Is there a command I can give in the preamble to disable ligatures?


Thanks for the help,

Eran




Re: footnote ends up below tables

2006-06-09 Thread Charles de Miramon
Curtis Osterhoudt wrote:

> Hi, all. I'm using LyX 1.4.1 on Debian, and writing in the koma-script
> book class.
>   I'm having a problem with footnotes and table floats (it happens with
> figure floats, too). In the text, I have a footnote, which I *think*
> should go at the very bottom of the page, under everything else (except
> the page number, of course). On the same page, if I insert a figure or
> table float, and use either default placement or "bottom of the page", the
> float will end
> up below the footnote, with the footnote seeming to  be suspended above
> the float. It looks pretty bad.
>   Is there any way to fix this?

Footnotes do not mix well with tables in LaTeX. One solution would be to
insert your table in a minipage. Footnotes would be inserted just below the
float but not with other footnotes at the bottom of the page.

Try it. 

Cheers,
Charles

-- 
http://www.kde-france.org



Re: problème avec lyx

2006-06-09 Thread Uwe Stöhr

Jean-Pierre Chretien schrieb:


Can you take a look at this thread. I had another experience with
lyx configure waiting for pgf for a long time

http://www.mail-archive.com/lyx-users@lists.lyx.org/msg48185.html


This might be a problem of proTeXt or more probably a problem of the 
download server used to download PGF.



There is one thing I didn't mention:
further configurations worked OK (needed by the extra classes and layouts 
added),
but I when I tried to load examples of one of these classes, the layout was not 
found
in spite of the fact that there was a "yes" on the lines both of the class and 
the layout.

I had to reconfigure once more from lyx to make it work.


Of course you have.


This looks like the user conf files took precedence on the system conf files.
Correct ?


Yes.


In that case, it should be written somewhere that a configure from lyx is 
required
after a configure from Resources.


I thaught this is told in the userguide.

regards Uwe


Re: xpm-Konverter?

2006-06-09 Thread Uwe Stöhr

Matthias Schmidt schrieb:


I`m starting to work with Lyx again with Lyx 1.4.1 (windows
installer, german).


I assume that you use this installer:

http://wiki.lyx.org/Windows/LyXWinInstaller


I cannot view the tutorial als a PDF-file: I get the information:
"Keine Information vorhanden, um Dateien im xpm-Format nach png zu
konvertieren. Definieren Sie einen Konverter in den Einstellungen."


The problem are missing and broken xpm-files. The tutorial is about
LyX 1.3 and some of the used images aren't shipped with LyX 1.4. I'll 
fix this in the next installer release. In the meantime, delete the 
xpm-files from the tutorial to be able to view PDF-output (use the 
method "PDF (pdflatex)" )


regards Uwe


Equations and Bibliography

2006-06-09 Thread Julio Rojas

Hi. I'm writing my equationsusing "Ctrl-Shift-M" but no numbering appears on
the right side of them. I'm using "Book" class and have automatically
enabled AMS package. What can be happening???

Also, I want to use "jurabib" as my style (just because it is far more
flexible) but the references don't appear on the PDF output. If I export the
document to LaTeX code and process it with TeXnic the bibliography works
fine. As I told before, the bibliography styles don't appear on the database
selection, so I have to manually search for them. Of course, this includes
the whole path of the style in the resulting LaTeX output, so I have to
manually removing it. Could this be the problem in LyX??? How can it be
solved???

Thanks for your help.

--
-
Julio Rojas
[EMAIL PROTECTED]