Re: Formatting numbered equations

2010-04-19 Thread Dotan Cohen
I have always understood this as:
American English: A, B, and C
British English: A, B and C

-- 
Dotan Cohen

http://bido.com
http://what-is-what.com

Please CC me if you want to be sure that I read your message. I do not
read all list mail.


\int and esint package

2010-04-19 Thread Rodrigo Fresneda
Dear lyx'ers, I've noticed lyx 1.6.5 automatically adds the package
esint to the preamble whenever the symbol \int is invoked. Is this
really necessary? AFAIK, \int is included in the standard fonts, but
esint is not included by default in most latex installations. 
r.f.


Re: Formatting numbered equations

2010-04-19 Thread rgheck

On 04/19/2010 04:57 PM, Marshall Feldman wrote:


Here's an example of what the CMS is talking about:

"The meal consisted of soup, salad, and macaroni and cheese."


Of course, the better known case is the panda, who eats, shoots and leaves.

rh



Re: Formatting numbered equations

2010-04-19 Thread Bruce Pourciau


On Apr 19, 2010, at 4:18 PM, Uwe Stöhr wrote:


Am 19.04.2010 22:57, schrieb Marshall Feldman:

(By the way in English there is no comma before the "and" if the  
part

after the "and" is the last enumeration in a sentence; like in
"A, B, C and D are letters.")


The following comes from the /Chicago Manual of Style/, 15th ed.,
section 6.18:

When a conjunction joins the last two elements in a series, a comma
-- known as the serial or series comma or the Oxford comma -- should
appear before the conjunction. Chicago strongly recommends this
widely practiced usage, blessed by Fowler and other authorities (see
bibliog. 1.2), since it prevents ambiguity.

Here's an example of what the CMS is talking about:

"The meal consisted of soup, salad, and macaroni and cheese."


I was saying the same. In your example there must be a comma before  
the

first "and" because there is a further "and" in the last course.
In your formulas case you have only 3 courses:
(1)
(2)
and
(3)

so that
(1)
(2)
, and
(3)

would be wrong, because there is only one course behind the "and" and
there is no further "and" inside the last course.

I recently had the same discussion with our English LyX manual proof
reader who's working for a publishing company.

regards Uwe


The advice given by the Chicago Manual of Style does not depend on  
there being a further "and" in the last course. To reduce the chance  
of ambiguity, they recommend inserting the Oxford comma whenever "a  
conjunction joins the last two elements in a series." Here's a  
humorous example in a book dedication (from wikipedia):


To my parents, Ayn Rand and God.
To my parents, Ayn Rand, and God.

But the Oxford comma can also introduce ambiguity:

My mother, Ayn Rand, and God.

In the punctuation world, there's no general agreement on the use of  
the Oxford comma, just various organizations going one way of the other.


Bruce











Re: Formatting numbered equations

2010-04-19 Thread Uwe Stöhr

Am 19.04.2010 22:57, schrieb Marshall Feldman:


(By the way in English there is no comma before the "and" if the part
after the "and" is the last enumeration in a sentence; like in
"A, B, C and D are letters.")


The following comes from the /Chicago Manual of Style/, 15th ed.,
section 6.18:

When a conjunction joins the last two elements in a series, a comma
-- known as the serial or series comma or the Oxford comma -- should
appear before the conjunction. Chicago strongly recommends this
widely practiced usage, blessed by Fowler and other authorities (see
bibliog. 1.2), since it prevents ambiguity.

Here's an example of what the CMS is talking about:

"The meal consisted of soup, salad, and macaroni and cheese."


I was saying the same. In your example there must be a comma before the 
first "and" because there is a further "and" in the last course.

In your formulas case you have only 3 courses:
(1)
(2)
and
(3)

so that
(1)
(2)
, and
(3)

would be wrong, because there is only one course behind the "and" and 
there is no further "and" inside the last course.


I recently had the same discussion with our English LyX manual proof 
reader who's working for a publishing company.


regards Uwe


Re: Formatting numbered equations

2010-04-19 Thread Marshall Feldman

Thanks to everyone. I'll have to look at the Math manual.

I do, however, want to add one thing:

On 4/19/2010 4:09 PM, Uwe Stöhr wrote:


(By the way in English there is no comma before the "and" if the part 
after the "and" is the last enumeration in a sentence; like in

"A, B, C and D are letters.")


The following comes from the /Chicago Manual of Style/, 15th ed., 
section 6.18:


   When a conjunction joins the last two elements in a series, a comma
   -- known as the serial or series comma or the Oxford comma -- should
   appear before the conjunction. Chicago strongly recommends this
   widely practiced usage, blessed by Fowler and other authorities (see
   bibliog. 1.2), since it prevents ambiguity.

Here's an example of what the CMS is talking about:

"The meal consisted of soup, salad, and macaroni and cheese."

Thanks to the commas we know there are three courses, the last being 
"macaroni and cheese," rather than four, including "macaroni" as the 
third and "cheese" as the fourth.


Thanks again!
Marsh Feldman


Re: using symbols

2010-04-19 Thread Uwe Stöhr

I can't compile it, it says simpsons.sty not found


Have you installed the "simpsons" package to your LaTeX distribution? If 
not, do this via MiKTeX's package manager.



if I highlight this I then get.

  \usepackage
 {fancyhdr}^^M
*** (cannot \read from terminal in nonstop modes)


This looks like a different problem. Can you send me a LyX file to be 
able to have a look?


regards Uwe


Re: using symbols

2010-04-19 Thread Paul Rubin
Paul Sutton  writes:

> 
> I am trying to get the symbols packages to work, so in my preamble i have
> 
> \usepackage{simpsons} then in my document i have for example \bart as an
> ERT,
> 
> Where is lyx looking for these styles ?
> 

LyX isn't; LaTeX is. Where LaTeX looks is a bit complicated (in the same sense
that the US Tax Code is a bit complicated), but Help > Customization section 5.1
is a good place to start.

/Paul




Re: Formatting numbered equations

2010-04-19 Thread Paul Rubin
Marshall Feldman  writes:

> 
> I have several questions regarding numbered equations:
> 
>1. How does one add punctuation to numbered equations?

Inside the equations, you add punctuation the usual way. After the equation
numbers, you don't add punctuation.  If you somehow succeed, the gods of
typography will smite you mightily.  I don't think I've ever seen a book or
journal contain punctuation after the equation numbers.

>2. How does one make the equations be part of a paragraph that begins
>   before and continues after them?

Type the initial text, then C-S-M or Insert > Math > (some equation environment)
without hitting enter first. That makes the math environment part of the same
paragraph as the preceding text. Upon conclusion of the math stuff, use the
right arrow or space bar to escape the math environment (or click just outside
it) and keep typing (again, without hitting enter) -- the additional text will
automatically flow to the next line without indentation, continuing the same
paragraph.

If you insert the equation as a display equation
>3. How does one continue a numbered equation across multiple lines?

Help > Math, section 18.

/Paul




Re: using symbols

2010-04-19 Thread Uwe Stöhr

I am trying to get the symbols packages to work, so in my preamble i have

\usepackage{simpsons} then in my document i have for example \bart as an
ERT,

Where is lyx looking for these styles ?


What is the problem? You cannot compile your file or can you compile it 
but the symbol doesn't show up?


regards Uwe


Re: Invitation to connect on LinkedIn

2010-04-19 Thread Steve Litt
John,

I don't recall meeting you. Can you please refresh my memory as to where we 
met or how we know each other?

Thanks

Steve

On Monday 19 April 2010 14:55:00 John Niekrasz wrote:
> LinkedIn
> John Niekrasz requested to add you as a connection on LinkedIn:
> --
> 
> John,
> 
> I'd like to add you to my professional network on LinkedIn.
> 
> - John
> 
> Accept invitation from John Niekrasz
> http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1975860
> 028_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnPwOc30Se3kTej59bTh
> Fd717kjkUbPcQcjsRdzkPcz4LrCBxbOYWrSlI/EML_comm_afe/
> 
> View invitation from John Niekrasz
> http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1975860
> 028_2/39ve38Mc3oUdjsVckALqnpPbOYWrSlI/svi/
> 
> --
> DID YOU KNOW you can use your LinkedIn profile as your website? Select a
>  vanity URL and then promote this address on your business cards, email
>  signatures, website, etc http://www.linkedin.com/e/ewp/inv-21/
> 
> 
> 
> --
> (c) 2010, LinkedIn Corporation
> 



Re: Formatting numbered equations

2010-04-19 Thread Uwe Stöhr

Am 19.04.2010 20:25, schrieb Marshall Feldman:


I have several questions regarding numbered equations:


At first, please have a look at LyX's Math manual that you find in LyX's 
help menu. This will give you many info and answers.



1. How does one add punctuation to numbered equations?


What do you mean here?


2. How does one make the equations be part of a paragraph that begins
before and continues after them?


I also don't understand what you mean here. If you are in a paragraph 
and press Ctrl+Shift+m you get a displayed formula that is part of this 
paragraph. (If you want to have an inline equation, press only Ctrl+m 
(omit the Shift key).)



3. How does one continue a numbered equation across multiple lines?

>

2 + 2 = 4 (1),
C = 2 x pi x r (2), and
A = (1/2) b x h (3).

In the above example, I can't figure out how to add the commas, period,
and conjunction adjacent to the equation numbers.


The equation number is the last character of an equation line, according 
to ISO norms. So you need to place the phrase "add" into a separate 
line. This can be done by either


- using the command \intertext, as described in the Math manual
- use two equations as in the attached example file

The latter is the usual method.

(By the way in English there is no comma before the "and" if the part 
after the "and" is the last enumeration in a sentence; like in

"A, B, C and D are letters.")


Also notice that the
sentence beginning with "As" is part of the paragraph beginning with
"Three."


Everything is one paragraph if you don't press Enter after of before the 
equations. In the attached file there is only one paragraph.



Regarding my third question, I have a long equation that should span
multiple lines. Instead, LyX keeps it on one line that runs off the
right side of the page, when it should look like:

5 = 1 + 5 = 2 + 3 = 3 + 2 = 4 + 1 = 10/2
= 50/10 = 100/20 (4)


You are responsible for line breaks in equations. Possible methods are 
described in the Math manual.


regards Uwe


newfile3.lyx
Description: application/lyx


using symbols

2010-04-19 Thread Paul Sutton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hi

I am trying to get the symbols packages to work, so in my preamble i have

\usepackage{simpsons} then in my document i have for example \bart as an
ERT,

Where is lyx looking for these styles ?

thanks

Paul

- --
Paul Sutton
www.zleap.net

Ubuntu 10.04 is out soon : Visit www.ubuntu.com for details
DCGLUG MEETINGS - Details on www.dcglug.org.uk/ - please click on Group
meetings link on right hand side
Aged 11 - 19 then dfey may be for you,  please goto http://www.dfey.org
for more details
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvMtTsACgkQaggq1k2FJq1M1QCdHzh6hqhc1Ed3CIvUdRHChc3s
KoAAoIS62yr/ei4haI2euRfjn7G9Od09
=Y55Y
-END PGP SIGNATURE-


Re: Sweave errors: more explicit?

2010-04-19 Thread Guenter Milde
On 2010-04-19, M  Speiser wrote:
> Hi,

> I am currently using LyX+Sweave a whole lot, huge fan of the concept!
> One of the few weaknesses of this solution though is that the error
> message (when there is something wrong with the R code) isn't much
> help:

> "An error occurred whilst running R CMD Sweave 'myfile.Rnw'"

> Is there a trick to look at the R trace to see what went wrong?

You might try starting LyX from a console/x-terminal-emulator.

Under Unix/X11, you can see error messages in ~/.xsession-errors (for
programs not started from an x-term...

Günter




Re: Formatting numbered equations

2010-04-19 Thread rgheck

On 04/19/2010 02:25 PM, Marshall Feldman wrote:

Hello,

I have several questions regarding numbered equations:

  1. How does one add punctuation to numbered equations?
  2. How does one make the equations be part of a paragraph that begins
 before and continues after them?
  3. How does one continue a numbered equation across multiple lines?


That's a lot of questions. ;-)


For example:
_ 



Three of the most often quoted elementary mathematical
   equations are

   2 + 2 = 4(1),
   C = 2 x pi x r  (2), and
   A = (1/2) b x h   (3).

   As you can see, Equation 2 is the most complex.

_ 

In the above example, I can't figure out how to add the commas, 
period, and conjunction adjacent to the equation numbers.


If you're using an equation array or something of the sort to format 
this, then you cannot add punctuation after the labels. There simply 
isn't any way to do this, so far as I know, not unless you define (or 
find) your own environments that allow it. An option is to turn on the 
"fleqn" option by putting "fleqn" in the Options field under 
Document>Settings>Document Class>Custom. This moves the numbers to the 
left, and then you can add the text in the usual way. Alternatively, 
change your syntax. "These are three...:".


Also notice that the sentence beginning with "As" is part of the 
paragraph beginning with "Three." I can't get Lyx to format them 
right. The sentence beginning with "Three" is indented because it 
starts a paragraph. When I add anything after an equation number, LyX 
automatically treats it as a new paragraph. So in the above example, 
the line beginning with "As you can" is treated as the start of a new 
paragraph and indented.


I'm not sure I fully understand this, but compare the two paragraphs in 
the attached document. In the second case, where the paragraph is 
indented, there is a return after the formula. If you put the cursor at 
the beginning of "what" and backspace, you will delete that return.


Regarding my third question, I have a long equation that should span 
multiple lines. Instead, LyX keeps it on one line that runs off the 
right side of the page, when it should look like:


   5 = 1 + 5 = 2 + 3 = 3 + 2 = 4 + 1 = 10/2
  = 50/10 = 100/20   (4)

Thanks for your help.

You'll have to use something like the gather environment, or maybe an 
align environment, to format this correctly. Example in the file, again.


rh

#LyX 1.6.6svn created this file. For more info see http://www.lyx.org/
\lyxformat 345
\begin_document
\begin_header
\textclass paper
\begin_preamble
\usepackage{heck}
\end_preamble
\use_default_options false
\language english
\inputencoding auto
\font_roman times
\font_sans helvet
\font_typewriter courier
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100

\graphics default
\paperfontsize 11
\spacing single
\use_hyperref false
\papersize letterpaper
\use_geometry false
\use_amsmath 1
\use_esint 0
\cite_engine natbib_authoryear
\use_bibtopic false
\paperorientation portrait
\leftmargin 1in
\topmargin 1in
\rightmargin 1in
\bottommargin 1in
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip smallskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle plain
\tracking_changes false
\output_changes false
\author "" 
\author "" 
\end_header

\begin_body

\begin_layout Standard
this.
\begin_inset Formula \begin{gather}
a=b\\
b=a\end{gather}

\end_inset

that.
 and now more
\begin_inset Formula \begin{gather}
a=b\\
b=a\end{gather}

\end_inset


\end_layout

\begin_layout Standard
what happened? Uh oh.
\begin_inset Formula \[
a=b=c=d=e=f=g=h=i=j=k=l=m=n=o=p=q=r=s=t=u=v=w=x=y=z=0=1=2=3=4=5=6=7=8=9=0\]

\end_inset

Let's fix that.
\begin_inset Formula \begin{align*}
a & =b=c=d=e=f=g=h=i=j=k=l\\
 & =m=n=o=p=q=r=s=t=u=v=w\\
 & =x=y=z=0=1=2=3=4=5=6=7=8=9=0\end{align*}

\end_inset

Much better.
\end_layout

\end_body
\end_document


Invitation to connect on LinkedIn

2010-04-19 Thread John Niekrasz
LinkedIn
John Niekrasz requested to add you as a connection on LinkedIn:
--

John,

I'd like to add you to my professional network on LinkedIn.

- John

Accept invitation from John Niekrasz
http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1975860028_2/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYOnPwOc30Se3kTej59bThFd717kjkUbPcQcjsRdzkPcz4LrCBxbOYWrSlI/EML_comm_afe/

View invitation from John Niekrasz
http://www.linkedin.com/e/iMC0WjH5iE2J5t8N06FfJiDBYiFxKVYTer8_/blk/I1975860028_2/39ve38Mc3oUdjsVckALqnpPbOYWrSlI/svi/
 

--
DID YOU KNOW you can use your LinkedIn profile as your website? Select a vanity 
URL and then promote this address on your business cards, email signatures, 
website, etc
http://www.linkedin.com/e/ewp/inv-21/


 
--
(c) 2010, LinkedIn Corporation

Formatting numbered equations

2010-04-19 Thread Marshall Feldman

Hello,

I have several questions regarding numbered equations:

  1. How does one add punctuation to numbered equations?
  2. How does one make the equations be part of a paragraph that begins
 before and continues after them?
  3. How does one continue a numbered equation across multiple lines?

For example:
_

Three of the most often quoted elementary mathematical
   equations are

   2 + 2 = 4(1),
   C = 2 x pi x r  (2), and
   A = (1/2) b x h   (3).

   As you can see, Equation 2 is the most complex.

_
In the above example, I can't figure out how to add the commas, period, 
and conjunction adjacent to the equation numbers. Also notice that the 
sentence beginning with "As" is part of the paragraph beginning with 
"Three." I can't get Lyx to format them right. The sentence beginning 
with "Three" is indented because it starts a paragraph. When I add 
anything after an equation number, LyX automatically treats it as a new 
paragraph. So in the above example, the line beginning with "As you can" 
is treated as the start of a new paragraph and indented.


Regarding my third question, I have a long equation that should span 
multiple lines. Instead, LyX keeps it on one line that runs off the 
right side of the page, when it should look like:


   5 = 1 + 5 = 2 + 3 = 3 + 2 = 4 + 1 = 10/2
  = 50/10 = 100/20   (4)

Thanks for your help.

Marsh Feldman



Re: install otf font using otfinst.py

2010-04-19 Thread Paul A. Rubin

On 4/19/2010 8:37 AM, jelle feringa wrote:


Aha! That offers some insight!
Same thing happes no matter whether I export latex(plain) || latex(pdflatex).

brutus:Desktop jelleferinga$ pdflatex newfile1.tex
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
  %&-line parsing enabled.

kpathsea: Running mktexfmt pdflatex.fmt
I can't find the format file `pdflatex.fmt'!



See if you have a utility called fmtutil installed.  If not, you might 
want to google it and see if you can install it.  The man page indicates 
it should be suitable for fixing missing formats.


Also, you might try running plain latex, rather than pdflatex, against 
your test document. If it compiles, then the font file is not the problem.


/Paul



Re: Full-length footnote in two-column document

2010-04-19 Thread Wolfgang Engelmann
Am Monday 19 April 2010 16:11:58 schrieb Morten Juhl-Johansen Zölde-Fejér:
> The subject pretty much says it. I have been importing my BA thesis
> into LyX in preparation for submitting it to the Internet Archive.
> There is one thing I want to look into, though. I rather like the
> two-column layout, but I find it problematic that the footnotes are
> narrowed as part of the column, because a few footnotes can end up
> taking up a lot of space. Is it possible to have the footnotes at the
> bottom below the columns to span the full width of the page?
> The document is exported to
> http://writtenandread.net/files/lyx/roa-projekt_to-kolonner.pdf
>
> One other thing, a minor detail: I recently wrote a small feature on
> LyX - http://writtenandread.net/lyx/ - and all I could say on the
> mathematics section is that I don't know anything about it. Do you have
> a good link covering the mathematical features of LyX?

You have checked in the help menu of Lyx: 
LyXs detailliertes Mathe Handbuch
have you?
Wolfgang


Full-length footnote in two-column document

2010-04-19 Thread Morten Juhl-Johansen Zölde-Fejér
The subject pretty much says it. I have been importing my BA thesis
into LyX in preparation for submitting it to the Internet Archive.
There is one thing I want to look into, though. I rather like the
two-column layout, but I find it problematic that the footnotes are
narrowed as part of the column, because a few footnotes can end up
taking up a lot of space. Is it possible to have the footnotes at the
bottom below the columns to span the full width of the page?
The document is exported to
http://writtenandread.net/files/lyx/roa-projekt_to-kolonner.pdf

One other thing, a minor detail: I recently wrote a small feature on
LyX - http://writtenandread.net/lyx/ - and all I could say on the
mathematics section is that I don't know anything about it. Do you have
a good link covering the mathematical features of LyX?

Yours,
grateful for an impressive program,
Morten
__
Morten Juhl-Johansen Zölde-Fejér
http://writtenandread.net * mor...@writtenandread.net


Re: install otf font using otfinst.py

2010-04-19 Thread jelle feringa
I did forget to mention:

brutus:Desktop jelleferinga$ kpsewhich storno.sty
/Users/jelleferinga/Library/texmf/tex/latex/localfonts/storno.sty

-jelle



Re: install otf font using otfinst.py

2010-04-19 Thread jelle feringa
Hi Paul,

Aha! That offers some insight!
Same thing happes no matter whether I export latex(plain) || latex(pdflatex).

brutus:Desktop jelleferinga$ pdflatex newfile1.tex 
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
 %&-line parsing enabled.

kpathsea: Running mktexfmt pdflatex.fmt
I can't find the format file `pdflatex.fmt'!

Thanks

-jelle



Re: install otf font using otfinst.py

2010-04-19 Thread Paul A. Rubin

On 4/19/2010 3:08 AM, jelle feringa wrote:


storno is found:
brutus:evolve_buildable jelleferinga$ kpsewhich storno.sty
/Users/jelleferinga/Library/texmf/tex/latex/localfonts/storno.sty

however, after including \userpackage{storno }
lyx is still not finding storno.sty.
any ideas what I still might try?



It's not LyX that is looking for the package, it is LaTeX.  Try 
exporting your document to LaTeX (File > Export > LaTeX (plain)) and 
then run latex against it in a terminal.  Do you see the same error message?


/Paul



Sweave errors: more explicit?

2010-04-19 Thread M . Speiser
Hi,

I am currently using LyX+Sweave a whole lot, huge fan of the concept! One of the
few weaknesses of this solution though is that the error message (when there is
something wrong with the R code) isn't much help:

"An error occurred whilst running R CMD Sweave 'myfile.Rnw'"

Is there a trick to look at the R trace to see what went wrong? Currently I
copy-paste my entire R code into an R console to reproduce the error, correct it
there, then correct my document, which is kind of a drag.

Cheers



Re: Elseartice on Lyx

2010-04-19 Thread Guenter Milde
On 2010-04-16, Bruno Cocciaro wrote:
> --=_NextPart_000_0031_01CADD98.52DA0DB0
> Content-Type: text/plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable

> but ... shouldn't anyone advice administrators of

> ftp.uniRoma2.it

> to correct their psnfss package?

Maybe they just need to update? Or the package was not properly
installed?

> Or is it normal that  the any package may be different if dowloaded from =
> different link ?

It is normal, that different versions behave different, of course, so
this should be checked first.

It is also normal that there are different "package formats": a zip
file might contain a "texmf-dir compatible" sub-structure, or just a
bundle of files that needs to be sorted into the right places manually.

Apart from this, a correctly installed package of the same version
should behave similar regardless of the download site.

Günter



Re: Python stall loading layout in LyX 1.6.4

2010-04-19 Thread Guenter Milde
On 2010-04-16, B. Bogart wrote:

> +checking for document class sfuthesis [csthesis.sty]... yes

> But when I select the corresponding layout in document settings, LyX
> stalls, python uses up 90% CPU, and continues to do so indefinitely. I
> left it overnight.

> If I manually kill LyX I get this from python:

> ^C
> Traceback (most recent call last):
>   File "/usr/share/lyx/scripts/layout2layout.py", line 530, in 
> main(sys.argv)
>   File "/usr/share/lyx/scripts/layout2layout.py", line 518, in main
> format = convert(lines)
>   File "/usr/share/lyx/scripts/layout2layout.py", line 182, in convert
> if re_Comment.match(lines[i]) or re_Empty.match(lines[i]):
> KeyboardInterrupt

> Why does this layout require conversion? Has the layout format changed?

Yes.

> Considering this layout is so simple, I can't see why python would have
> problems with it, not to mention no error or exit condition in this case.

You found a bug. There might be some problem with your layout, but
nevertheless the layout2layout script should never go into an
indefinite loop (it looks like the regexp search is not advancing at
some stage due to unusal formatting of your layout).

Could you file a bug report at track.lyx.org or report on the
lyx-devel list?


> --090902090902060302020708
> Content-Type: text/plain;
>  name="sfuthesis.layout"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="sfuthesis.layout"

> #% Do not delete the line below; configure depends on this
> #  \DeclareLaTeXClass[csthesis.sty]{Simon Fraser University Thesis}

> --090902090902060302020708--




Re: option of spanish babel in lyx

2010-04-19 Thread Guenter Milde
On 2010-04-17, Marcelo Acuña wrote:

>> > >> What is the LaTeX code=0A> you are using in Kile?

Careful reading babel.pdf revealed the solution:

   ~-   Like "- but with no break after the hyphen. Works
for en-dashes (~--) and em-dashes (~---). "+, "+-
and "+-- are synonymous.

I.e. with LyX (and its disabling of the ~ as shortcut character), you
need to write

   "+--
   
instead of

   ~---
   
in the ERT box.

This works here with LyX 1.6.5 (and should work with all Lyx versions).

Günter  



Re: install otf font using otfinst.py

2010-04-19 Thread jelle feringa
Hi Paul,

Thanks for your help.

storno is found:
brutus:evolve_buildable jelleferinga$ kpsewhich storno.sty
/Users/jelleferinga/Library/texmf/tex/latex/localfonts/storno.sty

however, after including \userpackage{storno }
lyx is still not finding storno.sty.
any ideas what I still might try?

thanks!

-jelle