Re: LyX 2.0 and framed package

2011-01-15 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
  Apparently, nesting framed into quote doesn't work. It works vice versa 
  (nesting quote into framed). I don't think this is a LyX problem, or
  anything  that can be prevented in LyX, but rather a bug or deficiency
  of the framed package.
 
  
 
  Jürgen
 
 Well, as I mentioned before, what is there has worked for years, so
 something has changed in how that construct works in LyX.  The Insert 
 Box works fine as a replacement, though.

FYI I get the same problem with LyX 1.6, and googling comp.text.tex, I see 
many similar reports from plain LaTeX users. I cannot imagine LyX ever 
outputted different LaTeX with this very construct, so I have no idea what 
could have changed, except for your input.

Jürgen


AW: reducing font size for side notes?

2011-01-15 Thread Jannick Asmus

Jose Quesada wrote:

Hi,

Using the standard article class, is there any way of reducing font
size for side notes?
Thanks!


This has helped me: 
http://permalink.gmane.org/gmane.editors.lyx.general/67569.


/J. 





Re: using text boxes in the article. Which document class?

2011-01-15 Thread Wolfgang Engelmann
Am Friday 14 January 2011 15:04:11 schrieb Jose Quesada:
 Hi,

 I'd love to start using text boxes in the article. Which document class
 should I use?
 I've attached an example of how the output would look like.
 I'd also like to use side notes, as in the thesis class, but that could be
 ignored.

 Thanks!

insert Box (Minipage, shaded background)
the background is red in my case. Don't know how to change that

Wolfgang


Re: Warning from lyx-users@lists.lyx.org

2011-01-15 Thread Paul Sutton
i know the above was a admin message the reason for the bounces is 
issues with the hosting server over the past 2 weeks.  Everything should 
be working from now on.


paul


Re: using text boxes in the article. Which document class?

2011-01-15 Thread Wolfgang Engelmann
Am Friday 14 January 2011 15:04:11 schrieb Jose Quesada:
 Hi,

 I'd love to start using text boxes in the article. Which document class
 should I use?
 I've attached an example of how the output would look like.
 I'd also like to use side notes, as in the thesis class, but that could be
 ignored.

 Thanks!

just found

http://www.bingel-online.de/lyx/tipps.html#rand

unfortunately in German

Texthintergrund farbig

Farbige Hintergründe - egal ob für einzelne Worte oder Absätze, sind in LyX 
gegenwärtig nicht direkt anwählbar. Farbig hinterlegte Wörter und kurze(!) 
Passagen können mit \colorbox in einem TeX-Feld erzeugt werden. Mit 
\fcolorbox können diese Farbboxen dann einen beliebigen farbigen Rand 
erhalten: \fcolorbox{Farbname}{Text}

Anleitungen dazu finden sich unter - Hilfe - Eingebettete Objekte - Kapitel

help  embedded objects  chapter 5.7

 5.7 . Unbedingt lesen! Achtung: Farbige Absätze können nur (siehe Kapitel 
5.7.2) durch eine Minipage erstellt werden, da der Text innerhalb von 
\colorbox nicht umgebrochen werden kann. Diese Lösung sollte man also 
prinzipiell vorziehen! Mit dem Boxenmenü von Minipage gelingt auch das 
Verändern der Umrandung ohne weitere TeX-Befehle.

Wolfgang


Re: Failure at the first step

2011-01-15 Thread Liviu Andronic
On Sat, Jan 15, 2011 at 3:54 AM, Gustaf Arrhenius
gustaf.arrhen...@scasss.uu.se wrote:
 Dear Lyx-team



 I’ve just downloaded Lyx and tried out the first supposedly super-easy
 tutorial. It failed and I got a obscure error message, see attached. I’m
 afraid that such errors at such an early point will discourage a lot of
 potential users.

Have you tried View (PDF)?

Regards
Liviu




 All the best,



 Gustaf Arrhenius



 **

 Dr. Gustaf Arrhenius, Docent, Torgny Segerstedt Pro Futura Fellow

 Swedish Collegium for Advanced Study

 Dept. of Philosophy, Stockholm University

 Centre de Recherche Sens, Éthique, Société (CERSES)

 CNRS-Université Paris V, 45 rue des Sts Pères

 75270 PARIS CEDEX 06 (France)

 Tel (w): +33 (0)1 42 86 42 46

 Tel (h): +33 (0)1 44 41 32 59

 Tel (m): +33 (0)6 42 40 54 42

 http://people.su.se/~guarr/

 http://cerses.shs.univ-paris5.fr/spip.php?article122

 **





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Where to change dvi previewer?

2011-01-15 Thread Pavel Sanda
Adrian Kieß wrote:
 Hello,
 
 the default viewers Lyx uses are specified in /etc/mailcap,
 if i remember right.

no, this is highly dependent on what distribution you use.

pavel


Re: Slow start for beta 3 on Windows

2011-01-15 Thread Pavel Sanda
J. Gardner wrote:
 I'm not sure if this is a bug or a config. mistake on my part, but LyX beta
 3 takes about 90 minutes to start each time on Win 7 32bit. I'm used to the
 first launch taking a while for configuration, but this is happening with
 every launch. Any ideas?

miktex update running in background and didnt finish properly?
pavel


Re: [LyX2.0beta3] math preview broken?

2011-01-15 Thread Pavel Sanda
Jannick Asmus wrote:
 It doesn't look like as I checked in the MikTeX package manager. Or should 
 I look for it somewhere else?

maybe you will be interested in the bug #7222.
pavel


Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Richard Heck

On 01/14/2011 02:11 PM, Peter Baumgartner wrote:

Changing for example the document from draft to the final version via the
option field of class option in the tools-document preferences window
results into an error and raises the class switch error box:


Similar to: http://www.lyx.org/trac/ticket/7080?

Richard



Re: Lyx code env.

2011-01-15 Thread Richard Heck

On 01/14/2011 05:48 PM, S Nedunuri wrote:

Does anyone know how to adjust the left margin in the Lyx Code environment?
I create an Algorithm float, and as soon as I set the env. of the contents
to Lyx Code, the contents get shifted in. I have very little column space as
it is, and I don't need a gratuitous indentation!


LyX automatically defines it for you, as:

\newenvironment{lyxcode}

{\par\begin{list}{}{

\setlength{\rightmargin}{\leftmargin}

\setlength{\listparindent}{0pt}% needed for AMS classes

\raggedright

\setlength{\itemsep}{0pt}

\setlength{\parsep}{0pt}

\normalfont\ttfamily}%

\item[]}

{\end{list}}


So you will need to redefine this environment in your preamble. It may 
be enough to do this:


\renewenvironment{lyxcode}

{\par\begin{list}{}{

\setlength{\leftmargin}{0pt}

\setlength{\listparindent}{0pt}% needed for AMS classes

\raggedright

\setlength{\itemsep}{0pt}

\setlength{\parsep}{0pt}

\normalfont\ttfamily}%

\item[]}

{\end{list}}


Untested.

Richard



Re: Header?

2011-01-15 Thread Richard Heck

On 01/13/2011 12:17 PM, Charles wrote:


Hello Everybody,

How do I, or where in the user manual is instructions on how to create 
a Header?



DocumentSettingsPage LayoutHeadings.

If you want to customize it, then choose fancy and read the fancyhdr docs:

ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf


Richard



Re: Proofs ending with mathematical formulas

2011-01-15 Thread Richard Heck

On 01/13/2011 09:51 PM, Gustavo Milaré wrote:

Hello,

I'm having a bit trouble to put the QED symbol in the right place when 
the proof ends with a multi-line mathematical formula.


I think this is a known sort of problem with the QED symbol. The 
algorithm that calculates its placement is complex. I tend to solve the 
problem by making the proof *not* end with a multi-line formula. If I 
have to add That completes the proof, I'll do that.


rh



Re: Proofs ending with mathematical formulas

2011-01-15 Thread Jim Oldfield
For multiline formulae, you need to end it with \tag*{\qedhere}.  To enter 
this in LyX, you don't need to specify the braces, just enter \tag* and press 
space, then in the box that appears type \qedhere.


This also seems to work for single-line formulae, so what I do is use a math 
macro for this and use that for all formulae at the end of proofs.  This has 
the 
benefit that you can put something prettier in the LyX box for display while 
you're editing your document (e.g. try pasting in \text{ }\text{ }\text{ 
}\text{ }\square without the quotes).

By the way, this is a bug in AMS-LaTeX that they know about, but thought 
couldn't be fixed.  It can be fixed since the ntheorem package manages it (but 
has its own bugs, so isn't a good replacement sadly), which I've told the 
relevant person in AMS about.  She seemed interested, but I doubt they have the 
resources to fix it anytime soon.

Jim


From: Gustavo Milaré gugamil...@gmail.com
To: Lyx Discussion List lyx-users@lists.lyx.org
Sent: Fri, 14 January, 2011 2:51:15
Subject: Proofs ending with mathematical formulas

Hello, 


I'm having a bit trouble to put the QED symbol in the right place when the 
proof 
ends with a multi-line mathematical formula.
When the proof ends with a single-line formula, I manually put a \qedhere at 
the 
end of the formula for the QED symbol to appear in the right place. If there 
is 
any better way to do this, let me know.


Regards,
Gustavo.


  

Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Peter Baumgartner
Richard Heck rgheck at comcast.net writes:


 Similar to: http://www.lyx.org/trac/ticket/7080?
 
Yes, it is the same error, because linguistics.module and
logicalmkup.module are providing character style formats as the example in the
ticket. Sorry I didn't know of this ticket.
Peter





Re: export with elyxer and included xfig-images

2011-01-15 Thread Alex Fernandez
Hi Tino,

On Fri, Jan 14, 2011 at 12:59 AM, Tino Langer tino.lan...@gmx.net wrote:
 I did some tests using elyxer to export a lyx-file to html. It works reaaly
 fine for me, but there is one problem. in my lyx-file I included some
 xfig-files (external material), but these files are not converted to an
 image format which is useable in webbrowsers. Is it possible to export such
 a lyx-file with included xfig-images?

In my tests (which I redid right now), a file .fig is converted by
default to a .png. You have to make sure that the ImageMagick package
is installed in your machine though, since it is used to convert the
images; otherwise eLyXer will output an error message which you may
not see if the conversion is done from within LyX.
  http://www.imagemagick.org/script/download.php

If in doubt you can try to convert your file from the command line:
   python -m elyxer input.lyx output.html
and see what happens.

Hope this helps,

Alex.


Re: How to use local package outside a texmf path?

2011-01-15 Thread stefano franchi
On Fri, Jan 14, 2011 at 3:13 AM, Matthieu Stigler 
matthieu.stig...@gmail.com wrote:

 Hi

 Thanks to you Christopher, Paul and Richard for your answer! Sorry if I did
 not thank earlier, I had not realised (not e-mail notif) that you had
 replied! Below my answer

You have a space in the path to the file.  Does it work if you escape
 the space?

 Or rename the file to eliminate it?  Linux sometimes doesn't play well
 with filenames containing whitespace.

 Chris Menzel


 Unfortunately, it still does not work even when the path contains no
 spaces. Also, it does not work neither with relative or absolute paths. Most
 surpsisingly, it does not work even when I put the .sty file in the temp
 file used by Lyx...

 Do you have any idea how I can use a package that is not in the texmf tree?
 I just tried adding this package:

 http://svn.r-project.org/R/trunk/share/texmf/tex/latex/Sweave.sty

 Do you have the same problem on your confugrations (mine is Lyx 1.5.6 on
 Ubuntu 10.4)?


Hi Mat,

I can offer no specific help, but I can confirm that loading packages
outside of the texmf tree works for me when you specify the absolute path. I
often use lines such as:
\usepackage{/home/stefano/Papers/The-paper-I-am-working-on/Package-file.sty}

I am on Ubuntu 10.10 with Texlive 2010 and Lyx 1.5.8.

Have you thought about putting your packages in the local branch of the
texmf tree, though? In my understanding,  ~/texmf is meant to be used for
personal packages, customized versions of standard packages, etc. I had the
habit of working with customized LaTeX code in the document´s directory, but
I then switched to the local branch of the texmf tree and I think it works
better. Less clutter, fewer possibilities of version conflicts, etcetera.

Cheer,

Stefano



 Thanks a lot

 Matthieu



 Le 30. 12. 10 13:59, Richard Heck a écrit :

 On 12/30/2010 07:00 AM, mat wrote:

  Hi

 I wish to use local latex class in my lyx document. Were it pure latex
 code, I could have written:
 \usepackage{./newclass}

 when the .sty is at the same level than the .tex. Now, I have some
 problems doing so with lyx, I tried adding this in the preamble, either with
 a relative path or an absolute one, but unfortunately it does unfortunately
 not work, I get an error message...
 Latex Error: File newclass.sty not found

 And below the error message, a quite cryptic: cannot \read from terminal
 in nonstop mode...

 Do you see what I do wrong? I checked the doc but did not find mention on
 how to use local packages, is there something? Do you see how I can solve
 the problem?

  Why not just put the package somewhere LaTeX can find it?

 It should work with an absolute path.

 Richard





Re: Lyx code env.

2011-01-15 Thread S Nedunuri
Thanks! that did the trick
  Richard Heck rgh...@comcast.net wrote in message 
news:4d319fec.30...@comcast.net...
  On 01/14/2011 05:48 PM, S Nedunuri wrote: 
Does anyone know how to adjust the left margin in the Lyx Code environment? 
I create an Algorithm float, and as soon as I set the env. of the contents 
to Lyx Code, the contents get shifted in. I have very little column space as 
it is, and I don't need a gratuitous indentation!

LyX automatically defines it for you, as:


  \newenvironment{lyxcode}

  {\par\begin{list}{}{

  \setlength{\rightmargin}{\leftmargin}

  \setlength{\listparindent}{0pt}% needed for AMS classes

  \raggedright

  \setlength{\itemsep}{0pt}

  \setlength{\parsep}{0pt}

  \normalfont\ttfamily}%

  \item[]}

  {\end{list}}



  So you will need to redefine this environment in your preamble. It may be 
enough to do this:


  \renewenvironment{lyxcode}

  {\par\begin{list}{}{

  \setlength{\leftmargin}{0pt}

  \setlength{\listparindent}{0pt}% needed for AMS classes

  \raggedright

  \setlength{\itemsep}{0pt}

  \setlength{\parsep}{0pt}

  \normalfont\ttfamily}%

  \item[]}

  {\end{list}}


  Untested.

  Richard



AW: [LyX2.0beta3] math preview broken?

2011-01-15 Thread Jannick Asmus

Pavel Sanda wrote:

Jannick Asmus wrote:

It doesn't look like as I checked in the MikTeX package manager. Or
should I look for it somewhere else?


maybe you will be interested in the bug #7222.
pavel


Thanks! I think we should wait for the response from the MikTeX guys. 
Maybe interesting too: 
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164704.html.


/J. 





Re: Slow start for beta 3 on Windows

2011-01-15 Thread J. Gardner
I meant 90 seconds, not 90 minutes, sorry... MikTeX (2.8) is up to
date and not running in the background, so that doesn't seem to be the
issue. I have also noticed that if I make any changes to the
preferences LyX locks for a couple of minutes. Tried suspending virus
software, but that didn't help, either. I didn't have this problem
with beta 2, and I can't figure out what might have changed on my
system.

I also noticed that running the uninstaller doesn't remove that
program folder from the Start Menu (of course this is probably
unrelated to the problem I'm having).

John

 miktex update running in background and didnt finish properly?
 pavel


Re: Proofs ending with mathematical formulas

2011-01-15 Thread Gustavo Milaré
Thank you, Jim. It seems to be working fine now.

Gustavo.

2011/1/15 Jim Oldfield jim_...@yahoo.co.uk

 For multiline formulae, you need to end it with \tag*{\qedhere}.  To
 enter this in LyX, you don't need to specify the braces, just enter \tag*
 and press space, then in the box that appears type \qedhere.

 This also seems to work for single-line formulae, so what I do is use a
 math macro for this and use that for all formulae at the end of proofs.
  This has the benefit that you can put something prettier in the LyX box for
 display while you're editing your document (e.g. try pasting in \text{
 }\text{ }\text{ }\text{ }\square without the quotes).

 By the way, this is a bug in AMS-LaTeX that they know about, but thought
 couldn't be fixed.  It can be fixed since the ntheorem package manages it
 (but has its own bugs, so isn't a good replacement sadly), which I've told
 the relevant person in AMS about.  She seemed interested, but I doubt they
 have the resources to fix it anytime soon.

 Jim


 *From:* Gustavo Milaré gugamil...@gmail.com
 *To:* Lyx Discussion List lyx-users@lists.lyx.org
 *Sent:* Fri, 14 January, 2011 2:51:15
 *Subject:* Proofs ending with mathematical formulas

 Hello,

 I'm having a bit trouble to put the QED symbol in the right place when the
 proof ends with a multi-line mathematical formula.
 When the proof ends with a single-line formula, I manually put a \qedhere
 at the end of the formula for the QED symbol to appear in the right place.
 If there is any better way to do this, let me know.

 Regards,
 Gustavo.





Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Richard Heck

On 01/15/2011 10:36 AM, Peter Baumgartner wrote:

Richard Heckrgheckat  comcast.net  writes:


Similar to: http://www.lyx.org/trac/ticket/7080?


Yes, it is the same error, because linguistics.module and
logicalmkup.module are providing character style formats as the example in the
ticket. Sorry I didn't know of this ticket.


OK, of course. Can't keep track of them all.

rh



Re: LyX 2.0 and framed package

2011-01-15 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
  Apparently, nesting framed into quote doesn't work. It works vice versa 
  (nesting quote into framed). I don't think this is a LyX problem, or
  anything  that can be prevented in LyX, but rather a bug or deficiency
  of the framed package.
 
  
 
  Jürgen
 
 Well, as I mentioned before, what is there has worked for years, so
 something has changed in how that construct works in LyX.  The Insert 
 Box works fine as a replacement, though.

FYI I get the same problem with LyX 1.6, and googling comp.text.tex, I see 
many similar reports from plain LaTeX users. I cannot imagine LyX ever 
outputted different LaTeX with this very construct, so I have no idea what 
could have changed, except for your input.

Jürgen


AW: reducing font size for side notes?

2011-01-15 Thread Jannick Asmus

Jose Quesada wrote:

Hi,

Using the standard article class, is there any way of reducing font
size for side notes?
Thanks!


This has helped me: 
http://permalink.gmane.org/gmane.editors.lyx.general/67569.


/J. 





Re: using text boxes in the article. Which document class?

2011-01-15 Thread Wolfgang Engelmann
Am Friday 14 January 2011 15:04:11 schrieb Jose Quesada:
 Hi,

 I'd love to start using text boxes in the article. Which document class
 should I use?
 I've attached an example of how the output would look like.
 I'd also like to use side notes, as in the thesis class, but that could be
 ignored.

 Thanks!

insert Box (Minipage, shaded background)
the background is red in my case. Don't know how to change that

Wolfgang


Re: Warning from lyx-users@lists.lyx.org

2011-01-15 Thread Paul Sutton
i know the above was a admin message the reason for the bounces is 
issues with the hosting server over the past 2 weeks.  Everything should 
be working from now on.


paul


Re: using text boxes in the article. Which document class?

2011-01-15 Thread Wolfgang Engelmann
Am Friday 14 January 2011 15:04:11 schrieb Jose Quesada:
 Hi,

 I'd love to start using text boxes in the article. Which document class
 should I use?
 I've attached an example of how the output would look like.
 I'd also like to use side notes, as in the thesis class, but that could be
 ignored.

 Thanks!

just found

http://www.bingel-online.de/lyx/tipps.html#rand

unfortunately in German

Texthintergrund farbig

Farbige Hintergründe - egal ob für einzelne Worte oder Absätze, sind in LyX 
gegenwärtig nicht direkt anwählbar. Farbig hinterlegte Wörter und kurze(!) 
Passagen können mit \colorbox in einem TeX-Feld erzeugt werden. Mit 
\fcolorbox können diese Farbboxen dann einen beliebigen farbigen Rand 
erhalten: \fcolorbox{Farbname}{Text}

Anleitungen dazu finden sich unter - Hilfe - Eingebettete Objekte - Kapitel

help  embedded objects  chapter 5.7

 5.7 . Unbedingt lesen! Achtung: Farbige Absätze können nur (siehe Kapitel 
5.7.2) durch eine Minipage erstellt werden, da der Text innerhalb von 
\colorbox nicht umgebrochen werden kann. Diese Lösung sollte man also 
prinzipiell vorziehen! Mit dem Boxenmenü von Minipage gelingt auch das 
Verändern der Umrandung ohne weitere TeX-Befehle.

Wolfgang


Re: Failure at the first step

2011-01-15 Thread Liviu Andronic
On Sat, Jan 15, 2011 at 3:54 AM, Gustaf Arrhenius
gustaf.arrhen...@scasss.uu.se wrote:
 Dear Lyx-team



 I’ve just downloaded Lyx and tried out the first supposedly super-easy
 tutorial. It failed and I got a obscure error message, see attached. I’m
 afraid that such errors at such an early point will discourage a lot of
 potential users.

Have you tried View (PDF)?

Regards
Liviu




 All the best,



 Gustaf Arrhenius



 **

 Dr. Gustaf Arrhenius, Docent, Torgny Segerstedt Pro Futura Fellow

 Swedish Collegium for Advanced Study

 Dept. of Philosophy, Stockholm University

 Centre de Recherche Sens, Éthique, Société (CERSES)

 CNRS-Université Paris V, 45 rue des Sts Pères

 75270 PARIS CEDEX 06 (France)

 Tel (w): +33 (0)1 42 86 42 46

 Tel (h): +33 (0)1 44 41 32 59

 Tel (m): +33 (0)6 42 40 54 42

 http://people.su.se/~guarr/

 http://cerses.shs.univ-paris5.fr/spip.php?article122

 **





-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Where to change dvi previewer?

2011-01-15 Thread Pavel Sanda
Adrian Kieß wrote:
 Hello,
 
 the default viewers Lyx uses are specified in /etc/mailcap,
 if i remember right.

no, this is highly dependent on what distribution you use.

pavel


Re: Slow start for beta 3 on Windows

2011-01-15 Thread Pavel Sanda
J. Gardner wrote:
 I'm not sure if this is a bug or a config. mistake on my part, but LyX beta
 3 takes about 90 minutes to start each time on Win 7 32bit. I'm used to the
 first launch taking a while for configuration, but this is happening with
 every launch. Any ideas?

miktex update running in background and didnt finish properly?
pavel


Re: [LyX2.0beta3] math preview broken?

2011-01-15 Thread Pavel Sanda
Jannick Asmus wrote:
 It doesn't look like as I checked in the MikTeX package manager. Or should 
 I look for it somewhere else?

maybe you will be interested in the bug #7222.
pavel


Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Richard Heck

On 01/14/2011 02:11 PM, Peter Baumgartner wrote:

Changing for example the document from draft to the final version via the
option field of class option in the tools-document preferences window
results into an error and raises the class switch error box:


Similar to: http://www.lyx.org/trac/ticket/7080?

Richard



Re: Lyx code env.

2011-01-15 Thread Richard Heck

On 01/14/2011 05:48 PM, S Nedunuri wrote:

Does anyone know how to adjust the left margin in the Lyx Code environment?
I create an Algorithm float, and as soon as I set the env. of the contents
to Lyx Code, the contents get shifted in. I have very little column space as
it is, and I don't need a gratuitous indentation!


LyX automatically defines it for you, as:

\newenvironment{lyxcode}

{\par\begin{list}{}{

\setlength{\rightmargin}{\leftmargin}

\setlength{\listparindent}{0pt}% needed for AMS classes

\raggedright

\setlength{\itemsep}{0pt}

\setlength{\parsep}{0pt}

\normalfont\ttfamily}%

\item[]}

{\end{list}}


So you will need to redefine this environment in your preamble. It may 
be enough to do this:


\renewenvironment{lyxcode}

{\par\begin{list}{}{

\setlength{\leftmargin}{0pt}

\setlength{\listparindent}{0pt}% needed for AMS classes

\raggedright

\setlength{\itemsep}{0pt}

\setlength{\parsep}{0pt}

\normalfont\ttfamily}%

\item[]}

{\end{list}}


Untested.

Richard



Re: Header?

2011-01-15 Thread Richard Heck

On 01/13/2011 12:17 PM, Charles wrote:


Hello Everybody,

How do I, or where in the user manual is instructions on how to create 
a Header?



DocumentSettingsPage LayoutHeadings.

If you want to customize it, then choose fancy and read the fancyhdr docs:

ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf


Richard



Re: Proofs ending with mathematical formulas

2011-01-15 Thread Richard Heck

On 01/13/2011 09:51 PM, Gustavo Milaré wrote:

Hello,

I'm having a bit trouble to put the QED symbol in the right place when 
the proof ends with a multi-line mathematical formula.


I think this is a known sort of problem with the QED symbol. The 
algorithm that calculates its placement is complex. I tend to solve the 
problem by making the proof *not* end with a multi-line formula. If I 
have to add That completes the proof, I'll do that.


rh



Re: Proofs ending with mathematical formulas

2011-01-15 Thread Jim Oldfield
For multiline formulae, you need to end it with \tag*{\qedhere}.  To enter 
this in LyX, you don't need to specify the braces, just enter \tag* and press 
space, then in the box that appears type \qedhere.


This also seems to work for single-line formulae, so what I do is use a math 
macro for this and use that for all formulae at the end of proofs.  This has 
the 
benefit that you can put something prettier in the LyX box for display while 
you're editing your document (e.g. try pasting in \text{ }\text{ }\text{ 
}\text{ }\square without the quotes).

By the way, this is a bug in AMS-LaTeX that they know about, but thought 
couldn't be fixed.  It can be fixed since the ntheorem package manages it (but 
has its own bugs, so isn't a good replacement sadly), which I've told the 
relevant person in AMS about.  She seemed interested, but I doubt they have the 
resources to fix it anytime soon.

Jim


From: Gustavo Milaré gugamil...@gmail.com
To: Lyx Discussion List lyx-users@lists.lyx.org
Sent: Fri, 14 January, 2011 2:51:15
Subject: Proofs ending with mathematical formulas

Hello, 


I'm having a bit trouble to put the QED symbol in the right place when the 
proof 
ends with a multi-line mathematical formula.
When the proof ends with a single-line formula, I manually put a \qedhere at 
the 
end of the formula for the QED symbol to appear in the right place. If there 
is 
any better way to do this, let me know.


Regards,
Gustavo.


  

Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Peter Baumgartner
Richard Heck rgheck at comcast.net writes:


 Similar to: http://www.lyx.org/trac/ticket/7080?
 
Yes, it is the same error, because linguistics.module and
logicalmkup.module are providing character style formats as the example in the
ticket. Sorry I didn't know of this ticket.
Peter





Re: export with elyxer and included xfig-images

2011-01-15 Thread Alex Fernandez
Hi Tino,

On Fri, Jan 14, 2011 at 12:59 AM, Tino Langer tino.lan...@gmx.net wrote:
 I did some tests using elyxer to export a lyx-file to html. It works reaaly
 fine for me, but there is one problem. in my lyx-file I included some
 xfig-files (external material), but these files are not converted to an
 image format which is useable in webbrowsers. Is it possible to export such
 a lyx-file with included xfig-images?

In my tests (which I redid right now), a file .fig is converted by
default to a .png. You have to make sure that the ImageMagick package
is installed in your machine though, since it is used to convert the
images; otherwise eLyXer will output an error message which you may
not see if the conversion is done from within LyX.
  http://www.imagemagick.org/script/download.php

If in doubt you can try to convert your file from the command line:
   python -m elyxer input.lyx output.html
and see what happens.

Hope this helps,

Alex.


Re: How to use local package outside a texmf path?

2011-01-15 Thread stefano franchi
On Fri, Jan 14, 2011 at 3:13 AM, Matthieu Stigler 
matthieu.stig...@gmail.com wrote:

 Hi

 Thanks to you Christopher, Paul and Richard for your answer! Sorry if I did
 not thank earlier, I had not realised (not e-mail notif) that you had
 replied! Below my answer

You have a space in the path to the file.  Does it work if you escape
 the space?

 Or rename the file to eliminate it?  Linux sometimes doesn't play well
 with filenames containing whitespace.

 Chris Menzel


 Unfortunately, it still does not work even when the path contains no
 spaces. Also, it does not work neither with relative or absolute paths. Most
 surpsisingly, it does not work even when I put the .sty file in the temp
 file used by Lyx...

 Do you have any idea how I can use a package that is not in the texmf tree?
 I just tried adding this package:

 http://svn.r-project.org/R/trunk/share/texmf/tex/latex/Sweave.sty

 Do you have the same problem on your confugrations (mine is Lyx 1.5.6 on
 Ubuntu 10.4)?


Hi Mat,

I can offer no specific help, but I can confirm that loading packages
outside of the texmf tree works for me when you specify the absolute path. I
often use lines such as:
\usepackage{/home/stefano/Papers/The-paper-I-am-working-on/Package-file.sty}

I am on Ubuntu 10.10 with Texlive 2010 and Lyx 1.5.8.

Have you thought about putting your packages in the local branch of the
texmf tree, though? In my understanding,  ~/texmf is meant to be used for
personal packages, customized versions of standard packages, etc. I had the
habit of working with customized LaTeX code in the document´s directory, but
I then switched to the local branch of the texmf tree and I think it works
better. Less clutter, fewer possibilities of version conflicts, etcetera.

Cheer,

Stefano



 Thanks a lot

 Matthieu



 Le 30. 12. 10 13:59, Richard Heck a écrit :

 On 12/30/2010 07:00 AM, mat wrote:

  Hi

 I wish to use local latex class in my lyx document. Were it pure latex
 code, I could have written:
 \usepackage{./newclass}

 when the .sty is at the same level than the .tex. Now, I have some
 problems doing so with lyx, I tried adding this in the preamble, either with
 a relative path or an absolute one, but unfortunately it does unfortunately
 not work, I get an error message...
 Latex Error: File newclass.sty not found

 And below the error message, a quite cryptic: cannot \read from terminal
 in nonstop mode...

 Do you see what I do wrong? I checked the doc but did not find mention on
 how to use local packages, is there something? Do you see how I can solve
 the problem?

  Why not just put the package somewhere LaTeX can find it?

 It should work with an absolute path.

 Richard





Re: Lyx code env.

2011-01-15 Thread S Nedunuri
Thanks! that did the trick
  Richard Heck rgh...@comcast.net wrote in message 
news:4d319fec.30...@comcast.net...
  On 01/14/2011 05:48 PM, S Nedunuri wrote: 
Does anyone know how to adjust the left margin in the Lyx Code environment? 
I create an Algorithm float, and as soon as I set the env. of the contents 
to Lyx Code, the contents get shifted in. I have very little column space as 
it is, and I don't need a gratuitous indentation!

LyX automatically defines it for you, as:


  \newenvironment{lyxcode}

  {\par\begin{list}{}{

  \setlength{\rightmargin}{\leftmargin}

  \setlength{\listparindent}{0pt}% needed for AMS classes

  \raggedright

  \setlength{\itemsep}{0pt}

  \setlength{\parsep}{0pt}

  \normalfont\ttfamily}%

  \item[]}

  {\end{list}}



  So you will need to redefine this environment in your preamble. It may be 
enough to do this:


  \renewenvironment{lyxcode}

  {\par\begin{list}{}{

  \setlength{\leftmargin}{0pt}

  \setlength{\listparindent}{0pt}% needed for AMS classes

  \raggedright

  \setlength{\itemsep}{0pt}

  \setlength{\parsep}{0pt}

  \normalfont\ttfamily}%

  \item[]}

  {\end{list}}


  Untested.

  Richard



AW: [LyX2.0beta3] math preview broken?

2011-01-15 Thread Jannick Asmus

Pavel Sanda wrote:

Jannick Asmus wrote:

It doesn't look like as I checked in the MikTeX package manager. Or
should I look for it somewhere else?


maybe you will be interested in the bug #7222.
pavel


Thanks! I think we should wait for the response from the MikTeX guys. 
Maybe interesting too: 
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164704.html.


/J. 





Re: Slow start for beta 3 on Windows

2011-01-15 Thread J. Gardner
I meant 90 seconds, not 90 minutes, sorry... MikTeX (2.8) is up to
date and not running in the background, so that doesn't seem to be the
issue. I have also noticed that if I make any changes to the
preferences LyX locks for a couple of minutes. Tried suspending virus
software, but that didn't help, either. I didn't have this problem
with beta 2, and I can't figure out what might have changed on my
system.

I also noticed that running the uninstaller doesn't remove that
program folder from the Start Menu (of course this is probably
unrelated to the problem I'm having).

John

 miktex update running in background and didnt finish properly?
 pavel


Re: Proofs ending with mathematical formulas

2011-01-15 Thread Gustavo Milaré
Thank you, Jim. It seems to be working fine now.

Gustavo.

2011/1/15 Jim Oldfield jim_...@yahoo.co.uk

 For multiline formulae, you need to end it with \tag*{\qedhere}.  To
 enter this in LyX, you don't need to specify the braces, just enter \tag*
 and press space, then in the box that appears type \qedhere.

 This also seems to work for single-line formulae, so what I do is use a
 math macro for this and use that for all formulae at the end of proofs.
  This has the benefit that you can put something prettier in the LyX box for
 display while you're editing your document (e.g. try pasting in \text{
 }\text{ }\text{ }\text{ }\square without the quotes).

 By the way, this is a bug in AMS-LaTeX that they know about, but thought
 couldn't be fixed.  It can be fixed since the ntheorem package manages it
 (but has its own bugs, so isn't a good replacement sadly), which I've told
 the relevant person in AMS about.  She seemed interested, but I doubt they
 have the resources to fix it anytime soon.

 Jim


 *From:* Gustavo Milaré gugamil...@gmail.com
 *To:* Lyx Discussion List lyx-users@lists.lyx.org
 *Sent:* Fri, 14 January, 2011 2:51:15
 *Subject:* Proofs ending with mathematical formulas

 Hello,

 I'm having a bit trouble to put the QED symbol in the right place when the
 proof ends with a multi-line mathematical formula.
 When the proof ends with a single-line formula, I manually put a \qedhere
 at the end of the formula for the QED symbol to appear in the right place.
 If there is any better way to do this, let me know.

 Regards,
 Gustavo.





Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Richard Heck

On 01/15/2011 10:36 AM, Peter Baumgartner wrote:

Richard Heckrgheckat  comcast.net  writes:


Similar to: http://www.lyx.org/trac/ticket/7080?


Yes, it is the same error, because linguistics.module and
logicalmkup.module are providing character style formats as the example in the
ticket. Sorry I didn't know of this ticket.


OK, of course. Can't keep track of them all.

rh



Re: LyX 2.0 and framed package

2011-01-15 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
> > Apparently, nesting framed into quote doesn't work. It works vice versa 
> > (nesting quote into framed). I don't think this is a LyX problem, or
> > anything  that can be prevented in LyX, but rather a bug or deficiency
> > of the framed package.
> >
> > 
> >
> > Jürgen
> 
> Well, as I mentioned before, what is there has worked for years, so
> something has changed in how that construct works in LyX.  The Insert >
> Box works fine as a replacement, though.

FYI I get the same problem with LyX 1.6, and googling comp.text.tex, I see 
many similar reports from plain LaTeX users. I cannot imagine LyX ever 
outputted different LaTeX with this very construct, so I have no idea what 
could have changed, except for your input.

Jürgen


AW: reducing font size for side notes?

2011-01-15 Thread Jannick Asmus

Jose Quesada wrote:

Hi,

Using the standard article class, is there any way of reducing font
size for side notes?
Thanks!


This has helped me: 
http://permalink.gmane.org/gmane.editors.lyx.general/67569.


/J. 





Re: using text boxes in the article. Which document class?

2011-01-15 Thread Wolfgang Engelmann
Am Friday 14 January 2011 15:04:11 schrieb Jose Quesada:
> Hi,
>
> I'd love to start using text boxes in the article. Which document class
> should I use?
> I've attached an example of how the output would look like.
> I'd also like to use side notes, as in the thesis class, but that could be
> ignored.
>
> Thanks!

insert Box (Minipage, shaded background)
the background is red in my case. Don't know how to change that

Wolfgang


Re: Warning from lyx-users@lists.lyx.org

2011-01-15 Thread Paul Sutton
i know the above was a admin message the reason for the bounces is 
issues with the hosting server over the past 2 weeks.  Everything should 
be working from now on.


paul


Re: using text boxes in the article. Which document class?

2011-01-15 Thread Wolfgang Engelmann
Am Friday 14 January 2011 15:04:11 schrieb Jose Quesada:
> Hi,
>
> I'd love to start using text boxes in the article. Which document class
> should I use?
> I've attached an example of how the output would look like.
> I'd also like to use side notes, as in the thesis class, but that could be
> ignored.
>
> Thanks!

just found

http://www.bingel-online.de/lyx/tipps.html#rand

unfortunately in German

Texthintergrund farbig

Farbige Hintergründe - egal ob für einzelne Worte oder Absätze, sind in LyX 
gegenwärtig nicht direkt anwählbar. Farbig hinterlegte Wörter und kurze(!) 
Passagen können mit \colorbox in einem TeX-Feld erzeugt werden. Mit 
\fcolorbox können diese Farbboxen dann einen beliebigen farbigen Rand 
erhalten: \fcolorbox{Farbname}{Text}

Anleitungen dazu finden sich unter -> Hilfe -> Eingebettete Objekte -> Kapitel

help > embedded objects > chapter 5.7

 5.7 . Unbedingt lesen! Achtung: Farbige Absätze können nur (siehe Kapitel 
5.7.2) durch eine Minipage erstellt werden, da der Text innerhalb von 
\colorbox nicht umgebrochen werden kann. Diese Lösung sollte man also 
prinzipiell vorziehen! Mit dem Boxenmenü von Minipage gelingt auch das 
Verändern der Umrandung ohne weitere TeX-Befehle.

Wolfgang


Re: Failure at the first step

2011-01-15 Thread Liviu Andronic
On Sat, Jan 15, 2011 at 3:54 AM, Gustaf Arrhenius
 wrote:
> Dear Lyx-team
>
>
>
> I’ve just downloaded Lyx and tried out the first supposedly super-easy
> tutorial. It failed and I got a obscure error message, see attached. I’m
> afraid that such errors at such an early point will discourage a lot of
> potential users.
>
Have you tried View (PDF)?

Regards
Liviu


>
>
> All the best,
>
>
>
> Gustaf Arrhenius
>
>
>
> **
>
> Dr. Gustaf Arrhenius, Docent, Torgny Segerstedt Pro Futura Fellow
>
> Swedish Collegium for Advanced Study
>
> Dept. of Philosophy, Stockholm University
>
> Centre de Recherche Sens, Éthique, Société (CERSES)
>
> CNRS-Université Paris V, 45 rue des Sts Pères
>
> 75270 PARIS CEDEX 06 (France)
>
> Tel (w): +33 (0)1 42 86 42 46
>
> Tel (h): +33 (0)1 44 41 32 59
>
> Tel (m): +33 (0)6 42 40 54 42
>
> http://people.su.se/~guarr/
>
> http://cerses.shs.univ-paris5.fr/spip.php?article122
>
> **
>
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: Where to change dvi previewer?

2011-01-15 Thread Pavel Sanda
Adrian Kieß wrote:
> Hello,
> 
> the default viewers Lyx uses are specified in /etc/mailcap,
> if i remember right.

no, this is highly dependent on what distribution you use.

pavel


Re: Slow start for beta 3 on Windows

2011-01-15 Thread Pavel Sanda
J. Gardner wrote:
> I'm not sure if this is a bug or a config. mistake on my part, but LyX beta
> 3 takes about 90 minutes to start each time on Win 7 32bit. I'm used to the
> first launch taking a while for configuration, but this is happening with
> every launch. Any ideas?

miktex update running in background and didnt finish properly?
pavel


Re: [LyX2.0beta3] math preview broken?

2011-01-15 Thread Pavel Sanda
Jannick Asmus wrote:
> It doesn't look like as I checked in the MikTeX package manager. Or should 
> I look for it somewhere else?

maybe you will be interested in the bug #7222.
pavel


Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Richard Heck

On 01/14/2011 02:11 PM, Peter Baumgartner wrote:

Changing for example the document from draft to the final version via the
option field of class option in the tools->document preferences window
results into an error and raises the class switch error box:


Similar to: http://www.lyx.org/trac/ticket/7080?

Richard



Re: Lyx code env.

2011-01-15 Thread Richard Heck

On 01/14/2011 05:48 PM, S Nedunuri wrote:

Does anyone know how to adjust the left margin in the Lyx Code environment?
I create an Algorithm float, and as soon as I set the env. of the contents
to Lyx Code, the contents get shifted in. I have very little column space as
it is, and I don't need a gratuitous indentation!


LyX automatically defines it for you, as:

\newenvironment{lyxcode}

{\par\begin{list}{}{

\setlength{\rightmargin}{\leftmargin}

\setlength{\listparindent}{0pt}% needed for AMS classes

\raggedright

\setlength{\itemsep}{0pt}

\setlength{\parsep}{0pt}

\normalfont\ttfamily}%

\item[]}

{\end{list}}


So you will need to redefine this environment in your preamble. It may 
be enough to do this:


\renewenvironment{lyxcode}

{\par\begin{list}{}{

\setlength{\leftmargin}{0pt}

\setlength{\listparindent}{0pt}% needed for AMS classes

\raggedright

\setlength{\itemsep}{0pt}

\setlength{\parsep}{0pt}

\normalfont\ttfamily}%

\item[]}

{\end{list}}


Untested.

Richard



Re: Header?

2011-01-15 Thread Richard Heck

On 01/13/2011 12:17 PM, Charles wrote:


Hello Everybody,

How do I, or where in the user manual is instructions on how to create 
a Header?



Document>Settings>Page Layout>Headings.

If you want to customize it, then choose "fancy" and read the fancyhdr docs:

ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/fancyhdr/fancyhdr.pdf


Richard



Re: Proofs ending with mathematical formulas

2011-01-15 Thread Richard Heck

On 01/13/2011 09:51 PM, Gustavo Milaré wrote:

Hello,

I'm having a bit trouble to put the QED symbol in the right place when 
the proof ends with a multi-line mathematical formula.


I think this is a known sort of problem with the QED symbol. The 
algorithm that calculates its placement is complex. I tend to solve the 
problem by making the proof *not* end with a multi-line formula. If I 
have to add "That completes the proof", I'll do that.


rh



Re: Proofs ending with mathematical formulas

2011-01-15 Thread Jim Oldfield
For multiline formulae, you need to end it with "\tag*{\qedhere}".  To enter 
this in LyX, you don't need to specify the braces, just enter "\tag*" and press 
space, then in the box that appears type "\qedhere".


This also seems to work for single-line formulae, so what I do is use a math 
macro for this and use that for all formulae at the end of proofs.  This has 
the 
benefit that you can put something prettier in the LyX box for display while 
you're editing your document (e.g. try pasting in "\text{ }\text{ }\text{ 
}\text{ }\square" without the quotes).

By the way, this is a bug in AMS-LaTeX that they know about, but thought 
couldn't be fixed.  It can be fixed since the ntheorem package manages it (but 
has its own bugs, so isn't a good replacement sadly), which I've told the 
relevant person in AMS about.  She seemed interested, but I doubt they have the 
resources to fix it anytime soon.

Jim

>
>From: Gustavo Milaré 
>To: Lyx Discussion List 
>Sent: Fri, 14 January, 2011 2:51:15
>Subject: Proofs ending with mathematical formulas
>
>Hello, 
>
>
>I'm having a bit trouble to put the QED symbol in the right place when the 
>proof 
>ends with a multi-line mathematical formula.
>When the proof ends with a single-line formula, I manually put a \qedhere at 
>the 
>end of the formula for the QED symbol to appear in the right place. If there 
>is 
>any better way to do this, let me know.
>
>
>Regards,
>Gustavo.


  

Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Peter Baumgartner
Richard Heck  comcast.net> writes:


> Similar to: http://www.lyx.org/trac/ticket/7080?
> 
Yes, it is the same error, because linguistics.module and
logicalmkup.module are providing character style formats as the example in the
ticket. Sorry I didn't know of this ticket.
Peter





Re: export with elyxer and included xfig-images

2011-01-15 Thread Alex Fernandez
Hi Tino,

On Fri, Jan 14, 2011 at 12:59 AM, Tino Langer  wrote:
> I did some tests using elyxer to export a lyx-file to html. It works reaaly
> fine for me, but there is one problem. in my lyx-file I included some
> xfig-files (external material), but these files are not converted to an
> image format which is useable in webbrowsers. Is it possible to export such
> a lyx-file with included xfig-images?

In my tests (which I redid right now), a file .fig is converted by
default to a .png. You have to make sure that the ImageMagick package
is installed in your machine though, since it is used to convert the
images; otherwise eLyXer will output an error message which you may
not see if the conversion is done from within LyX.
  http://www.imagemagick.org/script/download.php

If in doubt you can try to convert your file from the command line:
  > python -m elyxer input.lyx output.html
and see what happens.

Hope this helps,

Alex.


Re: How to use local package outside a texmf path?

2011-01-15 Thread stefano franchi
On Fri, Jan 14, 2011 at 3:13 AM, Matthieu Stigler <
matthieu.stig...@gmail.com> wrote:

> Hi
>
> Thanks to you Christopher, Paul and Richard for your answer! Sorry if I did
> not thank earlier, I had not realised (not e-mail notif) that you had
> replied! Below my answer
>
>  >  You have a space in the path to the file.  Does it work if you escape
>> the space?
>>
>> Or rename the file to eliminate it?  Linux sometimes doesn't play well
>> with filenames containing whitespace.
>>
>> Chris Menzel
>>
>
> Unfortunately, it still does not work even when the path contains no
> spaces. Also, it does not work neither with relative or absolute paths. Most
> surpsisingly, it does not work even when I put the .sty file in the temp
> file used by Lyx...
>
> Do you have any idea how I can use a package that is not in the texmf tree?
> I just tried adding this package:
>
> http://svn.r-project.org/R/trunk/share/texmf/tex/latex/Sweave.sty
>
> Do you have the same problem on your confugrations (mine is Lyx 1.5.6 on
> Ubuntu 10.4)?
>

Hi Mat,

I can offer no specific help, but I can confirm that loading packages
outside of the texmf tree works for me when you specify the absolute path. I
often use lines such as:
\usepackage{/home/stefano/Papers/The-paper-I-am-working-on/Package-file.sty}

I am on Ubuntu 10.10 with Texlive 2010 and Lyx 1.5.8.

Have you thought about putting your packages in the local branch of the
texmf tree, though? In my understanding,  ~/texmf is meant to be used for
personal packages, customized versions of standard packages, etc. I had the
habit of working with customized LaTeX code in the document´s directory, but
I then switched to the local branch of the texmf tree and I think it works
better. Less clutter, fewer possibilities of version conflicts, etcetera.

Cheer,

Stefano


>
> Thanks a lot
>
> Matthieu
>
>
>
> Le 30. 12. 10 13:59, Richard Heck a écrit :
>
>> On 12/30/2010 07:00 AM, mat wrote:
>>
>>  Hi
>>>
>>> I wish to use local latex class in my lyx document. Were it pure latex
>>> code, I could have written:
>>> \usepackage{./newclass}
>>>
>>> when the .sty is at the same level than the .tex. Now, I have some
>>> problems doing so with lyx, I tried adding this in the preamble, either with
>>> a relative path or an absolute one, but unfortunately it does unfortunately
>>> not work, I get an error message...
>>> Latex Error: File newclass.sty not found
>>>
>>> And below the error message, a quite cryptic: cannot \read from terminal
>>> in nonstop mode...
>>>
>>> Do you see what I do wrong? I checked the doc but did not find mention on
>>> how to use local packages, is there something? Do you see how I can solve
>>> the problem?
>>>
>>>  Why not just put the package somewhere LaTeX can find it?
>>
>> It should work with an absolute path.
>>
>> Richard
>>
>>
>


Re: Lyx code env.

2011-01-15 Thread S Nedunuri
Thanks! that did the trick
  "Richard Heck"  wrote in message 
news:4d319fec.30...@comcast.net...
  On 01/14/2011 05:48 PM, S Nedunuri wrote: 
Does anyone know how to adjust the left margin in the Lyx Code environment? 
I create an Algorithm float, and as soon as I set the env. of the contents 
to Lyx Code, the contents get shifted in. I have very little column space as 
it is, and I don't need a gratuitous indentation!

LyX automatically defines it for you, as:


  \newenvironment{lyxcode}

  {\par\begin{list}{}{

  \setlength{\rightmargin}{\leftmargin}

  \setlength{\listparindent}{0pt}% needed for AMS classes

  \raggedright

  \setlength{\itemsep}{0pt}

  \setlength{\parsep}{0pt}

  \normalfont\ttfamily}%

  \item[]}

  {\end{list}}



  So you will need to redefine this environment in your preamble. It may be 
enough to do this:


  \renewenvironment{lyxcode}

  {\par\begin{list}{}{

  \setlength{\leftmargin}{0pt}

  \setlength{\listparindent}{0pt}% needed for AMS classes

  \raggedright

  \setlength{\itemsep}{0pt}

  \setlength{\parsep}{0pt}

  \normalfont\ttfamily}%

  \item[]}

  {\end{list}}


  Untested.

  Richard



AW: [LyX2.0beta3] math preview broken?

2011-01-15 Thread Jannick Asmus

Pavel Sanda wrote:

Jannick Asmus wrote:

It doesn't look like as I checked in the MikTeX package manager. Or
should I look for it somewhere else?


maybe you will be interested in the bug #7222.
pavel


Thanks! I think we should wait for the response from the MikTeX guys. 
Maybe interesting too: 
http://www.mail-archive.com/lyx-devel@lists.lyx.org/msg164704.html.


/J. 





Re: Slow start for beta 3 on Windows

2011-01-15 Thread J. Gardner
I meant 90 seconds, not 90 minutes, sorry... MikTeX (2.8) is up to
date and not running in the background, so that doesn't seem to be the
issue. I have also noticed that if I make any changes to the
preferences LyX locks for a couple of minutes. Tried suspending virus
software, but that didn't help, either. I didn't have this problem
with beta 2, and I can't figure out what might have changed on my
system.

I also noticed that running the uninstaller doesn't remove that
program folder from the Start Menu (of course this is probably
unrelated to the problem I'm having).

John

> miktex update running in background and didnt finish properly?
> pavel


Re: Proofs ending with mathematical formulas

2011-01-15 Thread Gustavo Milaré
Thank you, Jim. It seems to be working fine now.

Gustavo.

2011/1/15 Jim Oldfield 

> For multiline formulae, you need to end it with "\tag*{\qedhere}".  To
> enter this in LyX, you don't need to specify the braces, just enter "\tag*"
> and press space, then in the box that appears type "\qedhere".
>
> This also seems to work for single-line formulae, so what I do is use a
> math macro for this and use that for all formulae at the end of proofs.
>  This has the benefit that you can put something prettier in the LyX box for
> display while you're editing your document (e.g. try pasting in "\text{
> }\text{ }\text{ }\text{ }\square" without the quotes).
>
> By the way, this is a bug in AMS-LaTeX that they know about, but thought
> couldn't be fixed.  It can be fixed since the ntheorem package manages it
> (but has its own bugs, so isn't a good replacement sadly), which I've told
> the relevant person in AMS about.  She seemed interested, but I doubt they
> have the resources to fix it anytime soon.
>
> Jim
>
>
> *From:* Gustavo Milaré 
> *To:* Lyx Discussion List 
> *Sent:* Fri, 14 January, 2011 2:51:15
> *Subject:* Proofs ending with mathematical formulas
>
> Hello,
>
> I'm having a bit trouble to put the QED symbol in the right place when the
> proof ends with a multi-line mathematical formula.
> When the proof ends with a single-line formula, I manually put a \qedhere
> at the end of the formula for the QED symbol to appear in the right place.
> If there is any better way to do this, let me know.
>
> Regards,
> Gustavo.
>
>
>


Re: Class Switch Error with Character Styles in layout modules

2011-01-15 Thread Richard Heck

On 01/15/2011 10:36 AM, Peter Baumgartner wrote:

Richard Heck  writes:


Similar to: http://www.lyx.org/trac/ticket/7080?


Yes, it is the same error, because linguistics.module and
logicalmkup.module are providing character style formats as the example in the
ticket. Sorry I didn't know of this ticket.


OK, of course. Can't keep track of them all.

rh