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

2011-01-12 Thread Jannick Asmus

Stephan Witt wrote:

Am 12.01.2011 um 01:25 schrieb Jannick Asmus:



What drives me crazy is that I cannot easily downgrade to LyX 1.6.8
(still installed) since it refuses the LyX beta 2files. 


Use File - Export - LyX 1.6.x


Ahhh, thanks. I didn't think of that. This is easy enough.

/J.



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Guenter Milde
On 2011-01-11, Murat Yildizoglu wrote:
 2011/1/11 Stephan Witt st.w...@gmx.net:

 ok - LyX can find the thesaurus files. I presume the document doc/Intro.lyx
 is not writable. Then the thesaurus (unfortunately) does not work properly.
 Just like you describe it, the current word isn't placed into thesaurus.

...

 You were perfectly right about the write-protection of the help file.
 I have started a new file, typed some stupid words and selected one of
 them before igniting the thesaurus and it worked like a charm. I am
 still very ignorant in the intricacies of LyX, like the protection of
 the help files. I have not even thought that this would be the cause
 (but I was also ignoring that evoking the thesaurus would try to write
 in the file).

In my view, it is correct to have the help files write-protected, but
it is a pity (or a bug) that the thesaurus does not work for them.

Use case: When reading the Manual in a foreign language (maybe because
there is no translation to ones mothertongue) a thesaurus can help to get
the meaning of less common words.


Günter



Re: Vertical space between list items

2011-01-12 Thread Guenter Milde
On 2011-01-09, Wolfgang Keller wrote:
 How can I change the vertical space between list items and also the
 row height in tables?


 The more structured approach to custom list formatting is probably
 by \usepackage{enumitem}.

There is the enumitem module for this in LyX 2.0. You can use it
with 1.6.x too (search for enumitem on http://wiki.lyx.org/).

I have defined ready to use compact lists in a local module (see
below) which depends on the enumitem module.

Günter

#\DeclareLyXModule{gmlists}
#DescriptionBegin
#Adds quoted-list and condensed list environments.
#DescriptionEnd
#Requires: enumitem

#Author: Günter Milde mi...@users.sf.net

Format 11

# Input enumitem.module

# Style Variants
# ==

Style Enumerate-Alpha
  CopyStyleEnumerate
  LatexParam   [label=\emph{\alph*}),ref=\emph{\alph*},fullwidth,itemsep=1ex]
  Margin   First_Dynamic
  LeftMargin   x
  LabelTypeCounter
  LabelCounter enumi
  LabelString  \alph{enumi})
  LabelFont
Series  Medium
Shape   Italic
  EndFont
End

# Description with italic label was a failed experiment:
Style Description-Italic
  ObsoletedByDescription
End

# Indented compact LyX-List environment
Style Quoted-Labeling
CopyStyle   Labeling
LatexName   qlyxlist
ItemSep 0
ParSep  0
LabelIndent MMM
Preamble
% labeling-like list based on enumitem's description list with
% mandatory second argument (label-pattern) and indent of 2em:
\newenvironment{qlyxlist}[2][]%
  {\settowidth{\lyxlabelwidth}{#2}
   \addtolength{\lyxlabelwidth}{1.5em}
   \description[font=,style=sameline,
 leftmargin=\lyxlabelwidth,
 noitemsep, labelindent=1.5em,
 #1]}
  {\enddescription}
EndPreamble

End

Style Quoted-List
  ObsoletedByQuoted-Labeling
End  


# Dense (condensed) list environments
# ===

Style Itemize-Compact
CopyStyle Itemize
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Enumerate-Compact
CopyStyle Enumerate
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Description-Compact
CopyStyle Description
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Compact-Itemize
  ObsoletedByItemize-Compact
End  

Style Itemize-Dense
  ObsoletedByItemize-Compact
End

Style Compact-Enumerate
  ObsoletedBy   Enumerate-Compact
End

Style Enumerate-Dense
  ObsoletedBy   Enumerate-Compact
End

Style Compact-Description
  ObsoletedBy   Description-Compact
End

Style Description-Dense
  ObsoletedBy   Description-Compact
End





Re: serbian cyrillic, polyglossia

2011-01-12 Thread Guenter Milde
On 2011-01-09, Boban Stanojevic wrote:
 I am using lyx to write a thesis in serbian cyrillic. For this, I use
 xetex and polyglossia. But although I manage to hyphenate my text in
 bulgarian, french, english, latin, I have problems to use serbian
 cyrillic definitions and hyphenation patterns.

 When I try to see my pdf(xelatex), I got the following answer:

 I hope that I was clear enough. I would be very grateful if you could
 help me resolve my problem.

Which LyX version are you using?

If you export to LaTeX, is there a \usepackage{babel} (maybe with
options) in the document?

Could you provide a minimal example (smallest possible document that
shows the problem)?

Günter



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Stephan Witt
Am 12.01.2011 um 09:23 schrieb Guenter Milde:

 On 2011-01-11, Murat Yildizoglu wrote:
 2011/1/11 Stephan Witt st.w...@gmx.net:
 
 ok - LyX can find the thesaurus files. I presume the document doc/Intro.lyx
 is not writable. Then the thesaurus (unfortunately) does not work properly.
 Just like you describe it, the current word isn't placed into thesaurus.
 
 ...
 
 You were perfectly right about the write-protection of the help file.
 I have started a new file, typed some stupid words and selected one of
 them before igniting the thesaurus and it worked like a charm. I am
 still very ignorant in the intricacies of LyX, like the protection of
 the help files. I have not even thought that this would be the cause
 (but I was also ignoring that evoking the thesaurus would try to write
 in the file).
 
 In my view, it is correct to have the help files write-protected, but
 it is a pity (or a bug) that the thesaurus does not work for them.
 
 Use case: When reading the Manual in a foreign language (maybe because
 there is no translation to ones mothertongue) a thesaurus can help to get
 the meaning of less common words.

Yes, and I propose to make a trac enhancement ticket for that.

Stephan

Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Wolfgang Engelmann
Am Wednesday 12 January 2011 09:23:36 schrieb Guenter Milde:
 On 2011-01-11, Murat Yildizoglu wrote:
  2011/1/11 Stephan Witt st.w...@gmx.net:
  ok - LyX can find the thesaurus files. I presume the document
  doc/Intro.lyx is not writable. Then the thesaurus (unfortunately) does
  not work properly. Just like you describe it, the current word isn't
  placed into thesaurus.

 ...

  You were perfectly right about the write-protection of the help file.
  I have started a new file, typed some stupid words and selected one of
  them before igniting the thesaurus and it worked like a charm. I am
  still very ignorant in the intricacies of LyX, like the protection of
  the help files. I have not even thought that this would be the cause
  (but I was also ignoring that evoking the thesaurus would try to write
  in the file).

 In my view, it is correct to have the help files write-protected, but
 it is a pity (or a bug) that the thesaurus does not work for them.

 Use case: When reading the Manual in a foreign language (maybe because
 there is no translation to ones mothertongue) a thesaurus can help to get
 the meaning of less common words.


 Günter

But one could rename and save the help-file thus making it writable

Wolfgang


Re: LyX 2.0: Problems with Enumitem.module?

2011-01-12 Thread Guenter Milde
On 2011-01-07, Pavel Sanda wrote:
 Guenter Milde wrote:
 On 2011-01-06, Pavel Sanda wrote:
  Guenter Milde wrote:
  Although based on Description, enumitem's Labeling/LyX-List
  should not change the original layout. It seems I forgot to reset
  the label font.

  Please apply the following patch:

  Guenter, this is meant to be applied to trunk? pavel

 Yes, please. 

 its in. please, can you respond to my question on
 http://www.lyx.org/trac/ticket/7195 ? we should provide example file.
 pavel

I posted an updated example, but maybe the message did not get through.

Testing with article (KOMA script) revealed that the patch was not
enough: the labeling label appeared in sans-serif.

I attached both, enumitem.module and enumitem.example to the ticket
(in 1.6.x format but intended for application to 2.0).

Günter



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Vincent van Ravesteijn
 But one could rename and save the help-file thus making it writable

 Wolfgang


Or type buffer-toggle-read-only in the command buffer.

Or compile with DEVEL_VERSION.

Vincent


Error al instalar

2011-01-12 Thread Xabier Abasolo
Hola 

 Estoy tratando de instalar LyX con el instalador LyX-1.6.8-2-Installer.exe
(Windows XP). Instalo también MiKTeX 2.9, que me lo recomienda el propio
LyX, pero al terminar de instalar MiKTeX me salta un error (Unexpected
condition). Lo único diferente que he hecho en este ordenador es cambiarle
el directorio de instalación y poner uno distinto al que me marcaba por
defecto. En otro ordenador lo instalé sin problemas, con las opciones por
defecto que marca el proceso de instalación. Adjunto el Log que se crea en
la instalación, por si alguien podéis ver la causa del error y sobre todo la
solución.

Gracias.


setup-2011-01-12-09-45.log
Description: Binary data


Re: LyX 2.0: Problems with Enumitem.module?

2011-01-12 Thread Pavel Sanda
Guenter Milde wrote:
 I posted an updated example, but maybe the message did not get through.
 
 Testing with article (KOMA script) revealed that the patch was not
 enough: the labeling label appeared in sans-serif.
 
 I attached both, enumitem.module and enumitem.example to the ticket
 (in 1.6.x format but intended for application to 2.0).

i changed the decription a little and put it in, thanks.
pavel


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

2011-01-12 Thread Pavel Sanda
Jannick Asmus wrote:
 Pavel Sanda wrote:

 did you reconfigure in lyx2 ?

 Yes I did. No effect after firing LyX up again.

following the discussions on lyx devel do you have dv2dt installed
on your system (most probably via miktex)?

pavel


Re: SV: Linguistics module and glosses

2011-01-12 Thread Stig Rognes

Hello LyX-users,

I'm using LyX 1.6.7 for a master's thesis in linguistics (syntax), and
use a lot of numbered examples with glosses. I use the linguistics
module and aligned glosses as explained on
 
http://wiki.lyx.org/LyX/LinguistLyX#toc14http://wiki.lyx.org/LyX/LinguistLyX#toc14
However I miss/cannot find one feature, namely an option for
grammaticality judgments  (marked with * and ??). I want the
asterisks/question marks to be neatly aligned to left of the example,
like in example (8) on page 6 in this pdf-file:
 
http://www.bakoma-tex.com/doc/latex/gb4e/gb4e-doc.pdfhttp://www.bakoma-tex.com/doc/latex/gb4e/gb4e-doc.pdf
Obviously this is possible with gb4e.sty or cgloss4e.sty (as explained
in the link above), but I'm not very confident with LaTeX and have no
idea how to get this working in LyX or with covington.sty.
Any ideas?

Thanks  kind regards,
Stig Rognes


Ingar Pareliussen wrote:

 I am no a linguist, however as far I as I understand the covington styles
 does not support these kinds of aligned symbols, and you have to us
 kludges to do it, or you could use gb4e and ERT. If you do want gb4e but
 can't stand ERT you could make a gb4e module for lyx... But this demands
 some understanding of lyx and latex.

 I attach a lyx file that demonstrates both gb4e and covington (using
 CTRL+space).

Ingar


Attached is an alternative possibility with covington where you do nt need
extra spaces.

Jürgen


Hi Ingar and Jürgen

thanks for your answers. The problem is that the examples with aligned glosses
(with translation, reached from Insert--Custom Insets--Custom: Glosse) are
already inside a LaTeX-box (=ERT?), so the ctrl+space function is disabled.
Neither should there be a space between the * or ?? and the first word of the 
example.

However I partly solved my problem using \phantom and \emph; see attached 
example.

Stig



glossex.lyx
Description: application/lyx


Instalation error

2011-01-12 Thread Xabier Abasolo

 Hello, 
 
  
 I'm trying to install LyX with LyX-1.6.8-2-Installer.exe in a Windows XP
 computer. I also install MIKTeX 9.2 because LyX recomend to do so. At the
 end of the installing process of MiKTeX an error occurs (Unexpected
 condition). I downloaded several times new installers, with the same
 final results.
 
 I installed LyX in an other computer with no problems. The only different
 thing in this installation is that I don´t use the default instalation
 folder (my C: drive is full and I want to install in my second hard disk.)
 
 You can see attached the instalation log. Can anyone see de cause of the
 error in the log? What can I do?
 
 Thanks.
 
 Xabier.


setup-2011-01-12-09-45.log
Description: Binary data


Re: Instalation error

2011-01-12 Thread Vincent van Ravesteijn
 I'm trying to install LyX with LyX-1.6.8-2-Installer.exe in a Windows XP
 computer. I also install MIKTeX 9.2 because LyX recomend to do so. At the
 end of the installing process of MiKTeX an error occurs (Unexpected
 condition). I downloaded several times new installers, with the same final
 results.



You can try to first install MikTeX manually using:

http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

If this fails, it is a MikTeX installer problem.

If this succeeds, your problem is probably solved, but then we have to
look into our installer.

Vincent


RV: Instalation error

2011-01-12 Thread Xabier Abasolo

It doesn´t work. The same error again.

Xabier.
-Mensaje original-
De: Vincent van Ravesteijn [mailto:v...@lyx.org] 
Enviado el: miércoles, 12 de enero de 2011 13:31
Para: Xabier Abasolo
CC: lyx-users@lists.lyx.org
Asunto: Re: Instalation error


 I'm trying to install LyX with LyX-1.6.8-2-Installer.exe in a 
 Windows XP computer. I also install MIKTeX 9.2 because LyX recomend to 
 do so. At the end of the installing process of MiKTeX an error occurs 
 (Unexpected condition). I downloaded several times new installers, 
 with the same final results.



You can try to first install MikTeX manually using:

http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

If this fails, it is a MikTeX installer problem.

If this succeeds, your problem is probably solved, but then we have to look
into our installer.

Vincent
attachment: error.JPG

Re: RV: Instalation error

2011-01-12 Thread Vincent van Ravesteijn
 You can try to first install MikTeX manually using:

 http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

 If this fails, it is a MikTeX installer problem.


 It doesn´t work. The same error again.


Then, you can either try to install a different version of MikTeX or
contact the MikTeX developers/users.

Vincent


Re: How to enable -shell-escape for LyX

2011-01-12 Thread Hellmut Weber
Hi Stephan,
thanks for your quick answer ;-)

Am 11.01.2011 12:21, schrieb Stephan Witt:
 Am 11.01.2011 um 11:55 schrieb Hellmut Weber:
 
 Hi list,

 Given a little python-Skript fipwdcut
 ...
 and a LaTeX macro \pwdstring

 
 newcommand{\pwdstring}[1]{
  \immediate\write18{/home/H_Bin/fipwdcut #1 /tmp/shell.escape}
  \input{/tmp/shell.escape}
  }
 

 I have defined aliases for latex and pdflatex

 
 l...@sylhepta H_Bin $ alias
 alias latex='latex -shell-escape'
 alias pdflatex='pdflatex -shell-escape'
 

 hoping that pdflatex-ing a document with an ERT \pwdstring{4} at the end
 would show me the end part of the path to the directory the document was
 compiled in.
 
 LyX doesn't resolve shell aliases like your shell does.
This was already my suspicion and it's helpful to have it confirmed.

 
 (I know that I have to export my document as latex source and then to
 compile it again to get the correct directory ;-)

 But Lyx refuses to do so and in the LaTeX protocoll I get the error message

 
 runsystem(/home/H_Bin/fipwdcut 4 /tmp/shell.escape)...disabled
 (restricted).
 ! LaTeX Error: File `/tmp/shell.escape' not found.
 

 I tried to activate the shell-escape option of the pdflatex command in
 the converters dialog for 'latex (pdflatex) - PDF (pdflatex)' changing
 the additional flags to 'shell-escape' but this produces the same error
 message as before.
 
 Did you use 'shell-escape' or '-shell-escape'?
Actually I tried both of them

Anything else I can do?

Cheers

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Math tool bar doesnt apear automaticaly?

2011-01-12 Thread micha

Dear LyX-Team,

somwhow the Math-toolbar isn't apearing automatically anymore in my 
installation? I've tried out many steps, but it seems it stoped working. 
I have to open the toolbar manual every time I type a math formula or I 
have to leave it open all the time.


If I open view-toolbars from the menubar it shows Math (automatic), 
also for the tables and so on. Notice, it worked in the beginning. But 
after I had to reinstall LyX since it had problems converting Images in 
a viewable format?? it stopped working. I used the complete installer 
for installation.


Thanks for help.

Best regards,

Micha Schäfer



Re: Math tool bar doesnt apear automaticaly?

2011-01-12 Thread Vincent van Ravesteijn
On Wed, Jan 12, 2011 at 11:05 AM, micha micha-schae...@gmx.net wrote:
 Dear LyX-Team,

 somwhow the Math-toolbar isn't apearing automatically anymore in my
 installation? I've tried out many steps, but it seems it stoped working. I
 have to open the toolbar manual every time I type a math formula or I have
 to leave it open all the time.

 If I open view-toolbars from the menubar it shows Math (automatic), also
 for the tables and so on. Notice, it worked in the beginning. But after I
 had to reinstall LyX since it had problems converting Images in a viewable
 format?? it stopped working. I used the complete installer for installation.


This should be fixed in 2.0.0 beta 3.

Which LyX version did you install ?

You can correct it by either deleting all session information in
Tools-Preferences (but I'm not sure), or you can manually remove
HKEY_CURRENT_USER\Software\LyX\version\views\0\math in the
registry.

Vincent


Re: Hyphenation really messed up for german text

2011-01-12 Thread Stefan
Jürgen Spitzmüller spitz at lyx.org writes:


 Looks like something is wrong with your setup. Please check that German is 
 really set and that the German hyphenation patterns are loaded (the latter 
 should be noted at the beginning of Document  LaTeX Log).
Thanks for the hint, I bought a new laptop in last May and didn't install
texlive-langgerman, which I had done before on the old laptop.
(Thought it would get pulled in anyway by setting LINGUAS=de, will open a bug 
on gentoo's bugzilla). 
That fixed it.
 
 BTW there are some new, experimental hyphenation patterns for German that are 
 already generally better than the LaTeX defaults. You can load it via
 
 \usepackage[ngerman=ngerman-x-latest]{hyphsubst}
I will give it a try in my next document, thanks for the hint.

  As a side question: is there a Lyx-way to exclude names and short
  non-standard-german-word of persons from being hyphenated?
 
 either put the words in an \mbox{...} (via ERT) or add a list like this in 
 your preamble:
 
 \hyphenation{foo,bar,moo,...}
Ah, this sounds more reasonable.
  Thanks for this great program, I am looking forward to version 2.0
Greetings, Stefan



Is there a way keep hyperlinks in pasted text?

2011-01-12 Thread Joel Schwartz
Let's say I copy a block of text on a web page. Some of the words in this
block of text include hyperlinks to other URLs (web pages, pdf files, etc.).
When I copy and paste this text block into lyx, the hyperlinks are gone and
just the text gets pasted. Is there a way to paste the text into lyx so that
the hyperlinks are also included, or do I need to recreate the hyperlinks
manually? The users' guide doesn't mention a way to keep the hyperlinks, so
I'm guessing the answer is no, but I thought I'd check here just to make
sure.
 
Thanks,
Joel
 


math mode in program listing

2011-01-12 Thread Jack Tanner
I'd like to have a program listing, and to be able to insert math in 
comments in the listing. Is that possible?


For example,

void main(argv[]) {
  // calculate the mean $\mu$
  for (int i = 0; ...
}


biblatex: elatex and texlive

2011-01-12 Thread Sam Lewis
Dear All,

This is slightly off-topic.

I have successfully used biblatex with LyX for a long time. Today after 
changing my TexLive DVD installation from 2009 to 2010, I am not able to 
compile documents anymore that use the biblatex package. I now get a fatal 
error message that elatex is not found.

Does anyone know about changes in TexLive 2010 and how this relates to 
biblatex? Any suggestions?

Many thanks!

Cheers, Sam





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

2011-01-12 Thread Jannick Asmus

Pavel Sanda wrote:

Jannick Asmus wrote:

Pavel Sanda wrote:


did you reconfigure in lyx2 ?


Yes I did. No effect after firing LyX up again.


following the discussions on lyx devel do you have dv2dt installed
on your system (most probably via miktex)?


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


/J. 





Re: math mode in program listing

2011-01-12 Thread Paul Rubin
Jack Tanner ihok at hotmail.com writes:

 
 I'd like to have a program listing, and to be able to insert math in 
 comments in the listing. Is that possible?
 
 For example,
 
 void main(argv[]) {
// calculate the mean $\mu$
for (int i = 0; ...
 }
 
 

Right click on the listing, click Settings..., go to the Advanced tab, and enter
mathescape=true in the right-hand box.

/Paul





Re: biblatex: elatex and texlive

2011-01-12 Thread Dr Eberhard W Lisse
Use the TeXLive Utility and update.

el

On 1/13/11 12:33 AM, Sam Lewis wrote:
 Dear All,
 
 This is slightly off-topic.
 
 I have successfully used biblatex with LyX for a long time.  Today
 after changing my TexLive DVD installation from 2009 to 2010, I am
 not able to compile documents anymore that use the biblatex
 package.  I now get a fatal error message that elatex is not
 found.
 
 Does anyone know about changes in TexLive 2010 and how this
 relates to biblatex?  Any suggestions?
 
 Many thanks!
 
 Cheers, Sam
 
 
   
 




LyX 2.0 and framed package

2011-01-12 Thread Kenward Vaughan
I'm updating my class syllabus, which has a mandatory statement which I
normally frame as follows:

\begin{framed}Students with disabilities who believe they may need
accommodations in this class are encouraged to contact Supportive
Services in FACE 16, 395-4334, as soon as possible to better ensure such
accommodations are implemented in a timely fashion.\end{framed}


The \begin{} and \end{} are in ERT. The entire paragraph is in a
standalone quote environment. I have used this for years.  Now I get the
following message on submitting for a .ps view:

! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H return for immediate help.
l.58 ...plemented in a timely fashion.\end{framed}
Try typing return to proceed.
If that doesn't work, type X return to quit.


The .dvi file *is* written out, and I can view it from the temporary
directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
seems OK from a brief scan of the result.

Any ideas what/where the issue is?


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--attrib. to Ferdinand Magellan by R. Ingersoll



Re: LyX 2.0 and framed package

2011-01-12 Thread Kenward Vaughan
On Wed, 2011-01-12 at 22:02 -0800, Kenward Vaughan wrote:
...
 The .dvi file *is* written out, and I can view it from the temporary
 directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
 seems OK from a brief scan of the result.
 
 Any ideas what/where the issue is?


One thing I forgot to mention was that fonts had to be generated when I
opened the dvi file.  I guess LaTeX didn't finish?



Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: LyX 2.0 and framed package

2011-01-12 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
 I'm updating my class syllabus, which has a mandatory statement which I
 normally frame as follows:
 
 \begin{framed}Students with disabilities who believe they may need
 accommodations in this class are encouraged to contact Supportive
 Services in FACE 16, 395-4334, as soon as possible to better ensure such
 accommodations are implemented in a timely fashion.\end{framed}
 
 
 The \begin{} and \end{} are in ERT. The entire paragraph is in a
 standalone quote environment. I have used this for years.  Now I get the
 following message on submitting for a .ps view:
 
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 See the LaTeX manual or LaTeX Companion for explanation.
 Type H return for immediate help.
 l.58 ...plemented in a timely fashion.\end{framed}
 Try typing return to proceed.
 If that doesn't work, type X return to quit.
 
 
 The .dvi file is written out, and I can view it from the temporary
 directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
 seems OK from a brief scan of the result.
 
 Any ideas what/where the issue is?

Difficult to say without an example file. Could you provide one or at least 
post the complete LaTeX log?

BTW, you are aware that LyX supports framed natively (Box, simple frame, no 
inner box, allow page breaks)?

Jürgen


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

2011-01-12 Thread Pavel Sanda
Jannick Asmus wrote:
 following the discussions on lyx devel do you have dv2dt installed
 on your system (most probably via miktex)?

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

i know nothing about windows, sorry.
pavel


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

2011-01-12 Thread Jannick Asmus

Stephan Witt wrote:

Am 12.01.2011 um 01:25 schrieb Jannick Asmus:



What drives me crazy is that I cannot easily downgrade to LyX 1.6.8
(still installed) since it refuses the LyX beta 2files. 


Use File - Export - LyX 1.6.x


Ahhh, thanks. I didn't think of that. This is easy enough.

/J.



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Guenter Milde
On 2011-01-11, Murat Yildizoglu wrote:
 2011/1/11 Stephan Witt st.w...@gmx.net:

 ok - LyX can find the thesaurus files. I presume the document doc/Intro.lyx
 is not writable. Then the thesaurus (unfortunately) does not work properly.
 Just like you describe it, the current word isn't placed into thesaurus.

...

 You were perfectly right about the write-protection of the help file.
 I have started a new file, typed some stupid words and selected one of
 them before igniting the thesaurus and it worked like a charm. I am
 still very ignorant in the intricacies of LyX, like the protection of
 the help files. I have not even thought that this would be the cause
 (but I was also ignoring that evoking the thesaurus would try to write
 in the file).

In my view, it is correct to have the help files write-protected, but
it is a pity (or a bug) that the thesaurus does not work for them.

Use case: When reading the Manual in a foreign language (maybe because
there is no translation to ones mothertongue) a thesaurus can help to get
the meaning of less common words.


Günter



Re: Vertical space between list items

2011-01-12 Thread Guenter Milde
On 2011-01-09, Wolfgang Keller wrote:
 How can I change the vertical space between list items and also the
 row height in tables?


 The more structured approach to custom list formatting is probably
 by \usepackage{enumitem}.

There is the enumitem module for this in LyX 2.0. You can use it
with 1.6.x too (search for enumitem on http://wiki.lyx.org/).

I have defined ready to use compact lists in a local module (see
below) which depends on the enumitem module.

Günter

#\DeclareLyXModule{gmlists}
#DescriptionBegin
#Adds quoted-list and condensed list environments.
#DescriptionEnd
#Requires: enumitem

#Author: Günter Milde mi...@users.sf.net

Format 11

# Input enumitem.module

# Style Variants
# ==

Style Enumerate-Alpha
  CopyStyleEnumerate
  LatexParam   [label=\emph{\alph*}),ref=\emph{\alph*},fullwidth,itemsep=1ex]
  Margin   First_Dynamic
  LeftMargin   x
  LabelTypeCounter
  LabelCounter enumi
  LabelString  \alph{enumi})
  LabelFont
Series  Medium
Shape   Italic
  EndFont
End

# Description with italic label was a failed experiment:
Style Description-Italic
  ObsoletedByDescription
End

# Indented compact LyX-List environment
Style Quoted-Labeling
CopyStyle   Labeling
LatexName   qlyxlist
ItemSep 0
ParSep  0
LabelIndent MMM
Preamble
% labeling-like list based on enumitem's description list with
% mandatory second argument (label-pattern) and indent of 2em:
\newenvironment{qlyxlist}[2][]%
  {\settowidth{\lyxlabelwidth}{#2}
   \addtolength{\lyxlabelwidth}{1.5em}
   \description[font=,style=sameline,
 leftmargin=\lyxlabelwidth,
 noitemsep, labelindent=1.5em,
 #1]}
  {\enddescription}
EndPreamble

End

Style Quoted-List
  ObsoletedByQuoted-Labeling
End  


# Dense (condensed) list environments
# ===

Style Itemize-Compact
CopyStyle Itemize
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Enumerate-Compact
CopyStyle Enumerate
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Description-Compact
CopyStyle Description
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Compact-Itemize
  ObsoletedByItemize-Compact
End  

Style Itemize-Dense
  ObsoletedByItemize-Compact
End

Style Compact-Enumerate
  ObsoletedBy   Enumerate-Compact
End

Style Enumerate-Dense
  ObsoletedBy   Enumerate-Compact
End

Style Compact-Description
  ObsoletedBy   Description-Compact
End

Style Description-Dense
  ObsoletedBy   Description-Compact
End





Re: serbian cyrillic, polyglossia

2011-01-12 Thread Guenter Milde
On 2011-01-09, Boban Stanojevic wrote:
 I am using lyx to write a thesis in serbian cyrillic. For this, I use
 xetex and polyglossia. But although I manage to hyphenate my text in
 bulgarian, french, english, latin, I have problems to use serbian
 cyrillic definitions and hyphenation patterns.

 When I try to see my pdf(xelatex), I got the following answer:

 I hope that I was clear enough. I would be very grateful if you could
 help me resolve my problem.

Which LyX version are you using?

If you export to LaTeX, is there a \usepackage{babel} (maybe with
options) in the document?

Could you provide a minimal example (smallest possible document that
shows the problem)?

Günter



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Stephan Witt
Am 12.01.2011 um 09:23 schrieb Guenter Milde:

 On 2011-01-11, Murat Yildizoglu wrote:
 2011/1/11 Stephan Witt st.w...@gmx.net:
 
 ok - LyX can find the thesaurus files. I presume the document doc/Intro.lyx
 is not writable. Then the thesaurus (unfortunately) does not work properly.
 Just like you describe it, the current word isn't placed into thesaurus.
 
 ...
 
 You were perfectly right about the write-protection of the help file.
 I have started a new file, typed some stupid words and selected one of
 them before igniting the thesaurus and it worked like a charm. I am
 still very ignorant in the intricacies of LyX, like the protection of
 the help files. I have not even thought that this would be the cause
 (but I was also ignoring that evoking the thesaurus would try to write
 in the file).
 
 In my view, it is correct to have the help files write-protected, but
 it is a pity (or a bug) that the thesaurus does not work for them.
 
 Use case: When reading the Manual in a foreign language (maybe because
 there is no translation to ones mothertongue) a thesaurus can help to get
 the meaning of less common words.

Yes, and I propose to make a trac enhancement ticket for that.

Stephan

Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Wolfgang Engelmann
Am Wednesday 12 January 2011 09:23:36 schrieb Guenter Milde:
 On 2011-01-11, Murat Yildizoglu wrote:
  2011/1/11 Stephan Witt st.w...@gmx.net:
  ok - LyX can find the thesaurus files. I presume the document
  doc/Intro.lyx is not writable. Then the thesaurus (unfortunately) does
  not work properly. Just like you describe it, the current word isn't
  placed into thesaurus.

 ...

  You were perfectly right about the write-protection of the help file.
  I have started a new file, typed some stupid words and selected one of
  them before igniting the thesaurus and it worked like a charm. I am
  still very ignorant in the intricacies of LyX, like the protection of
  the help files. I have not even thought that this would be the cause
  (but I was also ignoring that evoking the thesaurus would try to write
  in the file).

 In my view, it is correct to have the help files write-protected, but
 it is a pity (or a bug) that the thesaurus does not work for them.

 Use case: When reading the Manual in a foreign language (maybe because
 there is no translation to ones mothertongue) a thesaurus can help to get
 the meaning of less common words.


 Günter

But one could rename and save the help-file thus making it writable

Wolfgang


Re: LyX 2.0: Problems with Enumitem.module?

2011-01-12 Thread Guenter Milde
On 2011-01-07, Pavel Sanda wrote:
 Guenter Milde wrote:
 On 2011-01-06, Pavel Sanda wrote:
  Guenter Milde wrote:
  Although based on Description, enumitem's Labeling/LyX-List
  should not change the original layout. It seems I forgot to reset
  the label font.

  Please apply the following patch:

  Guenter, this is meant to be applied to trunk? pavel

 Yes, please. 

 its in. please, can you respond to my question on
 http://www.lyx.org/trac/ticket/7195 ? we should provide example file.
 pavel

I posted an updated example, but maybe the message did not get through.

Testing with article (KOMA script) revealed that the patch was not
enough: the labeling label appeared in sans-serif.

I attached both, enumitem.module and enumitem.example to the ticket
(in 1.6.x format but intended for application to 2.0).

Günter



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Vincent van Ravesteijn
 But one could rename and save the help-file thus making it writable

 Wolfgang


Or type buffer-toggle-read-only in the command buffer.

Or compile with DEVEL_VERSION.

Vincent


Error al instalar

2011-01-12 Thread Xabier Abasolo
Hola 

 Estoy tratando de instalar LyX con el instalador LyX-1.6.8-2-Installer.exe
(Windows XP). Instalo también MiKTeX 2.9, que me lo recomienda el propio
LyX, pero al terminar de instalar MiKTeX me salta un error (Unexpected
condition). Lo único diferente que he hecho en este ordenador es cambiarle
el directorio de instalación y poner uno distinto al que me marcaba por
defecto. En otro ordenador lo instalé sin problemas, con las opciones por
defecto que marca el proceso de instalación. Adjunto el Log que se crea en
la instalación, por si alguien podéis ver la causa del error y sobre todo la
solución.

Gracias.


setup-2011-01-12-09-45.log
Description: Binary data


Re: LyX 2.0: Problems with Enumitem.module?

2011-01-12 Thread Pavel Sanda
Guenter Milde wrote:
 I posted an updated example, but maybe the message did not get through.
 
 Testing with article (KOMA script) revealed that the patch was not
 enough: the labeling label appeared in sans-serif.
 
 I attached both, enumitem.module and enumitem.example to the ticket
 (in 1.6.x format but intended for application to 2.0).

i changed the decription a little and put it in, thanks.
pavel


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

2011-01-12 Thread Pavel Sanda
Jannick Asmus wrote:
 Pavel Sanda wrote:

 did you reconfigure in lyx2 ?

 Yes I did. No effect after firing LyX up again.

following the discussions on lyx devel do you have dv2dt installed
on your system (most probably via miktex)?

pavel


Re: SV: Linguistics module and glosses

2011-01-12 Thread Stig Rognes

Hello LyX-users,

I'm using LyX 1.6.7 for a master's thesis in linguistics (syntax), and
use a lot of numbered examples with glosses. I use the linguistics
module and aligned glosses as explained on
 
http://wiki.lyx.org/LyX/LinguistLyX#toc14http://wiki.lyx.org/LyX/LinguistLyX#toc14
However I miss/cannot find one feature, namely an option for
grammaticality judgments  (marked with * and ??). I want the
asterisks/question marks to be neatly aligned to left of the example,
like in example (8) on page 6 in this pdf-file:
 
http://www.bakoma-tex.com/doc/latex/gb4e/gb4e-doc.pdfhttp://www.bakoma-tex.com/doc/latex/gb4e/gb4e-doc.pdf
Obviously this is possible with gb4e.sty or cgloss4e.sty (as explained
in the link above), but I'm not very confident with LaTeX and have no
idea how to get this working in LyX or with covington.sty.
Any ideas?

Thanks  kind regards,
Stig Rognes


Ingar Pareliussen wrote:

 I am no a linguist, however as far I as I understand the covington styles
 does not support these kinds of aligned symbols, and you have to us
 kludges to do it, or you could use gb4e and ERT. If you do want gb4e but
 can't stand ERT you could make a gb4e module for lyx... But this demands
 some understanding of lyx and latex.

 I attach a lyx file that demonstrates both gb4e and covington (using
 CTRL+space).

Ingar


Attached is an alternative possibility with covington where you do nt need
extra spaces.

Jürgen


Hi Ingar and Jürgen

thanks for your answers. The problem is that the examples with aligned glosses
(with translation, reached from Insert--Custom Insets--Custom: Glosse) are
already inside a LaTeX-box (=ERT?), so the ctrl+space function is disabled.
Neither should there be a space between the * or ?? and the first word of the 
example.

However I partly solved my problem using \phantom and \emph; see attached 
example.

Stig



glossex.lyx
Description: application/lyx


Instalation error

2011-01-12 Thread Xabier Abasolo

 Hello, 
 
  
 I'm trying to install LyX with LyX-1.6.8-2-Installer.exe in a Windows XP
 computer. I also install MIKTeX 9.2 because LyX recomend to do so. At the
 end of the installing process of MiKTeX an error occurs (Unexpected
 condition). I downloaded several times new installers, with the same
 final results.
 
 I installed LyX in an other computer with no problems. The only different
 thing in this installation is that I don´t use the default instalation
 folder (my C: drive is full and I want to install in my second hard disk.)
 
 You can see attached the instalation log. Can anyone see de cause of the
 error in the log? What can I do?
 
 Thanks.
 
 Xabier.


setup-2011-01-12-09-45.log
Description: Binary data


Re: Instalation error

2011-01-12 Thread Vincent van Ravesteijn
 I'm trying to install LyX with LyX-1.6.8-2-Installer.exe in a Windows XP
 computer. I also install MIKTeX 9.2 because LyX recomend to do so. At the
 end of the installing process of MiKTeX an error occurs (Unexpected
 condition). I downloaded several times new installers, with the same final
 results.



You can try to first install MikTeX manually using:

http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

If this fails, it is a MikTeX installer problem.

If this succeeds, your problem is probably solved, but then we have to
look into our installer.

Vincent


RV: Instalation error

2011-01-12 Thread Xabier Abasolo

It doesn´t work. The same error again.

Xabier.
-Mensaje original-
De: Vincent van Ravesteijn [mailto:v...@lyx.org] 
Enviado el: miércoles, 12 de enero de 2011 13:31
Para: Xabier Abasolo
CC: lyx-users@lists.lyx.org
Asunto: Re: Instalation error


 I'm trying to install LyX with LyX-1.6.8-2-Installer.exe in a 
 Windows XP computer. I also install MIKTeX 9.2 because LyX recomend to 
 do so. At the end of the installing process of MiKTeX an error occurs 
 (Unexpected condition). I downloaded several times new installers, 
 with the same final results.



You can try to first install MikTeX manually using:

http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

If this fails, it is a MikTeX installer problem.

If this succeeds, your problem is probably solved, but then we have to look
into our installer.

Vincent
attachment: error.JPG

Re: RV: Instalation error

2011-01-12 Thread Vincent van Ravesteijn
 You can try to first install MikTeX manually using:

 http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

 If this fails, it is a MikTeX installer problem.


 It doesn´t work. The same error again.


Then, you can either try to install a different version of MikTeX or
contact the MikTeX developers/users.

Vincent


Re: How to enable -shell-escape for LyX

2011-01-12 Thread Hellmut Weber
Hi Stephan,
thanks for your quick answer ;-)

Am 11.01.2011 12:21, schrieb Stephan Witt:
 Am 11.01.2011 um 11:55 schrieb Hellmut Weber:
 
 Hi list,

 Given a little python-Skript fipwdcut
 ...
 and a LaTeX macro \pwdstring

 
 newcommand{\pwdstring}[1]{
  \immediate\write18{/home/H_Bin/fipwdcut #1 /tmp/shell.escape}
  \input{/tmp/shell.escape}
  }
 

 I have defined aliases for latex and pdflatex

 
 l...@sylhepta H_Bin $ alias
 alias latex='latex -shell-escape'
 alias pdflatex='pdflatex -shell-escape'
 

 hoping that pdflatex-ing a document with an ERT \pwdstring{4} at the end
 would show me the end part of the path to the directory the document was
 compiled in.
 
 LyX doesn't resolve shell aliases like your shell does.
This was already my suspicion and it's helpful to have it confirmed.

 
 (I know that I have to export my document as latex source and then to
 compile it again to get the correct directory ;-)

 But Lyx refuses to do so and in the LaTeX protocoll I get the error message

 
 runsystem(/home/H_Bin/fipwdcut 4 /tmp/shell.escape)...disabled
 (restricted).
 ! LaTeX Error: File `/tmp/shell.escape' not found.
 

 I tried to activate the shell-escape option of the pdflatex command in
 the converters dialog for 'latex (pdflatex) - PDF (pdflatex)' changing
 the additional flags to 'shell-escape' but this produces the same error
 message as before.
 
 Did you use 'shell-escape' or '-shell-escape'?
Actually I tried both of them

Anything else I can do?

Cheers

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Math tool bar doesnt apear automaticaly?

2011-01-12 Thread micha

Dear LyX-Team,

somwhow the Math-toolbar isn't apearing automatically anymore in my 
installation? I've tried out many steps, but it seems it stoped working. 
I have to open the toolbar manual every time I type a math formula or I 
have to leave it open all the time.


If I open view-toolbars from the menubar it shows Math (automatic), 
also for the tables and so on. Notice, it worked in the beginning. But 
after I had to reinstall LyX since it had problems converting Images in 
a viewable format?? it stopped working. I used the complete installer 
for installation.


Thanks for help.

Best regards,

Micha Schäfer



Re: Math tool bar doesnt apear automaticaly?

2011-01-12 Thread Vincent van Ravesteijn
On Wed, Jan 12, 2011 at 11:05 AM, micha micha-schae...@gmx.net wrote:
 Dear LyX-Team,

 somwhow the Math-toolbar isn't apearing automatically anymore in my
 installation? I've tried out many steps, but it seems it stoped working. I
 have to open the toolbar manual every time I type a math formula or I have
 to leave it open all the time.

 If I open view-toolbars from the menubar it shows Math (automatic), also
 for the tables and so on. Notice, it worked in the beginning. But after I
 had to reinstall LyX since it had problems converting Images in a viewable
 format?? it stopped working. I used the complete installer for installation.


This should be fixed in 2.0.0 beta 3.

Which LyX version did you install ?

You can correct it by either deleting all session information in
Tools-Preferences (but I'm not sure), or you can manually remove
HKEY_CURRENT_USER\Software\LyX\version\views\0\math in the
registry.

Vincent


Re: Hyphenation really messed up for german text

2011-01-12 Thread Stefan
Jürgen Spitzmüller spitz at lyx.org writes:


 Looks like something is wrong with your setup. Please check that German is 
 really set and that the German hyphenation patterns are loaded (the latter 
 should be noted at the beginning of Document  LaTeX Log).
Thanks for the hint, I bought a new laptop in last May and didn't install
texlive-langgerman, which I had done before on the old laptop.
(Thought it would get pulled in anyway by setting LINGUAS=de, will open a bug 
on gentoo's bugzilla). 
That fixed it.
 
 BTW there are some new, experimental hyphenation patterns for German that are 
 already generally better than the LaTeX defaults. You can load it via
 
 \usepackage[ngerman=ngerman-x-latest]{hyphsubst}
I will give it a try in my next document, thanks for the hint.

  As a side question: is there a Lyx-way to exclude names and short
  non-standard-german-word of persons from being hyphenated?
 
 either put the words in an \mbox{...} (via ERT) or add a list like this in 
 your preamble:
 
 \hyphenation{foo,bar,moo,...}
Ah, this sounds more reasonable.
  Thanks for this great program, I am looking forward to version 2.0
Greetings, Stefan



Is there a way keep hyperlinks in pasted text?

2011-01-12 Thread Joel Schwartz
Let's say I copy a block of text on a web page. Some of the words in this
block of text include hyperlinks to other URLs (web pages, pdf files, etc.).
When I copy and paste this text block into lyx, the hyperlinks are gone and
just the text gets pasted. Is there a way to paste the text into lyx so that
the hyperlinks are also included, or do I need to recreate the hyperlinks
manually? The users' guide doesn't mention a way to keep the hyperlinks, so
I'm guessing the answer is no, but I thought I'd check here just to make
sure.
 
Thanks,
Joel
 


math mode in program listing

2011-01-12 Thread Jack Tanner
I'd like to have a program listing, and to be able to insert math in 
comments in the listing. Is that possible?


For example,

void main(argv[]) {
  // calculate the mean $\mu$
  for (int i = 0; ...
}


biblatex: elatex and texlive

2011-01-12 Thread Sam Lewis
Dear All,

This is slightly off-topic.

I have successfully used biblatex with LyX for a long time. Today after 
changing my TexLive DVD installation from 2009 to 2010, I am not able to 
compile documents anymore that use the biblatex package. I now get a fatal 
error message that elatex is not found.

Does anyone know about changes in TexLive 2010 and how this relates to 
biblatex? Any suggestions?

Many thanks!

Cheers, Sam





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

2011-01-12 Thread Jannick Asmus

Pavel Sanda wrote:

Jannick Asmus wrote:

Pavel Sanda wrote:


did you reconfigure in lyx2 ?


Yes I did. No effect after firing LyX up again.


following the discussions on lyx devel do you have dv2dt installed
on your system (most probably via miktex)?


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


/J. 





Re: math mode in program listing

2011-01-12 Thread Paul Rubin
Jack Tanner ihok at hotmail.com writes:

 
 I'd like to have a program listing, and to be able to insert math in 
 comments in the listing. Is that possible?
 
 For example,
 
 void main(argv[]) {
// calculate the mean $\mu$
for (int i = 0; ...
 }
 
 

Right click on the listing, click Settings..., go to the Advanced tab, and enter
mathescape=true in the right-hand box.

/Paul





Re: biblatex: elatex and texlive

2011-01-12 Thread Dr Eberhard W Lisse
Use the TeXLive Utility and update.

el

On 1/13/11 12:33 AM, Sam Lewis wrote:
 Dear All,
 
 This is slightly off-topic.
 
 I have successfully used biblatex with LyX for a long time.  Today
 after changing my TexLive DVD installation from 2009 to 2010, I am
 not able to compile documents anymore that use the biblatex
 package.  I now get a fatal error message that elatex is not
 found.
 
 Does anyone know about changes in TexLive 2010 and how this
 relates to biblatex?  Any suggestions?
 
 Many thanks!
 
 Cheers, Sam
 
 
   
 




LyX 2.0 and framed package

2011-01-12 Thread Kenward Vaughan
I'm updating my class syllabus, which has a mandatory statement which I
normally frame as follows:

\begin{framed}Students with disabilities who believe they may need
accommodations in this class are encouraged to contact Supportive
Services in FACE 16, 395-4334, as soon as possible to better ensure such
accommodations are implemented in a timely fashion.\end{framed}


The \begin{} and \end{} are in ERT. The entire paragraph is in a
standalone quote environment. I have used this for years.  Now I get the
following message on submitting for a .ps view:

! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H return for immediate help.
l.58 ...plemented in a timely fashion.\end{framed}
Try typing return to proceed.
If that doesn't work, type X return to quit.


The .dvi file *is* written out, and I can view it from the temporary
directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
seems OK from a brief scan of the result.

Any ideas what/where the issue is?


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--attrib. to Ferdinand Magellan by R. Ingersoll



Re: LyX 2.0 and framed package

2011-01-12 Thread Kenward Vaughan
On Wed, 2011-01-12 at 22:02 -0800, Kenward Vaughan wrote:
...
 The .dvi file *is* written out, and I can view it from the temporary
 directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
 seems OK from a brief scan of the result.
 
 Any ideas what/where the issue is?


One thing I forgot to mention was that fonts had to be generated when I
opened the dvi file.  I guess LaTeX didn't finish?



Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: LyX 2.0 and framed package

2011-01-12 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
 I'm updating my class syllabus, which has a mandatory statement which I
 normally frame as follows:
 
 \begin{framed}Students with disabilities who believe they may need
 accommodations in this class are encouraged to contact Supportive
 Services in FACE 16, 395-4334, as soon as possible to better ensure such
 accommodations are implemented in a timely fashion.\end{framed}
 
 
 The \begin{} and \end{} are in ERT. The entire paragraph is in a
 standalone quote environment. I have used this for years.  Now I get the
 following message on submitting for a .ps view:
 
 ! LaTeX Error: Something's wrong--perhaps a missing \item.
 See the LaTeX manual or LaTeX Companion for explanation.
 Type H return for immediate help.
 l.58 ...plemented in a timely fashion.\end{framed}
 Try typing return to proceed.
 If that doesn't work, type X return to quit.
 
 
 The .dvi file is written out, and I can view it from the temporary
 directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
 seems OK from a brief scan of the result.
 
 Any ideas what/where the issue is?

Difficult to say without an example file. Could you provide one or at least 
post the complete LaTeX log?

BTW, you are aware that LyX supports framed natively (Box, simple frame, no 
inner box, allow page breaks)?

Jürgen


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

2011-01-12 Thread Pavel Sanda
Jannick Asmus wrote:
 following the discussions on lyx devel do you have dv2dt installed
 on your system (most probably via miktex)?

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

i know nothing about windows, sorry.
pavel


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

2011-01-12 Thread Jannick Asmus

Stephan Witt wrote:

Am 12.01.2011 um 01:25 schrieb Jannick Asmus:



What drives me crazy is that I cannot easily downgrade to LyX 1.6.8
(still installed) since it refuses the LyX beta 2files. 


Use File -> Export -> LyX 1.6.x


Ahhh, thanks. I didn't think of that. This is easy enough.

/J.



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Guenter Milde
On 2011-01-11, Murat Yildizoglu wrote:
> 2011/1/11 Stephan Witt :

>> ok - LyX can find the thesaurus files. I presume the document doc/Intro.lyx
>> is not writable. Then the thesaurus (unfortunately) does not work properly.
>> Just like you describe it, the current word isn't placed into thesaurus.

...

> You were perfectly right about the write-protection of the help file.
> I have started a new file, typed some stupid words and selected one of
> them before igniting the thesaurus and it worked like a charm. I am
> still very ignorant in the intricacies of LyX, like the protection of
> the help files. I have not even thought that this would be the cause
> (but I was also ignoring that evoking the thesaurus would try to write
> in the file).

In my view, it is correct to have the help files write-protected, but
it is a pity (or a bug) that the thesaurus does not work for them.

Use case: When reading the Manual in a foreign language (maybe because
there is no translation to ones mothertongue) a thesaurus can help to get
the meaning of less common words.


Günter



Re: Vertical space between list items

2011-01-12 Thread Guenter Milde
On 2011-01-09, Wolfgang Keller wrote:
>> How can I change the vertical space between list items and also the
>> row height in tables?


> The more "structured" approach to "custom" list formatting is probably
> by \usepackage{enumitem}.

There is the "enumitem" module for this in LyX 2.0. You can use it
with 1.6.x too (search for "enumitem" on http://wiki.lyx.org/).

I have defined ready to use "compact" lists in a local module (see
below) which depends on the enumitem module.

Günter

#\DeclareLyXModule{gmlists}
#DescriptionBegin
#Adds quoted-list and condensed list environments.
#DescriptionEnd
#Requires: enumitem

#Author: Günter Milde 

Format 11

# Input enumitem.module

# Style Variants
# ==

Style Enumerate-Alpha
  CopyStyleEnumerate
  LatexParam   "[label=\emph{\alph*}),ref=\emph{\alph*},fullwidth,itemsep=1ex]"
  Margin   First_Dynamic
  LeftMargin   x
  LabelTypeCounter
  LabelCounter enumi
  LabelString  "\alph{enumi})"
  LabelFont
Series  Medium
Shape   Italic
  EndFont
End

# Description with italic label was a failed experiment:
Style Description-Italic
  ObsoletedByDescription
End

# Indented compact LyX-List environment
Style Quoted-Labeling
CopyStyle   Labeling
LatexName   qlyxlist
ItemSep 0
ParSep  0
LabelIndent MMM
Preamble
% labeling-like list based on enumitem's description list with
% mandatory second argument (label-pattern) and indent of 2em:
\newenvironment{qlyxlist}[2][]%
  {\settowidth{\lyxlabelwidth}{#2}
   \addtolength{\lyxlabelwidth}{1.5em}
   \description[font=,style=sameline,
 leftmargin=\lyxlabelwidth,
 noitemsep, labelindent=1.5em,
 #1]}
  {\enddescription}
EndPreamble

End

Style Quoted-List
  ObsoletedByQuoted-Labeling
End  


# Dense (condensed) list environments
# ===

Style Itemize-Compact
CopyStyle Itemize
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Enumerate-Compact
CopyStyle Enumerate
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Description-Compact
CopyStyle Description
LatexParam[noitemsep]
ParSep0
TopSep0.4
BottomSep 0.4
End 

Style Compact-Itemize
  ObsoletedByItemize-Compact
End  

Style Itemize-Dense
  ObsoletedByItemize-Compact
End

Style Compact-Enumerate
  ObsoletedBy   Enumerate-Compact
End

Style Enumerate-Dense
  ObsoletedBy   Enumerate-Compact
End

Style Compact-Description
  ObsoletedBy   Description-Compact
End

Style Description-Dense
  ObsoletedBy   Description-Compact
End





Re: serbian cyrillic, polyglossia

2011-01-12 Thread Guenter Milde
On 2011-01-09, Boban Stanojevic wrote:
> I am using lyx to write a thesis in serbian cyrillic. For this, I use
> xetex and polyglossia. But although I manage to hyphenate my text in
> bulgarian, french, english, latin, I have problems to use serbian
> cyrillic definitions and hyphenation patterns.

> When I try to see my pdf(xelatex), I got the following answer:

> I hope that I was clear enough. I would be very grateful if you could
> help me resolve my problem.

Which LyX version are you using?

If you export to LaTeX, is there a \usepackage{babel} (maybe with
options) in the document?

Could you provide a "minimal example" (smallest possible document that
shows the problem)?

Günter



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Stephan Witt
Am 12.01.2011 um 09:23 schrieb Guenter Milde:

> On 2011-01-11, Murat Yildizoglu wrote:
>> 2011/1/11 Stephan Witt :
> 
>>> ok - LyX can find the thesaurus files. I presume the document doc/Intro.lyx
>>> is not writable. Then the thesaurus (unfortunately) does not work properly.
>>> Just like you describe it, the current word isn't placed into thesaurus.
> 
> ...
> 
>> You were perfectly right about the write-protection of the help file.
>> I have started a new file, typed some stupid words and selected one of
>> them before igniting the thesaurus and it worked like a charm. I am
>> still very ignorant in the intricacies of LyX, like the protection of
>> the help files. I have not even thought that this would be the cause
>> (but I was also ignoring that evoking the thesaurus would try to write
>> in the file).
> 
> In my view, it is correct to have the help files write-protected, but
> it is a pity (or a bug) that the thesaurus does not work for them.
> 
> Use case: When reading the Manual in a foreign language (maybe because
> there is no translation to ones mothertongue) a thesaurus can help to get
> the meaning of less common words.

Yes, and I propose to make a trac enhancement ticket for that.

Stephan

Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Wolfgang Engelmann
Am Wednesday 12 January 2011 09:23:36 schrieb Guenter Milde:
> On 2011-01-11, Murat Yildizoglu wrote:
> > 2011/1/11 Stephan Witt :
> >> ok - LyX can find the thesaurus files. I presume the document
> >> doc/Intro.lyx is not writable. Then the thesaurus (unfortunately) does
> >> not work properly. Just like you describe it, the current word isn't
> >> placed into thesaurus.
>
> ...
>
> > You were perfectly right about the write-protection of the help file.
> > I have started a new file, typed some stupid words and selected one of
> > them before igniting the thesaurus and it worked like a charm. I am
> > still very ignorant in the intricacies of LyX, like the protection of
> > the help files. I have not even thought that this would be the cause
> > (but I was also ignoring that evoking the thesaurus would try to write
> > in the file).
>
> In my view, it is correct to have the help files write-protected, but
> it is a pity (or a bug) that the thesaurus does not work for them.
>
> Use case: When reading the Manual in a foreign language (maybe because
> there is no translation to ones mothertongue) a thesaurus can help to get
> the meaning of less common words.
>
>
> Günter

But one could rename and save the help-file thus making it writable

Wolfgang


Re: LyX 2.0: Problems with Enumitem.module?

2011-01-12 Thread Guenter Milde
On 2011-01-07, Pavel Sanda wrote:
> Guenter Milde wrote:
>> On 2011-01-06, Pavel Sanda wrote:
>> > Guenter Milde wrote:
>> >> Although based on "Description", enumitem's "Labeling/LyX-List"
>> >> should not change the original layout. It seems I forgot to reset
>> >> the label font.

>> >> Please apply the following patch:

>> > Guenter, this is meant to be applied to trunk? pavel

>> Yes, please. 

> its in. please, can you respond to my question on
> http://www.lyx.org/trac/ticket/7195 ? we should provide example file.
> pavel

I posted an updated example, but maybe the message did not get through.

Testing with article (KOMA script) revealed that the patch was not
enough: the labeling label appeared in sans-serif.

I attached both, enumitem.module and enumitem.example to the ticket
(in 1.6.x format but intended for application to 2.0).

Günter



Re: ANNOUNCE: LyX version 2.0.0 (beta 3)

2011-01-12 Thread Vincent van Ravesteijn
> But one could rename and save the help-file thus making it writable
>
> Wolfgang
>

Or type "buffer-toggle-read-only" in the command buffer.

Or compile with DEVEL_VERSION.

Vincent


Error al instalar

2011-01-12 Thread Xabier Abasolo
Hola 

 Estoy tratando de instalar LyX con el instalador LyX-1.6.8-2-Installer.exe
(Windows XP). Instalo también MiKTeX 2.9, que me lo recomienda el propio
LyX, pero al terminar de instalar MiKTeX me salta un error ("Unexpected
condition"). Lo único diferente que he hecho en este ordenador es cambiarle
el directorio de instalación y poner uno distinto al que me marcaba por
defecto. En otro ordenador lo instalé sin problemas, con las opciones por
defecto que marca el proceso de instalación. Adjunto el Log que se crea en
la instalación, por si alguien podéis ver la causa del error y sobre todo la
solución.

Gracias.


setup-2011-01-12-09-45.log
Description: Binary data


Re: LyX 2.0: Problems with Enumitem.module?

2011-01-12 Thread Pavel Sanda
Guenter Milde wrote:
> I posted an updated example, but maybe the message did not get through.
> 
> Testing with article (KOMA script) revealed that the patch was not
> enough: the labeling label appeared in sans-serif.
> 
> I attached both, enumitem.module and enumitem.example to the ticket
> (in 1.6.x format but intended for application to 2.0).

i changed the decription a little and put it in, thanks.
pavel


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

2011-01-12 Thread Pavel Sanda
Jannick Asmus wrote:
> Pavel Sanda wrote:
>
>> did you reconfigure in lyx2 ?
>
> Yes I did. No effect after firing LyX up again.

following the discussions on lyx devel do you have dv2dt installed
on your system (most probably via miktex)?

pavel


Re: SV: Linguistics module and glosses

2011-01-12 Thread Stig Rognes

Hello LyX-users,

I'm using LyX 1.6.7 for a master's thesis in linguistics (syntax), and
use a lot of numbered examples with glosses. I use the linguistics
module and aligned glosses as explained on
 
http://wiki.lyx.org/LyX/LinguistLyX#toc14
However I miss/cannot find one feature, namely an option for
grammaticality judgments  (marked with * and ??). I want the
asterisks/question marks to be neatly aligned to left of the example,
like in example (8) on page 6 in this pdf-file:
 
http://www.bakoma-tex.com/doc/latex/gb4e/gb4e-doc.pdf
Obviously this is possible with gb4e.sty or cgloss4e.sty (as explained
in the link above), but I'm not very confident with LaTeX and have no
idea how to get this working in LyX or with covington.sty.
Any ideas?

Thanks&  kind regards,
Stig Rognes


Ingar Pareliussen wrote:

 I am no a linguist, however as far I as I understand the covington styles
 does not support these kinds of aligned symbols, and you have to us
 kludges to do it, or you could use gb4e and ERT. If you do want gb4e but
 can't stand ERT you could make a gb4e module for lyx... But this demands
 some understanding of lyx and latex.

 I attach a lyx file that demonstrates both gb4e and covington (using
 CTRL+space).

Ingar


Attached is an alternative possibility with covington where you do nt need
extra spaces.

Jürgen


Hi Ingar and Jürgen

thanks for your answers. The problem is that the examples with aligned glosses
(with translation, reached from Insert-->Custom Insets-->Custom: Glosse) are
already inside a LaTeX-box (=ERT?), so the ctrl+space function is disabled.
Neither should there be a space between the * or ?? and the first word of the 
example.

However I partly solved my problem using \phantom and \emph; see attached 
example.

Stig



glossex.lyx
Description: application/lyx


Instalation error

2011-01-12 Thread Xabier Abasolo

> Hello, 
> 
>  
> I'm trying to install LyX with "LyX-1.6.8-2-Installer.exe" in a Windows XP
> computer. I also install MIKTeX 9.2 because LyX recomend to do so. At the
> end of the installing process of MiKTeX an error occurs ("Unexpected
> condition"). I downloaded several times new installers, with the same
> final results.
> 
> I installed LyX in an other computer with no problems. The only different
> thing in this installation is that I don´t use the default instalation
> folder (my C: drive is full and I want to install in my second hard disk.)
> 
> You can see attached the instalation log. Can anyone see de cause of the
> error in the log? What can I do?
> 
> Thanks.
> 
> Xabier.


setup-2011-01-12-09-45.log
Description: Binary data


Re: Instalation error

2011-01-12 Thread Vincent van Ravesteijn
> I'm trying to install LyX with "LyX-1.6.8-2-Installer.exe" in a Windows XP
> computer. I also install MIKTeX 9.2 because LyX recomend to do so. At the
> end of the installing process of MiKTeX an error occurs ("Unexpected
> condition"). I downloaded several times new installers, with the same final
> results.
>


You can try to first install MikTeX manually using:

http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

If this fails, it is a MikTeX installer problem.

If this succeeds, your problem is probably solved, but then we have to
look into our installer.

Vincent


RV: Instalation error

2011-01-12 Thread Xabier Abasolo

It doesn´t work. The same error again.

Xabier.
-Mensaje original-
De: Vincent van Ravesteijn [mailto:v...@lyx.org] 
Enviado el: miércoles, 12 de enero de 2011 13:31
Para: Xabier Abasolo
CC: lyx-users@lists.lyx.org
Asunto: Re: Instalation error


> I'm trying to install LyX with "LyX-1.6.8-2-Installer.exe" in a 
> Windows XP computer. I also install MIKTeX 9.2 because LyX recomend to 
> do so. At the end of the installing process of MiKTeX an error occurs 
> ("Unexpected condition"). I downloaded several times new installers, 
> with the same final results.
>


You can try to first install MikTeX manually using:

http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe

If this fails, it is a MikTeX installer problem.

If this succeeds, your problem is probably solved, but then we have to look
into our installer.

Vincent
<>

Re: RV: Instalation error

2011-01-12 Thread Vincent van Ravesteijn
>> You can try to first install MikTeX manually using:
>>
>> http://mirror.ctan.org/systems/win32/miktex/setup/basic-miktex-2.9.3972.exe
>>
>> If this fails, it is a MikTeX installer problem.
>>
>
> It doesn´t work. The same error again.
>

Then, you can either try to install a different version of MikTeX or
contact the MikTeX developers/users.

Vincent


Re: How to enable -shell-escape for LyX

2011-01-12 Thread Hellmut Weber
Hi Stephan,
thanks for your quick answer ;-)

Am 11.01.2011 12:21, schrieb Stephan Witt:
> Am 11.01.2011 um 11:55 schrieb Hellmut Weber:
> 
>> Hi list,
>>
>> Given a little python-Skript fipwdcut
>> ...
>> and a LaTeX macro \pwdstring
>>
>> 
>> newcommand{\pwdstring}[1]{
>>  \immediate\write18{/home/H_Bin/fipwdcut #1 >/tmp/shell.escape}
>>  \input{/tmp/shell.escape}
>>  }
>> 
>>
>> I have defined aliases for latex and pdflatex
>>
>> 
>> l...@sylhepta H_Bin $ alias
>> alias latex='latex -shell-escape'
>> alias pdflatex='pdflatex -shell-escape'
>> 
>>
>> hoping that pdflatex-ing a document with an ERT \pwdstring{4} at the end
>> would show me the end part of the path to the directory the document was
>> compiled in.
> 
> LyX doesn't resolve shell aliases like your shell does.
This was already my suspicion and it's helpful to have it confirmed.

> 
>> (I know that I have to export my document as latex source and then to
>> compile it again to get the correct directory ;-)
>>
>> But Lyx refuses to do so and in the LaTeX protocoll I get the error message
>>
>> 
>> runsystem(/home/H_Bin/fipwdcut 4 >/tmp/shell.escape)...disabled
>> (restricted).
>> ! LaTeX Error: File `/tmp/shell.escape' not found.
>> 
>>
>> I tried to activate the shell-escape option of the pdflatex command in
>> the converters dialog for 'latex (pdflatex) -> PDF (pdflatex)' changing
>> the additional flags to 'shell-escape' but this produces the same error
>> message as before.
> 
> Did you use 'shell-escape' or '-shell-escape'?
Actually I tried both of them

Anything else I can do?

Cheers

Hellmut

-- 
Dr. Hellmut Weber m...@hellmutweber.de
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq


Math tool bar doesnt apear automaticaly?

2011-01-12 Thread micha

Dear LyX-Team,

somwhow the Math-toolbar isn't apearing automatically anymore in my 
installation? I've tried out many steps, but it seems it stoped working. 
I have to open the toolbar manual every time I type a math formula or I 
have to leave it open all the time.


If I open view->toolbars from the menubar it shows Math (automatic), 
also for the tables and so on. Notice, it worked in the beginning. But 
after I had to reinstall LyX since it had problems converting Images in 
a viewable format?? it stopped working. I used the complete installer 
for installation.


Thanks for help.

Best regards,

Micha Schäfer



Re: Math tool bar doesnt apear automaticaly?

2011-01-12 Thread Vincent van Ravesteijn
On Wed, Jan 12, 2011 at 11:05 AM, micha  wrote:
> Dear LyX-Team,
>
> somwhow the Math-toolbar isn't apearing automatically anymore in my
> installation? I've tried out many steps, but it seems it stoped working. I
> have to open the toolbar manual every time I type a math formula or I have
> to leave it open all the time.
>
> If I open view->toolbars from the menubar it shows Math (automatic), also
> for the tables and so on. Notice, it worked in the beginning. But after I
> had to reinstall LyX since it had problems converting Images in a viewable
> format?? it stopped working. I used the complete installer for installation.
>

This should be fixed in 2.0.0 beta 3.

Which LyX version did you install ?

You can correct it by either deleting all session information in
Tools->Preferences (but I'm not sure), or you can manually remove
"HKEY_CURRENT_USER\Software\LyX\\views\0\math" in the
registry.

Vincent


Re: Hyphenation really messed up for german text

2011-01-12 Thread Stefan
Jürgen Spitzmüller  lyx.org> writes:

>
> Looks like something is wrong with your setup. Please check that German is 
> really set and that the German hyphenation patterns are loaded (the latter 
> should be noted at the beginning of Document > LaTeX Log).
Thanks for the hint, I bought a new laptop in last May and didn't install
texlive-langgerman, which I had done before on the old laptop.
(Thought it would get pulled in anyway by setting LINGUAS="de", will open a bug 
on gentoo's bugzilla). 
That fixed it.
 
> BTW there are some new, experimental hyphenation patterns for German that are 
> already generally better than the LaTeX defaults. You can load it via
> 
> \usepackage[ngerman=ngerman-x-latest]{hyphsubst}
I will give it a try in my next document, thanks for the hint.

> > As a side question: is there a Lyx-way to exclude names and short
> > non-standard-german-word of persons from being hyphenated?
> 
> either put the words in an \mbox{...} (via ERT) or add a list like this in 
> your preamble:
> 
> \hyphenation{foo,bar,moo,...}
Ah, this sounds more reasonable.
> > Thanks for this great program, I am looking forward to version 2.0
Greetings, Stefan



Is there a way keep hyperlinks in pasted text?

2011-01-12 Thread Joel Schwartz
Let's say I copy a block of text on a web page. Some of the words in this
block of text include hyperlinks to other URLs (web pages, pdf files, etc.).
When I copy and paste this text block into lyx, the hyperlinks are gone and
just the text gets pasted. Is there a way to paste the text into lyx so that
the hyperlinks are also included, or do I need to recreate the hyperlinks
manually? The users' guide doesn't mention a way to keep the hyperlinks, so
I'm guessing the answer is no, but I thought I'd check here just to make
sure.
 
Thanks,
Joel
 


math mode in program listing

2011-01-12 Thread Jack Tanner
I'd like to have a program listing, and to be able to insert math in 
comments in the listing. Is that possible?


For example,

void main(argv[]) {
  // calculate the mean $\mu$
  for (int i = 0; ...
}


biblatex: elatex and texlive

2011-01-12 Thread Sam Lewis
Dear All,

This is slightly off-topic.

I have successfully used biblatex with LyX for a long time. Today after 
changing my TexLive DVD installation from 2009 to 2010, I am not able to 
compile documents anymore that use the biblatex package. I now get a fatal 
error message that elatex is not found.

Does anyone know about changes in TexLive 2010 and how this relates to 
biblatex? Any suggestions?

Many thanks!

Cheers, Sam





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

2011-01-12 Thread Jannick Asmus

Pavel Sanda wrote:

Jannick Asmus wrote:

Pavel Sanda wrote:


did you reconfigure in lyx2 ?


Yes I did. No effect after firing LyX up again.


following the discussions on lyx devel do you have dv2dt installed
on your system (most probably via miktex)?


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


/J. 





Re: math mode in program listing

2011-01-12 Thread Paul Rubin
Jack Tanner  hotmail.com> writes:

> 
> I'd like to have a program listing, and to be able to insert math in 
> comments in the listing. Is that possible?
> 
> For example,
> 
> void main(argv[]) {
>// calculate the mean $\mu$
>for (int i = 0; ...
> }
> 
> 

Right click on the listing, click Settings..., go to the Advanced tab, and enter
mathescape=true in the right-hand box.

/Paul





Re: biblatex: elatex and texlive

2011-01-12 Thread Dr Eberhard W Lisse
Use the TeXLive Utility and update.

el

On 1/13/11 12:33 AM, Sam Lewis wrote:
> Dear All,
> 
> This is slightly off-topic.
> 
> I have successfully used biblatex with LyX for a long time.  Today
> after changing my TexLive DVD installation from 2009 to 2010, I am
> not able to compile documents anymore that use the biblatex
> package.  I now get a fatal error message that elatex is not
> found.
> 
> Does anyone know about changes in TexLive 2010 and how this
> relates to biblatex?  Any suggestions?
> 
> Many thanks!
> 
> Cheers, Sam
> 
> 
>   
> 




LyX 2.0 and framed package

2011-01-12 Thread Kenward Vaughan
I'm updating my class syllabus, which has a mandatory statement which I
normally frame as follows:

\begin{framed}Students with disabilities who believe they may need
accommodations in this class are encouraged to contact Supportive
Services in FACE 16, 395-4334, as soon as possible to better ensure such
accommodations are implemented in a timely fashion.\end{framed}


The \begin{} and \end{} are in ERT. The entire paragraph is in a
standalone quote environment. I have used this for years.  Now I get the
following message on submitting for a .ps view:

! LaTeX Error: Something's wrong--perhaps a missing \item.
See the LaTeX manual or LaTeX Companion for explanation.
Type H  for immediate help.
l.58 ...plemented in a timely fashion.\end{framed}
Try typing  to proceed.
If that doesn't work, type X  to quit.


The .dvi file *is* written out, and I can view it from the temporary
directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
seems OK from a brief scan of the result.

Any ideas what/where the issue is?


Kenward
-- 
The church says the earth is flat, but I know that it is round, for I
have seen the shadow on the moon, and I have more faith in a shadow than
in the church.--attrib. to Ferdinand Magellan by R. Ingersoll



Re: LyX 2.0 and framed package

2011-01-12 Thread Kenward Vaughan
On Wed, 2011-01-12 at 22:02 -0800, Kenward Vaughan wrote:
...
> The .dvi file *is* written out, and I can view it from the temporary
> directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
> seems OK from a brief scan of the result.
> 
> Any ideas what/where the issue is?


One thing I forgot to mention was that fonts had to be generated when I
opened the dvi file.  I guess LaTeX didn't finish?



Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: LyX 2.0 and framed package

2011-01-12 Thread Jürgen Spitzmüller
Kenward Vaughan wrote:
> I'm updating my class syllabus, which has a mandatory statement which I
> normally frame as follows:
> 
> \begin{framed}Students with disabilities who believe they may need
> accommodations in this class are encouraged to contact Supportive
> Services in FACE 16, 395-4334, as soon as possible to better ensure such
> accommodations are implemented in a timely fashion.\end{framed}
> 
> 
> The \begin{} and \end{} are in ERT. The entire paragraph is in a
> standalone quote environment. I have used this for years.  Now I get the
> following message on submitting for a .ps view:
> 
> ! LaTeX Error: Something's wrong--perhaps a missing \item.
> See the LaTeX manual or LaTeX Companion for explanation.
> Type H  for immediate help.
> l.58 ...plemented in a timely fashion.\end{framed}
> Try typing  to proceed.
> If that doesn't work, type X  to quit.
> 
> 
> The .dvi file is written out, and I can view it from the temporary
> directory /tmp/lyx_tmpdir...  The framed area IS framed, and all else
> seems OK from a brief scan of the result.
> 
> Any ideas what/where the issue is?

Difficult to say without an example file. Could you provide one or at least 
post the complete LaTeX log?

BTW, you are aware that LyX supports framed natively (Box, simple frame, no 
inner box, allow page breaks)?

Jürgen


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

2011-01-12 Thread Pavel Sanda
Jannick Asmus wrote:
>> following the discussions on lyx devel do you have dv2dt installed
>> on your system (most probably via miktex)?
>
> It doesn't look like as I checked in the MikTeX package manager. Or should 
> I look for it somewhere else?

i know nothing about windows, sorry.
pavel