Re: examdesign layout, or multiple-choice questions in LyX

2010-11-15 Thread Jason Waskiewicz
As requested, I've attached a sample LyX file that uses the exam layout. In this file you can see some of the tricks I used to get around a few of the shortcomings of exam.cls. I now use the examdesign.cls with ordinary LaTeX because it seems better for my own needs. --Jason Waskiewicz Bo

Re: Multiple Papers / Child Documents

2010-11-15 Thread Ken
Hi Richard, Thanks for your reply. It gives me a few ideas on where to dig for more info. I suppose what I am trying to do is to create something like a simple journal. I would like to tie a handful of papers together into a single document (with contiguous page numbering) and have a few introd

cannot determine size of graphics

2010-11-15 Thread camus . philippe
Hello. I tried the beta 1 of lyx 2.0 and experiment an erro with graphics and ps2pdf : cannot determine size of graphics, no bounding box I neither get this error with pdflatex, nor with ps2pdf under lyx 1.6.7. Thanks Philippe

Re: confusing cross-references

2010-11-15 Thread Julien Rioux
On 15/11/2010 12:40 PM, Jack Tanner wrote: One more thing I can't figure out. Formatted Reference always gives me "figure 3 on page foo". How can I make it give me just "figure 3"? In the preamble: \newrefformat{fig}{figure~\ref{#1}} and if you use hyperlinks and want "figure 3" to be clickabl

Re: Subsection shows section number but nothing else.........

2010-11-15 Thread Uwe Stöhr
Am 14.11.2010 01:24, schrieb Charlie: \titleformat{\subsection}[wrap] {\normalfont\fontseries{b}\selectfont\filright} {\thesection.}{1.5em}{} I see only the number of the section to which the subsection belongs, but not the number of the subsection ie. 10 but not 10.1 This is because

Re: Multiple Papers / Child Documents

2010-11-15 Thread Richard Heck
On 11/15/2010 01:03 PM, Ken wrote: Hi, I would like to create a document which contains a few pages of info followed by three papers. That is, each of the three papers should be its own complete paper (with its own title, abstract, the document with tables and figures, footnotes, and its own bi

Re: confusing cross-references

2010-11-15 Thread Uwe Stöhr
Am 15.11.2010 07:04, schrieb Jack Tanner: In other words, instead of using the figure number, it's using the section number. Is this to be expected? Yes, because your label is not in the caption. For other references like \vref this is not a problem, but prettyref is special and has also some

Multiple Papers / Child Documents

2010-11-15 Thread Ken
Hi, I would like to create a document which contains a few pages of info followed by three papers. That is, each of the three papers should be its own complete paper (with its own title, abstract, the document with tables and figures, footnotes, and its own bibliography). In front of these paper

RE: Custom Title Page in Articles

2010-11-15 Thread Rob Oakes
Hi Tim, <> Good for you! It wasn't until I started creating custom document classes and LyX modules that I really started to think, "Wow, this whole LyX thing is cool. With a little bit of effort, you can literally do anything." << Basically, I want something that goes (Nifty graphics with my

Re: confusing cross-references

2010-11-15 Thread Jack Tanner
On 11/15/2010 12:24 PM, Jack Tanner wrote: On 11/15/2010 8:11 AM, stephen's mailinglist account wrote: What you are getting for your float is the section number and similarly for your figure because it is not after the caption. You're completely right. One more thing I can't figure out. Forma

Re: Custom Title Page in Articles

2010-11-15 Thread Liviu Andronic
Hello On Mon, Nov 15, 2010 at 5:46 PM, Tim Wescott wrote: > I want to make myself an article template that's otherwise normal, but with > a custom title page.  Basically, I want something that goes > > (Nifty graphics with my company logo) > >   title >   author >   abstract > > (More nifty graph

Re: Latex error

2010-11-15 Thread Guenter Milde
On 2010-11-15, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> Some comments: >> * Does >> # InternalEncoding >> relate to a font-encoding switch with Babel? > yes. >> Then it should be true also for e.g. languages with cyrillic script >> (even if T2A - T2C are standard

Custom Title Page in Articles

2010-11-15 Thread Tim Wescott
I want to make myself an article template that's otherwise normal, but with a custom title page. Basically, I want something that goes (Nifty graphics with my company logo) title author abstract (More nifty graphics) This is for when I need to make a white paper for a customer, or t

Contrast in the preamble window

2010-11-15 Thread Jean-Pierre Chrétien
Hello, In the Document->Settings->Preamble window, the comments are greyed out in such a way that they are quite difficult to read when one wants to uncomment some piece of code. Is there a way to tune the foreground color for the strings after % in that window ? -- Jean-Pierre

Re: Problems with new version

2010-11-15 Thread Richard Heck
On 11/14/2010 09:35 AM, Markus Kossner wrote: Dear Lyx users, I have a strange problem when using a newer version of Lyx. Here's my problem: I have written my thesis using Lyx 1.6.2. Now I have a new computer running Lyx 1.6.7. Both computers had Ubuntu linux running. Now the lyx file can be op

Re: Latex error

2010-11-15 Thread Jürgen Spitzmüller
Some comments: Guenter Milde wrote: > +Language ancientgreek > + GuiName "Greek (ancient)" > + PolyglossiaName greek > + PolyglossiaOpts variant=ancient > + LangCodegrc > +End Please do not add new languages now. This would be a file format change (needs lyx2lyx c

Re: Latex error

2010-11-15 Thread Jürgen Spitzmüller
Guenter Milde wrote: > And here is the diff. Please send a real attachment (diff or whole file), An inline diff is not very useful. Jürgen

Re: Latex error

2010-11-15 Thread Jürgen Spitzmüller
Guenter Milde wrote: > Done. Great. Could you send the file? > Some comments: > > * Does > > # InternalEncoding > > relate to a font-encoding switch with Babel? yes. > Then it should be true also for e.g. languages with cyrillic script > (even if T2A - T2C are standard

Re: Latex error

2010-11-15 Thread Guenter Milde
On 2010-11-15, Guenter Milde wrote: > On 2010-11-15, Guenter Milde wrote: >> On 2010-11-15, Jürgen Spitzmüller wrote: >>> Maybe. Don't know. I think I would prefer them to be enabled with >>> German (I always use them quite excessively). But then, I have not yet >>> used polyglossia myself.

Re: compilation of lyx 2 beta 1 destroyed my linux

2010-11-15 Thread Guenter Milde
On 2010-11-15, Marcelo Acuña wrote: > This morning I configured lyx beta 1 and start the compilation. > During the course of the compilation it appeared a message of error: > segment violation. It was trying to read the error message when I > noticed that the computer was hung. Maybe this is beca

Re: compilation of lyx 2 beta 1 destroyed my linux (solved)

2010-11-15 Thread Marcelo Acuña
> > During the course of the compilation it appeared a >> message of error: segment violation. > the only case i have seen such strange messages during > compilation of anything was > when my memory chipset got subverted. so maybe time to run > memory check tests... > > the only other way i'm aw

Re: Latex error

2010-11-15 Thread Guenter Milde
On 2010-11-15, Guenter Milde wrote: > On 2010-11-15, Jürgen Spitzmüller wrote: >> Maybe. Don't know. I think I would prefer them to be enabled with >> German (I always use them quite excessively). But then, I have not yet >> used polyglossia myself. >>> However, in any case might it be better to

Re: confusing cross-references

2010-11-15 Thread stephen's mailinglist account
using http://en.wikibooks.org/wiki/LaTeX/Labels_and_Cross-referencing as a reference. "When a label is declared within a float environment, the \ref{...} will return the respective fig/table number, but it must occur after the caption. When declared outside, it will give the section number. To be

Re: confusing cross-references

2010-11-15 Thread stephen's mailinglist account
On 15 November 2010 06:04, Jack Tanner wrote: > Something is really screwy with the references in this simple document under > LyX 1.6.7. > > The key sentence should get rendered in PDF (via pdflatex) as > > here be a formatted reference to  figure 1, which lives in section 2: Figure > 1 on page 1

Re: compilation of lyx 2 beta 1 destroyed my linux

2010-11-15 Thread Stephan Witt
Am 15.11.2010 um 13:20 schrieb Gour: > On Mon, 15 Nov 2010 04:15:39 -0800 (PST) >>> "Marcelo" == Marcelo Acuña wrote: > > Marcelo> This morning I configured lyx beta 1 and start the compilation. > Marcelo> During the course of the compilation it appeared a message of > Marcelo> error: segmen

Re: compilation of lyx 2 beta 1 destroyed my linux

2010-11-15 Thread Pavel Sanda
Marcelo Acu?a wrote: > This morning I configured lyx beta 1 and start the compilation. > During the course of the compilation it appeared a message of error: segment > violation. the only case i have seen such strange messages during compilation of anything was when my memory chipset got subvert

compilation of lyx 2 beta 1 destroyed my linux

2010-11-15 Thread Marcelo Acuña
This morning I configured lyx beta 1 and start the compilation. During the course of the compilation it appeared a message of error: segment violation. It was trying to read the error message when I noticed that the computer was hung. I reset it and now, during the starting, shows an error as if

Re: tex2lyx question: syntax file - WAS: Import track changes from LaTeX?

2010-11-15 Thread Jürgen Spitzmüller
Jean-Marc Lasgouttes wrote: > Please create a request for enhancement (ticket) on www.lyx.org/trac/ so > that it does not get forgotten. We already have one: http://www.lyx.org/trac/ticket/4213 Jürgen

Re: tex2lyx question: syntax file - WAS: Import track changes from LaTeX?

2010-11-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/15/2010 12:50 PM, Jean-Marc Lasgouttes wrote: >> So when will be "track changes" in line? > > It is already, since we are at version 264, from April 2007. That is good to hear! > > Adding support for lyxadded/lyxdeleted should be simple (alth

Re: tex2lyx question: syntax file - WAS: Import track changes from LaTeX?

2010-11-15 Thread Jean-Marc Lasgouttes
So when will be "track changes" in line? It is already, since we are at version 264, from April 2007. Adding support for lyxadded/lyxdeleted should be simple (although some care is needed for author or such things). Please create a request for enhancement (ticket) on www.lyx.org/trac/ so th

Re: Latex error

2010-11-15 Thread Jürgen Spitzmüller
Guenter Milde wrote: > BTW: We could do without the new keyword > > AsBabelOptions > > if we always call babel with the language options and > additionally append them to the document options if the > "add to documentoptions" box is checked. > > This wou

tex2lyx question: syntax file - WAS: Import track changes from LaTeX?

2010-11-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/15/2010 11:47 AM, Jürgen Spitzmüller wrote: > Rainer M Krug wrote: >> True - then I will see that I push the conversion of writer2latex, so >> that track changes in odt files are convertible to the LyX commands >> \lyxadded{} and \lyxdeleted{}. P

Re: Latex error

2010-11-15 Thread Guenter Milde
On 2010-11-15, Jürgen Spitzmüller wrote: > Guenter Milde wrote: >> Where do I find this new file? > in trunk. Also here: > http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/languages >> (I did an update of my trunk clone but lyx/lib/languages is still in >> the old format.) > it is supposed to

Re: Ask for help about usage of LYX

2010-11-15 Thread Liviu Andronic
Hello On Mon, Nov 15, 2010 at 7:39 AM, 李琼 wrote: > Dear sir or madam, > > Thank you for reading the email. > I am puzzled about changing the size of the long equations. > Some equations are a little longer than given space, so I want to make it a > little shorter by changing the size of charaters

Re: Import track changes from LaTeX?

2010-11-15 Thread Jürgen Spitzmüller
Rainer M Krug wrote: > True - then I will see that I push the conversion of writer2latex, so > that track changes in odt files are convertible to the LyX commands > \lyxadded{} and \lyxdeleted{}. Probably one can push the update of > tex2lyx through that? The problem is that we will have to add su

Re: Import track changes from LaTeX?

2010-11-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/15/2010 11:32 AM, Jürgen Spitzmüller wrote: > Rainer M Krug wrote: >> I exported the attached LyX file (ChangeTracking.lyx) to LaTeX (with >> "Show changes in output" enabled) (ChangeTracking.tex) and re-imported >> it from LaTeX into LyX (Change

Re: Import track changes from LaTeX?

2010-11-15 Thread Jürgen Spitzmüller
Rainer M Krug wrote: > I exported the attached LyX file (ChangeTracking.lyx) to LaTeX (with > "Show changes in output" enabled) (ChangeTracking.tex) and re-imported > it from LaTeX into LyX (ChangeTracking_after_re-import.lyx), but the > changes are not imported as changes, but as ERT boxes. > > I

Re: Latex error

2010-11-15 Thread Jürgen Spitzmüller
Guenter Milde wrote: > Where do I find this new file? in trunk. Also here: http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/languages > (I did an update of my trunk clone but lyx/lib/languages is still in > the old format.) it is supposed to be the new format as of r36285. You probably haven'

Re: Fonts in LyX (and LaTeX and TeX)

2010-11-15 Thread Guenter Milde
On 2010-11-13, stefano franchi wrote: > --90e6ba5bba6103dafb0494f63b0c > Content-Type: text/plain; charset=ISO-8859-1 > On Wed, Nov 10, 2010 at 4:22 PM, stefano franchi > For Lyx, I used the method described in the wiki for XeTeX (define a > new pdf format, etc), and switched the bibtex processor

Re: Latex error

2010-11-15 Thread Guenter Milde
On 2010-11-15, Jürgen Spitzmüller wrote: > Jürgen Spitzmüller wrote: >> I have now submitted a new languages file format to trunk. You could help >> if you added the polyglossia names there. The syntax would look like: >> Language ngerman >> GuiName "German" >> BabelName

Import track changes from LaTeX?

2010-11-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I exported the attached LyX file (ChangeTracking.lyx) to LaTeX (with "Show changes in output" enabled) (ChangeTracking.tex) and re-imported it from LaTeX into LyX (ChangeTracking_after_re-import.lyx), but the changes are not imported as changes, bu

Re: Cherokee & ucharclasses (Using custom fonts by UNICODE range)

2010-11-15 Thread Guenter Milde
On 2010-11-14, Michael Joyner wrote: > According to the package I have to put in a 'transition' command to put the > fonts back to what I need for the regular document. > I have tired > \rm > \rmdefault > and others, but always comes up with errors... > what ERT would you use to select the 'defau

Re: LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Jürgen Spitzmüller
Rainer M Krug wrote: > This sounds quite usefull - has this been added to LyX 2 as an option to > be enabled easily? No. Jürgen

Re: AW: LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Jürgen Spitzmüller
Jannick Asmus wrote: > That's great as well. Light blue does not seem to be too different from > gray. But I suspect {RGB}{192,192,255} codes the color which could be > adjusted. Yes. You can replace that by the RGB values of your choice. Jürgen

AW: LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Jannick Asmus
Jürgen Spitzmüller wrote: Jannick Asmus wrote: I got already aware that changes can be shown in colored letters, whereas grayed-out comments appear as ordinary blued text after adding such a comment in track mode. Could this be amended to have comments in light blue - or any other color differen

Re: LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/15/2010 10:10 AM, Jürgen Spitzmüller wrote: > Jannick Asmus wrote: >> is it possible to indicate changes of the document in track mode in the >> pdf by a vertical bar in the margin area? > > With pdflatex output: > > \usepackage[pdftex]{change

AW: LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Jannick Asmus
Jürgen Spitzmüller wrote: Jannick Asmus wrote: is it possible to indicate changes of the document in track mode in the pdf by a vertical bar in the margin area? With pdflatex output: \usepackage[pdftex]{changebar} \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}} \renewcommand

Re: LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Jürgen Spitzmüller
Jannick Asmus wrote: > I got already aware that changes can be shown in colored letters, > whereas grayed-out comments appear as ordinary blued text after adding > such a comment in track mode. Could this be amended to have comments in > light blue - or any other color different from blue? \let

Re: LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Jürgen Spitzmüller
Jannick Asmus wrote: > is it possible to indicate changes of the document in track mode in the > pdf by a vertical bar in the margin area? With pdflatex output: \usepackage[pdftex]{changebar} \renewcommand{\lyxadded}[3]{{\cbstart\color{lyxadded}{}#3\cbend}} \renewcommand{\lyxdeleted}[3]{{\cbstar

LyX 1.6.7: Track changes in pdf

2010-11-15 Thread Jannick Asmus
Hi, is it possible to indicate changes of the document in track mode in the pdf by a vertical bar in the margin area? I got already aware that changes can be shown in colored letters, whereas grayed-out comments appear as ordinary blued text after adding such a comment in track mode. Could t

Ask for help about usage of LYX

2010-11-15 Thread 李琼
Dear sir or madam, Thank you for reading the email. I am puzzled about changing the size of the long equations. Some equations are a little longer than given space, so I want to make it a little shorter by changing the size of charaters and the spacing between the characters. How can I do it ? Lo