Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
Am Tuesday 14 April 2009 11:50:23 schrieb Guenter Milde:
 On 2009-04-11, Wolfgang Engelmann wrote:
  My hope is, that something in TeXLive 2008 might cure the Unrecoverable
  error

 maybe before doing this we could rule out other problems: Could you post a
 *minimal* example that exhibits the error (but with everything else
 removed).

 Günter

Günter,

ich hoffe, Du hattest eine gute Osterzeit.

Ich bin gerade von einer Reise zurückgekommen und habe noch einmal das Problem 
zusammengestellt.
In dem Anhang sind die beiden Legenden, eine wie vorher gehabt mit diesem 
Fehler, wenn ich die Lyx-Datei lade:
wolfg...@wolfgang:~/Buecher-D+E$ GPL Ghostscript 8.64: Unrecoverable error, 
exit code 1
dvipng warning: No GhostScript pngalpha output, cannot render raw PostScript 
GPL Ghostscript 8.64: Unrecoverable error, exit code 1

die zweite mit Deinem Vorschlag, bei dem es keine Fehlermeldung (auf dem 
Terminalfenster) gibt.

Ob Du mal nachsehen kannst, ob Du die gleiche Fehlermeldung beim Laden des 
Lyx-files bekommst? Wenn nicht, müßte es an irgendetwas anderem bei mir 
liegen.

Das dumme ist, daß sich bei meinem Buch (in dem wahrscheinlich noch weitere 
solche Stellen sind) diese Fehlermeldungen ständig addieren, und irgendwann 
hängt Lyx und ich muß es neu starten. Auch wird das Arbeiten mit Lyx kurz 
vorher langsam (wenn man dann neu startet, gehts wieder eine Weile).

Ich erhalte also auch mit der fehlerhaften Legende durchaus eine richtige 
pdf-Ausgabe (beide mu sehen genau gleich aus), nur das eben bei der ersten 
Legende die Fehlerausgabe kommt.

Wolfgang


cellclocksTest-a.lyx
Description: application/lyx


Fwd: Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
Sorry, lyx-list-users,
I was discussing a problem I am having with Uwe Stoehr privately and made a 
mistake in sending it to the list. I will report the outcome to the list 
after having clarified it -hopefully- with his help

Wolfgang


Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread Christian Ridderström

On Fri, 17 Apr 2009, Niko Schwarz wrote:

need to tar/untar anything. What was REALLY difficult was the .module I 
had written for the document. It cannot be accessed by a relative path; 
it needs to be inserted directly into the lyx tree. On OSX, I have to 
redo the module installation procedure on every update.


Have you reported this? At the very least it sounds like a feature request 
that you don't want to have to use absolute paths to .module.


regards,
Christian

--
Christian Ridderström   Mobile: +46-70 687 39 44

Crash Reports

2009-04-18 Thread Ken
Occasionally LyX will crash on me (current version 1.6.2).  I have no
idea what causes it so I shouldn't really open a bug report.

Is there some other way of reporting crashes?  Could a LyX add-on
allow the program to send crash reports automatically?  Does anyone
else experience occasional crashes?

A crash is not a big deal as I hit Ctrl+S to save almost instinctively
after any significant modification to the document.  I was just
wondering whether it would be useful to other users and/or the
developers to have a consistent way to report crashes (which are not
obviously reproducible).

Ken


JurabibMLA

2009-04-18 Thread Tim Smeilus

hi all,

I need to write an assignment for college and I need it in MLA format. I 
just can't figure out how to make lyx use that format. All research over 
the net didn't help my out yet.

I would be glad about all helpful response.

thnx Tim Smeilus


Re: Crash Reports

2009-04-18 Thread Doug Laidlaw
On Saturday 18 April 2009 10:05:22 pm Ken wrote:
 Occasionally LyX will crash on me (current version 1.6.2).  I have no
 idea what causes it so I shouldn't really open a bug report.

 Is there some other way of reporting crashes?  Could a LyX add-on
 allow the program to send crash reports automatically?  Does anyone
 else experience occasional crashes?

 A crash is not a big deal as I hit Ctrl+S to save almost instinctively
 after any significant modification to the document.  I was just
 wondering whether it would be useful to other users and/or the
 developers to have a consistent way to report crashes (which are not
 obviously reproducible).

 Ken

If it is at all predictable, you can open LyX from a terminal and see if 
anything is written when it crashes.  But if it is only once in a while, that 
would take perseverance.

Doug.




Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread BH
On Sat, Apr 18, 2009 at 5:38 AM, Christian Ridderström
christian.ridderst...@gmail.com wrote:
 On Fri, 17 Apr 2009, Niko Schwarz wrote:

 need to tar/untar anything. What was REALLY difficult was the .module I
 had written for the document. It cannot be accessed by a relative path; it
 needs to be inserted directly into the lyx tree. On OSX, I have to redo the
 module installation procedure on every update.

 Have you reported this? At the very least it sounds like a feature request
 that you don't want to have to use absolute paths to .module.

Niko -

Are you putting modules in the right place? If you put them in
~/Library/Application Support/LyX-1.6/layouts, then you should have no
problems with updates.

Bennett


Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread Niko Schwarz
oh, i didn't know that's possible!
hmm, that would solve the update thing!

niko

On Sat, Apr 18, 2009 at 2:47 PM, BH bewih...@gmail.com wrote:

 On Sat, Apr 18, 2009 at 5:38 AM, Christian Ridderström
 christian.ridderst...@gmail.com wrote:
  On Fri, 17 Apr 2009, Niko Schwarz wrote:
 
  need to tar/untar anything. What was REALLY difficult was the .module I
  had written for the document. It cannot be accessed by a relative path;
 it
  needs to be inserted directly into the lyx tree. On OSX, I have to redo
 the
  module installation procedure on every update.
 
  Have you reported this? At the very least it sounds like a feature
 request
  that you don't want to have to use absolute paths to .module.

 Niko -

 Are you putting modules in the right place? If you put them in
 ~/Library/Application Support/LyX-1.6/layouts, then you should have no
 problems with updates.

 Bennett



crash when scrolling quickly down

2009-04-18 Thread Erez Yerushalmi
Hi All,

Since I've started using lyx1.62 on windows XP, I've had quite a few
crashes.

I think it is when I quickly scroll down with the down arrow.
Here is the output of the crash.

Any ideas?
Thanks, Erez


D:\LyX\lyx-1.6.2\src\insets\InsetBibtex.cpp(420): Couldn't find
D:/Warwick_PHD/LITERATURE/My Library in InsetBibtex::getBibFiles()!
returning FINISHED_LEFT
  E:/Warwick_PHD/PROJECTS/Global Imbalances/global_imbalances
yr09-m03-d15/Global Imbalances yr09-m03-d15.lyx.emergency

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting
instructions in Help-Introduction and send us a bug report, if necessary.
Thanks !
Bye.

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
Completed



-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage:
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: crash when scrolling quickly down

2009-04-18 Thread rgheck

Erez Yerushalmi wrote:

Hi All,

Since I've started using lyx1.62 on windows XP, I've had quite a few
crashes.

I think it is when I quickly scroll down with the down arrow.
Here is the output of the crash.

Any ideas?

  
You may be a having a known problem that involves hitting an arrow key 
when the cursor is off screen. This is being worked on.


rh



Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

  I have some short (2-3 pages) business documents that I want to typeset
rather than produce with OO.o's Writer. I know that the KOMA-Script letter
class allows me to insert a PDF figure of our logo at the top of the first
page, but I cannot find any information in the KOMA-Script document about
doing the same thing with the scrartcl class. Is there a way to do this?

  If not, can I use the letter2 class and leave all the letter-specific
environments blank?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Rich Shepard wrote:


 I have some short (2-3 pages) business documents that I want to typeset
rather than produce with OO.o's Writer. I know that the KOMA-Script letter
class allows me to insert a PDF figure of our logo at the top of the first
page, but I cannot find any information in the KOMA-Script document about
doing the same thing with the scrartcl class. Is there a way to do this?


  Yes, there is. It's the 'titlehead' environment and that's available for
the scrartcl class, too.

  Now I need to figure out how to reduce the space between the titlehead and
the title. Using \vspace{-5cm} just after the titlehead doesn't do the job.

  Suggestions?

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: A question

2009-04-18 Thread Anders Host-Madsen
There is also the enumitem package/module:

wiki.lyx.org/Tips/Enumitem







Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
I would like to ask you again for your help. Perhaps there is somebody out 
there who had a similar difficulty with Lyx. 

This happens:
I start lyx 1.6.2 (Debian sid) on a terminal and get on the terminal the 
following messages:
 wolfg...@wolfgang:~/Buecher-D+E$ GPL Ghostscript 8.64: Unrecoverable error,
 exit code 1
 dvipng warning: No GhostScript pngalpha output, cannot render raw
 PostScript GPL Ghostscript 8.64: Unrecoverable error, exit code 1

If I remove the first figure legend (or put it into a yellow note box) I do 
not get these messages. 
The difference of the first legend is, that the mu uses the mathematical 
greek, whereas the second one is produced with alt-gr-m

Uwe Stoehr was kind enough to check it with his setup and he does not get an 
error on the terminal with the first legend. Does anybody else get an error? 
And/or has an idea what is going wrong in my case? 

There is no problem with the pdf export, and I could live with it. However, 
with a long document I get these error messages constantly and after some 
time (lets say in30 minutes) Lyx hangs and I have to kill the process and 
start lyx anew. 

dvipng, 1.11-1 is installed and the newest version in Debian lenny
Ghostscript 8.64
lyx 1.6.2 
texlive in Debian squeeze is still 2007

Thanks for your patience, but it is really annoying to work this way

Wolfgang


cellclocksTest-a.lyx
Description: application/lyx


Question on \setkomafont{}{}

2009-04-18 Thread Rich Shepard

  From the KOMA-script doc I see that I can use the
\setkomafont{element}{command} directive to change the typeface for specific
document elements.

  Rather than the san-serif font for the title and section heads, I prefer
to use the default body text typeface of Palatino-Roman. I added to the
preamble:

\setkomafont{title}{}
\setkomafont{section}{}

  This works for the title, but not the section names because those are
defined as \section* so they are unnumbered. Trying:

\setkomafont{section*}{}

caused a TeX error.

  How can I specify the desired typeface for the unnumbered sections?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Uwe Stöhr

Rich Shepard schrieb:

  Now I need to figure out how to reduce the space between the titlehead 
and

the title. Using \vspace{-5cm} just after the titlehead doesn't do the job.


How about

\vspace*{-5cm}

(LyX supports this) or

\phantom{ }\vspace*{-5cm}

Does the koma script user guide not say anything about this?

regards Uwe


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Uwe Stoehr wrote:


How about
\vspace*{-5cm}


Uwe,

  I had tried this without success.


\phantom{ }\vspace*{-5cm}


  Just tried this version, but it also makes no difference.


Does the koma script user guide not say anything about this?


  I searched for it but found nothing.

  During my trial-and-error efforts I discovered that the embedded LaTeX has
to be part of either the \titlehead or \title environments. The article
doesn't compile if it's in the \standard environment.

  I've also extensively changed the figure bounding box, but just cannot get
the title a couple of centimeters below the letterhead. If I could find a
tool that let me tighten the space around the pdf letterhead that might
help. However, pdftk doesn't do this and I cannot use standard vector
graphic tools in linux to manipulate the file.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Question on \setkomafont{}{}

2009-04-18 Thread Bob Lounsbury
On Sat, Apr 18, 2009 at 1:34 PM, Rich Shepard rshep...@appl-ecosys.comwrote:

  From the KOMA-script doc I see that I can use the
 \setkomafont{element}{command} directive to change the typeface for
 specific
 document elements.

  Rather than the san-serif font for the title and section heads, I prefer
 to use the default body text typeface of Palatino-Roman. I added to the
 preamble:

 \setkomafont{title}{}
 \setkomafont{section}{}

  This works for the title, but not the section names because those are
 defined as \section* so they are unnumbered. Trying:

 \setkomafont{section*}{}

 caused a TeX error.

  How can I specify the desired typeface for the unnumbered sections?

 Rich

 --
 Richard B. Shepard, Ph.D.   |  IntegrityCredibility
 Applied Ecosystem Services, Inc.|Innovation
 http://www.appl-ecosys.com Voice: 503-667-4517  Fax:
 503-667-8863



Don't have access to LyX at the moment. Does

\setkomafont{sectioning}{}

work for unnumbered sections? Probably not, but I thought I'd ask.

/Bob


Re: Question on \setkomafont{}{} -- ANSWERED

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Bob Lounsbury wrote:


Don't have access to LyX at the moment. Does
\setkomafont{sectioning}{}
work for unnumbered sections? Probably not, but I thought I'd ask.


Bob,

  Wow! It certainly does! It did not occur to me to try that, but it sure
does the job.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Wrong placement with EPS graphics in pdflatex

2009-04-18 Thread Thomas Steffen
Hi All

I noticed recently that I a lot of EPS graphics end up in the wrong
place with the pdflatex backend. I guess it has to do with the
bounding box, and somehow it is wrongly set during the conversion
process. Then the picture ends up in the wrong place, or it is
(partially) invisible if clipping is set. I find that very
inconvenient.

Now I am not sure what exactly the cause is. I used to have a manual
conversion rule set from eps to pdf (ps2pdf) using convert, but that
stopped working correctly (with the explained issues) with the upgrade
to Ubuntu Jaunty (beta). I was using LyX 1.6 before, and certainly on
Windows it does not have these issues (not sure about Ubuntu intrepid,
I think it came with LyX 1.5). Then I thought I had fixed the issue by
installed epstopdf, but not it is back in certain files. There is a
bug report for it
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/238580 , but it is
very vague and possibly combines several issues.

I intend to figure out the problem eventually, but I wonder whether
anybody has experienced this before, or any insight into when it
happens. I use EPS documents mostly from dia and inkscape, but there
may be a few other sources, too.

Regards,
Thomas


Re: Question on \setkomafont{}{}

2009-04-18 Thread cmiramon
Bob Lounsbury wrote:
  From the KOMA-script doc I see that I can use the
 \setkomafont{element}{command} directive to change the typeface for
 specific
 document elements.

  Rather than the san-serif font for the title and section heads, I prefer
 to use the default body text typeface of Palatino-Roman. I added to the
 preamble:

 \setkomafont{title}{}
 \setkomafont{section}{}

  This works for the title, but not the section names because those are
 defined as \section* so they are unnumbered. Trying:

 \setkomafont{section*}{}

 caused a TeX error.

  How can I specify the desired typeface for the unnumbered sections?

 Rich

Try

\renewcommand\sectfont{\rmfamily}

Not very logical

Cheers,
Charles



Re: JurabibMLA

2009-04-18 Thread cmiramon
Tim Smeilus wrote:

 hi all,
 
 I need to write an assignment for college and I need it in MLA format. I
 just can't figure out how to make lyx use that format. All research over
 the net didn't help my out yet.
 I would be glad about all helpful response.
 
 thnx Tim Smeilus

Biblatex-mla is, I believe, better : 

http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html


Installation of biblatex and biblatex-mla depends on your platform and LaTeX
distribution.

Cheers,
Charles



Re: Question on \setkomafont{}{}

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, cmira...@kde-france.org wrote:


Try
\renewcommand\sectfont{\rmfamily}
Not very logical


Charles,

  That's the old KOMA-script way. And, Bob's suggestion of using the
sectioning alias to dispositioning (Table 3.3 in the manual) works like a
charm.

Thank you,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


cocoAspell works with Lyx in Tiger, not Leopard

2009-04-18 Thread Richard Talley
Hello LyX-Users,

I installed MacTeX 2008, cocoAspell 2.0.4.i86,  Skim 1.2.1, and LyX
1.6.2 on an Intel Mac running Leopard (10.5.6).

I have almost exactly the same setup on my personal machine except
it's MacTeX 2007, Tiger (10.4.11) and, obviously, cocoAspell
2.0.4.ppc.

Works like a charm on my machine. On the Intel Mac, cocoAspell appears
to be installed correctly, it's available as a spelling service to
TextEdit, exactly the same path is in the Alternative language field
of Preferences: Language Settings: Spellchecker.

(the path is /Library/Application
Support/cocoAspell/aspell6-en-6.0-0/english.alias, as the Wiki
suggests.)

When I go to spellcheck on the Intel installation, LyX
does.absolutely nothing (other than showing (dialog-show
spellchecker: F7) in the status bar.) No error, no spell check dialog,
nothing.

I want to deploy this setup to a classroom of a couple of dozen Macs
in order to teach a short Why the power of LyX and TeX will save you
time and effort type class, but this one simple thing has turned into
a showstopper.

Any suggestions? Anybody on the list successfully using cocoAspell
with LyX on Leopard?

Here's another anomaly I just noticed. Although TextEdit is quite
happy to use the Aspell spelling service, when I try to set Skim to
use it, Skim complains with a Couldn't contact Spell Checker. That
gives me a hint that there is something not quite right with the
cocoAspell spelling service, but heck if I know what it is.

-- Rich


Re: JurabibMLA

2009-04-18 Thread Stefano Franchi
On Saturday 18 April 2009 16:25:29 cmira...@kde-france.org wrote:
 Tim Smeilus wrote:
  hi all,
 
  I need to write an assignment for college and I need it in MLA format. I
  just can't figure out how to make lyx use that format. All research over
  the net didn't help my out yet.
  I would be glad about all helpful response.
 
  thnx Tim Smeilus

 Biblatex-mla is, I believe, better :

 http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html



Indeed. Itis virtually impossible to get the MLA style in jurabib, especially 
because earlier efforts in this direction were later abandoned. You can get 
close, but can't really replicate true MLA style.

biblatex, even though still partially unsupported by LyX, is the way to go.
Be sure to read the wiki pages at: wiki.lyx.org/BibTeX/Biblatex for the 
current limited support

Cheers,

S.



 Installation of biblatex and biblatex-mla depends on your platform and
 LaTeX distribution.

 Cheers,
 Charles


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #  
sign in it, i.e.  www.example.com/#1


Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a  
footnote.


I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in  
1.6.0rc3 - I haven't tried recompiling that particular file since  
then...


Can anyone verify that this is a bug?



newfile1.lyx
Description: Binary data




Re: Above-Title Figure in KOMA-Script Article Class? -- SOLVED

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Uwe Stoehr wrote:


How about
\vspace*{-5cm}
(LyX supports this) or
\phantom{ }\vspace*{-5cm}


Uwe,

  Neither of those had any effect. What I did (after spending too much time
going around in circles), was to generate a new .pdf file with smaller and
more symmetrical borders.

  Because we use a logotype-logo, and that typeface (Baker Signet) is not
available in LaTeX (or LyX ... as far as I know), I created the letterhead
in OO.o's Writer and exported it as a .pdf file. Initially, I did not cut
the page size as small as I could and this left too much margin on the left,
top, and bottom. Resizing the page before exporting it resulted in a much
smaller and easier to adjust \titlehead. Moving the bounding box coordinates
until the output was suitable fixed the problem.

Thanks very much for your suggestion,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: JurabibMLA

2009-04-18 Thread Richard Talley
An alternative solution might be mla-paper.

http://www.ctan.org/tex-archive/macros/latex/contrib/mla-paper/

-- Rich


On Sat, Apr 18, 2009 at 4:14 PM, Stefano Franchi
fran...@philosophy.tamu.edu wrote:
 On Saturday 18 April 2009 16:25:29 cmira...@kde-france.org wrote:
 Tim Smeilus wrote:
  hi all,
 
  I need to write an assignment for college and I need it in MLA format. I
  just can't figure out how to make lyx use that format. All research over
  the net didn't help my out yet.
  I would be glad about all helpful response.
 
  thnx Tim Smeilus

 Biblatex-mla is, I believe, better :

 http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html



 Indeed. Itis virtually impossible to get the MLA style in jurabib, especially
 because earlier efforts in this direction were later abandoned. You can get
 close, but can't really replicate true MLA style.

 biblatex, even though still partially unsupported by LyX, is the way to go.
 Be sure to read the wiki pages at: wiki.lyx.org/BibTeX/Biblatex for the
 current limited support

 Cheers,

 S.



 Installation of biblatex and biblatex-mla depends on your platform and
 LaTeX distribution.

 Cheers,
 Charles


 __
 Stefano Franchi
 Department of Philosophy  Ph:  (979) 862-2211
 Texas AM University  Fax: (979) 845-0458
 305B Bolton Hall  fran...@philosophy.tamu.edu
 College Station, TX 77843-4237




Re: bug in hyperlink and footnote?

2009-04-18 Thread Stefano Franchi
On Saturday 18 April 2009 17:24:38 James Sutherland wrote:
 I think that I may have found a bug in LyX.

 1. Create a footnote.
 2. In the footnote, insert a hyperlink
 3. In the target field of the hyperlink, insert a URL with a #
 sign in it, i.e.  www.example.com/#1

 Latex fails to compile this document.

 A hyperlink with a # in the target works as long as it is NOT in a
 footnote.

 I have attached a trivially simple file that exposes this problem.

 This worked in 1.6.0.  (Actually, I have a file that used this in
 1.6.0rc3 - I haven't tried recompiling that particular file since
 then...

 Can anyone verify that this is a bug?

Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on Kubuntu 
Intrepid.

Cheers,

S.


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:


On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #
sign in it, i.e.  www.example.com/#1

Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a
footnote.

I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in
1.6.0rc3 - I haven't tried recompiling that particular file since
then...

Can anyone verify that this is a bug?


Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007  
on Kubuntu

Intrepid.


Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive  
2008.

Can anyone else on a Mac duplicate this?


Re: cocoAspell works with Lyx in Tiger, not Leopard

2009-04-18 Thread Anders Host-Madsen
Richard Talley rich.tal...@... writes:

 Any suggestions? Anybody on the list successfully using cocoAspell
 with LyX on Leopard?

It works fine for me under Leopard. I don't believe I did anything 
specialto install it, just follow the instructions. Maybe try to 
uninstall and reinstall?



Re: bug in hyperlink and footnote?

2009-04-18 Thread BH
On Sat, Apr 18, 2009 at 7:50 PM, James Sutherland
jcsutherland.u...@gmail.com wrote:

 On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:

 On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

 I think that I may have found a bug in LyX.

 1. Create a footnote.
 2. In the footnote, insert a hyperlink
 3. In the target field of the hyperlink, insert a URL with a #
 sign in it, i.e.  www.example.com/#1

 Latex fails to compile this document.

 A hyperlink with a # in the target works as long as it is NOT in a
 footnote.

 I have attached a trivially simple file that exposes this problem.

 This worked in 1.6.0.  (Actually, I have a file that used this in
 1.6.0rc3 - I haven't tried recompiling that particular file since
 then...

 Can anyone verify that this is a bug?

 Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on
 Kubuntu
 Intrepid.

 Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive 2008.
 Can anyone else on a Mac duplicate this?

I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's
the error message (repeated 3 times):

Illegal parameter number in definition of \...@tempa.

}

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things are all
screwed up? I'm going to assume that you meant ##.



Bennett


Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's
the error message (repeated 3 times):

Illegal parameter number in definition of \...@tempa.

}

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things are all
screwed up? I'm going to assume that you meant ##.



Actually, the URL that I want to reference has a single #, not two ##.
It is quite strange that the individual hyperlink works, but it does  
not work when embedded in the footnote...


Using tables

2009-04-18 Thread Doug Laidlaw
I am probably out of place here, but there is a project on freshmeat.net for 
convering CSV tables to LaTeX.  It may be of use?

http://freshmeat.net/projects/csv2latex

Doug.


Re: bug in hyperlink and footnote?

2009-04-18 Thread Wolfgang Engelmann
Am Sunday 19 April 2009 00:24:38 schrieb James Sutherland:
 I think that I may have found a bug in LyX.

 1. Create a footnote.
 2. In the footnote, insert a hyperlink
 3. In the target field of the hyperlink, insert a URL with a #
 sign in it, i.e.  www.example.com/#1

 Latex fails to compile this document.

 A hyperlink with a # in the target works as long as it is NOT in a
 footnote.

 I have attached a trivially simple file that exposes this problem.

 This worked in 1.6.0.  (Actually, I have a file that used this in
 1.6.0rc3 - I haven't tried recompiling that particular file since
 then...

 Can anyone verify that this is a bug?

confirmed (LyX1.6.2):
error message:

illegal parameter number in definition of h...@tempa
 }
  
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.



Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
Am Tuesday 14 April 2009 11:50:23 schrieb Guenter Milde:
 On 2009-04-11, Wolfgang Engelmann wrote:
  My hope is, that something in TeXLive 2008 might cure the Unrecoverable
  error

 maybe before doing this we could rule out other problems: Could you post a
 *minimal* example that exhibits the error (but with everything else
 removed).

 Günter

Günter,

ich hoffe, Du hattest eine gute Osterzeit.

Ich bin gerade von einer Reise zurückgekommen und habe noch einmal das Problem 
zusammengestellt.
In dem Anhang sind die beiden Legenden, eine wie vorher gehabt mit diesem 
Fehler, wenn ich die Lyx-Datei lade:
wolfg...@wolfgang:~/Buecher-D+E$ GPL Ghostscript 8.64: Unrecoverable error, 
exit code 1
dvipng warning: No GhostScript pngalpha output, cannot render raw PostScript 
GPL Ghostscript 8.64: Unrecoverable error, exit code 1

die zweite mit Deinem Vorschlag, bei dem es keine Fehlermeldung (auf dem 
Terminalfenster) gibt.

Ob Du mal nachsehen kannst, ob Du die gleiche Fehlermeldung beim Laden des 
Lyx-files bekommst? Wenn nicht, müßte es an irgendetwas anderem bei mir 
liegen.

Das dumme ist, daß sich bei meinem Buch (in dem wahrscheinlich noch weitere 
solche Stellen sind) diese Fehlermeldungen ständig addieren, und irgendwann 
hängt Lyx und ich muß es neu starten. Auch wird das Arbeiten mit Lyx kurz 
vorher langsam (wenn man dann neu startet, gehts wieder eine Weile).

Ich erhalte also auch mit der fehlerhaften Legende durchaus eine richtige 
pdf-Ausgabe (beide mu sehen genau gleich aus), nur das eben bei der ersten 
Legende die Fehlerausgabe kommt.

Wolfgang


cellclocksTest-a.lyx
Description: application/lyx


Fwd: Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
Sorry, lyx-list-users,
I was discussing a problem I am having with Uwe Stoehr privately and made a 
mistake in sending it to the list. I will report the outcome to the list 
after having clarified it -hopefully- with his help

Wolfgang


Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread Christian Ridderström

On Fri, 17 Apr 2009, Niko Schwarz wrote:

need to tar/untar anything. What was REALLY difficult was the .module I 
had written for the document. It cannot be accessed by a relative path; 
it needs to be inserted directly into the lyx tree. On OSX, I have to 
redo the module installation procedure on every update.


Have you reported this? At the very least it sounds like a feature request 
that you don't want to have to use absolute paths to .module.


regards,
Christian

--
Christian Ridderström   Mobile: +46-70 687 39 44

Crash Reports

2009-04-18 Thread Ken
Occasionally LyX will crash on me (current version 1.6.2).  I have no
idea what causes it so I shouldn't really open a bug report.

Is there some other way of reporting crashes?  Could a LyX add-on
allow the program to send crash reports automatically?  Does anyone
else experience occasional crashes?

A crash is not a big deal as I hit Ctrl+S to save almost instinctively
after any significant modification to the document.  I was just
wondering whether it would be useful to other users and/or the
developers to have a consistent way to report crashes (which are not
obviously reproducible).

Ken


JurabibMLA

2009-04-18 Thread Tim Smeilus

hi all,

I need to write an assignment for college and I need it in MLA format. I 
just can't figure out how to make lyx use that format. All research over 
the net didn't help my out yet.

I would be glad about all helpful response.

thnx Tim Smeilus


Re: Crash Reports

2009-04-18 Thread Doug Laidlaw
On Saturday 18 April 2009 10:05:22 pm Ken wrote:
 Occasionally LyX will crash on me (current version 1.6.2).  I have no
 idea what causes it so I shouldn't really open a bug report.

 Is there some other way of reporting crashes?  Could a LyX add-on
 allow the program to send crash reports automatically?  Does anyone
 else experience occasional crashes?

 A crash is not a big deal as I hit Ctrl+S to save almost instinctively
 after any significant modification to the document.  I was just
 wondering whether it would be useful to other users and/or the
 developers to have a consistent way to report crashes (which are not
 obviously reproducible).

 Ken

If it is at all predictable, you can open LyX from a terminal and see if 
anything is written when it crashes.  But if it is only once in a while, that 
would take perseverance.

Doug.




Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread BH
On Sat, Apr 18, 2009 at 5:38 AM, Christian Ridderström
christian.ridderst...@gmail.com wrote:
 On Fri, 17 Apr 2009, Niko Schwarz wrote:

 need to tar/untar anything. What was REALLY difficult was the .module I
 had written for the document. It cannot be accessed by a relative path; it
 needs to be inserted directly into the lyx tree. On OSX, I have to redo the
 module installation procedure on every update.

 Have you reported this? At the very least it sounds like a feature request
 that you don't want to have to use absolute paths to .module.

Niko -

Are you putting modules in the right place? If you put them in
~/Library/Application Support/LyX-1.6/layouts, then you should have no
problems with updates.

Bennett


Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread Niko Schwarz
oh, i didn't know that's possible!
hmm, that would solve the update thing!

niko

On Sat, Apr 18, 2009 at 2:47 PM, BH bewih...@gmail.com wrote:

 On Sat, Apr 18, 2009 at 5:38 AM, Christian Ridderström
 christian.ridderst...@gmail.com wrote:
  On Fri, 17 Apr 2009, Niko Schwarz wrote:
 
  need to tar/untar anything. What was REALLY difficult was the .module I
  had written for the document. It cannot be accessed by a relative path;
 it
  needs to be inserted directly into the lyx tree. On OSX, I have to redo
 the
  module installation procedure on every update.
 
  Have you reported this? At the very least it sounds like a feature
 request
  that you don't want to have to use absolute paths to .module.

 Niko -

 Are you putting modules in the right place? If you put them in
 ~/Library/Application Support/LyX-1.6/layouts, then you should have no
 problems with updates.

 Bennett



crash when scrolling quickly down

2009-04-18 Thread Erez Yerushalmi
Hi All,

Since I've started using lyx1.62 on windows XP, I've had quite a few
crashes.

I think it is when I quickly scroll down with the down arrow.
Here is the output of the crash.

Any ideas?
Thanks, Erez


D:\LyX\lyx-1.6.2\src\insets\InsetBibtex.cpp(420): Couldn't find
D:/Warwick_PHD/LITERATURE/My Library in InsetBibtex::getBibFiles()!
returning FINISHED_LEFT
  E:/Warwick_PHD/PROJECTS/Global Imbalances/global_imbalances
yr09-m03-d15/Global Imbalances yr09-m03-d15.lyx.emergency

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting
instructions in Help-Introduction and send us a bug report, if necessary.
Thanks !
Bye.

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
Completed



-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage:
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: crash when scrolling quickly down

2009-04-18 Thread rgheck

Erez Yerushalmi wrote:

Hi All,

Since I've started using lyx1.62 on windows XP, I've had quite a few
crashes.

I think it is when I quickly scroll down with the down arrow.
Here is the output of the crash.

Any ideas?

  
You may be a having a known problem that involves hitting an arrow key 
when the cursor is off screen. This is being worked on.


rh



Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

  I have some short (2-3 pages) business documents that I want to typeset
rather than produce with OO.o's Writer. I know that the KOMA-Script letter
class allows me to insert a PDF figure of our logo at the top of the first
page, but I cannot find any information in the KOMA-Script document about
doing the same thing with the scrartcl class. Is there a way to do this?

  If not, can I use the letter2 class and leave all the letter-specific
environments blank?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Rich Shepard wrote:


 I have some short (2-3 pages) business documents that I want to typeset
rather than produce with OO.o's Writer. I know that the KOMA-Script letter
class allows me to insert a PDF figure of our logo at the top of the first
page, but I cannot find any information in the KOMA-Script document about
doing the same thing with the scrartcl class. Is there a way to do this?


  Yes, there is. It's the 'titlehead' environment and that's available for
the scrartcl class, too.

  Now I need to figure out how to reduce the space between the titlehead and
the title. Using \vspace{-5cm} just after the titlehead doesn't do the job.

  Suggestions?

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: A question

2009-04-18 Thread Anders Host-Madsen
There is also the enumitem package/module:

wiki.lyx.org/Tips/Enumitem







Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
I would like to ask you again for your help. Perhaps there is somebody out 
there who had a similar difficulty with Lyx. 

This happens:
I start lyx 1.6.2 (Debian sid) on a terminal and get on the terminal the 
following messages:
 wolfg...@wolfgang:~/Buecher-D+E$ GPL Ghostscript 8.64: Unrecoverable error,
 exit code 1
 dvipng warning: No GhostScript pngalpha output, cannot render raw
 PostScript GPL Ghostscript 8.64: Unrecoverable error, exit code 1

If I remove the first figure legend (or put it into a yellow note box) I do 
not get these messages. 
The difference of the first legend is, that the mu uses the mathematical 
greek, whereas the second one is produced with alt-gr-m

Uwe Stoehr was kind enough to check it with his setup and he does not get an 
error on the terminal with the first legend. Does anybody else get an error? 
And/or has an idea what is going wrong in my case? 

There is no problem with the pdf export, and I could live with it. However, 
with a long document I get these error messages constantly and after some 
time (lets say in30 minutes) Lyx hangs and I have to kill the process and 
start lyx anew. 

dvipng, 1.11-1 is installed and the newest version in Debian lenny
Ghostscript 8.64
lyx 1.6.2 
texlive in Debian squeeze is still 2007

Thanks for your patience, but it is really annoying to work this way

Wolfgang


cellclocksTest-a.lyx
Description: application/lyx


Question on \setkomafont{}{}

2009-04-18 Thread Rich Shepard

  From the KOMA-script doc I see that I can use the
\setkomafont{element}{command} directive to change the typeface for specific
document elements.

  Rather than the san-serif font for the title and section heads, I prefer
to use the default body text typeface of Palatino-Roman. I added to the
preamble:

\setkomafont{title}{}
\setkomafont{section}{}

  This works for the title, but not the section names because those are
defined as \section* so they are unnumbered. Trying:

\setkomafont{section*}{}

caused a TeX error.

  How can I specify the desired typeface for the unnumbered sections?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Uwe Stöhr

Rich Shepard schrieb:

  Now I need to figure out how to reduce the space between the titlehead 
and

the title. Using \vspace{-5cm} just after the titlehead doesn't do the job.


How about

\vspace*{-5cm}

(LyX supports this) or

\phantom{ }\vspace*{-5cm}

Does the koma script user guide not say anything about this?

regards Uwe


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Uwe Stoehr wrote:


How about
\vspace*{-5cm}


Uwe,

  I had tried this without success.


\phantom{ }\vspace*{-5cm}


  Just tried this version, but it also makes no difference.


Does the koma script user guide not say anything about this?


  I searched for it but found nothing.

  During my trial-and-error efforts I discovered that the embedded LaTeX has
to be part of either the \titlehead or \title environments. The article
doesn't compile if it's in the \standard environment.

  I've also extensively changed the figure bounding box, but just cannot get
the title a couple of centimeters below the letterhead. If I could find a
tool that let me tighten the space around the pdf letterhead that might
help. However, pdftk doesn't do this and I cannot use standard vector
graphic tools in linux to manipulate the file.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Question on \setkomafont{}{}

2009-04-18 Thread Bob Lounsbury
On Sat, Apr 18, 2009 at 1:34 PM, Rich Shepard rshep...@appl-ecosys.comwrote:

  From the KOMA-script doc I see that I can use the
 \setkomafont{element}{command} directive to change the typeface for
 specific
 document elements.

  Rather than the san-serif font for the title and section heads, I prefer
 to use the default body text typeface of Palatino-Roman. I added to the
 preamble:

 \setkomafont{title}{}
 \setkomafont{section}{}

  This works for the title, but not the section names because those are
 defined as \section* so they are unnumbered. Trying:

 \setkomafont{section*}{}

 caused a TeX error.

  How can I specify the desired typeface for the unnumbered sections?

 Rich

 --
 Richard B. Shepard, Ph.D.   |  IntegrityCredibility
 Applied Ecosystem Services, Inc.|Innovation
 http://www.appl-ecosys.com Voice: 503-667-4517  Fax:
 503-667-8863



Don't have access to LyX at the moment. Does

\setkomafont{sectioning}{}

work for unnumbered sections? Probably not, but I thought I'd ask.

/Bob


Re: Question on \setkomafont{}{} -- ANSWERED

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Bob Lounsbury wrote:


Don't have access to LyX at the moment. Does
\setkomafont{sectioning}{}
work for unnumbered sections? Probably not, but I thought I'd ask.


Bob,

  Wow! It certainly does! It did not occur to me to try that, but it sure
does the job.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Wrong placement with EPS graphics in pdflatex

2009-04-18 Thread Thomas Steffen
Hi All

I noticed recently that I a lot of EPS graphics end up in the wrong
place with the pdflatex backend. I guess it has to do with the
bounding box, and somehow it is wrongly set during the conversion
process. Then the picture ends up in the wrong place, or it is
(partially) invisible if clipping is set. I find that very
inconvenient.

Now I am not sure what exactly the cause is. I used to have a manual
conversion rule set from eps to pdf (ps2pdf) using convert, but that
stopped working correctly (with the explained issues) with the upgrade
to Ubuntu Jaunty (beta). I was using LyX 1.6 before, and certainly on
Windows it does not have these issues (not sure about Ubuntu intrepid,
I think it came with LyX 1.5). Then I thought I had fixed the issue by
installed epstopdf, but not it is back in certain files. There is a
bug report for it
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/238580 , but it is
very vague and possibly combines several issues.

I intend to figure out the problem eventually, but I wonder whether
anybody has experienced this before, or any insight into when it
happens. I use EPS documents mostly from dia and inkscape, but there
may be a few other sources, too.

Regards,
Thomas


Re: Question on \setkomafont{}{}

2009-04-18 Thread cmiramon
Bob Lounsbury wrote:
  From the KOMA-script doc I see that I can use the
 \setkomafont{element}{command} directive to change the typeface for
 specific
 document elements.

  Rather than the san-serif font for the title and section heads, I prefer
 to use the default body text typeface of Palatino-Roman. I added to the
 preamble:

 \setkomafont{title}{}
 \setkomafont{section}{}

  This works for the title, but not the section names because those are
 defined as \section* so they are unnumbered. Trying:

 \setkomafont{section*}{}

 caused a TeX error.

  How can I specify the desired typeface for the unnumbered sections?

 Rich

Try

\renewcommand\sectfont{\rmfamily}

Not very logical

Cheers,
Charles



Re: JurabibMLA

2009-04-18 Thread cmiramon
Tim Smeilus wrote:

 hi all,
 
 I need to write an assignment for college and I need it in MLA format. I
 just can't figure out how to make lyx use that format. All research over
 the net didn't help my out yet.
 I would be glad about all helpful response.
 
 thnx Tim Smeilus

Biblatex-mla is, I believe, better : 

http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html


Installation of biblatex and biblatex-mla depends on your platform and LaTeX
distribution.

Cheers,
Charles



Re: Question on \setkomafont{}{}

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, cmira...@kde-france.org wrote:


Try
\renewcommand\sectfont{\rmfamily}
Not very logical


Charles,

  That's the old KOMA-script way. And, Bob's suggestion of using the
sectioning alias to dispositioning (Table 3.3 in the manual) works like a
charm.

Thank you,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


cocoAspell works with Lyx in Tiger, not Leopard

2009-04-18 Thread Richard Talley
Hello LyX-Users,

I installed MacTeX 2008, cocoAspell 2.0.4.i86,  Skim 1.2.1, and LyX
1.6.2 on an Intel Mac running Leopard (10.5.6).

I have almost exactly the same setup on my personal machine except
it's MacTeX 2007, Tiger (10.4.11) and, obviously, cocoAspell
2.0.4.ppc.

Works like a charm on my machine. On the Intel Mac, cocoAspell appears
to be installed correctly, it's available as a spelling service to
TextEdit, exactly the same path is in the Alternative language field
of Preferences: Language Settings: Spellchecker.

(the path is /Library/Application
Support/cocoAspell/aspell6-en-6.0-0/english.alias, as the Wiki
suggests.)

When I go to spellcheck on the Intel installation, LyX
does.absolutely nothing (other than showing (dialog-show
spellchecker: F7) in the status bar.) No error, no spell check dialog,
nothing.

I want to deploy this setup to a classroom of a couple of dozen Macs
in order to teach a short Why the power of LyX and TeX will save you
time and effort type class, but this one simple thing has turned into
a showstopper.

Any suggestions? Anybody on the list successfully using cocoAspell
with LyX on Leopard?

Here's another anomaly I just noticed. Although TextEdit is quite
happy to use the Aspell spelling service, when I try to set Skim to
use it, Skim complains with a Couldn't contact Spell Checker. That
gives me a hint that there is something not quite right with the
cocoAspell spelling service, but heck if I know what it is.

-- Rich


Re: JurabibMLA

2009-04-18 Thread Stefano Franchi
On Saturday 18 April 2009 16:25:29 cmira...@kde-france.org wrote:
 Tim Smeilus wrote:
  hi all,
 
  I need to write an assignment for college and I need it in MLA format. I
  just can't figure out how to make lyx use that format. All research over
  the net didn't help my out yet.
  I would be glad about all helpful response.
 
  thnx Tim Smeilus

 Biblatex-mla is, I believe, better :

 http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html



Indeed. Itis virtually impossible to get the MLA style in jurabib, especially 
because earlier efforts in this direction were later abandoned. You can get 
close, but can't really replicate true MLA style.

biblatex, even though still partially unsupported by LyX, is the way to go.
Be sure to read the wiki pages at: wiki.lyx.org/BibTeX/Biblatex for the 
current limited support

Cheers,

S.



 Installation of biblatex and biblatex-mla depends on your platform and
 LaTeX distribution.

 Cheers,
 Charles


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #  
sign in it, i.e.  www.example.com/#1


Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a  
footnote.


I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in  
1.6.0rc3 - I haven't tried recompiling that particular file since  
then...


Can anyone verify that this is a bug?



newfile1.lyx
Description: Binary data




Re: Above-Title Figure in KOMA-Script Article Class? -- SOLVED

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Uwe Stoehr wrote:


How about
\vspace*{-5cm}
(LyX supports this) or
\phantom{ }\vspace*{-5cm}


Uwe,

  Neither of those had any effect. What I did (after spending too much time
going around in circles), was to generate a new .pdf file with smaller and
more symmetrical borders.

  Because we use a logotype-logo, and that typeface (Baker Signet) is not
available in LaTeX (or LyX ... as far as I know), I created the letterhead
in OO.o's Writer and exported it as a .pdf file. Initially, I did not cut
the page size as small as I could and this left too much margin on the left,
top, and bottom. Resizing the page before exporting it resulted in a much
smaller and easier to adjust \titlehead. Moving the bounding box coordinates
until the output was suitable fixed the problem.

Thanks very much for your suggestion,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: JurabibMLA

2009-04-18 Thread Richard Talley
An alternative solution might be mla-paper.

http://www.ctan.org/tex-archive/macros/latex/contrib/mla-paper/

-- Rich


On Sat, Apr 18, 2009 at 4:14 PM, Stefano Franchi
fran...@philosophy.tamu.edu wrote:
 On Saturday 18 April 2009 16:25:29 cmira...@kde-france.org wrote:
 Tim Smeilus wrote:
  hi all,
 
  I need to write an assignment for college and I need it in MLA format. I
  just can't figure out how to make lyx use that format. All research over
  the net didn't help my out yet.
  I would be glad about all helpful response.
 
  thnx Tim Smeilus

 Biblatex-mla is, I believe, better :

 http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html



 Indeed. Itis virtually impossible to get the MLA style in jurabib, especially
 because earlier efforts in this direction were later abandoned. You can get
 close, but can't really replicate true MLA style.

 biblatex, even though still partially unsupported by LyX, is the way to go.
 Be sure to read the wiki pages at: wiki.lyx.org/BibTeX/Biblatex for the
 current limited support

 Cheers,

 S.



 Installation of biblatex and biblatex-mla depends on your platform and
 LaTeX distribution.

 Cheers,
 Charles


 __
 Stefano Franchi
 Department of Philosophy  Ph:  (979) 862-2211
 Texas AM University  Fax: (979) 845-0458
 305B Bolton Hall  fran...@philosophy.tamu.edu
 College Station, TX 77843-4237




Re: bug in hyperlink and footnote?

2009-04-18 Thread Stefano Franchi
On Saturday 18 April 2009 17:24:38 James Sutherland wrote:
 I think that I may have found a bug in LyX.

 1. Create a footnote.
 2. In the footnote, insert a hyperlink
 3. In the target field of the hyperlink, insert a URL with a #
 sign in it, i.e.  www.example.com/#1

 Latex fails to compile this document.

 A hyperlink with a # in the target works as long as it is NOT in a
 footnote.

 I have attached a trivially simple file that exposes this problem.

 This worked in 1.6.0.  (Actually, I have a file that used this in
 1.6.0rc3 - I haven't tried recompiling that particular file since
 then...

 Can anyone verify that this is a bug?

Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on Kubuntu 
Intrepid.

Cheers,

S.


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas AM University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:


On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the target field of the hyperlink, insert a URL with a #
sign in it, i.e.  www.example.com/#1

Latex fails to compile this document.

A hyperlink with a # in the target works as long as it is NOT in a
footnote.

I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in
1.6.0rc3 - I haven't tried recompiling that particular file since
then...

Can anyone verify that this is a bug?


Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007  
on Kubuntu

Intrepid.


Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive  
2008.

Can anyone else on a Mac duplicate this?


Re: cocoAspell works with Lyx in Tiger, not Leopard

2009-04-18 Thread Anders Host-Madsen
Richard Talley rich.tal...@... writes:

 Any suggestions? Anybody on the list successfully using cocoAspell
 with LyX on Leopard?

It works fine for me under Leopard. I don't believe I did anything 
specialto install it, just follow the instructions. Maybe try to 
uninstall and reinstall?



Re: bug in hyperlink and footnote?

2009-04-18 Thread BH
On Sat, Apr 18, 2009 at 7:50 PM, James Sutherland
jcsutherland.u...@gmail.com wrote:

 On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:

 On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

 I think that I may have found a bug in LyX.

 1. Create a footnote.
 2. In the footnote, insert a hyperlink
 3. In the target field of the hyperlink, insert a URL with a #
 sign in it, i.e.  www.example.com/#1

 Latex fails to compile this document.

 A hyperlink with a # in the target works as long as it is NOT in a
 footnote.

 I have attached a trivially simple file that exposes this problem.

 This worked in 1.6.0.  (Actually, I have a file that used this in
 1.6.0rc3 - I haven't tried recompiling that particular file since
 then...

 Can anyone verify that this is a bug?

 Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on
 Kubuntu
 Intrepid.

 Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive 2008.
 Can anyone else on a Mac duplicate this?

I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's
the error message (repeated 3 times):

Illegal parameter number in definition of \...@tempa.

}

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things are all
screwed up? I'm going to assume that you meant ##.



Bennett


Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I can confirm the problem on Mac OS X 10.5.6 with TeXLive 2008. Here's
the error message (repeated 3 times):

Illegal parameter number in definition of \...@tempa.

}

You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things are all
screwed up? I'm going to assume that you meant ##.



Actually, the URL that I want to reference has a single #, not two ##.
It is quite strange that the individual hyperlink works, but it does  
not work when embedded in the footnote...


Using tables

2009-04-18 Thread Doug Laidlaw
I am probably out of place here, but there is a project on freshmeat.net for 
convering CSV tables to LaTeX.  It may be of use?

http://freshmeat.net/projects/csv2latex

Doug.


Re: bug in hyperlink and footnote?

2009-04-18 Thread Wolfgang Engelmann
Am Sunday 19 April 2009 00:24:38 schrieb James Sutherland:
 I think that I may have found a bug in LyX.

 1. Create a footnote.
 2. In the footnote, insert a hyperlink
 3. In the target field of the hyperlink, insert a URL with a #
 sign in it, i.e.  www.example.com/#1

 Latex fails to compile this document.

 A hyperlink with a # in the target works as long as it is NOT in a
 footnote.

 I have attached a trivially simple file that exposes this problem.

 This worked in 1.6.0.  (Actually, I have a file that used this in
 1.6.0rc3 - I haven't tried recompiling that particular file since
 then...

 Can anyone verify that this is a bug?

confirmed (LyX1.6.2):
error message:

illegal parameter number in definition of h...@tempa
 }
  
You meant to type ## instead of #, right?
Or maybe a } was forgotten somewhere earlier, and things
are all screwed up? I'm going to assume that you meant ##.



Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
Am Tuesday 14 April 2009 11:50:23 schrieb Guenter Milde:
> On 2009-04-11, Wolfgang Engelmann wrote:
> > My hope is, that something in TeXLive 2008 might cure the Unrecoverable
> > error
>
> maybe before doing this we could rule out other problems: Could you post a
> *minimal* example that exhibits the error (but with everything else
> removed).
>
> Günter

Günter,

ich hoffe, Du hattest eine gute Osterzeit.

Ich bin gerade von einer Reise zurückgekommen und habe noch einmal das Problem 
zusammengestellt.
In dem Anhang sind die beiden Legenden, eine wie vorher gehabt mit diesem 
Fehler, wenn ich die Lyx-Datei lade:
wolfg...@wolfgang:~/Buecher-D+E$ GPL Ghostscript 8.64: Unrecoverable error, 
exit code 1
dvipng warning: No GhostScript pngalpha output, cannot render raw PostScript 
GPL Ghostscript 8.64: Unrecoverable error, exit code 1

die zweite mit Deinem Vorschlag, bei dem es keine Fehlermeldung (auf dem 
Terminalfenster) gibt.

Ob Du mal nachsehen kannst, ob Du die gleiche Fehlermeldung beim Laden des 
Lyx-files bekommst? Wenn nicht, müßte es an irgendetwas anderem bei mir 
liegen.

Das dumme ist, daß sich bei meinem Buch (in dem wahrscheinlich noch weitere 
solche Stellen sind) diese Fehlermeldungen ständig addieren, und irgendwann 
hängt Lyx und ich muß es neu starten. Auch wird das Arbeiten mit Lyx kurz 
vorher langsam (wenn man dann neu startet, gehts wieder eine Weile).

Ich erhalte also auch mit der fehlerhaften Legende durchaus eine richtige 
pdf-Ausgabe (beide mu sehen genau gleich aus), nur das eben bei der ersten 
Legende die Fehlerausgabe kommt.

Wolfgang


cellclocksTest-a.lyx
Description: application/lyx


Fwd: Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
Sorry, lyx-list-users,
I was discussing a problem I am having with Uwe Stoehr privately and made a 
mistake in sending it to the list. I will report the outcome to the list 
after having clarified it -hopefully- with his help

Wolfgang


Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread Christian Ridderström

On Fri, 17 Apr 2009, Niko Schwarz wrote:

need to tar/untar anything. What was REALLY difficult was the .module I 
had written for the document. It cannot be accessed by a relative path; 
it needs to be inserted directly into the lyx tree. On OSX, I have to 
redo the module installation procedure on every update.


Have you reported this? At the very least it sounds like a feature request 
that you don't want to have to use absolute paths to .module.


regards,
Christian

--
Christian Ridderström   Mobile: +46-70 687 39 44

Crash Reports

2009-04-18 Thread Ken
Occasionally LyX will crash on me (current version 1.6.2).  I have no
idea what causes it so I shouldn't really open a bug report.

Is there some other way of reporting crashes?  Could a LyX add-on
allow the program to send crash reports automatically?  Does anyone
else experience occasional crashes?

A crash is not a big deal as I hit Ctrl+S to save almost instinctively
after any significant modification to the document.  I was just
wondering whether it would be useful to other users and/or the
developers to have a consistent way to report crashes (which are not
obviously reproducible).

Ken


JurabibMLA

2009-04-18 Thread Tim Smeilus

hi all,

I need to write an assignment for college and I need it in MLA format. I 
just can't figure out how to make lyx use that format. All research over 
the net didn't help my out yet.

I would be glad about all helpful response.

thnx Tim Smeilus


Re: Crash Reports

2009-04-18 Thread Doug Laidlaw
On Saturday 18 April 2009 10:05:22 pm Ken wrote:
> Occasionally LyX will crash on me (current version 1.6.2).  I have no
> idea what causes it so I shouldn't really open a bug report.
>
> Is there some other way of reporting crashes?  Could a LyX add-on
> allow the program to send crash reports automatically?  Does anyone
> else experience occasional crashes?
>
> A crash is not a big deal as I hit Ctrl+S to save almost instinctively
> after any significant modification to the document.  I was just
> wondering whether it would be useful to other users and/or the
> developers to have a consistent way to report crashes (which are not
> obviously reproducible).
>
> Ken

If it is at all predictable, you can open LyX from a terminal and see if 
anything is written when it crashes.  But if it is only once in a while, that 
would take perseverance.

Doug.




Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread BH
On Sat, Apr 18, 2009 at 5:38 AM, Christian Ridderström
 wrote:
> On Fri, 17 Apr 2009, Niko Schwarz wrote:
>
>> need to tar/untar anything. What was REALLY difficult was the .module I
>> had written for the document. It cannot be accessed by a relative path; it
>> needs to be inserted directly into the lyx tree. On OSX, I have to redo the
>> module installation procedure on every update.
>
> Have you reported this? At the very least it sounds like a feature request
> that you don't want to have to use absolute paths to .module.

Niko -

Are you putting modules in the right place? If you put them in
~/Library/Application Support/LyX-1.6/layouts, then you should have no
problems with updates.

Bennett


Re: [Figure embedding] An easy way to share lyx documents

2009-04-18 Thread Niko Schwarz
oh, i didn't know that's possible!
hmm, that would solve the update thing!

niko

On Sat, Apr 18, 2009 at 2:47 PM, BH  wrote:

> On Sat, Apr 18, 2009 at 5:38 AM, Christian Ridderström
>  wrote:
> > On Fri, 17 Apr 2009, Niko Schwarz wrote:
> >
> >> need to tar/untar anything. What was REALLY difficult was the .module I
> >> had written for the document. It cannot be accessed by a relative path;
> it
> >> needs to be inserted directly into the lyx tree. On OSX, I have to redo
> the
> >> module installation procedure on every update.
> >
> > Have you reported this? At the very least it sounds like a feature
> request
> > that you don't want to have to use absolute paths to .module.
>
> Niko -
>
> Are you putting modules in the right place? If you put them in
> ~/Library/Application Support/LyX-1.6/layouts, then you should have no
> problems with updates.
>
> Bennett
>


crash when scrolling quickly down

2009-04-18 Thread Erez Yerushalmi
Hi All,

Since I've started using lyx1.62 on windows XP, I've had quite a few
crashes.

I think it is when I quickly scroll down with the down arrow.
Here is the output of the crash.

Any ideas?
Thanks, Erez


D:\LyX\lyx-1.6.2\src\insets\InsetBibtex.cpp(420): Couldn't find
D:/Warwick_PHD/LITERATURE/My Library in InsetBibtex::getBibFiles()!
returning FINISHED_LEFT
  E:/Warwick_PHD/PROJECTS/Global Imbalances/global_imbalances
yr09-m03-d15/Global Imbalances yr09-m03-d15.lyx.emergency

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting
instructions in Help->Introduction and send us a bug report, if necessary.
Thanks !
Bye.

This application has requested the Runtime to terminate it in an unusual
way.
Please contact the application's support team for more information.
Completed



-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage:
http://www2.warwick.ac.uk/fac/soc/economics/research/phds/3rd_year/yerushalmi


Re: crash when scrolling quickly down

2009-04-18 Thread rgheck

Erez Yerushalmi wrote:

Hi All,

Since I've started using lyx1.62 on windows XP, I've had quite a few
crashes.

I think it is when I quickly scroll down with the down arrow.
Here is the output of the crash.

Any ideas?

  
You may be a having a known problem that involves hitting an arrow key 
when the cursor is off screen. This is being worked on.


rh



Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

  I have some short (2-3 pages) business documents that I want to typeset
rather than produce with OO.o's Writer. I know that the KOMA-Script letter
class allows me to insert a PDF figure of our logo at the top of the first
page, but I cannot find any information in the KOMA-Script document about
doing the same thing with the scrartcl class. Is there a way to do this?

  If not, can I use the letter2 class and leave all the letter-specific
environments blank?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Rich Shepard wrote:


 I have some short (2-3 pages) business documents that I want to typeset
rather than produce with OO.o's Writer. I know that the KOMA-Script letter
class allows me to insert a PDF figure of our logo at the top of the first
page, but I cannot find any information in the KOMA-Script document about
doing the same thing with the scrartcl class. Is there a way to do this?


  Yes, there is. It's the 'titlehead' environment and that's available for
the scrartcl class, too.

  Now I need to figure out how to reduce the space between the titlehead and
the title. Using \vspace{-5cm} just after the titlehead doesn't do the job.

  Suggestions?

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: A question

2009-04-18 Thread Anders Host-Madsen
There is also the enumitem package/module:

wiki.lyx.org/Tips/Enumitem







Re: Ghostscript 8.63: Unrecoverable error

2009-04-18 Thread Wolfgang Engelmann
I would like to ask you again for your help. Perhaps there is somebody out 
there who had a similar difficulty with Lyx. 

This happens:
I start lyx 1.6.2 (Debian sid) on a terminal and get on the terminal the 
following messages:
> wolfg...@wolfgang:~/Buecher-D+E$ GPL Ghostscript 8.64: Unrecoverable error,
> exit code 1
> dvipng warning: No GhostScript pngalpha output, cannot render raw
> PostScript GPL Ghostscript 8.64: Unrecoverable error, exit code 1
>
If I remove the first figure legend (or put it into a yellow note box) I do 
not get these messages. 
The difference of the first legend is, that the mu uses the mathematical 
greek, whereas the second one is produced with alt-gr-m

Uwe Stoehr was kind enough to check it with his setup and he does not get an 
error on the terminal with the first legend. Does anybody else get an error? 
And/or has an idea what is going wrong in my case? 

There is no problem with the pdf export, and I could live with it. However, 
with a long document I get these error messages constantly and after some 
time (lets say in30 minutes) Lyx hangs and I have to kill the process and 
start lyx anew. 

dvipng, 1.11-1 is installed and the newest version in Debian lenny
Ghostscript 8.64
lyx 1.6.2 
texlive in Debian squeeze is still 2007

Thanks for your patience, but it is really annoying to work this way

Wolfgang


cellclocksTest-a.lyx
Description: application/lyx


Question on \setkomafont{}{}

2009-04-18 Thread Rich Shepard

  From the KOMA-script doc I see that I can use the
\setkomafont{element}{command} directive to change the typeface for specific
document elements.

  Rather than the san-serif font for the title and section heads, I prefer
to use the default body text typeface of Palatino-Roman. I added to the
preamble:

\setkomafont{title}{}
\setkomafont{section}{}

  This works for the title, but not the section names because those are
defined as \section* so they are unnumbered. Trying:

\setkomafont{section*}{}

caused a TeX error.

  How can I specify the desired typeface for the unnumbered sections?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Uwe Stöhr

Rich Shepard schrieb:

  Now I need to figure out how to reduce the space between the titlehead 
and

the title. Using \vspace{-5cm} just after the titlehead doesn't do the job.


How about

\vspace*{-5cm}

(LyX supports this) or

\phantom{ }\vspace*{-5cm}

Does the koma script user guide not say anything about this?

regards Uwe


Re: Above-Title Figure in KOMA-Script Article Class?

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Uwe Stoehr wrote:


How about
\vspace*{-5cm}


Uwe,

  I had tried this without success.


\phantom{ }\vspace*{-5cm}


  Just tried this version, but it also makes no difference.


Does the koma script user guide not say anything about this?


  I searched for it but found nothing.

  During my trial-and-error efforts I discovered that the embedded LaTeX has
to be part of either the \titlehead or \title environments. The article
doesn't compile if it's in the \standard environment.

  I've also extensively changed the figure bounding box, but just cannot get
the title a couple of centimeters below the letterhead. If I could find a
tool that let me tighten the space around the pdf letterhead that might
help. However, pdftk doesn't do this and I cannot use standard vector
graphic tools in linux to manipulate the file.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Question on \setkomafont{}{}

2009-04-18 Thread Bob Lounsbury
On Sat, Apr 18, 2009 at 1:34 PM, Rich Shepard wrote:

>  From the KOMA-script doc I see that I can use the
> \setkomafont{element}{command} directive to change the typeface for
> specific
> document elements.
>
>  Rather than the san-serif font for the title and section heads, I prefer
> to use the default body text typeface of Palatino-Roman. I added to the
> preamble:
>
> \setkomafont{title}{}
> \setkomafont{section}{}
>
>  This works for the title, but not the section names because those are
> defined as \section* so they are unnumbered. Trying:
>
> \setkomafont{section*}{}
>
> caused a TeX error.
>
>  How can I specify the desired typeface for the unnumbered sections?
>
> Rich
>
> --
> Richard B. Shepard, Ph.D.   |  IntegrityCredibility
> Applied Ecosystem Services, Inc.|Innovation
>  Voice: 503-667-4517  Fax:
> 503-667-8863
>


Don't have access to LyX at the moment. Does

\setkomafont{sectioning}{}

work for unnumbered sections? Probably not, but I thought I'd ask.

/Bob


Re: Question on \setkomafont{}{} -- ANSWERED

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Bob Lounsbury wrote:


Don't have access to LyX at the moment. Does
\setkomafont{sectioning}{}
work for unnumbered sections? Probably not, but I thought I'd ask.


Bob,

  Wow! It certainly does! It did not occur to me to try that, but it sure
does the job.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Wrong placement with EPS graphics in pdflatex

2009-04-18 Thread Thomas Steffen
Hi All

I noticed recently that I a lot of EPS graphics end up in the wrong
place with the pdflatex backend. I guess it has to do with the
bounding box, and somehow it is wrongly set during the conversion
process. Then the picture ends up in the wrong place, or it is
(partially) invisible if clipping is set. I find that very
inconvenient.

Now I am not sure what exactly the cause is. I used to have a manual
conversion rule set from eps to pdf (ps2pdf) using convert, but that
stopped working correctly (with the explained issues) with the upgrade
to Ubuntu Jaunty (beta). I was using LyX 1.6 before, and certainly on
Windows it does not have these issues (not sure about Ubuntu intrepid,
I think it came with LyX 1.5). Then I thought I had fixed the issue by
installed epstopdf, but not it is back in certain files. There is a
bug report for it
https://bugs.launchpad.net/ubuntu/+source/lyx/+bug/238580 , but it is
very vague and possibly combines several issues.

I intend to figure out the problem eventually, but I wonder whether
anybody has experienced this before, or any insight into when it
happens. I use EPS documents mostly from dia and inkscape, but there
may be a few other sources, too.

Regards,
Thomas


Re: Question on \setkomafont{}{}

2009-04-18 Thread cmiramon
Bob Lounsbury wrote:
>>  From the KOMA-script doc I see that I can use the
>> \setkomafont{element}{command} directive to change the typeface for
>> specific
>> document elements.
>>
>>  Rather than the san-serif font for the title and section heads, I prefer
>> to use the default body text typeface of Palatino-Roman. I added to the
>> preamble:
>>
>> \setkomafont{title}{}
>> \setkomafont{section}{}
>>
>>  This works for the title, but not the section names because those are
>> defined as \section* so they are unnumbered. Trying:
>>
>> \setkomafont{section*}{}
>>
>> caused a TeX error.
>>
>>  How can I specify the desired typeface for the unnumbered sections?
>>
>> Rich

Try

\renewcommand\sectfont{\rmfamily}

Not very logical

Cheers,
Charles



Re: JurabibMLA

2009-04-18 Thread cmiramon
Tim Smeilus wrote:

> hi all,
> 
> I need to write an assignment for college and I need it in MLA format. I
> just can't figure out how to make lyx use that format. All research over
> the net didn't help my out yet.
> I would be glad about all helpful response.
> 
> thnx Tim Smeilus

Biblatex-mla is, I believe, better : 

http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html


Installation of biblatex and biblatex-mla depends on your platform and LaTeX
distribution.

Cheers,
Charles



Re: Question on \setkomafont{}{}

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, cmira...@kde-france.org wrote:


Try
\renewcommand\sectfont{\rmfamily}
Not very logical


Charles,

  That's the old KOMA-script way. And, Bob's suggestion of using the
sectioning alias to dispositioning (Table 3.3 in the manual) works like a
charm.

Thank you,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


cocoAspell works with Lyx in Tiger, not Leopard

2009-04-18 Thread Richard Talley
Hello LyX-Users,

I installed MacTeX 2008, cocoAspell 2.0.4.i86,  Skim 1.2.1, and LyX
1.6.2 on an Intel Mac running Leopard (10.5.6).

I have almost exactly the same setup on my personal machine except
it's MacTeX 2007, Tiger (10.4.11) and, obviously, cocoAspell
2.0.4.ppc.

Works like a charm on my machine. On the Intel Mac, cocoAspell appears
to be installed correctly, it's available as a spelling service to
TextEdit, exactly the same path is in the Alternative language field
of Preferences: Language Settings: Spellchecker.

(the path is /Library/Application
Support/cocoAspell/aspell6-en-6.0-0/english.alias, as the Wiki
suggests.)

When I go to spellcheck on the Intel installation, LyX
does.absolutely nothing (other than showing (dialog-show
spellchecker: F7) in the status bar.) No error, no spell check dialog,
nothing.

I want to deploy this setup to a classroom of a couple of dozen Macs
in order to teach a short "Why the power of LyX and TeX will save you
time and effort" type class, but this one simple thing has turned into
a showstopper.

Any suggestions? Anybody on the list successfully using cocoAspell
with LyX on Leopard?

Here's another anomaly I just noticed. Although TextEdit is quite
happy to use the Aspell spelling service, when I try to set Skim to
use it, Skim complains with a "Couldn't contact Spell Checker." That
gives me a hint that there is something not quite right with the
cocoAspell spelling service, but heck if I know what it is.

-- Rich


Re: JurabibMLA

2009-04-18 Thread Stefano Franchi
On Saturday 18 April 2009 16:25:29 cmira...@kde-france.org wrote:
> Tim Smeilus wrote:
> > hi all,
> >
> > I need to write an assignment for college and I need it in MLA format. I
> > just can't figure out how to make lyx use that format. All research over
> > the net didn't help my out yet.
> > I would be glad about all helpful response.
> >
> > thnx Tim Smeilus
>
> Biblatex-mla is, I believe, better :
>
> http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html
>
>

Indeed. Itis virtually impossible to get the MLA style in jurabib, especially 
because earlier efforts in this direction were later abandoned. You can get 
close, but can't really replicate true MLA style.

biblatex, even though still partially unsupported by LyX, is the way to go.
Be sure to read the wiki pages at: wiki.lyx.org/BibTeX/Biblatex for the 
current limited support

Cheers,

S.



> Installation of biblatex and biblatex-mla depends on your platform and
> LaTeX distribution.
>
> Cheers,
> Charles


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the "target" field of the hyperlink, insert a URL with a "#"  
sign in it, i.e.  www.example.com/#1


Latex fails to compile this document.

A hyperlink with a "#" in the target works as long as it is NOT in a  
footnote.


I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in  
1.6.0rc3 - I haven't tried recompiling that particular file since  
then...


Can anyone verify that this is a bug?



newfile1.lyx
Description: Binary data




Re: Above-Title Figure in KOMA-Script Article Class? -- SOLVED

2009-04-18 Thread Rich Shepard

On Sat, 18 Apr 2009, Uwe Stoehr wrote:


How about
\vspace*{-5cm}
(LyX supports this) or
\phantom{ }\vspace*{-5cm}


Uwe,

  Neither of those had any effect. What I did (after spending too much time
going around in circles), was to generate a new .pdf file with smaller and
more symmetrical borders.

  Because we use a logotype-logo, and that typeface (Baker Signet) is not
available in LaTeX (or LyX ... as far as I know), I created the letterhead
in OO.o's Writer and exported it as a .pdf file. Initially, I did not cut
the page size as small as I could and this left too much margin on the left,
top, and bottom. Resizing the page before exporting it resulted in a much
smaller and easier to adjust \titlehead. Moving the bounding box coordinates
until the output was suitable fixed the problem.

Thanks very much for your suggestion,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: JurabibMLA

2009-04-18 Thread Richard Talley
An alternative solution might be mla-paper.

http://www.ctan.org/tex-archive/macros/latex/contrib/mla-paper/

-- Rich


On Sat, Apr 18, 2009 at 4:14 PM, Stefano Franchi
 wrote:
> On Saturday 18 April 2009 16:25:29 cmira...@kde-france.org wrote:
>> Tim Smeilus wrote:
>> > hi all,
>> >
>> > I need to write an assignment for college and I need it in MLA format. I
>> > just can't figure out how to make lyx use that format. All research over
>> > the net didn't help my out yet.
>> > I would be glad about all helpful response.
>> >
>> > thnx Tim Smeilus
>>
>> Biblatex-mla is, I believe, better :
>>
>> http://www.ctan.org/tex-archive/help/Catalogue/entries/biblatex-mla.html
>>
>>
>
> Indeed. Itis virtually impossible to get the MLA style in jurabib, especially
> because earlier efforts in this direction were later abandoned. You can get
> close, but can't really replicate true MLA style.
>
> biblatex, even though still partially unsupported by LyX, is the way to go.
> Be sure to read the wiki pages at: wiki.lyx.org/BibTeX/Biblatex for the
> current limited support
>
> Cheers,
>
> S.
>
>
>
>> Installation of biblatex and biblatex-mla depends on your platform and
>> LaTeX distribution.
>>
>> Cheers,
>> Charles
>
>
> __
> Stefano Franchi
> Department of Philosophy  Ph:  (979) 862-2211
> Texas A University  Fax: (979) 845-0458
> 305B Bolton Hall  fran...@philosophy.tamu.edu
> College Station, TX 77843-4237
>
>


Re: bug in hyperlink and footnote?

2009-04-18 Thread Stefano Franchi
On Saturday 18 April 2009 17:24:38 James Sutherland wrote:
> I think that I may have found a bug in LyX.
>
> 1. Create a footnote.
> 2. In the footnote, insert a hyperlink
> 3. In the "target" field of the hyperlink, insert a URL with a "#"
> sign in it, i.e.  www.example.com/#1
>
> Latex fails to compile this document.
>
> A hyperlink with a "#" in the target works as long as it is NOT in a
> footnote.
>
> I have attached a trivially simple file that exposes this problem.
>
> This worked in 1.6.0.  (Actually, I have a file that used this in
> 1.6.0rc3 - I haven't tried recompiling that particular file since
> then...
>
> Can anyone verify that this is a bug?

Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007 on Kubuntu 
Intrepid.

Cheers,

S.


__
Stefano Franchi
Department of Philosophy  Ph:  (979) 862-2211
Texas A University  Fax: (979) 845-0458
305B Bolton Hall  fran...@philosophy.tamu.edu
College Station, TX 77843-4237



Re: bug in hyperlink and footnote?

2009-04-18 Thread James Sutherland


On Apr 18, 2009, at 5:27 PM, Stefano Franchi wrote:


On Saturday 18 April 2009 17:24:38 James Sutherland wrote:

I think that I may have found a bug in LyX.

1. Create a footnote.
2. In the footnote, insert a hyperlink
3. In the "target" field of the hyperlink, insert a URL with a "#"
sign in it, i.e.  www.example.com/#1

Latex fails to compile this document.

A hyperlink with a "#" in the target works as long as it is NOT in a
footnote.

I have attached a trivially simple file that exposes this problem.

This worked in 1.6.0.  (Actually, I have a file that used this in
1.6.0rc3 - I haven't tried recompiling that particular file since
then...

Can anyone verify that this is a bug?


Your example works fine here, actually: Lyx 1.6.2 with TexLive 2007  
on Kubuntu

Intrepid.


Hmm..  Good to know.  I am on Mac OSX 10.5.6 LyX 1.6.2 with TexLive  
2008.

Can anyone else on a Mac duplicate this?


  1   2   >