logo in headline

2007-11-08 Thread Leo Gürtler
Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo



Compiling V1.5.2 for Ubuntu Feisty Fawn

2007-11-08 Thread Michael Rapson
Hi there,

Since the Ubuntu repositories are very far behind in the LyX version I
installed 1.5.2 from the source. It was the first program that I have
compiled on my machine so I had some hassles getting the packages
sorted out but once that was done the only thing that failed in the
./configure file was determining the size of wchar_t. I eventually got
it from a c++ program made to print out the size of a wchar_t
variable. The line I ran to configure it was: ./configure
ac_cv_sizeof_wchar_t=4 and all else went smoothly.

I am delighted to see that the mathmode now displays the greek
characters in the LyX window and the upgrade also means that some
images that didn't display in DVI are now showing.

Hope this feedback is helpful

Cheers,
michael


Re: Issues with LyX

2007-11-08 Thread Nicolás

Salim Namik wrote:

Hi,

I have recently started using LyX 1.5.2 and have few questions regarding
formatting figures (especially in IEEEtrans class document):

1. How can I change the the style of the caption HEADER? e.g. make the caption
at the center of the page, or make the word Figure italic?

I am not sure, but maybe you cannot modify the format of a Figure caption without modifying the latex class or style you are using. If 
a journal releases a layout, it is normally because they want all papers to look the same, so it has no sense you to do what you want.



2. I create a lot of diagrams in MS Word and I to insert them in LyX, but when I
do, the quality of the figure is rubbish!! what is the best format for diagrams
made by MS Word?


Look here: http://wiki.lyx.org/Windows/WinGraphics

I personally use the OLETeX program (can be downloaded from www.sourceforge.net/projects/oletex) to make the conversion of Visio 
diagrams or any other Microsoft/OLE-based diagram into EPS figures. It works great! The program is rather simple to install and to use. 
Assuming that you have this program installed, this are the steps to make the conversion:


1- Select and copy the diagram in Visio, Powerpoint, Word, etc
2- Copy it into the OTEditor
3- Choose EPS properties and select the size of the figure (this is optional)
4- Choose Convert.. and that's it!

The generated EPS has a correct bounding box.



3. When cross-referencing figures, how can I make LyX automatically put Figure
2 instead of 2 or Figure 2 on page 3?

Your help is most appreciated.

Kind Regards,

Salim Namik

--
Salim Namik
PhD Candidate
Department of Electrical  Computer Engineering
The University of Auckland





Re: two questions on numbering - NEWBIE

2007-11-08 Thread Helge Hafting

Michael Thompson wrote:

Yitzhak Zangi [EMAIL PROTECTED] writes:

  

1) How to number the paragrphs without order (e.g. answer question 2 before
question 1) such that the paragraphs will look like in the Enumarate
environment?

In the default Article class, the standard indentation for List is pretty deep.  
  

Easily fixable: edit-paragraph settings
Then change the longest label to something shorter, like 00
if two digits is all you need.

Helge Hafting


Re: logo in headline

2007-11-08 Thread icebna

In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory. In 
my example is /home/miguel as can view, and my logo is ant.eps


I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo







smime.p7s
Description: S/MIME Cryptographic Signature


Re: Select Branch from Command line?

2007-11-08 Thread Ethan Metsger
On Wed, 07 Nov 2007 19:15:12 -0500, Richard Heck [EMAIL PROTECTED]  
wrote:


I don't see any LFUN for this at the moment, but it shouldn't be  
terribly difficult to add one. File an enhancement request.


Done.

Well, that depends upon your OS. On Linux, HTML export works pretty  
well, though of course your results depend upon what LaTeX to HTML  
converter you use. On other OS's, mileage seems to vary, mostly because  
htlatex is buggy on Windows. But you might try the relatively new  
Plastex converter, which is written in Python and so ought to be more  
portable. I've been meaning to add a line to configure.py that would  
detect and install it but just haven't gotten around to it.


I'm using Ubuntu, and I've tried htlatex, tex4ht, and tth.  I also just  
downloaded plasTeX; it'll take a little bit of fiddling for me to evaluate  
it properly, but it looks like it could be a reasonable solution.  It  
seems like it chokes on using babel and koma-script classes (the latter  
also broke tex4ht, if I recall correctly).  Using the default document  
settings I've set up breaks plasTeX, but it shouldn't be too difficult to  
transform the output LaTeX document if needed.


All that aside, plasTeX does look really interesting--and I'll definitely  
pursue it.  LyX has been a great tool for me personally (I got started  
using it for my thesis) and I'm really hoping that I can spur its adoption  
in the office.



Best,

Ethan
([EMAIL PROTECTED])


LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller
Dear All,

I have some sincere problems.

1) The outline function (in German Gliederung) 
(found in Documents[underneath LaTeX Protocol] 
doesn't work. When I activate it I get no options, 
no outline showing up or anything.

2) Converter Problems: When trying to look at 
e.g. the Tutorial File in PDF (pdflatex) or DVI or PS 
I always get a message telling me that the conversion 
from xmp to png (or eps) is not working 
and that I would need to define a converter. 
I guess I need some help on that. 
In the Settings I tried to define several converters:
like XPMPNG, XPMEPS... 
but I don't know which converter to use (I tried it with: convert $$i $$o). 
It just wouldn't work.

Thanks for your help.

Best regards,
Bjoern



Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:

#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}

# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on Title in style combo box on the toolbar, I got error message Undefined 
control sequence at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 

Thanks in advance for your help.

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status unmaintained.
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,
% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= ucthesis.cls,
%%% version = 3.2,
%%% date= 19 December 2004,
%%% license = LPPL,
%%% codetable   = ISO/ASCII,
%%% keywords= LaTeX, ucthesis,
%%% docstring   = This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%v2.7 by Ethan V. Munson, with no changes other 
%%%than those for compatibility.  The major modifictions
%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%
%%%UCTHESIS.STY v2.7 is based on the standard
%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%version of 20 Jun 1988.  The bug was that 
%%%draft optional mode didn't work because of
%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).
%%%
%%%Version 2.3 includes a single-spaced 
%%%tabular* environment.
%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%are converting option processing to LaTeX2e 
%%%

Re: toggle math mode

2007-11-08 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You can use the possibility to view the LaTeX code and copy back from 
the code window into the lyx window if you want to edit the latex code.
I tried it on Windows XP, and it works ( ctrl-c   - ctrl-V to 
copy-paste the LaTeX code and ctrl-M to convert it into math.


Siegfried


Re: logo in headline

2007-11-08 Thread icebna

See in the line 5, the example :


\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}} Here you 
must put the path to testlogo.eps, for example in Linux 
{/home/miguel/testlogo.eps}} or Windows {C:\testlogo.eps}} if you 
testlogo.eps are in the C:\ directory


\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

yes you're right but this does not make a difference, if I put all the
stuff in the latex preambel, see below for the error messages: it seems
that a } is wrong, but I don't get it.

best,
leo

that's all what's in the preambel + some dummy text in the document
(docuclass: komascript article or book):

###
\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}}

\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###


the following errors appear:

Argument of [EMAIL PROTECTED] has an extra }:

...\includegraphics[width=1cm]{testlogo.eps}}

I've run across a `}' that doesn't seem to match anything.

For example, `\def\a#1{...}' and `\a}' would produce

this error. If you simply proceed now, the `\par' that

I've just inserted will cause me to report a runaway

argument that might be the root of the problem. But if

your `}' was spurious, just type `2' and it will go away.


Paragraph ended before [EMAIL PROTECTED] was complete.:


...\includegraphics[width=1cm]{testlogo.eps}}

I suspect you've forgotten a `}', causing me to apply this

control sequence to too much text. How can we recover?

My plan is to forget the whole thing and hope for the best.


Undefined control sequence:

\rhead

{\smallskip\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


LaTeX Error: Missing \begin{document}:


\rhead{\smallskip\usebox{\mylogo}

}

You're in trouble here. Try typing return to proceed.

If that doesn't work, type X return to quit.


Undefined control sequence:

\rhead

{\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.






Hello Leo :

Don't is in the ERT box, is in the menu Document → Configuration →
Preamble LaTex where you must copy the piece code that I send you.


Regards


Miguel





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

thanks a lot - but I got error messages. If it is ok I added my lyx file
tot his mail, maybe you can help me or send me a small example (lyx
file) from you (which works for you).

thank your very much,
best regards

leo


In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory.
In my example is /home/miguel as can view, and my logo is ant.eps

I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the
head of
each page (I use koma-script).
thanks.

best wishes
leo












smime.p7s
Description: S/MIME Cryptographic Signature


Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread Bennett Helm

On Nov 8, 2007, at 8:26 AM, BjörnMüller wrote:


Dear All,

I have some sincere problems.

1) The outline function (in German Gliederung)
(found in Documents[underneath LaTeX Protocol]
doesn't work. When I activate it I get no options,
no outline showing up or anything.


I cannot confirm: showing outline works fine for me (and I rely on it  
all the time). Can you give us more details on your system: PPC vs  
Intel Mac, what version of the OS, etc. (Are you running LyX in German?)



2) Converter Problems: When trying to look at
e.g. the Tutorial File in PDF (pdflatex) or DVI or PS
I always get a message telling me that the conversion
from xmp to png (or eps) is not working
and that I would need to define a converter.
I guess I need some help on that.
In the Settings I tried to define several converters:
like XPMPNG, XPMEPS...
but I don't know which converter to use (I tried it with: convert $ 
$i $$o).

It just wouldn't work.


You shouldn't need to define any additional converters here; it  
should just work so long as you have the relevant software installed,  
such as ImageMagick (which I assume you do). Have you tried  
reconfiguring LyX (LyX  Reconfigure)?


By the way, does the tutorial have any figures? Quickly glancing  
through, I didn't see any; did you mean some other document?


Bennett

Re: logo in headline

2007-11-08 Thread icebna

Hello Leo :

Don't is in the ERT box, is in the menu Document → Configuration → 
Preamble LaTex where you must copy the piece code that I send you.



Regards


Miguel





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

thanks a lot - but I got error messages. If it is ok I added my lyx file
tot his mail, maybe you can help me or send me a small example (lyx
file) from you (which works for you).

thank your very much,
best regards

leo


In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory.
In my example is /home/miguel as can view, and my logo is ant.eps

I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo











smime.p7s
Description: S/MIME Cryptographic Signature


Re: logo in headline

2007-11-08 Thread Leo Gürtler
icebna schrieb:

Dear Miguel,

yes you're right but this does not make a difference, if I put all the
stuff in the latex preambel, see below for the error messages: it seems
that a } is wrong, but I don't get it.

best,
leo

that's all what's in the preambel + some dummy text in the document
(docuclass: komascript article or book):

###
\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}}

\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###


the following errors appear:

Argument of [EMAIL PROTECTED] has an extra }:

...\includegraphics[width=1cm]{testlogo.eps}}

I've run across a `}' that doesn't seem to match anything.

For example, `\def\a#1{...}' and `\a}' would produce

this error. If you simply proceed now, the `\par' that

I've just inserted will cause me to report a runaway

argument that might be the root of the problem. But if

your `}' was spurious, just type `2' and it will go away.


Paragraph ended before [EMAIL PROTECTED] was complete.:


...\includegraphics[width=1cm]{testlogo.eps}}

I suspect you've forgotten a `}', causing me to apply this

control sequence to too much text. How can we recover?

My plan is to forget the whole thing and hope for the best.


Undefined control sequence:

\rhead

{\smallskip\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


LaTeX Error: Missing \begin{document}:


\rhead{\smallskip\usebox{\mylogo}

}

You're in trouble here. Try typing return to proceed.

If that doesn't work, type X return to quit.


Undefined control sequence:

\rhead

{\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.





 Hello Leo :

 Don't is in the ERT box, is in the menu Document → Configuration →
 Preamble LaTex where you must copy the piece code that I send you.


 Regards


 Miguel





 Leo Gürtler escribió:
 icebna schrieb:

 Dear Miguel,

 thanks a lot - but I got error messages. If it is ok I added my lyx file
 tot his mail, maybe you can help me or send me a small example (lyx
 file) from you (which works for you).

 thank your very much,
 best regards

 leo

 In the preamble of document write the next command :

 \newsavebox{\mylogo}
 \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
 \rhead{\smallskip\usebox{\mylogo}}
 \rhead{\usebox{\mylogo}}

 Previously make the logo in .eps format and put it in any directory.
 In my example is /home/miguel as can view, and my logo is ant.eps

 I hope that work fine

 Regards


 Miguel





 Leo Gürtler escribió:
 Dear lyx-list,

 ist there a possibility to insert a small graphic (logo) on the
 head of
 each page (I use koma-script).
 thanks.

 best wishes
 leo









toggle math mode

2007-11-08 Thread Joris van Zwieten
Hi,

I'm very used to writing math in plain latex. For me, this works much
easier than using the visual math editor. In lyx, I found out that I
could write a large formula in plain latex, then select it and click
the 'math mode' button and it would convert the formula to its
graphical equivalent, which is great. However, I haven't been able to
find out how I can change from the graphical display back to the latex
source again. This would be very useful, because then I could edit the
function in plain latex and toggle to graphical display again. Is this
possible in lyx?

Thanks,

Joris van Zwieten


Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller


BjörnMüller [EMAIL PROTECTED] writes:

 
 Dear All,
 
 I have some sincere problems.
 
 1) The outline function (in German Gliederung) 
 (found in Documents[underneath LaTeX Protocol] 
 doesn't work. When I activate it I get no options, 
 no outline showing up or anything.
 
 2) Converter Problems: When trying to look at 
 e.g. the Tutorial File in PDF (pdflatex) or DVI or PS 
 I always get a message telling me that the conversion 
 from xmp to png (or eps) is not working 
 and that I would need to define a converter. 
 I guess I need some help on that. 
 In the Settings I tried to define several converters:
 like XPMPNG, XPMEPS... 
 but I don't know which converter to use (I tried it with: convert $$i $$o). 
 It just wouldn't work.
 
 Thanks for your help.
 
 Best regards,
 Bjoern
 
 
I just found out it's only the
German tutorial and manual
that has these weird xpm problems.

The outline function still doesn't work.
I can toggle it, but then no window or box
with the outline appears.
Also double clicking on the TOC for editing
doesn't work...







Re: Problem with LYX

2007-11-08 Thread Richard Heck

Pietro Barbujani wrote:

Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?
  
It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.


rh
 



  



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller
Dear Bennett,


 I cannot confirm: showing outline works fine for me (and I rely on it  
 all the time). Can you give us more details on your system: PPC vs  
 Intel Mac, what version of the OS, etc. (Are you running LyX in German?)

Yes, I am running LyX 1.5.2 in German.
Before I had LyX 1.4.something. The folder is still preserved.
Maybe some disturbance there?! 
My system: iBook G4, 1.33 MhZ, 1.5 GB RAM, 
Mac OS X 10.4.10 with the latest MacTexLive - 2007 Distribution.
Maybe it's got something to do with me trying to manually uninstall/delete 
the other TEX distribution that was located in /usr/local, 
namely geweTeX, that I installed last year with i-installer.
 
 
 You shouldn't need to define any additional converters here; it  
 should just work so long as you have the relevant software installed,  
 such as ImageMagick (which I assume you do). Have you tried  
 reconfiguring LyX (LyX  Reconfigure)?


I tried reconfiguring. No change though. 
ImageMagick should have been installed with the MacTexLive-2007 Distribution.
 
 By the way, does the tutorial have any figures? Quickly glancing  
 through, I didn't see any; did you mean some other document?

Yes, that's the strange thing. No figures in the tutorial. 
The same happens with the user's manual.
 
Thanks for trying. 

Bjoern







Re: R: Problem with LYX

2007-11-08 Thread Richard Heck

Pietro Barbujani wrote:

Ok, but I tried also with another computer and with the last version LYX
1.5.2: there is the same problem.
Can you help me?
If you want I'll send my file in lyx.
  
LyX hasn't got anything to do with it, I expect. It'd be better to look 
at the LaTeX. Are you setting page numbers manually somewhere?


rh

Pietro


-Messaggio originale-
Da: Richard Heck [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 8 novembre 2007 18.36

A: Pietro Barbujani
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Problem with LYX

Pietro Barbujani wrote:
  

Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?
  

It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.


rh
  
 



  




  



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



R: Problem with LYX

2007-11-08 Thread Pietro Barbujani

Ok, but I tried also with another computer and with the last version LYX
1.5.2: there is the same problem.
Can you help me?
If you want I'll send my file in lyx.

Pietro


-Messaggio originale-
Da: Richard Heck [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 8 novembre 2007 18.36
A: Pietro Barbujani
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Problem with LYX

Pietro Barbujani wrote:
 Hi, I'm Pietro from Italy.

 I'm writing my Master thesis, using KOOMA BOOK document in LYX.

 The problem are the margins because the right margin is larger in the odd
 pages while I would like a larger margin on the even pages...

 How can I do?
   
It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.

rh
  


   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 07/11/2007
22.52




Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Richard Heck

Winson wrote:
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:


#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}


# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on Title in style combo box on the toolbar, I got error message Undefined 
control sequence at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 


Thanks in advance for your help.
  

Which command is it that is undefined? That would be a start.

rh

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status unmaintained.
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,

% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= ucthesis.cls,
%%% version = 3.2,
%%% date= 19 December 2004,
%%% license = LPPL,
%%% codetable   = ISO/ASCII,
%%% keywords= LaTeX, ucthesis,
%%% docstring   = This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%			   v2.7 by Ethan V. Munson, with no changes other 
%%%			   than those for compatibility.  The major modifictions

%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%			   
%%%			   UCTHESIS.STY v2.7 is based on the standard

%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%			   version of 20 Jun 1988.  The bug was that 
%%%			   draft optional mode didn't work because of

%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).

%%%
%%%			   Version 2.3 includes a single-spaced 
%%%			   tabular* environment.

%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%			   are converting option processing to LaTeX2e 
%%%			   conventions.  The uct1x files have been revised

%%%  

Problem with LYX

2007-11-08 Thread Pietro Barbujani
Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?

 

Thanks

Pietro

 

 



Change tracking in LyX and multiple users

2007-11-08 Thread [EMAIL PROTECTED]

Hi,

I want to track changes in LyX in the same way that I do with my  
computer programs in C++, and for that purpose I use CVS. I look at  
the mail list but did not found relevant information about this.


How do you generally track the changes in your documents ? what do you  
think is the best system ? Do you recommend CVS or another one ?


By the way, my objective is also to have several users working on the  
same LyX document at the same time. What do you think is the best  
approach ?


Thanks

Horacio




Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
Richard Heck [EMAIL PROTECTED] writes:

 Which command is it that is undefined? That would be a start.
 
 rh

Richard,

It shows that it is \maketitle. I looked through ucthesis.cls, it is actually 
defined in the file. I figure that I might need to redefine it or provide some 
parameters for it in my document or layout file. But I just do not know how to 
do it.

Thanks,

Winson






Re: Lyx MikTex Failure

2007-11-08 Thread Uwe Stöhr

Adrian Peter schrieb:


MiKTeX Problem Report

Message: The TPM file could not be parsed.


This is a problem of MiKTeX. To fix this, update your MiKteX-installation using 
MiKTeX's update manager.

(When you install LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller
This will automatically done when LyX is installed.)

If the update doesn't help, please send a bug report to the MiKTeX developer.

regards Uwe


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:57:51 Bruce Pourciau wrote:
 When I try to open example lyx files posted on this list, I get a
 conversion script failure: filename.lyz is from an earlier version
 of lyx, but the lyx2lyx script failed to convert it I'm running LyX
 1.4.1. Must I upgrade to 1.5?

  To read this file you need version 1.4.5.1. Or as you suggested version 1.5.

  I would recommend an upgrade, but then I am biased. :-)

  BTW for what is worth the new error messages in this case is more accurate 
saying that the file is from a different version.

 Bruce

-- 
José Abílio


Script Conversion Failure

2007-11-08 Thread Bruce Pourciau

Sorry, here's my question with a corrected title:

When I try to open example lyx files posted on this list, I get a  
conversion script failure: filename.lyz is from an earlier version  
of lyx, but the lyx2lyx script failed to convert it I'm running LyX  
1.4.1. Must I upgrade to 1.5?


Bruce


heading is missing in one page

2007-11-08 Thread Tobias Kraus
Hi

I write my md-thesis with lyx, report(koma-script). As Pagestyle I
chose headings. It works fine except in Chapter 5 there is no
heading following. Instead lyx inserts an empty page with just the
heading. When I change to report as the document class (without
komascript) the headings are fine.

I don't know how to solve this. Any help is appreciated.

Tobi


Enumarating lists and continuation at particular depth

2007-11-08 Thread Manveru
Hi All,

I know it could be treated as lame question, but:

How to create something like this in LyX:

This is an example of a list:

   1. LyX is cool (first level)
   (a) Something new (second level)
   (b) Something old (second level)
   But many things needs time to understand (continuation of the 1st)
   2. LaTeX generated really nice looking documents (first level)
   (a) Element one at second level
   (b) Element two at second level
   and here it goes the continuation of the first level
   3. Next element at first level
   (a) Element at second level
   4. Next element at first level (no continuation from previous point)

What I need is to continue the text at particular level before I put new
enumerated position on the list.

Now I put standard paragraph for continuations, but I loose formating and
continuous enumeration then.

Any advices??

Thanks in advance.
-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:00:30 Manveru wrote:
 What I need is to continue the text at particular level before I put new
 enumerated position on the list.

 Now I put standard paragraph for continuations, but I loose formating and
 continuous enumeration then.

 Any advices??

  Something like what follows attached?

 Thanks in advance.
 --
 Manveru



-- 
José Abílio


cont.lyx
Description: application/lyx


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread Bruce Pourciau


When I try to open example lyx files posted on this list, I get a  
conversion script failure: filename.lyz is from an earlier version  
of lyx, but the lyx2lyx script failed to convert it I'm running LyX  
1.4.1. Must I upgrade to 1.5?


Bruce



Re: toggle math mode

2007-11-08 Thread Uwe Stöhr

Joris van Zwieten schrieb:


I'm very used to writing math in plain latex. For me, this works much
easier than using the visual math editor. In lyx, I found out that I
could write a large formula in plain latex, then select it and click
the 'math mode' button and it would convert the formula to its
graphical equivalent, which is great. However, I haven't been able to
find out how I can change from the graphical display back to the latex
source again.


You can use the menu View - Source. But LyX's math editor already has the possibility to write 
LaTeX and get directly the result visually:

Type in a formula e.g.
\frac
follwed by a space and you get a fraction.

regards Uwe


Lyx MikTex Failure

2007-11-08 Thread Adrian Peter
Hi,

 

I installed version 1.5.1 of Lyx on my windows box (Vista).  The full
installer also downloaded and installed MikTex as required.  However, when I
try to use MikTex to update some packages I get the following error:

 

MiKTeX Problem Report

Message: The TPM file could not be parsed.

Data: C:\Program Files\MiKTeX 2.6\tpm\packages\foilhtml.tpm

Source: C:\work3\miktex-2.6\Libraries\MiKTeX\PackageManager\TpmParser.cpp

Line: 358

MiKTeX: 2.6

OS: Microsoft Windows Vista Home Premium Edition (Build 6000)

SystemAdmin: no

PowerUser: no

SharedSetup: unknown

BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin

Root0: C:\Users\Adrian\AppData\Roaming\MiKTeX\2.6

Root1: C:\Users\Adrian\AppData\Local\MiKTeX\2.6

Root2: C:\Program Files\MiKTeX 2.6

Install: C:\Program Files\MiKTeX 2.6

UserConfig: C:\Users\Adrian\AppData\Roaming\MiKTeX\2.6

UserData: C:\Users\Adrian\AppData\Local\MiKTeX\2.6

 

Does anyone know what is going on?  Thank you in advance.

 

Adrian

 



Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread Bennett Helm

On Nov 8, 2007, at 11:52 AM, BjörnMüller wrote:


Dear Bennett,



I cannot confirm: showing outline works fine for me (and I rely on it
all the time). Can you give us more details on your system: PPC vs
Intel Mac, what version of the OS, etc. (Are you running LyX in  
German?)


Yes, I am running LyX 1.5.2 in German.
Before I had LyX 1.4.something. The folder is still preserved.
Maybe some disturbance there?!


That shouldn't cause a problem, since 1.5.2 should use a separate  
user's directory (at ~/Library/Application Support/LyX-1.5).



My system: iBook G4, 1.33 MhZ, 1.5 GB RAM,
Mac OS X 10.4.10 with the latest MacTexLive - 2007 Distribution.
Maybe it's got something to do with me trying to manually uninstall/ 
delete

the other TEX distribution that was located in /usr/local,
namely geweTeX, that I installed last year with i-installer.


If convert is working on its own from the command line, it should  
work from within LyX. Did you test that?



You shouldn't need to define any additional converters here; it
should just work so long as you have the relevant software installed,
such as ImageMagick (which I assume you do). Have you tried
reconfiguring LyX (LyX  Reconfigure)?



I tried reconfiguring. No change though.
ImageMagick should have been installed with the MacTexLive-2007  
Distribution.


Do other graphics work? -- If you insert a .jpg figure into a LyX  
file and typeset, does it work?



By the way, does the tutorial have any figures? Quickly glancing
through, I didn't see any; did you mean some other document?


Yes, that's the strange thing. No figures in the tutorial.
The same happens with the user's manual.


I've tried setting my language to German and running LyX, and I see  
that the German tutorial does have some figures. I was able to  
typeset it properly, however.


Concerning Document  Outline: Does anything show up in Console.app  
when you try viewing an outline? ... I also wonder if anyone else  
with a PPC Mac is having problems with this or the TOC box. (Anders?)


Bennett

logo in headline

2007-11-08 Thread Leo Gürtler
Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo



Compiling V1.5.2 for Ubuntu Feisty Fawn

2007-11-08 Thread Michael Rapson
Hi there,

Since the Ubuntu repositories are very far behind in the LyX version I
installed 1.5.2 from the source. It was the first program that I have
compiled on my machine so I had some hassles getting the packages
sorted out but once that was done the only thing that failed in the
./configure file was determining the size of wchar_t. I eventually got
it from a c++ program made to print out the size of a wchar_t
variable. The line I ran to configure it was: ./configure
ac_cv_sizeof_wchar_t=4 and all else went smoothly.

I am delighted to see that the mathmode now displays the greek
characters in the LyX window and the upgrade also means that some
images that didn't display in DVI are now showing.

Hope this feedback is helpful

Cheers,
michael


Re: Issues with LyX

2007-11-08 Thread Nicolás

Salim Namik wrote:

Hi,

I have recently started using LyX 1.5.2 and have few questions regarding
formatting figures (especially in IEEEtrans class document):

1. How can I change the the style of the caption HEADER? e.g. make the caption
at the center of the page, or make the word Figure italic?

I am not sure, but maybe you cannot modify the format of a Figure caption without modifying the latex class or style you are using. If 
a journal releases a layout, it is normally because they want all papers to look the same, so it has no sense you to do what you want.



2. I create a lot of diagrams in MS Word and I to insert them in LyX, but when I
do, the quality of the figure is rubbish!! what is the best format for diagrams
made by MS Word?


Look here: http://wiki.lyx.org/Windows/WinGraphics

I personally use the OLETeX program (can be downloaded from www.sourceforge.net/projects/oletex) to make the conversion of Visio 
diagrams or any other Microsoft/OLE-based diagram into EPS figures. It works great! The program is rather simple to install and to use. 
Assuming that you have this program installed, this are the steps to make the conversion:


1- Select and copy the diagram in Visio, Powerpoint, Word, etc
2- Copy it into the OTEditor
3- Choose EPS properties and select the size of the figure (this is optional)
4- Choose Convert.. and that's it!

The generated EPS has a correct bounding box.



3. When cross-referencing figures, how can I make LyX automatically put Figure
2 instead of 2 or Figure 2 on page 3?

Your help is most appreciated.

Kind Regards,

Salim Namik

--
Salim Namik
PhD Candidate
Department of Electrical  Computer Engineering
The University of Auckland





Re: two questions on numbering - NEWBIE

2007-11-08 Thread Helge Hafting

Michael Thompson wrote:

Yitzhak Zangi [EMAIL PROTECTED] writes:

  

1) How to number the paragrphs without order (e.g. answer question 2 before
question 1) such that the paragraphs will look like in the Enumarate
environment?

In the default Article class, the standard indentation for List is pretty deep.  
  

Easily fixable: edit-paragraph settings
Then change the longest label to something shorter, like 00
if two digits is all you need.

Helge Hafting


Re: logo in headline

2007-11-08 Thread icebna

In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory. In 
my example is /home/miguel as can view, and my logo is ant.eps


I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo







smime.p7s
Description: S/MIME Cryptographic Signature


Re: Select Branch from Command line?

2007-11-08 Thread Ethan Metsger
On Wed, 07 Nov 2007 19:15:12 -0500, Richard Heck [EMAIL PROTECTED]  
wrote:


I don't see any LFUN for this at the moment, but it shouldn't be  
terribly difficult to add one. File an enhancement request.


Done.

Well, that depends upon your OS. On Linux, HTML export works pretty  
well, though of course your results depend upon what LaTeX to HTML  
converter you use. On other OS's, mileage seems to vary, mostly because  
htlatex is buggy on Windows. But you might try the relatively new  
Plastex converter, which is written in Python and so ought to be more  
portable. I've been meaning to add a line to configure.py that would  
detect and install it but just haven't gotten around to it.


I'm using Ubuntu, and I've tried htlatex, tex4ht, and tth.  I also just  
downloaded plasTeX; it'll take a little bit of fiddling for me to evaluate  
it properly, but it looks like it could be a reasonable solution.  It  
seems like it chokes on using babel and koma-script classes (the latter  
also broke tex4ht, if I recall correctly).  Using the default document  
settings I've set up breaks plasTeX, but it shouldn't be too difficult to  
transform the output LaTeX document if needed.


All that aside, plasTeX does look really interesting--and I'll definitely  
pursue it.  LyX has been a great tool for me personally (I got started  
using it for my thesis) and I'm really hoping that I can spur its adoption  
in the office.



Best,

Ethan
([EMAIL PROTECTED])


LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller
Dear All,

I have some sincere problems.

1) The outline function (in German Gliederung) 
(found in Documents[underneath LaTeX Protocol] 
doesn't work. When I activate it I get no options, 
no outline showing up or anything.

2) Converter Problems: When trying to look at 
e.g. the Tutorial File in PDF (pdflatex) or DVI or PS 
I always get a message telling me that the conversion 
from xmp to png (or eps) is not working 
and that I would need to define a converter. 
I guess I need some help on that. 
In the Settings I tried to define several converters:
like XPMPNG, XPMEPS... 
but I don't know which converter to use (I tried it with: convert $$i $$o). 
It just wouldn't work.

Thanks for your help.

Best regards,
Bjoern



Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:

#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}

# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on Title in style combo box on the toolbar, I got error message Undefined 
control sequence at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 

Thanks in advance for your help.

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status unmaintained.
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,
% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= ucthesis.cls,
%%% version = 3.2,
%%% date= 19 December 2004,
%%% license = LPPL,
%%% codetable   = ISO/ASCII,
%%% keywords= LaTeX, ucthesis,
%%% docstring   = This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%v2.7 by Ethan V. Munson, with no changes other 
%%%than those for compatibility.  The major modifictions
%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%
%%%UCTHESIS.STY v2.7 is based on the standard
%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%version of 20 Jun 1988.  The bug was that 
%%%draft optional mode didn't work because of
%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).
%%%
%%%Version 2.3 includes a single-spaced 
%%%tabular* environment.
%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%are converting option processing to LaTeX2e 
%%%

Re: toggle math mode

2007-11-08 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You can use the possibility to view the LaTeX code and copy back from 
the code window into the lyx window if you want to edit the latex code.
I tried it on Windows XP, and it works ( ctrl-c   - ctrl-V to 
copy-paste the LaTeX code and ctrl-M to convert it into math.


Siegfried


Re: logo in headline

2007-11-08 Thread icebna

See in the line 5, the example :


\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}} Here you 
must put the path to testlogo.eps, for example in Linux 
{/home/miguel/testlogo.eps}} or Windows {C:\testlogo.eps}} if you 
testlogo.eps are in the C:\ directory


\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

yes you're right but this does not make a difference, if I put all the
stuff in the latex preambel, see below for the error messages: it seems
that a } is wrong, but I don't get it.

best,
leo

that's all what's in the preambel + some dummy text in the document
(docuclass: komascript article or book):

###
\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}}

\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###


the following errors appear:

Argument of [EMAIL PROTECTED] has an extra }:

...\includegraphics[width=1cm]{testlogo.eps}}

I've run across a `}' that doesn't seem to match anything.

For example, `\def\a#1{...}' and `\a}' would produce

this error. If you simply proceed now, the `\par' that

I've just inserted will cause me to report a runaway

argument that might be the root of the problem. But if

your `}' was spurious, just type `2' and it will go away.


Paragraph ended before [EMAIL PROTECTED] was complete.:


...\includegraphics[width=1cm]{testlogo.eps}}

I suspect you've forgotten a `}', causing me to apply this

control sequence to too much text. How can we recover?

My plan is to forget the whole thing and hope for the best.


Undefined control sequence:

\rhead

{\smallskip\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


LaTeX Error: Missing \begin{document}:


\rhead{\smallskip\usebox{\mylogo}

}

You're in trouble here. Try typing return to proceed.

If that doesn't work, type X return to quit.


Undefined control sequence:

\rhead

{\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.






Hello Leo :

Don't is in the ERT box, is in the menu Document → Configuration →
Preamble LaTex where you must copy the piece code that I send you.


Regards


Miguel





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

thanks a lot - but I got error messages. If it is ok I added my lyx file
tot his mail, maybe you can help me or send me a small example (lyx
file) from you (which works for you).

thank your very much,
best regards

leo


In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory.
In my example is /home/miguel as can view, and my logo is ant.eps

I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the
head of
each page (I use koma-script).
thanks.

best wishes
leo












smime.p7s
Description: S/MIME Cryptographic Signature


Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread Bennett Helm

On Nov 8, 2007, at 8:26 AM, BjörnMüller wrote:


Dear All,

I have some sincere problems.

1) The outline function (in German Gliederung)
(found in Documents[underneath LaTeX Protocol]
doesn't work. When I activate it I get no options,
no outline showing up or anything.


I cannot confirm: showing outline works fine for me (and I rely on it  
all the time). Can you give us more details on your system: PPC vs  
Intel Mac, what version of the OS, etc. (Are you running LyX in German?)



2) Converter Problems: When trying to look at
e.g. the Tutorial File in PDF (pdflatex) or DVI or PS
I always get a message telling me that the conversion
from xmp to png (or eps) is not working
and that I would need to define a converter.
I guess I need some help on that.
In the Settings I tried to define several converters:
like XPMPNG, XPMEPS...
but I don't know which converter to use (I tried it with: convert $ 
$i $$o).

It just wouldn't work.


You shouldn't need to define any additional converters here; it  
should just work so long as you have the relevant software installed,  
such as ImageMagick (which I assume you do). Have you tried  
reconfiguring LyX (LyX  Reconfigure)?


By the way, does the tutorial have any figures? Quickly glancing  
through, I didn't see any; did you mean some other document?


Bennett

Re: logo in headline

2007-11-08 Thread icebna

Hello Leo :

Don't is in the ERT box, is in the menu Document → Configuration → 
Preamble LaTex where you must copy the piece code that I send you.



Regards


Miguel





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

thanks a lot - but I got error messages. If it is ok I added my lyx file
tot his mail, maybe you can help me or send me a small example (lyx
file) from you (which works for you).

thank your very much,
best regards

leo


In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory.
In my example is /home/miguel as can view, and my logo is ant.eps

I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo











smime.p7s
Description: S/MIME Cryptographic Signature


Re: logo in headline

2007-11-08 Thread Leo Gürtler
icebna schrieb:

Dear Miguel,

yes you're right but this does not make a difference, if I put all the
stuff in the latex preambel, see below for the error messages: it seems
that a } is wrong, but I don't get it.

best,
leo

that's all what's in the preambel + some dummy text in the document
(docuclass: komascript article or book):

###
\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}}

\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###


the following errors appear:

Argument of [EMAIL PROTECTED] has an extra }:

...\includegraphics[width=1cm]{testlogo.eps}}

I've run across a `}' that doesn't seem to match anything.

For example, `\def\a#1{...}' and `\a}' would produce

this error. If you simply proceed now, the `\par' that

I've just inserted will cause me to report a runaway

argument that might be the root of the problem. But if

your `}' was spurious, just type `2' and it will go away.


Paragraph ended before [EMAIL PROTECTED] was complete.:


...\includegraphics[width=1cm]{testlogo.eps}}

I suspect you've forgotten a `}', causing me to apply this

control sequence to too much text. How can we recover?

My plan is to forget the whole thing and hope for the best.


Undefined control sequence:

\rhead

{\smallskip\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


LaTeX Error: Missing \begin{document}:


\rhead{\smallskip\usebox{\mylogo}

}

You're in trouble here. Try typing return to proceed.

If that doesn't work, type X return to quit.


Undefined control sequence:

\rhead

{\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.





 Hello Leo :

 Don't is in the ERT box, is in the menu Document → Configuration →
 Preamble LaTex where you must copy the piece code that I send you.


 Regards


 Miguel





 Leo Gürtler escribió:
 icebna schrieb:

 Dear Miguel,

 thanks a lot - but I got error messages. If it is ok I added my lyx file
 tot his mail, maybe you can help me or send me a small example (lyx
 file) from you (which works for you).

 thank your very much,
 best regards

 leo

 In the preamble of document write the next command :

 \newsavebox{\mylogo}
 \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
 \rhead{\smallskip\usebox{\mylogo}}
 \rhead{\usebox{\mylogo}}

 Previously make the logo in .eps format and put it in any directory.
 In my example is /home/miguel as can view, and my logo is ant.eps

 I hope that work fine

 Regards


 Miguel





 Leo Gürtler escribió:
 Dear lyx-list,

 ist there a possibility to insert a small graphic (logo) on the
 head of
 each page (I use koma-script).
 thanks.

 best wishes
 leo









toggle math mode

2007-11-08 Thread Joris van Zwieten
Hi,

I'm very used to writing math in plain latex. For me, this works much
easier than using the visual math editor. In lyx, I found out that I
could write a large formula in plain latex, then select it and click
the 'math mode' button and it would convert the formula to its
graphical equivalent, which is great. However, I haven't been able to
find out how I can change from the graphical display back to the latex
source again. This would be very useful, because then I could edit the
function in plain latex and toggle to graphical display again. Is this
possible in lyx?

Thanks,

Joris van Zwieten


Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller


BjörnMüller [EMAIL PROTECTED] writes:

 
 Dear All,
 
 I have some sincere problems.
 
 1) The outline function (in German Gliederung) 
 (found in Documents[underneath LaTeX Protocol] 
 doesn't work. When I activate it I get no options, 
 no outline showing up or anything.
 
 2) Converter Problems: When trying to look at 
 e.g. the Tutorial File in PDF (pdflatex) or DVI or PS 
 I always get a message telling me that the conversion 
 from xmp to png (or eps) is not working 
 and that I would need to define a converter. 
 I guess I need some help on that. 
 In the Settings I tried to define several converters:
 like XPMPNG, XPMEPS... 
 but I don't know which converter to use (I tried it with: convert $$i $$o). 
 It just wouldn't work.
 
 Thanks for your help.
 
 Best regards,
 Bjoern
 
 
I just found out it's only the
German tutorial and manual
that has these weird xpm problems.

The outline function still doesn't work.
I can toggle it, but then no window or box
with the outline appears.
Also double clicking on the TOC for editing
doesn't work...







Re: Problem with LYX

2007-11-08 Thread Richard Heck

Pietro Barbujani wrote:

Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?
  
It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.


rh
 



  



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller
Dear Bennett,


 I cannot confirm: showing outline works fine for me (and I rely on it  
 all the time). Can you give us more details on your system: PPC vs  
 Intel Mac, what version of the OS, etc. (Are you running LyX in German?)

Yes, I am running LyX 1.5.2 in German.
Before I had LyX 1.4.something. The folder is still preserved.
Maybe some disturbance there?! 
My system: iBook G4, 1.33 MhZ, 1.5 GB RAM, 
Mac OS X 10.4.10 with the latest MacTexLive - 2007 Distribution.
Maybe it's got something to do with me trying to manually uninstall/delete 
the other TEX distribution that was located in /usr/local, 
namely geweTeX, that I installed last year with i-installer.
 
 
 You shouldn't need to define any additional converters here; it  
 should just work so long as you have the relevant software installed,  
 such as ImageMagick (which I assume you do). Have you tried  
 reconfiguring LyX (LyX  Reconfigure)?


I tried reconfiguring. No change though. 
ImageMagick should have been installed with the MacTexLive-2007 Distribution.
 
 By the way, does the tutorial have any figures? Quickly glancing  
 through, I didn't see any; did you mean some other document?

Yes, that's the strange thing. No figures in the tutorial. 
The same happens with the user's manual.
 
Thanks for trying. 

Bjoern







Re: R: Problem with LYX

2007-11-08 Thread Richard Heck

Pietro Barbujani wrote:

Ok, but I tried also with another computer and with the last version LYX
1.5.2: there is the same problem.
Can you help me?
If you want I'll send my file in lyx.
  
LyX hasn't got anything to do with it, I expect. It'd be better to look 
at the LaTeX. Are you setting page numbers manually somewhere?


rh

Pietro


-Messaggio originale-
Da: Richard Heck [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 8 novembre 2007 18.36

A: Pietro Barbujani
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Problem with LYX

Pietro Barbujani wrote:
  

Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?
  

It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.


rh
  
 



  




  



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



R: Problem with LYX

2007-11-08 Thread Pietro Barbujani

Ok, but I tried also with another computer and with the last version LYX
1.5.2: there is the same problem.
Can you help me?
If you want I'll send my file in lyx.

Pietro


-Messaggio originale-
Da: Richard Heck [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 8 novembre 2007 18.36
A: Pietro Barbujani
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Problem with LYX

Pietro Barbujani wrote:
 Hi, I'm Pietro from Italy.

 I'm writing my Master thesis, using KOOMA BOOK document in LYX.

 The problem are the margins because the right margin is larger in the odd
 pages while I would like a larger margin on the even pages...

 How can I do?
   
It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.

rh
  


   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 07/11/2007
22.52




Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Richard Heck

Winson wrote:
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:


#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}


# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on Title in style combo box on the toolbar, I got error message Undefined 
control sequence at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 


Thanks in advance for your help.
  

Which command is it that is undefined? That would be a start.

rh

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status unmaintained.
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,

% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= ucthesis.cls,
%%% version = 3.2,
%%% date= 19 December 2004,
%%% license = LPPL,
%%% codetable   = ISO/ASCII,
%%% keywords= LaTeX, ucthesis,
%%% docstring   = This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%			   v2.7 by Ethan V. Munson, with no changes other 
%%%			   than those for compatibility.  The major modifictions

%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%			   
%%%			   UCTHESIS.STY v2.7 is based on the standard

%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%			   version of 20 Jun 1988.  The bug was that 
%%%			   draft optional mode didn't work because of

%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).

%%%
%%%			   Version 2.3 includes a single-spaced 
%%%			   tabular* environment.

%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%			   are converting option processing to LaTeX2e 
%%%			   conventions.  The uct1x files have been revised

%%%  

Problem with LYX

2007-11-08 Thread Pietro Barbujani
Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?

 

Thanks

Pietro

 

 



Change tracking in LyX and multiple users

2007-11-08 Thread [EMAIL PROTECTED]

Hi,

I want to track changes in LyX in the same way that I do with my  
computer programs in C++, and for that purpose I use CVS. I look at  
the mail list but did not found relevant information about this.


How do you generally track the changes in your documents ? what do you  
think is the best system ? Do you recommend CVS or another one ?


By the way, my objective is also to have several users working on the  
same LyX document at the same time. What do you think is the best  
approach ?


Thanks

Horacio




Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
Richard Heck [EMAIL PROTECTED] writes:

 Which command is it that is undefined? That would be a start.
 
 rh

Richard,

It shows that it is \maketitle. I looked through ucthesis.cls, it is actually 
defined in the file. I figure that I might need to redefine it or provide some 
parameters for it in my document or layout file. But I just do not know how to 
do it.

Thanks,

Winson






Re: Lyx MikTex Failure

2007-11-08 Thread Uwe Stöhr

Adrian Peter schrieb:


MiKTeX Problem Report

Message: The TPM file could not be parsed.


This is a problem of MiKTeX. To fix this, update your MiKteX-installation using 
MiKTeX's update manager.

(When you install LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller
This will automatically done when LyX is installed.)

If the update doesn't help, please send a bug report to the MiKTeX developer.

regards Uwe


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:57:51 Bruce Pourciau wrote:
 When I try to open example lyx files posted on this list, I get a
 conversion script failure: filename.lyz is from an earlier version
 of lyx, but the lyx2lyx script failed to convert it I'm running LyX
 1.4.1. Must I upgrade to 1.5?

  To read this file you need version 1.4.5.1. Or as you suggested version 1.5.

  I would recommend an upgrade, but then I am biased. :-)

  BTW for what is worth the new error messages in this case is more accurate 
saying that the file is from a different version.

 Bruce

-- 
José Abílio


Script Conversion Failure

2007-11-08 Thread Bruce Pourciau

Sorry, here's my question with a corrected title:

When I try to open example lyx files posted on this list, I get a  
conversion script failure: filename.lyz is from an earlier version  
of lyx, but the lyx2lyx script failed to convert it I'm running LyX  
1.4.1. Must I upgrade to 1.5?


Bruce


heading is missing in one page

2007-11-08 Thread Tobias Kraus
Hi

I write my md-thesis with lyx, report(koma-script). As Pagestyle I
chose headings. It works fine except in Chapter 5 there is no
heading following. Instead lyx inserts an empty page with just the
heading. When I change to report as the document class (without
komascript) the headings are fine.

I don't know how to solve this. Any help is appreciated.

Tobi


Enumarating lists and continuation at particular depth

2007-11-08 Thread Manveru
Hi All,

I know it could be treated as lame question, but:

How to create something like this in LyX:

This is an example of a list:

   1. LyX is cool (first level)
   (a) Something new (second level)
   (b) Something old (second level)
   But many things needs time to understand (continuation of the 1st)
   2. LaTeX generated really nice looking documents (first level)
   (a) Element one at second level
   (b) Element two at second level
   and here it goes the continuation of the first level
   3. Next element at first level
   (a) Element at second level
   4. Next element at first level (no continuation from previous point)

What I need is to continue the text at particular level before I put new
enumerated position on the list.

Now I put standard paragraph for continuations, but I loose formating and
continuous enumeration then.

Any advices??

Thanks in advance.
-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:00:30 Manveru wrote:
 What I need is to continue the text at particular level before I put new
 enumerated position on the list.

 Now I put standard paragraph for continuations, but I loose formating and
 continuous enumeration then.

 Any advices??

  Something like what follows attached?

 Thanks in advance.
 --
 Manveru



-- 
José Abílio


cont.lyx
Description: application/lyx


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread Bruce Pourciau


When I try to open example lyx files posted on this list, I get a  
conversion script failure: filename.lyz is from an earlier version  
of lyx, but the lyx2lyx script failed to convert it I'm running LyX  
1.4.1. Must I upgrade to 1.5?


Bruce



Re: toggle math mode

2007-11-08 Thread Uwe Stöhr

Joris van Zwieten schrieb:


I'm very used to writing math in plain latex. For me, this works much
easier than using the visual math editor. In lyx, I found out that I
could write a large formula in plain latex, then select it and click
the 'math mode' button and it would convert the formula to its
graphical equivalent, which is great. However, I haven't been able to
find out how I can change from the graphical display back to the latex
source again.


You can use the menu View - Source. But LyX's math editor already has the possibility to write 
LaTeX and get directly the result visually:

Type in a formula e.g.
\frac
follwed by a space and you get a fraction.

regards Uwe


Lyx MikTex Failure

2007-11-08 Thread Adrian Peter
Hi,

 

I installed version 1.5.1 of Lyx on my windows box (Vista).  The full
installer also downloaded and installed MikTex as required.  However, when I
try to use MikTex to update some packages I get the following error:

 

MiKTeX Problem Report

Message: The TPM file could not be parsed.

Data: C:\Program Files\MiKTeX 2.6\tpm\packages\foilhtml.tpm

Source: C:\work3\miktex-2.6\Libraries\MiKTeX\PackageManager\TpmParser.cpp

Line: 358

MiKTeX: 2.6

OS: Microsoft Windows Vista Home Premium Edition (Build 6000)

SystemAdmin: no

PowerUser: no

SharedSetup: unknown

BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin

Root0: C:\Users\Adrian\AppData\Roaming\MiKTeX\2.6

Root1: C:\Users\Adrian\AppData\Local\MiKTeX\2.6

Root2: C:\Program Files\MiKTeX 2.6

Install: C:\Program Files\MiKTeX 2.6

UserConfig: C:\Users\Adrian\AppData\Roaming\MiKTeX\2.6

UserData: C:\Users\Adrian\AppData\Local\MiKTeX\2.6

 

Does anyone know what is going on?  Thank you in advance.

 

Adrian

 



Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread Bennett Helm

On Nov 8, 2007, at 11:52 AM, BjörnMüller wrote:


Dear Bennett,



I cannot confirm: showing outline works fine for me (and I rely on it
all the time). Can you give us more details on your system: PPC vs
Intel Mac, what version of the OS, etc. (Are you running LyX in  
German?)


Yes, I am running LyX 1.5.2 in German.
Before I had LyX 1.4.something. The folder is still preserved.
Maybe some disturbance there?!


That shouldn't cause a problem, since 1.5.2 should use a separate  
user's directory (at ~/Library/Application Support/LyX-1.5).



My system: iBook G4, 1.33 MhZ, 1.5 GB RAM,
Mac OS X 10.4.10 with the latest MacTexLive - 2007 Distribution.
Maybe it's got something to do with me trying to manually uninstall/ 
delete

the other TEX distribution that was located in /usr/local,
namely geweTeX, that I installed last year with i-installer.


If convert is working on its own from the command line, it should  
work from within LyX. Did you test that?



You shouldn't need to define any additional converters here; it
should just work so long as you have the relevant software installed,
such as ImageMagick (which I assume you do). Have you tried
reconfiguring LyX (LyX  Reconfigure)?



I tried reconfiguring. No change though.
ImageMagick should have been installed with the MacTexLive-2007  
Distribution.


Do other graphics work? -- If you insert a .jpg figure into a LyX  
file and typeset, does it work?



By the way, does the tutorial have any figures? Quickly glancing
through, I didn't see any; did you mean some other document?


Yes, that's the strange thing. No figures in the tutorial.
The same happens with the user's manual.


I've tried setting my language to German and running LyX, and I see  
that the German tutorial does have some figures. I was able to  
typeset it properly, however.


Concerning Document  Outline: Does anything show up in Console.app  
when you try viewing an outline? ... I also wonder if anyone else  
with a PPC Mac is having problems with this or the TOC box. (Anders?)


Bennett

logo in headline

2007-11-08 Thread Leo Gürtler
Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo



Compiling V1.5.2 for Ubuntu Feisty Fawn

2007-11-08 Thread Michael Rapson
Hi there,

Since the Ubuntu repositories are very far behind in the LyX version I
installed 1.5.2 from the source. It was the first program that I have
compiled on my machine so I had some hassles getting the packages
sorted out but once that was done the only thing that failed in the
./configure file was determining the size of wchar_t. I eventually got
it from a c++ program made to print out the size of a wchar_t
variable. The line I ran to configure it was: ./configure
ac_cv_sizeof_wchar_t=4 and all else went smoothly.

I am delighted to see that the mathmode now displays the greek
characters in the LyX window and the upgrade also means that some
images that didn't display in DVI are now showing.

Hope this feedback is helpful

Cheers,
michael


Re: Issues with LyX

2007-11-08 Thread Nicolás

Salim Namik wrote:

Hi,

I have recently started using LyX 1.5.2 and have few questions regarding
formatting figures (especially in IEEEtrans class document):

1. How can I change the the style of the caption HEADER? e.g. make the caption
at the center of the page, or make the word "Figure" italic?

I am not sure, but maybe you cannot modify the format of a Figure caption without modifying the latex class or style you are using. If 
a journal releases a layout, it is normally because they want all papers to look the same, so it has no sense you to do what you want.



2. I create a lot of diagrams in MS Word and I to insert them in LyX, but when I
do, the quality of the figure is rubbish!! what is the best format for diagrams
made by MS Word?


Look here: http://wiki.lyx.org/Windows/WinGraphics

I personally use the OLETeX program (can be downloaded from www.sourceforge.net/projects/oletex) to make the conversion of Visio 
diagrams or any other Microsoft/OLE-based diagram into EPS figures. It works great! The program is rather simple to install and to use. 
Assuming that you have this program installed, this are the steps to make the conversion:


1- Select and copy the diagram in Visio, Powerpoint, Word, etc
2- Copy it into the OTEditor
3- Choose "EPS properties" and select the size of the figure (this is optional)
4- Choose "Convert.." and that's it!

The generated EPS has a correct bounding box.



3. When cross-referencing figures, how can I make LyX automatically put "Figure
2" instead of "2" or "Figure 2 on page 3"?

Your help is most appreciated.

Kind Regards,

Salim Namik

--
Salim Namik
PhD Candidate
Department of Electrical & Computer Engineering
The University of Auckland





Re: two questions on numbering - NEWBIE

2007-11-08 Thread Helge Hafting

Michael Thompson wrote:

Yitzhak Zangi <[EMAIL PROTECTED]> writes:

  

1) How to number the paragrphs without order (e.g. answer question 2 before
question 1) such that the paragraphs will look like in the "Enumarate"
environment?

In the default Article class, the standard indentation for List is pretty deep.  
  

Easily fixable: edit->paragraph settings
Then change the "longest label" to something shorter, like "00"
if two digits is all you need.

Helge Hafting


Re: logo in headline

2007-11-08 Thread icebna

In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory. In 
my example is /home/miguel as can view, and my logo is ant.eps


I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo







smime.p7s
Description: S/MIME Cryptographic Signature


Re: Select Branch from Command line?

2007-11-08 Thread Ethan Metsger
On Wed, 07 Nov 2007 19:15:12 -0500, Richard Heck <[EMAIL PROTECTED]>  
wrote:


I don't see any LFUN for this at the moment, but it shouldn't be  
terribly difficult to add one. File an enhancement request.


Done.

Well, that depends upon your OS. On Linux, HTML export works pretty  
well, though of course your results depend upon what LaTeX to HTML  
converter you use. On other OS's, mileage seems to vary, mostly because  
htlatex is buggy on Windows. But you might try the relatively new  
Plastex converter, which is written in Python and so ought to be more  
portable. I've been meaning to add a line to configure.py that would  
detect and install it but just haven't gotten around to it.


I'm using Ubuntu, and I've tried htlatex, tex4ht, and tth.  I also just  
downloaded plasTeX; it'll take a little bit of fiddling for me to evaluate  
it properly, but it looks like it could be a reasonable solution.  It  
seems like it chokes on using babel and koma-script classes (the latter  
also broke tex4ht, if I recall correctly).  Using the default document  
settings I've set up breaks plasTeX, but it shouldn't be too difficult to  
transform the output LaTeX document if needed.


All that aside, plasTeX does look really interesting--and I'll definitely  
pursue it.  LyX has been a great tool for me personally (I got started  
using it for my thesis) and I'm really hoping that I can spur its adoption  
in the office.



Best,

Ethan
([EMAIL PROTECTED])


LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller
Dear All,

I have some sincere problems.

1) The "outline" function (in German "Gliederung") 
(found in >Documents>[underneath LaTeX Protocol] 
doesn't work. When I activate it I get no options, 
no outline showing up or anything.

2) Converter Problems: When trying to look at 
e.g. the Tutorial File in PDF (pdflatex) or DVI or PS 
I always get a message telling me that the conversion 
from xmp to png (or eps) is not working 
and that I would need to define a converter. 
I guess I need some help on that. 
In the >Settings I tried to define several converters:
like XPM>PNG, XPM>EPS... 
but I don't know which converter to use (I tried it with: convert $$i $$o). 
It just wouldn't work.

Thanks for your help.

Best regards,
Bjoern



Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:

#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}

# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on "Title" in style combo box on the toolbar, I got error message "Undefined 
control sequence" at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 

Thanks in advance for your help.

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "unmaintained".
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,
% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= "ucthesis.cls",
%%% version = "3.2",
%%% date= "19 December 2004",
%%% license = "LPPL",
%%% codetable   = "ISO/ASCII",
%%% keywords= "LaTeX, ucthesis",
%%% docstring   = "This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%v2.7 by Ethan V. Munson, with no changes other 
%%%than those for compatibility.  The major modifictions
%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%
%%%UCTHESIS.STY v2.7 is based on the standard
%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%version of 20 Jun 1988.  The bug was that 
%%%"draft" optional mode didn't work because of
%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).
%%%
%%%Version 2.3 includes a single-spaced 
%%%tabular* environment.
%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%are converting option processing to 

Re: toggle math mode

2007-11-08 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
You can use the possibility to view the LaTeX code and copy back from 
the code window into the lyx window if you want to edit the latex code.
I tried it on Windows XP, and it works ( ctrl-c   -> ctrl-V to 
copy-paste the LaTeX code and ctrl-M to convert it into math.


Siegfried


Re: logo in headline

2007-11-08 Thread icebna

See in the line 5, the example :


\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}} Here you 
must put the path to testlogo.eps, for example in Linux 
{/home/miguel/testlogo.eps}} or Windows {C:\testlogo.eps}} if you 
testlogo.eps are in the C:\ directory


\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

yes you're right but this does not make a difference, if I put all the
stuff in the latex preambel, see below for the error messages: it seems
that a "}" is wrong, but I don't get it.

best,
leo

that's all what's in the preambel + some dummy text in the document
(docuclass: komascript article or book):

###
\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}}

\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###


the following errors appear:

Argument of [EMAIL PROTECTED] has an extra }:

...\includegraphics[width=1cm]{testlogo.eps}}

I've run across a `}' that doesn't seem to match anything.

For example, `\def\a#1{...}' and `\a}' would produce

this error. If you simply proceed now, the `\par' that

I've just inserted will cause me to report a runaway

argument that might be the root of the problem. But if

your `}' was spurious, just type `2' and it will go away.


Paragraph ended before [EMAIL PROTECTED] was complete.:


...\includegraphics[width=1cm]{testlogo.eps}}

I suspect you've forgotten a `}', causing me to apply this

control sequence to too much text. How can we recover?

My plan is to forget the whole thing and hope for the best.


Undefined control sequence:

\rhead

{\smallskip\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


LaTeX Error: Missing \begin{document}:


\rhead{\smallskip\usebox{\mylogo}

}

You're in trouble here. Try typing  to proceed.

If that doesn't work, type X  to quit.


Undefined control sequence:

\rhead

{\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.






Hello Leo :

Don't is in the ERT box, is in the menu Document → Configuration →
Preamble LaTex where you must copy the piece code that I send you.


Regards


Miguel





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

thanks a lot - but I got error messages. If it is ok I added my lyx file
tot his mail, maybe you can help me or send me a small example (lyx
file) from you (which works for you).

thank your very much,
best regards

leo


In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory.
In my example is /home/miguel as can view, and my logo is ant.eps

I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the
head of
each page (I use koma-script).
thanks.

best wishes
leo












smime.p7s
Description: S/MIME Cryptographic Signature


Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread Bennett Helm

On Nov 8, 2007, at 8:26 AM, BjörnMüller wrote:


Dear All,

I have some sincere problems.

1) The "outline" function (in German "Gliederung")
(found in >Documents>[underneath LaTeX Protocol]
doesn't work. When I activate it I get no options,
no outline showing up or anything.


I cannot confirm: showing outline works fine for me (and I rely on it  
all the time). Can you give us more details on your system: PPC vs  
Intel Mac, what version of the OS, etc. (Are you running LyX in German?)



2) Converter Problems: When trying to look at
e.g. the Tutorial File in PDF (pdflatex) or DVI or PS
I always get a message telling me that the conversion
from xmp to png (or eps) is not working
and that I would need to define a converter.
I guess I need some help on that.
In the >Settings I tried to define several converters:
like XPM>PNG, XPM>EPS...
but I don't know which converter to use (I tried it with: convert $ 
$i $$o).

It just wouldn't work.


You shouldn't need to define any additional converters here; it  
should just work so long as you have the relevant software installed,  
such as ImageMagick (which I assume you do). Have you tried  
reconfiguring LyX (LyX > Reconfigure)?


By the way, does the tutorial have any figures? Quickly glancing  
through, I didn't see any; did you mean some other document?


Bennett

Re: logo in headline

2007-11-08 Thread icebna

Hello Leo :

Don't is in the ERT box, is in the menu Document → Configuration → 
Preamble LaTex where you must copy the piece code that I send you.



Regards


Miguel





Leo Gürtler escribió:

icebna schrieb:

Dear Miguel,

thanks a lot - but I got error messages. If it is ok I added my lyx file
tot his mail, maybe you can help me or send me a small example (lyx
file) from you (which works for you).

thank your very much,
best regards

leo


In the preamble of document write the next command :

\newsavebox{\mylogo}
\savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
\rhead{\smallskip\usebox{\mylogo}}
\rhead{\usebox{\mylogo}}

Previously make the logo in .eps format and put it in any directory.
In my example is /home/miguel as can view, and my logo is ant.eps

I hope that work fine

Regards


Miguel





Leo Gürtler escribió:

Dear lyx-list,

ist there a possibility to insert a small graphic (logo) on the head of
each page (I use koma-script).
thanks.

best wishes
leo











smime.p7s
Description: S/MIME Cryptographic Signature


Re: logo in headline

2007-11-08 Thread Leo Gürtler
icebna schrieb:

Dear Miguel,

yes you're right but this does not make a difference, if I put all the
stuff in the latex preambel, see below for the error messages: it seems
that a "}" is wrong, but I don't get it.

best,
leo

that's all what's in the preambel + some dummy text in the document
(docuclass: komascript article or book):

###
\usepackage{scrpage2}

\pagestyle{scrheadings}

\usepackage{graphics}

\newsavebox{\mylogo}

\savebox{\mylogo}{\includegraphics[width=1cm]{testlogo.eps}}

\rhead{\smallskip\usebox{\mylogo}}

\rhead{\usebox{\mylogo}}

###


the following errors appear:

Argument of [EMAIL PROTECTED] has an extra }:

...\includegraphics[width=1cm]{testlogo.eps}}

I've run across a `}' that doesn't seem to match anything.

For example, `\def\a#1{...}' and `\a}' would produce

this error. If you simply proceed now, the `\par' that

I've just inserted will cause me to report a runaway

argument that might be the root of the problem. But if

your `}' was spurious, just type `2' and it will go away.


Paragraph ended before [EMAIL PROTECTED] was complete.:


...\includegraphics[width=1cm]{testlogo.eps}}

I suspect you've forgotten a `}', causing me to apply this

control sequence to too much text. How can we recover?

My plan is to forget the whole thing and hope for the best.


Undefined control sequence:

\rhead

{\smallskip\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.


LaTeX Error: Missing \begin{document}:


\rhead{\smallskip\usebox{\mylogo}

}

You're in trouble here. Try typing  to proceed.

If that doesn't work, type X  to quit.


Undefined control sequence:

\rhead

{\usebox{\mylogo}}

The control sequence at the end of the top line

of your error message was never \def'ed. If you have

misspelled it (e.g., `\hobx'), type `I' and the correct

spelling (e.g., `I\hbox'). Otherwise just continue,

and I'll forget about whatever was undefined.





> Hello Leo :
>
> Don't is in the ERT box, is in the menu Document → Configuration →
> Preamble LaTex where you must copy the piece code that I send you.
>
>
> Regards
>
>
> Miguel
>
>
>
>
>
> Leo Gürtler escribió:
>> icebna schrieb:
>>
>> Dear Miguel,
>>
>> thanks a lot - but I got error messages. If it is ok I added my lyx file
>> tot his mail, maybe you can help me or send me a small example (lyx
>> file) from you (which works for you).
>>
>> thank your very much,
>> best regards
>>
>> leo
>>
>>> In the preamble of document write the next command :
>>>
>>> \newsavebox{\mylogo}
>>> \savebox{\mylogo}{\includegraphics[width=1cm]{/home/miguel/ant.eps}}
>>> \rhead{\smallskip\usebox{\mylogo}}
>>> \rhead{\usebox{\mylogo}}
>>>
>>> Previously make the logo in .eps format and put it in any directory.
>>> In my example is /home/miguel as can view, and my logo is ant.eps
>>>
>>> I hope that work fine
>>>
>>> Regards
>>>
>>>
>>> Miguel
>>>
>>>
>>>
>>>
>>>
>>> Leo Gürtler escribió:
 Dear lyx-list,

 ist there a possibility to insert a small graphic (logo) on the
 head of
 each page (I use koma-script).
 thanks.

 best wishes
 leo


>>>
>>
>
>



toggle math mode

2007-11-08 Thread Joris van Zwieten
Hi,

I'm very used to writing math in plain latex. For me, this works much
easier than using the visual math editor. In lyx, I found out that I
could write a large formula in plain latex, then select it and click
the 'math mode' button and it would convert the formula to its
graphical equivalent, which is great. However, I haven't been able to
find out how I can change from the graphical display back to the latex
source again. This would be very useful, because then I could edit the
function in plain latex and toggle to graphical display again. Is this
possible in lyx?

Thanks,

Joris van Zwieten


Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller


BjörnMüller <[EMAIL PROTECTED]> writes:

> 
> Dear All,
> 
> I have some sincere problems.
> 
> 1) The "outline" function (in German "Gliederung") 
> (found in >Documents>[underneath LaTeX Protocol] 
> doesn't work. When I activate it I get no options, 
> no outline showing up or anything.
> 
> 2) Converter Problems: When trying to look at 
> e.g. the Tutorial File in PDF (pdflatex) or DVI or PS 
> I always get a message telling me that the conversion 
> from xmp to png (or eps) is not working 
> and that I would need to define a converter. 
> I guess I need some help on that. 
> In the >Settings I tried to define several converters:
> like XPM>PNG, XPM>EPS... 
> but I don't know which converter to use (I tried it with: convert $$i $$o). 
> It just wouldn't work.
> 
> Thanks for your help.
> 
> Best regards,
> Bjoern
> 
> 
I just found out it's only the
German tutorial and manual
that has these weird xpm problems.

The outline function still doesn't work.
I can toggle it, but then no window or box
with the outline appears.
Also double clicking on the TOC for editing
doesn't work...







Re: Problem with LYX

2007-11-08 Thread Richard Heck

Pietro Barbujani wrote:

Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?
  
It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.


rh
 



  



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread BjörnMüller
Dear Bennett,


> I cannot confirm: showing outline works fine for me (and I rely on it  
> all the time). Can you give us more details on your system: PPC vs  
> Intel Mac, what version of the OS, etc. (Are you running LyX in German?)

Yes, I am running LyX 1.5.2 in German.
Before I had LyX 1.4.something. The folder is still preserved.
Maybe some disturbance there?! 
My system: iBook G4, 1.33 MhZ, 1.5 GB RAM, 
Mac OS X 10.4.10 with the latest MacTexLive - 2007 Distribution.
Maybe it's got something to do with me trying to manually uninstall/delete 
the other TEX distribution that was located in /usr/local, 
namely geweTeX, that I installed last year with i-installer.
 
 
> You shouldn't need to define any additional converters here; it  
> should just work so long as you have the relevant software installed,  
> such as ImageMagick (which I assume you do). Have you tried  
> reconfiguring LyX (LyX > Reconfigure)?
>

I tried reconfiguring. No change though. 
ImageMagick should have been installed with the MacTexLive-2007 Distribution.
 
> By the way, does the tutorial have any figures? Quickly glancing  
> through, I didn't see any; did you mean some other document?

Yes, that's the strange thing. No figures in the tutorial. 
The same happens with the user's manual.
 
Thanks for trying. 

Bjoern







Re: R: Problem with LYX

2007-11-08 Thread Richard Heck

Pietro Barbujani wrote:

Ok, but I tried also with another computer and with the last version LYX
1.5.2: there is the same problem.
Can you help me?
If you want I'll send my file in lyx.
  
LyX hasn't got anything to do with it, I expect. It'd be better to look 
at the LaTeX. Are you setting page numbers manually somewhere?


rh

Pietro


-Messaggio originale-
Da: Richard Heck [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 8 novembre 2007 18.36

A: Pietro Barbujani
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Problem with LYX

Pietro Barbujani wrote:
  

Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?
  

It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.


rh
  
 



  




  



--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



R: Problem with LYX

2007-11-08 Thread Pietro Barbujani

Ok, but I tried also with another computer and with the last version LYX
1.5.2: there is the same problem.
Can you help me?
If you want I'll send my file in lyx.

Pietro


-Messaggio originale-
Da: Richard Heck [mailto:[EMAIL PROTECTED] 
Inviato: giovedì 8 novembre 2007 18.36
A: Pietro Barbujani
Cc: lyx-users@lists.lyx.org
Oggetto: Re: Problem with LYX

Pietro Barbujani wrote:
> Hi, I'm Pietro from Italy.
>
> I'm writing my Master thesis, using KOOMA BOOK document in LYX.
>
> The problem are the margins because the right margin is larger in the odd
> pages while I would like a larger margin on the even pages...
>
> How can I do?
>   
It sounds like your page numbering must have gotten mixed up somehow. 
The left margin should be larger on odd pages, for binding.

rh
>  
>
>
>   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



-- 
No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.24/1117 - Release Date: 07/11/2007
22.52




Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Richard Heck

Winson wrote:
I am writing my thesis with ucthesis.cls downloaded from CTAN and installed on 
my computer. I made my ucthesis.layout as following:


#% Do not delete the line below; configure depends on this  
#  \DeclareLaTeXClass[ucthesis]{UC Thesis}


# Read the definitions from report.layout
Input report.layout

The layout file works. But when I tried to add a title to my thesis by clicking 
on "Title" in style combo box on the toolbar, I got error message "Undefined 
control sequence" at compilation. I know that the format of title page is 
already defined in ucthesis.cls. But I just could not figure out what I shall 
do in my layout file or lyx file in order to implement the definition properly. 
The content of ucthesis.cls is attached. 


Thanks in advance for your help.
  

Which command is it that is undefined? That would be a start.

rh

Winson

-
%% ucthesis.cls
%% Copyright (C) 1988-2004 Daniel Gildea, BBF, Ethan Munson.
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
% of this license or (at your option) any later version.
% The latest version of this license is in
%   http://www.latex-project.org/lppl.txt
% and version 1.3 or later is part of all distributions of LaTeX
% version 2003/12/01 or later.
%
% This work has the LPPL maintenance status "unmaintained".
% 
% This work consists of the files ucthesis.cls, uct10.clo, uct11.clo,

% uct12.clo, uctest.bib, and uctest.tex.

%%% 
%%%  @LaTeX-class-file{
%%% filename= "ucthesis.cls",
%%% version = "3.2",
%%% date= "19 December 2004",
%%% license = "LPPL",
%%% codetable   = "ISO/ASCII",
%%% keywords= "LaTeX, ucthesis",
%%% docstring   = "This file is the main file for the ucthesis
%%%class, which is intended to meet the requirements
%%%for University of California Ph.D. dissertations.
%%%It is a direct port to LaTeX2e from UCTHESIS
%%%			   v2.7 by Ethan V. Munson, with no changes other 
%%%			   than those for compatibility.  The major modifictions

%%%are in the font selection commands in the option
%%%files uct1x.clo.
%%%			   
%%%			   UCTHESIS.STY v2.7 is based on the standard

%%%report.sty as modified by Mittelbach and Schopf in
%%%Jan 1992.  The primary differences are (1) the use
%%%of pseudo-double-spacing, except in certain special
%%%environments; and (2) the use of a 6 inch line
%%%with 4em paragraph indentation.  It is only
%%%intended for single-sided printing.  Double-sided
%%%printing may be possible, but you're on
%%%your own.
%%%
%%%I know of no bugs in this implementation,
%%%but would be happy to hear of any problems
%%%that arise with it.
%%%
%%%Version 2.x fixes a bug in the previous
%%%			   version of 20 Jun 1988.  The bug was that 
%%%			   "draft" optional mode didn't work because of

%%%problems in handling optional arguments.
%%%This file does not seem to work with earlier 
%%%versions of LaTeX (pre-Jan 1992).

%%%
%%%			   Version 2.3 includes a single-spaced 
%%%			   tabular* environment.

%%% 
%%%Version 2.4 sets \evensidemargin correctly
%%%for two-sided style.  It also adds new
%%%environments (\smalltabular and
%%%\scriptsizetabular) which produce tables
%%%with smaller fonts.  The obvious methods
%%%of producing small-font tables don't work
%%%in ucthesis style.
%%%
%%%Version 2.5 adds support for the \maketitle
%%%macro.
%%%
%%%Version 2.6 adds support for complete and
%%%correct front matter.  Some dead code was
%%%removed, too.
%%%
%%%Version 2.7 adds front matter support for
%%%thesis committees of more than 3 people
%%%and for a labeled signature line on the
%%%abstract page.
%%%
%%%Version 3.0 is a direct port of version 2.7
%%%to LaTeX2e.  The major revisions in ucthesis.cls
%%%			   are converting option processing to LaTeX2e 
%%%			   conventions.  The uct1x files have been revised

%%% 

Problem with LYX

2007-11-08 Thread Pietro Barbujani
Hi, I'm Pietro from Italy.

I'm writing my Master thesis, using KOOMA BOOK document in LYX.

The problem are the margins because the right margin is larger in the odd
pages while I would like a larger margin on the even pages...

How can I do?

 

Thanks

Pietro

 

 



Change tracking in LyX and multiple users

2007-11-08 Thread [EMAIL PROTECTED]

Hi,

I want to track changes in LyX in the same way that I do with my  
computer programs in C++, and for that purpose I use CVS. I look at  
the mail list but did not found relevant information about this.


How do you generally track the changes in your documents ? what do you  
think is the best system ? Do you recommend CVS or another one ?


By the way, my objective is also to have several users working on the  
same LyX document at the same time. What do you think is the best  
approach ?


Thanks

Horacio




Re: Implementation of the format definition in a given .cls file

2007-11-08 Thread Winson
Richard Heck <[EMAIL PROTECTED]> writes:

> Which command is it that is undefined? That would be a start.
> 
> rh

Richard,

It shows that it is "\maketitle". I looked through ucthesis.cls, it is actually 
defined in the file. I figure that I might need to redefine it or provide some 
parameters for it in my document or layout file. But I just do not know how to 
do it.

Thanks,

Winson






Re: Lyx MikTex Failure

2007-11-08 Thread Uwe Stöhr

Adrian Peter schrieb:


MiKTeX Problem Report

Message: The TPM file could not be parsed.


This is a problem of MiKTeX. To fix this, update your MiKteX-installation using 
MiKTeX's update manager.

(When you install LyX using this installer:
http://wiki.lyx.org/Windows/LyXWinInstaller
This will automatically done when LyX is installed.)

If the update doesn't help, please send a bug report to the MiKTeX developer.

regards Uwe


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:57:51 Bruce Pourciau wrote:
> When I try to open example lyx files posted on this list, I get a
> conversion script failure: "filename.lyz is from an earlier version
> of lyx, but the lyx2lyx script failed to convert it" I'm running LyX
> 1.4.1. Must I upgrade to 1.5?

  To read this file you need version 1.4.5.1. Or as you suggested version 1.5.

  I would recommend an upgrade, but then I am biased. :-)

  BTW for what is worth the new error messages in this case is more accurate 
saying that the file is from a different version.

> Bruce

-- 
José Abílio


Script Conversion Failure

2007-11-08 Thread Bruce Pourciau

Sorry, here's my question with a corrected title:

When I try to open example lyx files posted on this list, I get a  
conversion script failure: "filename.lyz is from an earlier version  
of lyx, but the lyx2lyx script failed to convert it" I'm running LyX  
1.4.1. Must I upgrade to 1.5?


Bruce


heading is missing in one page

2007-11-08 Thread Tobias Kraus
Hi

I write my md-thesis with lyx, report(koma-script). As Pagestyle I
chose "headings". It works fine except in Chapter 5 there is no
heading following. Instead lyx inserts an empty page with just the
heading. When I change to report as the document class (without
komascript) the headings are fine.

I don't know how to solve this. Any help is appreciated.

Tobi


Enumarating lists and continuation at particular depth

2007-11-08 Thread Manveru
Hi All,

I know it could be treated as lame question, but:

How to create something like this in LyX:

This is an example of a list:

   1. LyX is cool (first level)
   (a) Something new (second level)
   (b) Something old (second level)
   But many things needs time to understand (continuation of the 1st)
   2. LaTeX generated really nice looking documents (first level)
   (a) Element one at second level
   (b) Element two at second level
   and here it goes the continuation of the first level
   3. Next element at first level
   (a) Element at second level
   4. Next element at first level (no continuation from previous point)

What I need is to continue the text at particular level before I put new
enumerated position on the list.

Now I put "standard" paragraph for continuations, but I loose formating and
continuous enumeration then.

Any advices??

Thanks in advance.
-- 
Manveru
jabber: [EMAIL PROTECTED]
 gg: 1624001
   http://www.manveru.pl


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread José Matos
On Thursday 08 November 2007 21:00:30 Manveru wrote:
> What I need is to continue the text at particular level before I put new
> enumerated position on the list.
>
> Now I put "standard" paragraph for continuations, but I loose formating and
> continuous enumeration then.
>
> Any advices??

  Something like what follows attached?

> Thanks in advance.
> --
> Manveru



-- 
José Abílio


cont.lyx
Description: application/lyx


Re: Enumarating lists and continuation at particular depth

2007-11-08 Thread Bruce Pourciau


When I try to open example lyx files posted on this list, I get a  
conversion script failure: "filename.lyz is from an earlier version  
of lyx, but the lyx2lyx script failed to convert it" I'm running LyX  
1.4.1. Must I upgrade to 1.5?


Bruce



Re: toggle math mode

2007-11-08 Thread Uwe Stöhr

Joris van Zwieten schrieb:


I'm very used to writing math in plain latex. For me, this works much
easier than using the visual math editor. In lyx, I found out that I
could write a large formula in plain latex, then select it and click
the 'math mode' button and it would convert the formula to its
graphical equivalent, which is great. However, I haven't been able to
find out how I can change from the graphical display back to the latex
source again.


You can use the menu View -> Source. But LyX's math editor already has the possibility to write 
LaTeX and get directly the result visually:

Type in a formula e.g.
\frac
follwed by a space and you get a fraction.

regards Uwe


Lyx MikTex Failure

2007-11-08 Thread Adrian Peter
Hi,

 

I installed version 1.5.1 of Lyx on my windows box (Vista).  The full
installer also downloaded and installed MikTex as required.  However, when I
try to use MikTex to update some packages I get the following error:

 

MiKTeX Problem Report

Message: The TPM file could not be parsed.

Data: C:\Program Files\MiKTeX 2.6\tpm\packages\foilhtml.tpm

Source: C:\work3\miktex-2.6\Libraries\MiKTeX\PackageManager\TpmParser.cpp

Line: 358

MiKTeX: 2.6

OS: Microsoft Windows Vista Home Premium Edition (Build 6000)

SystemAdmin: no

PowerUser: no

SharedSetup: unknown

BinDir: C:\Program Files\MiKTeX 2.6\miktex\bin

Root0: C:\Users\Adrian\AppData\Roaming\MiKTeX\2.6

Root1: C:\Users\Adrian\AppData\Local\MiKTeX\2.6

Root2: C:\Program Files\MiKTeX 2.6

Install: C:\Program Files\MiKTeX 2.6

UserConfig: C:\Users\Adrian\AppData\Roaming\MiKTeX\2.6

UserData: C:\Users\Adrian\AppData\Local\MiKTeX\2.6

 

Does anyone know what is going on?  Thank you in advance.

 

Adrian

 



Re: LyX 1.5.2 on Mac iBookG4 with MacTexLive-2007 Distribution - Problems

2007-11-08 Thread Bennett Helm

On Nov 8, 2007, at 11:52 AM, BjörnMüller wrote:


Dear Bennett,



I cannot confirm: showing outline works fine for me (and I rely on it
all the time). Can you give us more details on your system: PPC vs
Intel Mac, what version of the OS, etc. (Are you running LyX in  
German?)


Yes, I am running LyX 1.5.2 in German.
Before I had LyX 1.4.something. The folder is still preserved.
Maybe some disturbance there?!


That shouldn't cause a problem, since 1.5.2 should use a separate  
user's directory (at ~/Library/Application Support/LyX-1.5).



My system: iBook G4, 1.33 MhZ, 1.5 GB RAM,
Mac OS X 10.4.10 with the latest MacTexLive - 2007 Distribution.
Maybe it's got something to do with me trying to manually uninstall/ 
delete

the other TEX distribution that was located in /usr/local,
namely geweTeX, that I installed last year with i-installer.


If convert is working on its own from the command line, it should  
work from within LyX. Did you test that?



You shouldn't need to define any additional converters here; it
should just work so long as you have the relevant software installed,
such as ImageMagick (which I assume you do). Have you tried
reconfiguring LyX (LyX > Reconfigure)?



I tried reconfiguring. No change though.
ImageMagick should have been installed with the MacTexLive-2007  
Distribution.


Do other graphics work? -- If you insert a .jpg figure into a LyX  
file and typeset, does it work?



By the way, does the tutorial have any figures? Quickly glancing
through, I didn't see any; did you mean some other document?


Yes, that's the strange thing. No figures in the tutorial.
The same happens with the user's manual.


I've tried setting my language to German and running LyX, and I see  
that the German tutorial does have some figures. I was able to  
typeset it properly, however.


Concerning Document > Outline: Does anything show up in Console.app  
when you try viewing an outline? ... I also wonder if anyone else  
with a PPC Mac is having problems with this or the TOC box. (Anders?)


Bennett