Re: Table of content

2006-10-11 Thread Juergen Spitzmueller
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).

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

(1) write 
\addcontentsline{toc}{chapter}{the actual chapter text}
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

Jürgen




Re: xetex linux

2006-10-11 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
  I am interrested in LYX with xetex for linux. How is this working? I
  haven't installed lyx or any tex/latex on my linux box yet.

 I didn't try it but I fear it won't work (yet).

However, today I read that it works (minus some glitches):
http://wiki.lyx.org/Mac/XeTeX

Jürgen


Re: Installing new doc types?

2006-10-11 Thread José Matos
On Wednesday 11 October 2006 05:17, Timothy Reaves wrote:
 I understand that, but it's not being picked up.

  AFAIR, the environment variable PATH in the OSX package is set so that latex 
can be find in the way.

  For docbook we test for the presence of db2dvi in PATH. So you should 
guarantee that this program is in your path.

  I accept alternative ways to do it. :-)
-- 
José Abílio


Re: lyx 1.4.x performance

2006-10-11 Thread Jean-Marc Lasgouttes
 killermike == killermike  [EMAIL PROTECTED] writes:

killermike 1.3.7 (installed using the Ubuntu package management)
killermike works fine. However, 1.4.2 and 1.4.3 (both built from
killermike source) suffer from sluggish screen updates and high CPU
killermike usage. The program is sluggish but still usable so, I'd
killermike like to keep using 1.4.x as I like some of the new
killermike features. 

What kind of things do you have in your documents? Maths? Math macros?
Tables? 

killermike I am gathering notes for a book project and I currently
killermike have about 12,000 words. I presume that I could move back
killermike to 1.3.x if the program becomes unusably sluggish in the
killermike future?

Yes, I think so.

killermike This problem existed on Ubuntu 5.10, Ubuntu 6.10 and
killermike Kubuntu 6.10LTS. If I bring up the KDE process monitor, it
killermike would seem that the CPU usage (when I am highlighting text
killermike in Lyx) is divided between Lyx and X.org. The problems
killermike persist with either the stock NVidia support that comes
killermike with Ubuntu or the latest drivers from the Nvidia website.

killermike The problem seems worse when I highlight text with the
killermike mouse. Moving the mouse around when highlighting text
killermike takes the processor usage up to 100%.

These problems are known in part. See for example
http://bugzilla.lyx.org/show_bug.cgi?id=2381
http://bugzilla.lyx.org/show_bug.cgi?id=2195

killermike I have attached the output from ./configure
killermike --with-frontend=qt --with-qt-dir=/usr/share/qt3/
killermike lyx143qt_config.txt to this email.

This output does not show anything suspect.

JMarc



Re: Text out of the paper

2006-10-11 Thread Juergen Spitzmueller
Nivaldo Vasconcelos wrote:
 Hi,

 I use the Lyx since 1999 and like it so much.
 Now I have a problem: when I use some bibtex syles (for example harvard
 style) that uses author and year, and the citation list + line text is
 bigger than the line a piece of the line text stay out of the paper !!

You don't use natbib, do you? Natbib allows line breaks in citations.

For anything else, try
\usepackage{cite}

Does this help?
Jürgen

 Best regards,
 Nivaldo



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk Sven, I opened my LyX docuement and closed all the floating
kmailuk tables and charts but I am still having a problem with the
kmailuk speed of LyX. When I add text to the start or end of the
kmailuk document (where there are few/no math equations) the speed is
kmailuk fine. But when I try to add text in areas where there are big
kmailuk chunks of math then I have the speed problem with csrss.exe
kmailuk and the letters taking several moments to appear in the
kmailuk document. So unfortunately that did not seem to do the trick
kmailuk for me. Ken

Do you use math macros?

Does the speed problem go away when using math preview?

It may be that the math insets exercise some painting operations that
are expensive on your system. What is you graphics card? Do you have
the latest drivers?

JMarc


Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

JMarc,

Thanks for your reply. I don't think I am using any math macros... I am
simply typing my math equations in.  But there are several lines of
equations in each math inset and there are lots of insets.  I am not sure
what math preview is... I'll google it and try enabling/disabling it. (I
have instant preview set to off).

I am using a Dell Inspiron 5150.  It has an Nvidia graphics card with 32Mb
or memory.  I keep the machine updated with Windows update so I think it
should be running the latest drivers.

Ken


On 10/11/06, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk Sven, I opened my LyX docuement and closed all the floating
kmailuk tables and charts but I am still having a problem with the
kmailuk speed of LyX. When I add text to the start or end of the
kmailuk document (where there are few/no math equations) the speed is
kmailuk fine. But when I try to add text in areas where there are big
kmailuk chunks of math then I have the speed problem with csrss.exe
kmailuk and the letters taking several moments to appear in the
kmailuk document. So unfortunately that did not seem to do the trick
kmailuk for me. Ken

Do you use math macros?

Does the speed problem go away when using math preview?

It may be that the math insets exercise some painting operations that
are expensive on your system. What is you graphics card? Do you have
the latest drivers?

JMarc



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk JMarc, Thanks for your reply. I don't think I am using any
kmailuk math macros... I am simply typing my math equations in. But
kmailuk there are several lines of equations in each math inset and
kmailuk there are lots of insets. I am not sure what math preview
kmailuk is... I'll google it and try enabling/disabling it. (I have
kmailuk instant preview set to off).

Just set instant preview to 'On'.

kmailuk I am using a Dell Inspiron 5150. It has an Nvidia graphics
kmailuk card with 32Mb or memory. I keep the machine updated with
kmailuk Windows update so I think it should be running the latest
kmailuk drivers.

Do you know what is the drivers version you have?

JMarc


Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

Hey! With instant preview turned ON there is a noticeable performance
improvement (i.e. speed is not a problem any more).  Why would that make
things run faster?  (I prefer the way LyX looked with instant preview off
but I can't complain).

The Nvidia driver version is 6.14.10.6610.

Thanks so much!

Ken


On 10/11/06, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk JMarc, Thanks for your reply. I don't think I am using any
kmailuk math macros... I am simply typing my math equations in. But
kmailuk there are several lines of equations in each math inset and
kmailuk there are lots of insets. I am not sure what math preview
kmailuk is... I'll google it and try enabling/disabling it. (I have
kmailuk instant preview set to off).

Just set instant preview to 'On'.

kmailuk I am using a Dell Inspiron 5150. It has an Nvidia graphics
kmailuk card with 32Mb or memory. I keep the machine updated with
kmailuk Windows update so I think it should be running the latest
kmailuk drivers.

Do you know what is the drivers version you have?

JMarc



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk Hey! With instant preview turned ON there is a noticeable
kmailuk performance improvement (i.e. speed is not a problem any
kmailuk more). Why would that make things run faster? (I prefer the
kmailuk way LyX looked with instant preview off but I can't
kmailuk complain).

It seems that math equation display is really slow for some reason,
but I cannot guess why.

kmailuk The Nvidia driver version is 6.14.10.6610.

If I am not mistaken, this is from 2004, but it probably does not make
a big difference (unless there is a specific qt problem).

JMarc



Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread Rudi Gaelzer
On Tuesday 10 October 2006 17:51, [EMAIL PROTECTED] wrote:

 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'?

 /Christian

Oh, I think this is important. If Paul hadn't scribbled those instructions, I 
would be really hard-pressed to create the rpm...  
Mandriva does have official rpm's for Lyx, but only for the older 1.3.x 
versions.  In fact, updates to Mandriva LE are really slow to come by, as 
compared to fedora, for instance...

Anyway, I got at least one person interested in my package. Is there any 
possibility that I can upload it to an official mirror? I don't have any 
public repository quota available to me, right now...

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Layouts in LyX

2006-10-11 Thread Dan Kaplan

I am a new user of LyX and I'm confused about something: the User's Manual
is formatted as scrbook, but when I go to the DocumentSettings window, LyX
says scrbook (as well as most of the other layouts) is unavailable. I'm
confused about this, since it appears that the scrbook.layout file is in the
layout folder. Why isn't LyX registering the fact that it has scrbook (and
all the other layouts, too)? Any help would be appreciated.

Sincerely,
Dan Kaplan


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread Georg Baum
Rudi Gaelzer wrote:

 Anyway, I got at least one person interested in my package. Is there any
 possibility that I can upload it to an official mirror? I don't have any
 public repository quota available to me, right now...

If your package was built from clean sources and it is useful for a wider
audience, i.e. it does not require anything that is not part of your
distro, then it would be a good idea to put it on the LyX ftp server. If
you want to do that, upload it to ftp.devel.lyx.org/pub/incoming, and tell
Jean-Marc that he can move it to the final place (the devel in the address
above is important).


Georg



Re: Layouts in LyX

2006-10-11 Thread Georg Baum
Dan Kaplan wrote:

 I am a new user of LyX and I'm confused about something: the User's Manual
 is formatted as scrbook, but when I go to the DocumentSettings window,
 LyX says scrbook (as well as most of the other layouts) is unavailable.
 I'm confused about this, since it appears that the scrbook.layout file is
 in the layout folder. Why isn't LyX registering the fact that it has
 scrbook (and all the other layouts, too)? Any help would be appreciated.

Unavailable means that the corresponding LaTeX class could not be found.
Does it work if you do a Tools-Reconfigure? AFAIK there are some cases
where your TeX distribution is sometimes not found on windows, but I don't
know the details.


Georg



Re: Layouts in LyX

2006-10-11 Thread Paul A. Rubin

Dan Kaplan wrote:

I am a new user of LyX and I'm confused about something: the User's Manual
is formatted as scrbook, but when I go to the DocumentSettings window, LyX
says scrbook (as well as most of the other layouts) is unavailable. I'm
confused about this, since it appears that the scrbook.layout file is in 
the

layout folder. Why isn't LyX registering the fact that it has scrbook (and
all the other layouts, too)? Any help would be appreciated.

Sincerely,
Dan Kaplan



You need four things to all go right in order to use a document class:

1.  you need the class installed in LaTeX;
2.  you need the class *visible* in LaTeX (i.e., the LaTeX database has 
been refreshed);

3.  you need the layout file installed; and
4.  LyX needs to know that stuff is there (meaning that LyX needs to be 
reconfigured and restarted if any of the above change).


How does your installation stack up against that checklist?

/Paul



Re: LyX slow in Windows XP

2006-10-11 Thread Paul A. Rubin

kmailuk wrote:

Hey! With instant preview turned ON there is a noticeable performance
improvement (i.e. speed is not a problem any more).  Why would that make
things run faster?  (I prefer the way LyX looked with instant preview off
but I can't complain).



I wonder if maybe it's a font problem (??).  Through LyX 1.4.1, LyX 
relied on your having the math screen fonts installed in Windows. 
Starting with 1.4.2, it ships with the necessary fonts, although the 
fonts that come with LyX are a trifle funky (meaning they display 
incorrect glyphs in some cases).


If you're into experimentation, you might try the following.

1.  Locate the lyx root\Resources\fonts folder and rename it (for 
instance, to fonts$) so LyX won't find it.


2.  Using Control Panel-Fonts, delete any installed fonts with names 
matching the ones in the Resources\fonts directory.


3.  Download the bakoma4lyx fonts from 
ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX-1.1.zip and unzip the 
archive somewhere (desktop, temp directory, ...).  Then use Control 
Panel-Fonts to install all the unzipped fonts (after which you can 
delete the unzipped files and the zip archive).


4.  If you have used LyX since your last boot, reboot the system (so 
that it forgets the old fonts if it has them in memory).


5.  Crank up LyX (with instant preview off) and see if the speed problem 
is fixed.


This is a bit of a grope in the dark, but like J-Marc I'm hard pressed 
to see why your machine would be spinning its wheels in csrss.exe when 
there are math insets lying around (and not with IP on), unless it's 
something about the fonts in the math insets.



/Paul



Re: LyX slow in Windows XP

2006-10-11 Thread Georg Baum
Am Mittwoch, 11. Oktober 2006 19:16 schrieb Paul A. Rubin:

 This is a bit of a grope in the dark, but like J-Marc I'm hard pressed 
 to see why your machine would be spinning its wheels in csrss.exe when 
 there are math insets lying around (and not with IP on), unless it's 
 something about the fonts in the math insets.

The fonts could be innocent, it could also have something to do with the 
way math insets are drawn and/or metrics calculation, since with instant 
preview on there is only the preview to be drawn.

Ken, would it be possible to create a test document that shows the slowness 
and post a bug report at http://bugzilla.lyx.org ? Then we could 
investigate.


Georg



Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

Georg,

I created bug report 2900 with an attachement:
http://bugzilla.lyx.org/show_bug.cgi?id=2900

Ken


On 10/11/06, Georg Baum [EMAIL PROTECTED] wrote:


Am Mittwoch, 11. Oktober 2006 19:16 schrieb Paul A. Rubin:

 This is a bit of a grope in the dark, but like J-Marc I'm hard pressed
 to see why your machine would be spinning its wheels in csrss.exe when
 there are math insets lying around (and not with IP on), unless it's
 something about the fonts in the math insets.

The fonts could be innocent, it could also have something to do with the
way math insets are drawn and/or metrics calculation, since with instant
preview on there is only the preview to be drawn.

Ken, would it be possible to create a test document that shows the
slowness
and post a bug report at http://bugzilla.lyx.org ? Then we could
investigate.


Georg




Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread christian . ridderstrom
On Wed, 11 Oct 2006, Rudi Gaelzer wrote:

 On Tuesday 10 October 2006 17:51, [EMAIL PROTECTED] wrote:
 
  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'?
 
  /Christian
 
 Oh, I think this is important. If Paul hadn't scribbled those 
 instructions, I would be really hard-pressed to create the rpm...  
 Mandriva does have official rpm's for Lyx, but only for the older 1.3.x 
 versions.  In fact, updates to Mandriva LE are really slow to come by, 
 as compared to fedora, for instance...

Ok, so we'll keep the page. I didn't quite understand if you wanted to 
keep the name of the page, or thought it was ok to rename it to 'LyX on 
RPM-based Linux'?  (Or if you have another suggestion for the name of the 
page).

cheers
/Christian

 Anyway, I got at least one person interested in my package. Is there any 
 possibility that I can upload it to an official mirror? I don't have any 
 public repository quota available to me, right now...

I think someone else replied out how you do to upload it.


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

Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 Paul == Paul A Rubin [EMAIL PROTECTED] writes:

Paul I wonder if maybe it's a font problem (??). Through LyX 1.4.1,
Paul LyX relied on your having the math screen fonts installed in
Paul Windows. Starting with 1.4.2, it ships with the necessary fonts,
Paul although the fonts that come with LyX are a trifle funky
Paul (meaning they display incorrect glyphs in some cases).

Could the fact that fonts are installed both at global and local scope
make a difference, for example? This is indeed a valid question.

JMarc


Re: Layouts in LyX

2006-10-11 Thread Dan Kaplan

Dear Mr. Baum and Mr. Rubin,

Thanks for your help. It appears I have some of the class files, but I am
missing many of the other classes. I seem to have many layout files without
corresponding class files. Still, some of the class files I have don't
appear to work. Do they all need to be in a particular directory?

Sincerely,
Dan Kaplan



On 10/11/06, Paul A. Rubin  [EMAIL PROTECTED] wrote:


Dan Kaplan wrote:
 I am a new user of LyX and I'm confused about something: the User's
Manual
 is formatted as scrbook, but when I go to the DocumentSettings window,
LyX
 says scrbook (as well as most of the other layouts) is unavailable. I'm
 confused about this, since it appears that the scrbook.layout file is in
 the
 layout folder. Why isn't LyX registering the fact that it has scrbook
(and
 all the other layouts, too)? Any help would be appreciated.

 Sincerely,
 Dan Kaplan


You need four things to all go right in order to use a document class:

1.  you need the class installed in LaTeX;
2.  you need the class *visible* in LaTeX (i.e., the LaTeX database has
been refreshed);
3.  you need the layout file installed; and
4.  LyX needs to know that stuff is there (meaning that LyX needs to be
reconfigured and restarted if any of the above change).

How does your installation stack up against that checklist?

/Paul




Re: LyX slow in Windows XP

2006-10-11 Thread Paul A. Rubin

Jean-Marc Lasgouttes wrote:

Paul == Paul A Rubin [EMAIL PROTECTED] writes:


Paul I wonder if maybe it's a font problem (??). Through LyX 1.4.1,
Paul LyX relied on your having the math screen fonts installed in
Paul Windows. Starting with 1.4.2, it ships with the necessary fonts,
Paul although the fonts that come with LyX are a trifle funky
Paul (meaning they display incorrect glyphs in some cases).

Could the fact that fonts are installed both at global and local scope
make a difference, for example? This is indeed a valid question.



No, I think that may be a false trail.  I downloaded Ken's attachment 
and opened it in LyX 1.4.3 on my laptop (on which I removed the 
duplicate fonts and reinstalled the bakoma4lyx fonts).  The response to 
scrolling and typing are both quite sluggish, and I'm seeing the same 
phenomenon that Ken saw (csrss.exe chewing inordinate numbers of CPU 
cycles).  I guess I've been spared this in the past because I don't use 
long, gory, multiline equations very often (and this certainly won't 
create an incentive to do so in the future).


/Paul



Re: Layouts in LyX

2006-10-11 Thread Paul A. Rubin

Dan Kaplan wrote:


Thanks for your help. It appears I have some of the class files, but I am
missing many of the other classes. I seem to have many layout files without
corresponding class files.


That's (at least potentially) normal.  LyX ships with layouts for a 
number of classes that have less than universal appeal.  I've got a 
number of layouts for uninstalled classes on my boxes.



Still, some of the class files I have don't
appear to work. Do they all need to be in a particular directory?


No.  Keep in mind that there are many classes out there for which there 
are (as yet) no LyX layouts, and no layout means not available in LyX. 
The layouts you do have need to be where LyX will look for them, which 
will be either the Resources/layouts folder under your LyX installation 
or the layouts folder under your home directory.  (You can put layouts 
in either one; a good rule of thumb is that layouts installed by LyX 
live in the former and layouts you add live in the latter, and thus 
survive any uninstall/reinstall operations.)


As to the classes, the can be parked anywhere on the chain of 
directories that LaTeX searches when it looks for class files.  You 
didn't specify which LaTeX distribution you have, and what I'm about to 
say may not apply to all of them.  If article, say, is a class for which 
you have the class file and the layout, but LyX won't enable it, try 
typing 'kpsewhich article.cls' at a shell prompt.  If you get the path 
to the class file (and if the layout is installed), then (possibly after 
a reconfiguration and a restart) LyX should have it on the list of 
available document types.  If kpsewhich comes up empty, either you don't 
have the class file or it's not properly installed.  Not properly 
installed can mean it's in a directory not visible to LaTeX, or it can 
mean that the LaTeX filename database (a list LaTeX maintains of 
available classes, styles etc. and their locations) was not updated 
after the class was installed.  How you force a refresh of the database 
varies from distribution to distribution, but it might be a matter of 
running the command 'texhash'.  (If you use MikTeX, the Options 
application has a button Refresh FNDB that does the trick.)


/Paul



Way to put parentheses around displayed URLs?

2006-10-11 Thread Sue Kientz
I'm writing a manual, book class, using hyperref package which, when  
I generate the PDF (using pdflatex), gives me inline output that  
looks like (for example)


... you can get xxx at the AVS website www.avs.com and yyy at the  
OpenDX website www.opendx.org


To create those website labels and URLs I used Insert URL of  
course. My problem is, the team I'm preparing this manual for wants  
parentheses around the URLs. If I use Insert URL dialog box to create  
those references, and put either ( ) or   -type parentheses around  
the URLs, they no longer work when clicked on in the PDF. Is there  
something I can add to hyperref that will give me parentheses around  
all the URLs in my document? Or is there another solution, short of  
removing hyperref (since without it I can have the parens, but the  
links won't be clickable).


Thanks for any help. I'm using 1.4.3 on Mac OS X but sharing document  
with Linux users as well.


Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]




Re: Way to put parentheses around displayed URLs?

2006-10-11 Thread Paul A. Rubin

Sue Kientz wrote:
I'm writing a manual, book class, using hyperref package which, when I 
generate the PDF (using pdflatex), gives me inline output that looks 
like (for example)


... you can get xxx at the AVS website www.avs.com and yyy at the 
OpenDX website www.opendx.org


To create those website labels and URLs I used Insert URL of course. 
My problem is, the team I'm preparing this manual for wants parentheses 
around the URLs. If I use Insert URL dialog box to create those 
references, and put either ( ) or   -type parentheses around the URLs, 
they no longer work when clicked on in the PDF. Is there something I can 
add to hyperref that will give me parentheses around all the URLs in my 
document? Or is there another solution, short of removing hyperref 
(since without it I can have the parens, but the links won't be clickable).


Thanks for any help. I'm using 1.4.3 on Mac OS X but sharing document 
with Linux users as well.


Sue Kientz


Typing ( and ) in the text, on either side of the URL inset, should work 
(does for me).  I think you could automate this by redefining 
[EMAIL PROTECTED] and [EMAIL PROTECTED] in your preamble, but it's way 
beyond my extremely modest TeX skills to do so.


/Paul



Re: Way to put parentheses around displayed URLs?

2006-10-11 Thread Uwe Stöhr

Sue Kientz schrieb:

To create those website labels and URLs I used Insert URL of course. 
My problem is, the team I'm preparing this manual for wants parentheses 
around the URLs. If I use Insert URL dialog box to create those 
references, and put either ( ) or   -type parentheses around the URLs, 
they no longer work when clicked on in the PDF. Is there something I can 
add to hyperref that will give me parentheses around all the URLs in my 
document?


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

You can also simply put the parentheses around the URL-box.

Attached is an example LyX-file where I also used hyperref's \href 
command instead of \url. Its preamble contains an example configuration 
for hyperref.


regards Uwe



newfile1.lyx
Description: application/lyx


how to add llncs class

2006-10-11 Thread Savas Konur
Hi all, 

I have just installed the Lyx 1.4.3 and Miktex 2.5 on my Win XP. When I try to 
open a llncs formatted lyx file, I get the well known missing tex class 
llncs error message. I installed the llncs files from Springer's site,and 
manually placed them to the following path: C:\Program Files\Miktex 2.5
\tex\latex\llncs (I created the llncs folder). The files in the llncs folder 
are llncs.cls, llncs.lcd, llncsdoc.sty, llncs.dem, llncs.sty, llncs.doc, 
sprmindx.sty. After putting the files I reconfigured a couple of times; but it 
did not work. If anyone can help me how to properly install the llncs class, I 
will be very grateful. 

Thanks, 

Savas Konur



Re: how to add llncs class

2006-10-11 Thread Daniel Lohmann


MikTex, as almost any LaTeX distribution, manages an index file with all 
installed packages. LyX can only find packages that are registered in this 
index file, hence you have to update it before doing the reconfigure.


Open the MiKTeX options dialog, click on the Root tab, select the TEXMF 
database from the list an click Refresh FNDB. Afterwards run LyX reconfigure.


Daniel

Savas Konur schrieb:
Hi all, 

I have just installed the Lyx 1.4.3 and Miktex 2.5 on my Win XP. When I try to 
open a llncs formatted lyx file, I get the well known missing tex class 
llncs error message. I installed the llncs files from Springer's site,and 
manually placed them to the following path: C:\Program Files\Miktex 2.5
\tex\latex\llncs (I created the llncs folder). The files in the llncs folder 
are llncs.cls, llncs.lcd, llncsdoc.sty, llncs.dem, llncs.sty, llncs.doc, 
sprmindx.sty. After putting the files I reconfigured a couple of times; but it 
did not work. If anyone can help me how to properly install the llncs class, I 
will be very grateful. 

Thanks, 


Savas Konur


Re: Textclass other errors on new install

2006-10-11 Thread Russell W. Behne
On Wednesday 27 September 2006 13:34, Paul A. Rubin wrote:
 Russell W. Behne wrote:
  I just (re)installed Linux (Mandriva 2006) on cleanly formatted
  partitions, and when I open LyX (ver 1.3.5) I get an error message
  saying:
 
  Textclass error
  The document uses a missing TeX class article.
  LyX will not be able to produce output.
 
  Other documents give the same error, but for a different tex class,
  depending on whatever one that document is supposed to be using. I also
  noticed that there's no longer several menu items, things like previewing
  in PS or PDF, and exporting to anything other than ascii.
 
  I have another directory, /usr/local/texmf/tex/latex where I keep style
  files that I downloaded. (I keep them there to both make them available
  to all users, and to survive formats and reinstalls of other partitions.)
  After every reinstall I run this command sequence from a batch file:
 
  rm -f /usr/share/texmf/web2c/texmf.cnf
  cp /usr/local/texmf/texmf.cnf /usr/share/texmf/web2c/texmf.cnf
  /usr/bin/mktexlsr
 
  where /usr/local/texmf/texmf.cnf is a custom texmf.cnf that makes LyX
  recognize these files. (/usr/local is a separate partition, _all_ other
  partitions were formatted during this reinstall.) (Some files I wanted to
  keep were copied to another drive prior to doing the format.)
 
  Unfortunately, in addition to the previously mentioned problems, LyX
  can't find these files anymore, even after I ran the batch file.  (This
  batch file has always worked for me prior to this latest install.)
 
  I'm baffled. What's wrong, and what need I do?

 Did you reconfigure LyX after you ran the batch file?

 /Paul

I'm sorry, I had answered this question, but for some reason it aparently 
didn't get posted to the list.  Yes, I did reconfigure LyX both before  
after running the batch file.

Since my last [missing] post concerning this problem I have downloaded the 
images for Mandriva 2007, burned in a new set of cdroms, and installed a 
completly new Linux Mandriva OS.  And yet the problem remains.
For some reason this release didn't come with LyX, so I downloaded it from the 
2006 disttribution files online.  When I click on  [Help][About LyX]  I get 
this report:
LyX version 1.4.2 of Friday, July 13, 2006
Library directory: /usr/share/lyx
User Directory:  ~/.lyx

In my /usr/share/texmf/web2c/texmf.cnf I have these settings:
TEXMFLOCAL = /usr/local/texmf
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
This should tell LyX where to find all my texmf trees, and so LyX should 
easily be able to find the missing TeX classes, but still doesn't.

Anyone have any ideas how to fix this?

-- 
Mit freundlichen Grüßen,
Russ.
 This is where I learned how to start a backyard nursery:
   http://tinyurl.com/j6xl7
*-*
Russell's Quotes:
   Tho' Modesty is a Virtue, Bashfulness is a Vice.
   ---Benjamin Franklin
  From ``Poor Richard's Almanac''
*-*
 American Gold and Silver Currency is Back:
  http://tinyurl.com/b3r6a
*-*
  What is freedom, really?
 See this great flash presentation: http://tinyurl.com/sb91
 Here's what I knew _before_ the war started: http://tinyurl.com/qu2w5


Re: Table of content

2006-10-11 Thread Juergen Spitzmueller
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).

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

(1) write 
\addcontentsline{toc}{chapter}{the actual chapter text}
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

Jürgen




Re: xetex linux

2006-10-11 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
  I am interrested in LYX with xetex for linux. How is this working? I
  haven't installed lyx or any tex/latex on my linux box yet.

 I didn't try it but I fear it won't work (yet).

However, today I read that it works (minus some glitches):
http://wiki.lyx.org/Mac/XeTeX

Jürgen


Re: Installing new doc types?

2006-10-11 Thread José Matos
On Wednesday 11 October 2006 05:17, Timothy Reaves wrote:
 I understand that, but it's not being picked up.

  AFAIR, the environment variable PATH in the OSX package is set so that latex 
can be find in the way.

  For docbook we test for the presence of db2dvi in PATH. So you should 
guarantee that this program is in your path.

  I accept alternative ways to do it. :-)
-- 
José Abílio


Re: lyx 1.4.x performance

2006-10-11 Thread Jean-Marc Lasgouttes
 killermike == killermike  [EMAIL PROTECTED] writes:

killermike 1.3.7 (installed using the Ubuntu package management)
killermike works fine. However, 1.4.2 and 1.4.3 (both built from
killermike source) suffer from sluggish screen updates and high CPU
killermike usage. The program is sluggish but still usable so, I'd
killermike like to keep using 1.4.x as I like some of the new
killermike features. 

What kind of things do you have in your documents? Maths? Math macros?
Tables? 

killermike I am gathering notes for a book project and I currently
killermike have about 12,000 words. I presume that I could move back
killermike to 1.3.x if the program becomes unusably sluggish in the
killermike future?

Yes, I think so.

killermike This problem existed on Ubuntu 5.10, Ubuntu 6.10 and
killermike Kubuntu 6.10LTS. If I bring up the KDE process monitor, it
killermike would seem that the CPU usage (when I am highlighting text
killermike in Lyx) is divided between Lyx and X.org. The problems
killermike persist with either the stock NVidia support that comes
killermike with Ubuntu or the latest drivers from the Nvidia website.

killermike The problem seems worse when I highlight text with the
killermike mouse. Moving the mouse around when highlighting text
killermike takes the processor usage up to 100%.

These problems are known in part. See for example
http://bugzilla.lyx.org/show_bug.cgi?id=2381
http://bugzilla.lyx.org/show_bug.cgi?id=2195

killermike I have attached the output from ./configure
killermike --with-frontend=qt --with-qt-dir=/usr/share/qt3/
killermike lyx143qt_config.txt to this email.

This output does not show anything suspect.

JMarc



Re: Text out of the paper

2006-10-11 Thread Juergen Spitzmueller
Nivaldo Vasconcelos wrote:
 Hi,

 I use the Lyx since 1999 and like it so much.
 Now I have a problem: when I use some bibtex syles (for example harvard
 style) that uses author and year, and the citation list + line text is
 bigger than the line a piece of the line text stay out of the paper !!

You don't use natbib, do you? Natbib allows line breaks in citations.

For anything else, try
\usepackage{cite}

Does this help?
Jürgen

 Best regards,
 Nivaldo



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk Sven, I opened my LyX docuement and closed all the floating
kmailuk tables and charts but I am still having a problem with the
kmailuk speed of LyX. When I add text to the start or end of the
kmailuk document (where there are few/no math equations) the speed is
kmailuk fine. But when I try to add text in areas where there are big
kmailuk chunks of math then I have the speed problem with csrss.exe
kmailuk and the letters taking several moments to appear in the
kmailuk document. So unfortunately that did not seem to do the trick
kmailuk for me. Ken

Do you use math macros?

Does the speed problem go away when using math preview?

It may be that the math insets exercise some painting operations that
are expensive on your system. What is you graphics card? Do you have
the latest drivers?

JMarc


Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

JMarc,

Thanks for your reply. I don't think I am using any math macros... I am
simply typing my math equations in.  But there are several lines of
equations in each math inset and there are lots of insets.  I am not sure
what math preview is... I'll google it and try enabling/disabling it. (I
have instant preview set to off).

I am using a Dell Inspiron 5150.  It has an Nvidia graphics card with 32Mb
or memory.  I keep the machine updated with Windows update so I think it
should be running the latest drivers.

Ken


On 10/11/06, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk Sven, I opened my LyX docuement and closed all the floating
kmailuk tables and charts but I am still having a problem with the
kmailuk speed of LyX. When I add text to the start or end of the
kmailuk document (where there are few/no math equations) the speed is
kmailuk fine. But when I try to add text in areas where there are big
kmailuk chunks of math then I have the speed problem with csrss.exe
kmailuk and the letters taking several moments to appear in the
kmailuk document. So unfortunately that did not seem to do the trick
kmailuk for me. Ken

Do you use math macros?

Does the speed problem go away when using math preview?

It may be that the math insets exercise some painting operations that
are expensive on your system. What is you graphics card? Do you have
the latest drivers?

JMarc



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk JMarc, Thanks for your reply. I don't think I am using any
kmailuk math macros... I am simply typing my math equations in. But
kmailuk there are several lines of equations in each math inset and
kmailuk there are lots of insets. I am not sure what math preview
kmailuk is... I'll google it and try enabling/disabling it. (I have
kmailuk instant preview set to off).

Just set instant preview to 'On'.

kmailuk I am using a Dell Inspiron 5150. It has an Nvidia graphics
kmailuk card with 32Mb or memory. I keep the machine updated with
kmailuk Windows update so I think it should be running the latest
kmailuk drivers.

Do you know what is the drivers version you have?

JMarc


Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

Hey! With instant preview turned ON there is a noticeable performance
improvement (i.e. speed is not a problem any more).  Why would that make
things run faster?  (I prefer the way LyX looked with instant preview off
but I can't complain).

The Nvidia driver version is 6.14.10.6610.

Thanks so much!

Ken


On 10/11/06, Jean-Marc Lasgouttes [EMAIL PROTECTED] wrote:


 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk JMarc, Thanks for your reply. I don't think I am using any
kmailuk math macros... I am simply typing my math equations in. But
kmailuk there are several lines of equations in each math inset and
kmailuk there are lots of insets. I am not sure what math preview
kmailuk is... I'll google it and try enabling/disabling it. (I have
kmailuk instant preview set to off).

Just set instant preview to 'On'.

kmailuk I am using a Dell Inspiron 5150. It has an Nvidia graphics
kmailuk card with 32Mb or memory. I keep the machine updated with
kmailuk Windows update so I think it should be running the latest
kmailuk drivers.

Do you know what is the drivers version you have?

JMarc



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 kmailuk == kmailuk  [EMAIL PROTECTED] writes:

kmailuk Hey! With instant preview turned ON there is a noticeable
kmailuk performance improvement (i.e. speed is not a problem any
kmailuk more). Why would that make things run faster? (I prefer the
kmailuk way LyX looked with instant preview off but I can't
kmailuk complain).

It seems that math equation display is really slow for some reason,
but I cannot guess why.

kmailuk The Nvidia driver version is 6.14.10.6610.

If I am not mistaken, this is from 2004, but it probably does not make
a big difference (unless there is a specific qt problem).

JMarc



Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread Rudi Gaelzer
On Tuesday 10 October 2006 17:51, [EMAIL PROTECTED] wrote:

 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'?

 /Christian

Oh, I think this is important. If Paul hadn't scribbled those instructions, I 
would be really hard-pressed to create the rpm...  
Mandriva does have official rpm's for Lyx, but only for the older 1.3.x 
versions.  In fact, updates to Mandriva LE are really slow to come by, as 
compared to fedora, for instance...

Anyway, I got at least one person interested in my package. Is there any 
possibility that I can upload it to an official mirror? I don't have any 
public repository quota available to me, right now...

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Layouts in LyX

2006-10-11 Thread Dan Kaplan

I am a new user of LyX and I'm confused about something: the User's Manual
is formatted as scrbook, but when I go to the DocumentSettings window, LyX
says scrbook (as well as most of the other layouts) is unavailable. I'm
confused about this, since it appears that the scrbook.layout file is in the
layout folder. Why isn't LyX registering the fact that it has scrbook (and
all the other layouts, too)? Any help would be appreciated.

Sincerely,
Dan Kaplan


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread Georg Baum
Rudi Gaelzer wrote:

 Anyway, I got at least one person interested in my package. Is there any
 possibility that I can upload it to an official mirror? I don't have any
 public repository quota available to me, right now...

If your package was built from clean sources and it is useful for a wider
audience, i.e. it does not require anything that is not part of your
distro, then it would be a good idea to put it on the LyX ftp server. If
you want to do that, upload it to ftp.devel.lyx.org/pub/incoming, and tell
Jean-Marc that he can move it to the final place (the devel in the address
above is important).


Georg



Re: Layouts in LyX

2006-10-11 Thread Georg Baum
Dan Kaplan wrote:

 I am a new user of LyX and I'm confused about something: the User's Manual
 is formatted as scrbook, but when I go to the DocumentSettings window,
 LyX says scrbook (as well as most of the other layouts) is unavailable.
 I'm confused about this, since it appears that the scrbook.layout file is
 in the layout folder. Why isn't LyX registering the fact that it has
 scrbook (and all the other layouts, too)? Any help would be appreciated.

Unavailable means that the corresponding LaTeX class could not be found.
Does it work if you do a Tools-Reconfigure? AFAIK there are some cases
where your TeX distribution is sometimes not found on windows, but I don't
know the details.


Georg



Re: Layouts in LyX

2006-10-11 Thread Paul A. Rubin

Dan Kaplan wrote:

I am a new user of LyX and I'm confused about something: the User's Manual
is formatted as scrbook, but when I go to the DocumentSettings window, LyX
says scrbook (as well as most of the other layouts) is unavailable. I'm
confused about this, since it appears that the scrbook.layout file is in 
the

layout folder. Why isn't LyX registering the fact that it has scrbook (and
all the other layouts, too)? Any help would be appreciated.

Sincerely,
Dan Kaplan



You need four things to all go right in order to use a document class:

1.  you need the class installed in LaTeX;
2.  you need the class *visible* in LaTeX (i.e., the LaTeX database has 
been refreshed);

3.  you need the layout file installed; and
4.  LyX needs to know that stuff is there (meaning that LyX needs to be 
reconfigured and restarted if any of the above change).


How does your installation stack up against that checklist?

/Paul



Re: LyX slow in Windows XP

2006-10-11 Thread Paul A. Rubin

kmailuk wrote:

Hey! With instant preview turned ON there is a noticeable performance
improvement (i.e. speed is not a problem any more).  Why would that make
things run faster?  (I prefer the way LyX looked with instant preview off
but I can't complain).



I wonder if maybe it's a font problem (??).  Through LyX 1.4.1, LyX 
relied on your having the math screen fonts installed in Windows. 
Starting with 1.4.2, it ships with the necessary fonts, although the 
fonts that come with LyX are a trifle funky (meaning they display 
incorrect glyphs in some cases).


If you're into experimentation, you might try the following.

1.  Locate the lyx root\Resources\fonts folder and rename it (for 
instance, to fonts$) so LyX won't find it.


2.  Using Control Panel-Fonts, delete any installed fonts with names 
matching the ones in the Resources\fonts directory.


3.  Download the bakoma4lyx fonts from 
ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX-1.1.zip and unzip the 
archive somewhere (desktop, temp directory, ...).  Then use Control 
Panel-Fonts to install all the unzipped fonts (after which you can 
delete the unzipped files and the zip archive).


4.  If you have used LyX since your last boot, reboot the system (so 
that it forgets the old fonts if it has them in memory).


5.  Crank up LyX (with instant preview off) and see if the speed problem 
is fixed.


This is a bit of a grope in the dark, but like J-Marc I'm hard pressed 
to see why your machine would be spinning its wheels in csrss.exe when 
there are math insets lying around (and not with IP on), unless it's 
something about the fonts in the math insets.



/Paul



Re: LyX slow in Windows XP

2006-10-11 Thread Georg Baum
Am Mittwoch, 11. Oktober 2006 19:16 schrieb Paul A. Rubin:

 This is a bit of a grope in the dark, but like J-Marc I'm hard pressed 
 to see why your machine would be spinning its wheels in csrss.exe when 
 there are math insets lying around (and not with IP on), unless it's 
 something about the fonts in the math insets.

The fonts could be innocent, it could also have something to do with the 
way math insets are drawn and/or metrics calculation, since with instant 
preview on there is only the preview to be drawn.

Ken, would it be possible to create a test document that shows the slowness 
and post a bug report at http://bugzilla.lyx.org ? Then we could 
investigate.


Georg



Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

Georg,

I created bug report 2900 with an attachement:
http://bugzilla.lyx.org/show_bug.cgi?id=2900

Ken


On 10/11/06, Georg Baum [EMAIL PROTECTED] wrote:


Am Mittwoch, 11. Oktober 2006 19:16 schrieb Paul A. Rubin:

 This is a bit of a grope in the dark, but like J-Marc I'm hard pressed
 to see why your machine would be spinning its wheels in csrss.exe when
 there are math insets lying around (and not with IP on), unless it's
 something about the fonts in the math insets.

The fonts could be innocent, it could also have something to do with the
way math insets are drawn and/or metrics calculation, since with instant
preview on there is only the preview to be drawn.

Ken, would it be possible to create a test document that shows the
slowness
and post a bug report at http://bugzilla.lyx.org ? Then we could
investigate.


Georg




Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread christian . ridderstrom
On Wed, 11 Oct 2006, Rudi Gaelzer wrote:

 On Tuesday 10 October 2006 17:51, [EMAIL PROTECTED] wrote:
 
  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'?
 
  /Christian
 
 Oh, I think this is important. If Paul hadn't scribbled those 
 instructions, I would be really hard-pressed to create the rpm...  
 Mandriva does have official rpm's for Lyx, but only for the older 1.3.x 
 versions.  In fact, updates to Mandriva LE are really slow to come by, 
 as compared to fedora, for instance...

Ok, so we'll keep the page. I didn't quite understand if you wanted to 
keep the name of the page, or thought it was ok to rename it to 'LyX on 
RPM-based Linux'?  (Or if you have another suggestion for the name of the 
page).

cheers
/Christian

 Anyway, I got at least one person interested in my package. Is there any 
 possibility that I can upload it to an official mirror? I don't have any 
 public repository quota available to me, right now...

I think someone else replied out how you do to upload it.


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

Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
 Paul == Paul A Rubin [EMAIL PROTECTED] writes:

Paul I wonder if maybe it's a font problem (??). Through LyX 1.4.1,
Paul LyX relied on your having the math screen fonts installed in
Paul Windows. Starting with 1.4.2, it ships with the necessary fonts,
Paul although the fonts that come with LyX are a trifle funky
Paul (meaning they display incorrect glyphs in some cases).

Could the fact that fonts are installed both at global and local scope
make a difference, for example? This is indeed a valid question.

JMarc


Re: Layouts in LyX

2006-10-11 Thread Dan Kaplan

Dear Mr. Baum and Mr. Rubin,

Thanks for your help. It appears I have some of the class files, but I am
missing many of the other classes. I seem to have many layout files without
corresponding class files. Still, some of the class files I have don't
appear to work. Do they all need to be in a particular directory?

Sincerely,
Dan Kaplan



On 10/11/06, Paul A. Rubin  [EMAIL PROTECTED] wrote:


Dan Kaplan wrote:
 I am a new user of LyX and I'm confused about something: the User's
Manual
 is formatted as scrbook, but when I go to the DocumentSettings window,
LyX
 says scrbook (as well as most of the other layouts) is unavailable. I'm
 confused about this, since it appears that the scrbook.layout file is in
 the
 layout folder. Why isn't LyX registering the fact that it has scrbook
(and
 all the other layouts, too)? Any help would be appreciated.

 Sincerely,
 Dan Kaplan


You need four things to all go right in order to use a document class:

1.  you need the class installed in LaTeX;
2.  you need the class *visible* in LaTeX (i.e., the LaTeX database has
been refreshed);
3.  you need the layout file installed; and
4.  LyX needs to know that stuff is there (meaning that LyX needs to be
reconfigured and restarted if any of the above change).

How does your installation stack up against that checklist?

/Paul




Re: LyX slow in Windows XP

2006-10-11 Thread Paul A. Rubin

Jean-Marc Lasgouttes wrote:

Paul == Paul A Rubin [EMAIL PROTECTED] writes:


Paul I wonder if maybe it's a font problem (??). Through LyX 1.4.1,
Paul LyX relied on your having the math screen fonts installed in
Paul Windows. Starting with 1.4.2, it ships with the necessary fonts,
Paul although the fonts that come with LyX are a trifle funky
Paul (meaning they display incorrect glyphs in some cases).

Could the fact that fonts are installed both at global and local scope
make a difference, for example? This is indeed a valid question.



No, I think that may be a false trail.  I downloaded Ken's attachment 
and opened it in LyX 1.4.3 on my laptop (on which I removed the 
duplicate fonts and reinstalled the bakoma4lyx fonts).  The response to 
scrolling and typing are both quite sluggish, and I'm seeing the same 
phenomenon that Ken saw (csrss.exe chewing inordinate numbers of CPU 
cycles).  I guess I've been spared this in the past because I don't use 
long, gory, multiline equations very often (and this certainly won't 
create an incentive to do so in the future).


/Paul



Re: Layouts in LyX

2006-10-11 Thread Paul A. Rubin

Dan Kaplan wrote:


Thanks for your help. It appears I have some of the class files, but I am
missing many of the other classes. I seem to have many layout files without
corresponding class files.


That's (at least potentially) normal.  LyX ships with layouts for a 
number of classes that have less than universal appeal.  I've got a 
number of layouts for uninstalled classes on my boxes.



Still, some of the class files I have don't
appear to work. Do they all need to be in a particular directory?


No.  Keep in mind that there are many classes out there for which there 
are (as yet) no LyX layouts, and no layout means not available in LyX. 
The layouts you do have need to be where LyX will look for them, which 
will be either the Resources/layouts folder under your LyX installation 
or the layouts folder under your home directory.  (You can put layouts 
in either one; a good rule of thumb is that layouts installed by LyX 
live in the former and layouts you add live in the latter, and thus 
survive any uninstall/reinstall operations.)


As to the classes, the can be parked anywhere on the chain of 
directories that LaTeX searches when it looks for class files.  You 
didn't specify which LaTeX distribution you have, and what I'm about to 
say may not apply to all of them.  If article, say, is a class for which 
you have the class file and the layout, but LyX won't enable it, try 
typing 'kpsewhich article.cls' at a shell prompt.  If you get the path 
to the class file (and if the layout is installed), then (possibly after 
a reconfiguration and a restart) LyX should have it on the list of 
available document types.  If kpsewhich comes up empty, either you don't 
have the class file or it's not properly installed.  Not properly 
installed can mean it's in a directory not visible to LaTeX, or it can 
mean that the LaTeX filename database (a list LaTeX maintains of 
available classes, styles etc. and their locations) was not updated 
after the class was installed.  How you force a refresh of the database 
varies from distribution to distribution, but it might be a matter of 
running the command 'texhash'.  (If you use MikTeX, the Options 
application has a button Refresh FNDB that does the trick.)


/Paul



Way to put parentheses around displayed URLs?

2006-10-11 Thread Sue Kientz
I'm writing a manual, book class, using hyperref package which, when  
I generate the PDF (using pdflatex), gives me inline output that  
looks like (for example)


... you can get xxx at the AVS website www.avs.com and yyy at the  
OpenDX website www.opendx.org


To create those website labels and URLs I used Insert URL of  
course. My problem is, the team I'm preparing this manual for wants  
parentheses around the URLs. If I use Insert URL dialog box to create  
those references, and put either ( ) or   -type parentheses around  
the URLs, they no longer work when clicked on in the PDF. Is there  
something I can add to hyperref that will give me parentheses around  
all the URLs in my document? Or is there another solution, short of  
removing hyperref (since without it I can have the parens, but the  
links won't be clickable).


Thanks for any help. I'm using 1.4.3 on Mac OS X but sharing document  
with Linux users as well.


Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]




Re: Way to put parentheses around displayed URLs?

2006-10-11 Thread Paul A. Rubin

Sue Kientz wrote:
I'm writing a manual, book class, using hyperref package which, when I 
generate the PDF (using pdflatex), gives me inline output that looks 
like (for example)


... you can get xxx at the AVS website www.avs.com and yyy at the 
OpenDX website www.opendx.org


To create those website labels and URLs I used Insert URL of course. 
My problem is, the team I'm preparing this manual for wants parentheses 
around the URLs. If I use Insert URL dialog box to create those 
references, and put either ( ) or   -type parentheses around the URLs, 
they no longer work when clicked on in the PDF. Is there something I can 
add to hyperref that will give me parentheses around all the URLs in my 
document? Or is there another solution, short of removing hyperref 
(since without it I can have the parens, but the links won't be clickable).


Thanks for any help. I'm using 1.4.3 on Mac OS X but sharing document 
with Linux users as well.


Sue Kientz


Typing ( and ) in the text, on either side of the URL inset, should work 
(does for me).  I think you could automate this by redefining 
[EMAIL PROTECTED] and [EMAIL PROTECTED] in your preamble, but it's way 
beyond my extremely modest TeX skills to do so.


/Paul



Re: Way to put parentheses around displayed URLs?

2006-10-11 Thread Uwe Stöhr

Sue Kientz schrieb:

To create those website labels and URLs I used Insert URL of course. 
My problem is, the team I'm preparing this manual for wants parentheses 
around the URLs. If I use Insert URL dialog box to create those 
references, and put either ( ) or   -type parentheses around the URLs, 
they no longer work when clicked on in the PDF. Is there something I can 
add to hyperref that will give me parentheses around all the URLs in my 
document?


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

You can also simply put the parentheses around the URL-box.

Attached is an example LyX-file where I also used hyperref's \href 
command instead of \url. Its preamble contains an example configuration 
for hyperref.


regards Uwe



newfile1.lyx
Description: application/lyx


how to add llncs class

2006-10-11 Thread Savas Konur
Hi all, 

I have just installed the Lyx 1.4.3 and Miktex 2.5 on my Win XP. When I try to 
open a llncs formatted lyx file, I get the well known missing tex class 
llncs error message. I installed the llncs files from Springer's site,and 
manually placed them to the following path: C:\Program Files\Miktex 2.5
\tex\latex\llncs (I created the llncs folder). The files in the llncs folder 
are llncs.cls, llncs.lcd, llncsdoc.sty, llncs.dem, llncs.sty, llncs.doc, 
sprmindx.sty. After putting the files I reconfigured a couple of times; but it 
did not work. If anyone can help me how to properly install the llncs class, I 
will be very grateful. 

Thanks, 

Savas Konur



Re: how to add llncs class

2006-10-11 Thread Daniel Lohmann


MikTex, as almost any LaTeX distribution, manages an index file with all 
installed packages. LyX can only find packages that are registered in this 
index file, hence you have to update it before doing the reconfigure.


Open the MiKTeX options dialog, click on the Root tab, select the TEXMF 
database from the list an click Refresh FNDB. Afterwards run LyX reconfigure.


Daniel

Savas Konur schrieb:
Hi all, 

I have just installed the Lyx 1.4.3 and Miktex 2.5 on my Win XP. When I try to 
open a llncs formatted lyx file, I get the well known missing tex class 
llncs error message. I installed the llncs files from Springer's site,and 
manually placed them to the following path: C:\Program Files\Miktex 2.5
\tex\latex\llncs (I created the llncs folder). The files in the llncs folder 
are llncs.cls, llncs.lcd, llncsdoc.sty, llncs.dem, llncs.sty, llncs.doc, 
sprmindx.sty. After putting the files I reconfigured a couple of times; but it 
did not work. If anyone can help me how to properly install the llncs class, I 
will be very grateful. 

Thanks, 


Savas Konur


Re: Textclass other errors on new install

2006-10-11 Thread Russell W. Behne
On Wednesday 27 September 2006 13:34, Paul A. Rubin wrote:
 Russell W. Behne wrote:
  I just (re)installed Linux (Mandriva 2006) on cleanly formatted
  partitions, and when I open LyX (ver 1.3.5) I get an error message
  saying:
 
  Textclass error
  The document uses a missing TeX class article.
  LyX will not be able to produce output.
 
  Other documents give the same error, but for a different tex class,
  depending on whatever one that document is supposed to be using. I also
  noticed that there's no longer several menu items, things like previewing
  in PS or PDF, and exporting to anything other than ascii.
 
  I have another directory, /usr/local/texmf/tex/latex where I keep style
  files that I downloaded. (I keep them there to both make them available
  to all users, and to survive formats and reinstalls of other partitions.)
  After every reinstall I run this command sequence from a batch file:
 
  rm -f /usr/share/texmf/web2c/texmf.cnf
  cp /usr/local/texmf/texmf.cnf /usr/share/texmf/web2c/texmf.cnf
  /usr/bin/mktexlsr
 
  where /usr/local/texmf/texmf.cnf is a custom texmf.cnf that makes LyX
  recognize these files. (/usr/local is a separate partition, _all_ other
  partitions were formatted during this reinstall.) (Some files I wanted to
  keep were copied to another drive prior to doing the format.)
 
  Unfortunately, in addition to the previously mentioned problems, LyX
  can't find these files anymore, even after I ran the batch file.  (This
  batch file has always worked for me prior to this latest install.)
 
  I'm baffled. What's wrong, and what need I do?

 Did you reconfigure LyX after you ran the batch file?

 /Paul

I'm sorry, I had answered this question, but for some reason it aparently 
didn't get posted to the list.  Yes, I did reconfigure LyX both before  
after running the batch file.

Since my last [missing] post concerning this problem I have downloaded the 
images for Mandriva 2007, burned in a new set of cdroms, and installed a 
completly new Linux Mandriva OS.  And yet the problem remains.
For some reason this release didn't come with LyX, so I downloaded it from the 
2006 disttribution files online.  When I click on  [Help][About LyX]  I get 
this report:
LyX version 1.4.2 of Friday, July 13, 2006
Library directory: /usr/share/lyx
User Directory:  ~/.lyx

In my /usr/share/texmf/web2c/texmf.cnf I have these settings:
TEXMFLOCAL = /usr/local/texmf
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
This should tell LyX where to find all my texmf trees, and so LyX should 
easily be able to find the missing TeX classes, but still doesn't.

Anyone have any ideas how to fix this?

-- 
Mit freundlichen Grüßen,
Russ.
 This is where I learned how to start a backyard nursery:
   http://tinyurl.com/j6xl7
*-*
Russell's Quotes:
   Tho' Modesty is a Virtue, Bashfulness is a Vice.
   ---Benjamin Franklin
  From ``Poor Richard's Almanac''
*-*
 American Gold and Silver Currency is Back:
  http://tinyurl.com/b3r6a
*-*
  What is freedom, really?
 See this great flash presentation: http://tinyurl.com/sb91
 Here's what I knew _before_ the war started: http://tinyurl.com/qu2w5


Re: Table of content

2006-10-11 Thread Juergen Spitzmueller
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).

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

Jürgen




Re: xetex linux

2006-10-11 Thread Juergen Spitzmueller
Juergen Spitzmueller wrote:
> > I am interrested in LYX with xetex for linux. How is this working? I
> > haven't installed lyx or any tex/latex on my linux box yet.
>
> I didn't try it but I fear it won't work (yet).

However, today I read that it works (minus some glitches):
http://wiki.lyx.org/Mac/XeTeX

Jürgen


Re: Installing new doc types?

2006-10-11 Thread José Matos
On Wednesday 11 October 2006 05:17, Timothy Reaves wrote:
> I understand that, but it's not being picked up.

  AFAIR, the environment variable PATH in the OSX package is set so that latex 
can be find in the way.

  For docbook we test for the presence of db2dvi in PATH. So you should 
guarantee that this program is in your path.

  I accept alternative ways to do it. :-)
-- 
José Abílio


Re: lyx 1.4.x performance

2006-10-11 Thread Jean-Marc Lasgouttes
> "killermike" == killermike  <[EMAIL PROTECTED]> writes:

killermike> 1.3.7 (installed using the Ubuntu package management)
killermike> works fine. However, 1.4.2 and 1.4.3 (both built from
killermike> source) suffer from sluggish screen updates and high CPU
killermike> usage. The program is sluggish but still usable so, I'd
killermike> like to keep using 1.4.x as I like some of the new
killermike> features. 

What kind of things do you have in your documents? Maths? Math macros?
Tables? 

killermike> I am gathering notes for a book project and I currently
killermike> have about 12,000 words. I presume that I could move back
killermike> to 1.3.x if the program becomes unusably sluggish in the
killermike> future?

Yes, I think so.

killermike> This problem existed on Ubuntu 5.10, Ubuntu 6.10 and
killermike> Kubuntu 6.10LTS. If I bring up the KDE process monitor, it
killermike> would seem that the CPU usage (when I am highlighting text
killermike> in Lyx) is divided between Lyx and X.org. The problems
killermike> persist with either the stock NVidia support that comes
killermike> with Ubuntu or the latest drivers from the Nvidia website.

killermike> The problem seems worse when I highlight text with the
killermike> mouse. Moving the mouse around when highlighting text
killermike> takes the processor usage up to 100%.

These problems are known in part. See for example
http://bugzilla.lyx.org/show_bug.cgi?id=2381
http://bugzilla.lyx.org/show_bug.cgi?id=2195

killermike> I have attached the output from ./configure
killermike> --with-frontend=qt --with-qt-dir=/usr/share/qt3/
killermike> >lyx143qt_config.txt to this email.

This output does not show anything suspect.

JMarc



Re: Text out of the paper

2006-10-11 Thread Juergen Spitzmueller
Nivaldo Vasconcelos wrote:
> Hi,
>
> I use the Lyx since 1999 and like it so much.
> Now I have a problem: when I use some bibtex syles (for example harvard
> style) that uses author and year, and the citation list + line text is
> bigger than the line a piece of the line text stay out of the paper !!

You don't use natbib, do you? Natbib allows line breaks in citations.

For anything else, try
\usepackage{cite}

Does this help?
Jürgen

> Best regards,
> Nivaldo



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
> "kmailuk" == kmailuk  <[EMAIL PROTECTED]> writes:

kmailuk> Sven, I opened my LyX docuement and closed all the floating
kmailuk> tables and charts but I am still having a problem with the
kmailuk> speed of LyX. When I add text to the start or end of the
kmailuk> document (where there are few/no math equations) the speed is
kmailuk> fine. But when I try to add text in areas where there are big
kmailuk> chunks of math then I have the speed problem with csrss.exe
kmailuk> and the letters taking several moments to appear in the
kmailuk> document. So unfortunately that did not seem to do the trick
kmailuk> for me. Ken

Do you use math macros?

Does the speed problem go away when using math preview?

It may be that the math insets exercise some painting operations that
are expensive on your system. What is you graphics card? Do you have
the latest drivers?

JMarc


Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

JMarc,

Thanks for your reply. I don't think I am using any math macros... I am
simply typing my math equations in.  But there are several lines of
equations in each math inset and there are lots of insets.  I am not sure
what "math preview" is... I'll google it and try enabling/disabling it. (I
have instant preview set to off).

I am using a Dell Inspiron 5150.  It has an Nvidia graphics card with 32Mb
or memory.  I keep the machine updated with Windows update so I think it
should be running the latest drivers.

Ken


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


> "kmailuk" == kmailuk  <[EMAIL PROTECTED]> writes:

kmailuk> Sven, I opened my LyX docuement and closed all the floating
kmailuk> tables and charts but I am still having a problem with the
kmailuk> speed of LyX. When I add text to the start or end of the
kmailuk> document (where there are few/no math equations) the speed is
kmailuk> fine. But when I try to add text in areas where there are big
kmailuk> chunks of math then I have the speed problem with csrss.exe
kmailuk> and the letters taking several moments to appear in the
kmailuk> document. So unfortunately that did not seem to do the trick
kmailuk> for me. Ken

Do you use math macros?

Does the speed problem go away when using math preview?

It may be that the math insets exercise some painting operations that
are expensive on your system. What is you graphics card? Do you have
the latest drivers?

JMarc



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
> "kmailuk" == kmailuk  <[EMAIL PROTECTED]> writes:

kmailuk> JMarc, Thanks for your reply. I don't think I am using any
kmailuk> math macros... I am simply typing my math equations in. But
kmailuk> there are several lines of equations in each math inset and
kmailuk> there are lots of insets. I am not sure what "math preview"
kmailuk> is... I'll google it and try enabling/disabling it. (I have
kmailuk> instant preview set to off).

Just set "instant preview" to 'On'.

kmailuk> I am using a Dell Inspiron 5150. It has an Nvidia graphics
kmailuk> card with 32Mb or memory. I keep the machine updated with
kmailuk> Windows update so I think it should be running the latest
kmailuk> drivers.

Do you know what is the drivers version you have?

JMarc


Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

Hey! With "instant preview" turned ON there is a noticeable performance
improvement (i.e. speed is not a problem any more).  Why would that make
things run faster?  (I prefer the way LyX looked with instant preview off
but I can't complain).

The Nvidia driver version is 6.14.10.6610.

Thanks so much!

Ken


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


> "kmailuk" == kmailuk  <[EMAIL PROTECTED]> writes:

kmailuk> JMarc, Thanks for your reply. I don't think I am using any
kmailuk> math macros... I am simply typing my math equations in. But
kmailuk> there are several lines of equations in each math inset and
kmailuk> there are lots of insets. I am not sure what "math preview"
kmailuk> is... I'll google it and try enabling/disabling it. (I have
kmailuk> instant preview set to off).

Just set "instant preview" to 'On'.

kmailuk> I am using a Dell Inspiron 5150. It has an Nvidia graphics
kmailuk> card with 32Mb or memory. I keep the machine updated with
kmailuk> Windows update so I think it should be running the latest
kmailuk> drivers.

Do you know what is the drivers version you have?

JMarc



Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
> "kmailuk" == kmailuk  <[EMAIL PROTECTED]> writes:

kmailuk> Hey! With "instant preview" turned ON there is a noticeable
kmailuk> performance improvement (i.e. speed is not a problem any
kmailuk> more). Why would that make things run faster? (I prefer the
kmailuk> way LyX looked with instant preview off but I can't
kmailuk> complain).

It seems that math equation display is really slow for some reason,
but I cannot guess why.

kmailuk> The Nvidia driver version is 6.14.10.6610.

If I am not mistaken, this is from 2004, but it probably does not make
a big difference (unless there is a specific qt problem).

JMarc



Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread Rudi Gaelzer
On Tuesday 10 October 2006 17:51, [EMAIL PROTECTED] wrote:
>
> 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'?
>
> /Christian

Oh, I think this is important. If Paul hadn't scribbled those instructions, I 
would be really hard-pressed to create the rpm...  
Mandriva does have official rpm's for Lyx, but only for the older 1.3.x 
versions.  In fact, updates to Mandriva LE are really slow to come by, as 
compared to fedora, for instance...

Anyway, I got at least one person interested in my package. Is there any 
possibility that I can upload it to an official mirror? I don't have any 
public repository quota available to me, right now...

-- 
Rudi Gaelzer
Department of Physics
Institute of Physics and Mathematics
Federal University of Pelotas
BRAZIL
Registered linux user # 153741


Layouts in LyX

2006-10-11 Thread Dan Kaplan

I am a new user of LyX and I'm confused about something: the User's Manual
is formatted as scrbook, but when I go to the Document>Settings window, LyX
says scrbook (as well as most of the other layouts) is unavailable. I'm
confused about this, since it appears that the scrbook.layout file is in the
layout folder. Why isn't LyX registering the fact that it has scrbook (and
all the other layouts, too)? Any help would be appreciated.

Sincerely,
Dan Kaplan


Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread Georg Baum
Rudi Gaelzer wrote:

> Anyway, I got at least one person interested in my package. Is there any
> possibility that I can upload it to an official mirror? I don't have any
> public repository quota available to me, right now...

If your package was built from clean sources and it is useful for a wider
audience, i.e. it does not require anything that is not part of your
distro, then it would be a good idea to put it on the LyX ftp server. If
you want to do that, upload it to ftp.devel.lyx.org/pub/incoming, and tell
Jean-Marc that he can move it to the final place (the devel in the address
above is important).


Georg



Re: Layouts in LyX

2006-10-11 Thread Georg Baum
Dan Kaplan wrote:

> I am a new user of LyX and I'm confused about something: the User's Manual
> is formatted as scrbook, but when I go to the Document>Settings window,
> LyX says scrbook (as well as most of the other layouts) is unavailable.
> I'm confused about this, since it appears that the scrbook.layout file is
> in the layout folder. Why isn't LyX registering the fact that it has
> scrbook (and all the other layouts, too)? Any help would be appreciated.

Unavailable means that the corresponding LaTeX class could not be found.
Does it work if you do a Tools->Reconfigure? AFAIK there are some cases
where your TeX distribution is sometimes not found on windows, but I don't
know the details.


Georg



Re: Layouts in LyX

2006-10-11 Thread Paul A. Rubin

Dan Kaplan wrote:

I am a new user of LyX and I'm confused about something: the User's Manual
is formatted as scrbook, but when I go to the Document>Settings window, LyX
says scrbook (as well as most of the other layouts) is unavailable. I'm
confused about this, since it appears that the scrbook.layout file is in 
the

layout folder. Why isn't LyX registering the fact that it has scrbook (and
all the other layouts, too)? Any help would be appreciated.

Sincerely,
Dan Kaplan



You need four things to all go right in order to use a document class:

1.  you need the class installed in LaTeX;
2.  you need the class *visible* in LaTeX (i.e., the LaTeX database has 
been refreshed);

3.  you need the layout file installed; and
4.  LyX needs to know that stuff is there (meaning that LyX needs to be 
reconfigured and restarted if any of the above change).


How does your installation stack up against that checklist?

/Paul



Re: LyX slow in Windows XP

2006-10-11 Thread Paul A. Rubin

kmailuk wrote:

Hey! With "instant preview" turned ON there is a noticeable performance
improvement (i.e. speed is not a problem any more).  Why would that make
things run faster?  (I prefer the way LyX looked with instant preview off
but I can't complain).



I wonder if maybe it's a font problem (??).  Through LyX 1.4.1, LyX 
relied on your having the math screen fonts installed in Windows. 
Starting with 1.4.2, it ships with the necessary fonts, although the 
fonts that come with LyX are a trifle funky (meaning they display 
incorrect glyphs in some cases).


If you're into experimentation, you might try the following.

1.  Locate the \Resources\fonts folder and rename it (for 
instance, to "fonts$") so LyX won't find it.


2.  Using Control Panel->Fonts, delete any installed fonts with names 
matching the ones in the Resources\fonts directory.


3.  Download the bakoma4lyx fonts from 
ftp://ftp.lyx.org/pub/lyx/contrib/BaKoMa4LyX-1.1.zip and unzip the 
archive somewhere (desktop, temp directory, ...).  Then use Control 
Panel->Fonts to install all the unzipped fonts (after which you can 
delete the unzipped files and the zip archive).


4.  If you have used LyX since your last boot, reboot the system (so 
that it forgets the old fonts if it has them in memory).


5.  Crank up LyX (with instant preview off) and see if the speed problem 
is fixed.


This is a bit of a grope in the dark, but like J-Marc I'm hard pressed 
to see why your machine would be spinning its wheels in csrss.exe when 
there are math insets lying around (and not with IP on), unless it's 
something about the fonts in the math insets.



/Paul



Re: LyX slow in Windows XP

2006-10-11 Thread Georg Baum
Am Mittwoch, 11. Oktober 2006 19:16 schrieb Paul A. Rubin:

> This is a bit of a grope in the dark, but like J-Marc I'm hard pressed 
> to see why your machine would be spinning its wheels in csrss.exe when 
> there are math insets lying around (and not with IP on), unless it's 
> something about the fonts in the math insets.

The fonts could be innocent, it could also have something to do with the 
way math insets are drawn and/or metrics calculation, since with instant 
preview on there is only the preview to be drawn.

Ken, would it be possible to create a test document that shows the slowness 
and post a bug report at http://bugzilla.lyx.org ? Then we could 
investigate.


Georg



Re: LyX slow in Windows XP

2006-10-11 Thread kmailuk

Georg,

I created bug report 2900 with an attachement:
http://bugzilla.lyx.org/show_bug.cgi?id=2900

Ken


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


Am Mittwoch, 11. Oktober 2006 19:16 schrieb Paul A. Rubin:

> This is a bit of a grope in the dark, but like J-Marc I'm hard pressed
> to see why your machine would be spinning its wheels in csrss.exe when
> there are math insets lying around (and not with IP on), unless it's
> something about the fonts in the math insets.

The fonts could be innocent, it could also have something to do with the
way math insets are drawn and/or metrics calculation, since with instant
preview on there is only the preview to be drawn.

Ken, would it be possible to create a test document that shows the
slowness
and post a bug report at http://bugzilla.lyx.org ? Then we could
investigate.


Georg




Re: lyx 1.4.3 RPM for Mandriva 2006.

2006-10-11 Thread christian . ridderstrom
On Wed, 11 Oct 2006, Rudi Gaelzer wrote:

> On Tuesday 10 October 2006 17:51, [EMAIL PROTECTED] wrote:
> >
> > 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'?
> >
> > /Christian
> 
> Oh, I think this is important. If Paul hadn't scribbled those 
> instructions, I would be really hard-pressed to create the rpm...  
> Mandriva does have official rpm's for Lyx, but only for the older 1.3.x 
> versions.  In fact, updates to Mandriva LE are really slow to come by, 
> as compared to fedora, for instance...

Ok, so we'll keep the page. I didn't quite understand if you wanted to 
keep the name of the page, or thought it was ok to rename it to 'LyX on 
RPM-based Linux'?  (Or if you have another suggestion for the name of the 
page).

cheers
/Christian

> Anyway, I got at least one person interested in my package. Is there any 
> possibility that I can upload it to an official mirror? I don't have any 
> public repository quota available to me, right now...

I think someone else replied out how you do to upload it.


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

Re: LyX slow in Windows XP

2006-10-11 Thread Jean-Marc Lasgouttes
> "Paul" == Paul A Rubin <[EMAIL PROTECTED]> writes:

Paul> I wonder if maybe it's a font problem (??). Through LyX 1.4.1,
Paul> LyX relied on your having the math screen fonts installed in
Paul> Windows. Starting with 1.4.2, it ships with the necessary fonts,
Paul> although the fonts that come with LyX are a trifle funky
Paul> (meaning they display incorrect glyphs in some cases).

Could the fact that fonts are installed both at global and local scope
make a difference, for example? This is indeed a valid question.

JMarc


Re: Layouts in LyX

2006-10-11 Thread Dan Kaplan

Dear Mr. Baum and Mr. Rubin,

Thanks for your help. It appears I have some of the class files, but I am
missing many of the other classes. I seem to have many layout files without
corresponding class files. Still, some of the class files I have don't
appear to work. Do they all need to be in a particular directory?

Sincerely,
Dan Kaplan



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


Dan Kaplan wrote:
> I am a new user of LyX and I'm confused about something: the User's
Manual
> is formatted as scrbook, but when I go to the Document>Settings window,
LyX
> says scrbook (as well as most of the other layouts) is unavailable. I'm
> confused about this, since it appears that the scrbook.layout file is in
> the
> layout folder. Why isn't LyX registering the fact that it has scrbook
(and
> all the other layouts, too)? Any help would be appreciated.
>
> Sincerely,
> Dan Kaplan
>

You need four things to all go right in order to use a document class:

1.  you need the class installed in LaTeX;
2.  you need the class *visible* in LaTeX (i.e., the LaTeX database has
been refreshed);
3.  you need the layout file installed; and
4.  LyX needs to know that stuff is there (meaning that LyX needs to be
reconfigured and restarted if any of the above change).

How does your installation stack up against that checklist?

/Paul




Re: LyX slow in Windows XP

2006-10-11 Thread Paul A. Rubin

Jean-Marc Lasgouttes wrote:

"Paul" == Paul A Rubin <[EMAIL PROTECTED]> writes:


Paul> I wonder if maybe it's a font problem (??). Through LyX 1.4.1,
Paul> LyX relied on your having the math screen fonts installed in
Paul> Windows. Starting with 1.4.2, it ships with the necessary fonts,
Paul> although the fonts that come with LyX are a trifle funky
Paul> (meaning they display incorrect glyphs in some cases).

Could the fact that fonts are installed both at global and local scope
make a difference, for example? This is indeed a valid question.



No, I think that may be a false trail.  I downloaded Ken's attachment 
and opened it in LyX 1.4.3 on my laptop (on which I removed the 
duplicate fonts and reinstalled the bakoma4lyx fonts).  The response to 
scrolling and typing are both quite sluggish, and I'm seeing the same 
phenomenon that Ken saw (csrss.exe chewing inordinate numbers of CPU 
cycles).  I guess I've been spared this in the past because I don't use 
long, gory, multiline equations very often (and this certainly won't 
create an incentive to do so in the future).


/Paul



Re: Layouts in LyX

2006-10-11 Thread Paul A. Rubin

Dan Kaplan wrote:


Thanks for your help. It appears I have some of the class files, but I am
missing many of the other classes. I seem to have many layout files without
corresponding class files.


That's (at least potentially) normal.  LyX ships with layouts for a 
number of classes that have less than universal appeal.  I've got a 
number of layouts for uninstalled classes on my boxes.



Still, some of the class files I have don't
appear to work. Do they all need to be in a particular directory?


No.  Keep in mind that there are many classes out there for which there 
are (as yet) no LyX layouts, and no layout means not available in LyX. 
The layouts you do have need to be where LyX will look for them, which 
will be either the Resources/layouts folder under your LyX installation 
or the layouts folder under your home directory.  (You can put layouts 
in either one; a good rule of thumb is that layouts installed by LyX 
live in the former and layouts you add live in the latter, and thus 
survive any uninstall/reinstall operations.)


As to the classes, the can be parked anywhere on the chain of 
directories that LaTeX searches when it looks for class files.  You 
didn't specify which LaTeX distribution you have, and what I'm about to 
say may not apply to all of them.  If article, say, is a class for which 
you have the class file and the layout, but LyX won't enable it, try 
typing 'kpsewhich article.cls' at a shell prompt.  If you get the path 
to the class file (and if the layout is installed), then (possibly after 
a reconfiguration and a restart) LyX should have it on the list of 
available document types.  If kpsewhich comes up empty, either you don't 
have the class file or it's not properly installed.  "Not properly 
installed" can mean it's in a directory not visible to LaTeX, or it can 
mean that the LaTeX filename database (a list LaTeX maintains of 
available classes, styles etc. and their locations) was not updated 
after the class was installed.  How you force a refresh of the database 
varies from distribution to distribution, but it might be a matter of 
running the command 'texhash'.  (If you use MikTeX, the Options 
application has a button "Refresh FNDB" that does the trick.)


/Paul



Way to put parentheses around displayed URLs?

2006-10-11 Thread Sue Kientz
I'm writing a manual, book class, using hyperref package which, when  
I generate the PDF (using pdflatex), gives me inline output that  
looks like (for example)


"... you can get xxx at the AVS website www.avs.com and yyy at the  
OpenDX website www.opendx.org"


To create those website labels and URLs I used "Insert URL" of  
course. My problem is, the team I'm preparing this manual for wants  
parentheses around the URLs. If I use Insert URL dialog box to create  
those references, and put either ( ) or < > -type parentheses around  
the URLs, they no longer work when clicked on in the PDF. Is there  
something I can add to hyperref that will give me parentheses around  
all the URLs in my document? Or is there another solution, short of  
removing hyperref (since without it I can have the parens, but the  
links won't be clickable).


Thanks for any help. I'm using 1.4.3 on Mac OS X but sharing document  
with Linux users as well.


Sue Kientz
---
Technical Writer/Web Manager
Computational Infrastructure of Geodynamics (CIG)
http://www.geodynamics.org/
[EMAIL PROTECTED]




Re: Way to put parentheses around displayed URLs?

2006-10-11 Thread Paul A. Rubin

Sue Kientz wrote:
I'm writing a manual, book class, using hyperref package which, when I 
generate the PDF (using pdflatex), gives me inline output that looks 
like (for example)


"... you can get xxx at the AVS website www.avs.com and yyy at the 
OpenDX website www.opendx.org"


To create those website labels and URLs I used "Insert URL" of course. 
My problem is, the team I'm preparing this manual for wants parentheses 
around the URLs. If I use Insert URL dialog box to create those 
references, and put either ( ) or < > -type parentheses around the URLs, 
they no longer work when clicked on in the PDF. Is there something I can 
add to hyperref that will give me parentheses around all the URLs in my 
document? Or is there another solution, short of removing hyperref 
(since without it I can have the parens, but the links won't be clickable).


Thanks for any help. I'm using 1.4.3 on Mac OS X but sharing document 
with Linux users as well.


Sue Kientz


Typing ( and ) in the text, on either side of the URL inset, should work 
(does for me).  I think you could automate this by redefining 
[EMAIL PROTECTED] and [EMAIL PROTECTED] in your preamble, but it's way 
beyond my extremely modest TeX skills to do so.


/Paul



Re: Way to put parentheses around displayed URLs?

2006-10-11 Thread Uwe Stöhr

Sue Kientz schrieb:

To create those website labels and URLs I used "Insert URL" of course. 
My problem is, the team I'm preparing this manual for wants parentheses 
around the URLs. If I use Insert URL dialog box to create those 
references, and put either ( ) or < > -type parentheses around the URLs, 
they no longer work when clicked on in the PDF. Is there something I can 
add to hyperref that will give me parentheses around all the URLs in my 
document?


You can add this to you document preamble (for parentheses):

\let\myUrl\url
\renewcommand{\url}[1]{(\myUrl{#1})}

You can also simply put the parentheses around the URL-box.

Attached is an example LyX-file where I also used hyperref's \href 
command instead of \url. Its preamble contains an example configuration 
for hyperref.


regards Uwe



newfile1.lyx
Description: application/lyx


how to add llncs class

2006-10-11 Thread Savas Konur
Hi all, 

I have just installed the Lyx 1.4.3 and Miktex 2.5 on my Win XP. When I try to 
open a llncs formatted lyx file, I get the well known "missing tex class 
llncs" error message. I installed the llncs files from Springer's site,and 
manually placed them to the following path: C:\Program Files\Miktex 2.5
\tex\latex\llncs (I created the llncs folder). The files in the llncs folder 
are llncs.cls, llncs.lcd, llncsdoc.sty, llncs.dem, llncs.sty, llncs.doc, 
sprmindx.sty. After putting the files I reconfigured a couple of times; but it 
did not work. If anyone can help me how to properly install the llncs class, I 
will be very grateful. 

Thanks, 

Savas Konur



Re: how to add llncs class

2006-10-11 Thread Daniel Lohmann


MikTex, as almost any LaTeX distribution, manages an index file with all 
installed packages. LyX can only find packages that are registered in this 
index file, hence you have to update it before doing the reconfigure.


Open the MiKTeX options dialog, click on the Root tab, select the TEXMF 
database from the list an click Refresh FNDB. Afterwards run LyX reconfigure.


Daniel

Savas Konur schrieb:
Hi all, 

I have just installed the Lyx 1.4.3 and Miktex 2.5 on my Win XP. When I try to 
open a llncs formatted lyx file, I get the well known "missing tex class 
llncs" error message. I installed the llncs files from Springer's site,and 
manually placed them to the following path: C:\Program Files\Miktex 2.5
\tex\latex\llncs (I created the llncs folder). The files in the llncs folder 
are llncs.cls, llncs.lcd, llncsdoc.sty, llncs.dem, llncs.sty, llncs.doc, 
sprmindx.sty. After putting the files I reconfigured a couple of times; but it 
did not work. If anyone can help me how to properly install the llncs class, I 
will be very grateful. 

Thanks, 


Savas Konur


Re: Textclass & other errors on new install

2006-10-11 Thread Russell W. Behne
On Wednesday 27 September 2006 13:34, Paul A. Rubin wrote:
> Russell W. Behne wrote:
> > I just (re)installed Linux (Mandriva 2006) on cleanly formatted
> > partitions, and when I open LyX (ver 1.3.5) I get an error message
> > saying:
> >
> > Textclass error
> > The document uses a missing TeX class "article".
> > LyX will not be able to produce output.
> >
> > Other documents give the same error, but for a different tex class,
> > depending on whatever one that document is supposed to be using. I also
> > noticed that there's no longer several menu items, things like previewing
> > in PS or PDF, and exporting to anything other than ascii.
> >
> > I have another directory, /usr/local/texmf/tex/latex where I keep style
> > files that I downloaded. (I keep them there to both make them available
> > to all users, and to survive formats and reinstalls of other partitions.)
> > After every reinstall I run this command sequence from a batch file:
> >
> > rm -f /usr/share/texmf/web2c/texmf.cnf
> > cp /usr/local/texmf/texmf.cnf /usr/share/texmf/web2c/texmf.cnf
> > /usr/bin/mktexlsr
> >
> > where /usr/local/texmf/texmf.cnf is a custom texmf.cnf that makes LyX
> > recognize these files. (/usr/local is a separate partition, _all_ other
> > partitions were formatted during this reinstall.) (Some files I wanted to
> > keep were copied to another drive prior to doing the format.)
> >
> > Unfortunately, in addition to the previously mentioned problems, LyX
> > can't find these files anymore, even after I ran the batch file.  (This
> > batch file has always worked for me prior to this latest install.)
> >
> > I'm baffled. What's wrong, and what need I do?
>
> Did you reconfigure LyX after you ran the batch file?
>
> /Paul

I'm sorry, I had answered this question, but for some reason it aparently 
didn't get posted to the list.  Yes, I did reconfigure LyX both before & 
after running the batch file.

Since my last [missing] post concerning this problem I have downloaded the 
images for Mandriva 2007, burned in a new set of cdroms, and installed a 
completly new Linux Mandriva OS.  And yet the problem remains.
For some reason this release didn't come with LyX, so I downloaded it from the 
2006 disttribution files online.  When I click on " [Help][About LyX] " I get 
this report:
LyX version 1.4.2 of Friday, July 13, 2006
Library directory: /usr/share/lyx
User Directory:  ~/.lyx

In my /usr/share/texmf/web2c/texmf.cnf I have these settings:
TEXMFLOCAL = /usr/local/texmf
TEXMF = {$HOMETEXMF,!!$TEXMFLOCAL,!!$TEXMFMAIN}
This should tell LyX where to find all my texmf trees, and so LyX should 
easily be able to find the missing TeX classes, but still doesn't.

Anyone have any ideas how to fix this?

-- 
Mit freundlichen Grüßen,
Russ.
 This is where I learned how to start a backyard nursery:
   http://tinyurl.com/j6xl7
*-*
Russell's Quotes:
   Tho' Modesty is a Virtue, Bashfulness is a Vice.
   ---Benjamin Franklin
  From ``Poor Richard's Almanac''
*-*
 American Gold and Silver Currency is Back:
  http://tinyurl.com/b3r6a
*-*
  What is freedom, really?
 See this great flash presentation: http://tinyurl.com/sb91
 Here's what I knew _before_ the war started: http://tinyurl.com/qu2w5