varioref with option draft

2008-02-15 Thread Tobias Krause

Hi,

is there a way to use varioref with the option draft with LyX?

   * \usepackage[draft]{varioref} in the preamble produces an option clash
   * I don't want to use draft as extra document class option because
 this influences other packages as well
   * I tried \PassOptionsToPackage{draft}{varioref} but does not seem
 to change anything -- I'm not sure if this the correct way to pass
 an optional option to a package

Regards
 Toby


Re: Re: [new user] hello everyone, and 2 questions..

2008-02-15 Thread assasukasse

rgheck ha scritto:
If you search the archives, you'll find a lot on this. Generally, the 
view is that title pages are best configured manually, rather than 
using LaTeX's built-in title pages.



Hello
Thanks, I will try to configure the title page by setting it standard text
This depends in part upon what document class you are using. But 
something like

   \date{}
should just set the date to an empty string.

yes i figured out by using the macro date and putting a space on it..

Where are you trying to put them?

rh


I am trying to put them in the title, I need some spaces in between the 
title words,

the setup i need to use is pretty funny:

headers and title in the middle
a picture
then on the left my name, and on the right the teachers names..
then a line and the year...

I think is best i make it as standard text!
Thanks



Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
    I specify the alignment as 'center' or 'centered' but the logo displays
 partially off the right side and over the date. I'll try \vspace{} to move
 it up, but I'm not sure how to get it to occupy the whole width of the text
 area (or page). (Can't attach the .eps file; it's too large.)

Richard, I think a centered logo is not provided by the default settings. If 
you center the sender data, the logo is put out of the way right to the 
address field.

To get a centered logo, you have to setup your own heading. Just delete the 
KOMAoptions thing from the preamble and add the following instead:

\firsthead{\centering\usekomavar{fromlogo}}

Jürgen


Converting to OpenOffice

2008-02-15 Thread Jorge Sampaio
I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best work...
however all figures are converted to .eps (a lot of them are .eps, although
I am, by now, preferring .png), This is not the problem, but the fact that
to use ConvTex we need first export to LaTex, and then use CovTest to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry) msword. When
LyX exports to LaTex, the extensions in all figures file names are removed
(and assumed to be .eps in a latex run). Now, ConvTex does not assumes this,
and expects the extension (whatever) in the Latex text. When run, ConvTex
does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to Latex, I
must add .eps in all figure file names in order to ConvTex work. I can't
find in the LyX preferences a way to change that. The converter to export to
Latex ( LyX - Latex converter) doesn't show in the list of converters to
try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the equations in
the text. Not good yet)


Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


To get a centered logo, you have to setup your own heading. Just delete the
KOMAoptions thing from the preamble and add the following instead:

\firsthead{\centering\usekomavar{fromlogo}}


Jürgen,

  This _almost_ centers it. The image is still about 2.5cm too far to the
right, and the date and following text too high. I inserted ERT for
\vspace{2cm} just before the date style but it has no effect.

  My Lamport and Knuth books are on their way here. I do want to understand
TeX and LaTeX well enough to solve these problems on my own. In the
meantime, I'm grateful for the help.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Converting to OpenOffice

2008-02-15 Thread Neil Hepburn
I had to do a similar thing last night. What I found to work best,  
although there weren't any figures or equations in the document, was  
to export it from LyX to HTML and then import from HTML into Word. I  
had to do some tweaking to the text once it was in word but overall it  
wasn't too bad. Using Find and Replace in Word worked well to replace  
document styles and that fixed up most of the formatting.


-Neil



=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email [EMAIL PROTECTED]

On 15-Feb-08, at 7:15 AM, Jorge Sampaio wrote:


I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX  
converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best  
work...
however all figures are converted to .eps (a lot of them are .eps,  
although
I am, by now, preferring .png), This is not the problem, but the  
fact that
to use ConvTex we need first export to LaTex, and then use CovTest  
to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry)  
msword. When
LyX exports to LaTex, the extensions in all figures file names are  
removed
(and assumed to be .eps in a latex run). Now, ConvTex does not  
assumes this,
and expects the extension (whatever) in the Latex text. When run,  
ConvTex

does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to  
Latex, I
must add .eps in all figure file names in order to ConvTex work. I  
can't
find in the LyX preferences a way to change that. The converter to  
export to
Latex ( LyX - Latex converter) doesn't show in the list of  
converters to

try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the  
equations in

the text. Not good yet)





Re: Converting to OpenOffice -- follow up

2008-02-15 Thread Neil Hepburn

Hi Jorge

Of course there is another option, one which your colleague may just  
thank you for in the future --  give him/her a copy of LyX and bring  
him/her back from the Dark Side ;-}


-Neil

=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email [EMAIL PROTECTED]

On 15-Feb-08, at 7:15 AM, Jorge Sampaio wrote:


I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX  
converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best  
work...
however all figures are converted to .eps (a lot of them are .eps,  
although
I am, by now, preferring .png), This is not the problem, but the  
fact that
to use ConvTex we need first export to LaTex, and then use CovTest  
to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry)  
msword. When
LyX exports to LaTex, the extensions in all figures file names are  
removed
(and assumed to be .eps in a latex run). Now, ConvTex does not  
assumes this,
and expects the extension (whatever) in the Latex text. When run,  
ConvTex

does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to  
Latex, I
must add .eps in all figure file names in order to ConvTex work. I  
can't
find in the LyX preferences a way to change that. The converter to  
export to
Latex ( LyX - Latex converter) doesn't show in the list of  
converters to

try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the  
equations in

the text. Not good yet)





Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

  While I'm learning how to use the Koma-Script Letter2 class for my
correspondence, I should learn why the component sequence is the way it is,
and how to work with this order. What should I read? (Kopka and Daly explain
how to use the letter class, but not the details of what goes in the
preamble so it's displayed properly.)

  After tweaking the letterhead image placement and moving the text down the
first page, I want to learn how to define my own header for continuation
pages and how to place an image of my written signature between the closing
and the printed signature.

  Perhaps I missed this in the Koma-script manual. If so, please pass me a
pointer to the proper chapter. Or, suggest other resources for me to learn
better how to use LyX/LaTeX for my business purposes.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Problem with psfrag

2008-02-15 Thread Susanne Gütter
Hi all,

for my figure I want use the package psfrag.

When I use it, the following Latex error occurs

Package inputenc Error: Keyboard character used is undefined
 ...fiken_Add_Rauschen_Loglog_loglog-3107-01}
  
You need to provide a definition with \DeclareInputText 
or \DeclareInputMath before using this key.

The code before the graphic is included is:

\begin_inset ERT
status Open

\layout Standard

\backslash 
psfrag{a_c/D}
{
\begin_inset Formula
$\frac{a_{c}}{D}$
\end_inset
}

\end_inset 

Whats wrong?

Regards  Susanne




Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 This _almost_ centers it. The image is still about 2.5cm too far to the
 right, 

Try 
\firsthead{\centering\usekomavar{fromlogo}\hspace*{2.5cm}}

 and the date and following text too high. I inserted ERT for 
 \vspace{2cm} just before the date style but it has no effect.

Instead of this, adjust in preamble the values of [EMAIL PROTECTED] and 
[EMAIL PROTECTED]

    My Lamport and Knuth books are on their way here. I do want to
 understand TeX and LaTeX well enough to solve these problems on my own. In
 the meantime, I'm grateful for the help.

I don't think those books will help you much in this case. This is class 
specific. The KOMA documentation and sources are the better reading.

Jürgen


Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 Perhaps I missed this in the Koma-script manual. If so, please pass me a
 pointer to the proper chapter.

Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described 
in the KOMA manual).

Jürgen


Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described
in the KOMA manual).


Jürgen,

  I read that the scrpage2 package is used, but neglected to read that
documentation. I'll correct this today.

Thank you again,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Try
\firsthead{\centering\usekomavar{fromlogo}\hspace*{2.5cm}}


Jürgen,

  The proper spacing turned out to be 5cm, and I turned off the bounding box
clipping in the image. Now the letterhead graphic is centered and of the
appropriate size.


Instead of this, adjust in preamble the values of [EMAIL PROTECTED]
[EMAIL PROTECTED] setplength{refaftervskip}.


  Very educational! The first command positions the date, the second
positions the text _after_ the address. I needed to put a \vspace{} as the
first address line to move it down the page.


I don't think those books will help you much in this case. This is class
specific. The KOMA documentation and sources are the better reading.


  True. But, those books will help me to understand the KOMA source. There's
a lot of fundamental LaTeX I've not needed to learn by using LyX all these
years. Now it's time to better understand what's going on under the GUI
hood.

  So, now the continuation page headings and the signature graphic, and it's
a real letter!

Many thanks for your patient help,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 how to place an image of my written signature between the closing
 and the printed signature.

1. In preamble:
[EMAIL PROTECTED]
(make sure it's inbetween of the \makeatletter --- \makeatother pair, where 
the other [EMAIL PROTECTED] calls are)

2. In the document, insert the graphic with your sig via Insert-Graphics in 
the Signature paragraph, before your typed signature, and add a soft line 
break (Ctlr-return).

(don't forget to add a Closing at the bottom of the letter. Else, the 
signature won't be printed).

Jürgen


Problem solved

2008-02-15 Thread Mukhtar Ullah
Mukhtar Ullah [EMAIL PROTECTED] writes:

 
 Dear LyX users,
 Today I updated MiKTeX 2.7 packages on windows and reconfigured LyX after 
 that.
 Now LyX shows all classes as unavailable. I have no idea what is going on. I
 would not expect this behavior because it was only a package update (not an
 upgrade).
 
 Anyone else having the same problem?
 
 Mukhtar
 
 

Now everything is working again fine. The problem was that I updated from my
local package repository which in turn had picked up packages from a corrupted
mirror. Today, I updated again and everything is back in place.

Jorge, Thank you for your efforts.

Mukhtar



Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described
in the KOMA manual).


Jürgen,

  Re-read that and Chapter 4 on scrpage2. I'm still missing something in my
understanding.

  After the 'opening' style I have (in an ERT box):

\pagestyle{myheadings}\markboth{Dr. V.N. Rai\\Page {\pagenumber}\\February 11, 
2008}

  The addressee and data are explicit because I don't yet know how to
specify those with variables.

  The error when trying to compile with pdflatex is:

Paragraph ended before \markboth was complete

  I get the same error if I split the LaTeX into two lines, with the second
line beginning with the \markboth{}.

  What have I missed, please?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Converting to OpenOffice

2008-02-15 Thread David A. Case
On Fri, Feb 15, 2008, Jorge Sampaio wrote:

 I need to convert some of my class notes to (sorry) msword so that a
 colleague can change, update, etc. All notes are in LyX.
 
 (converter to export to OpenOffice messes up considerably the equations in
 the text. Not good yet)

I've had good luck with tex2word, converting an entire book with many hundreds
of equations.  And word2tex works pretty well in the reverse direction.  Just
Google to get information.  Neither is perfect, but the results, especially
for equations, seem much better than the alternatives you mention.

(Grindeq is a similar product, but I have no experience with it.)

Of course, these solutions cost money and involve proprietary software, which
may be a deal-breaker for some people.

...dave case


Re: Converting to OpenOffice

2008-02-15 Thread David Hewitt


Jorge Sampaio-2 wrote:
 
 I need to convert some of my class notes to (sorry) msword so that a
 colleague can change, update, etc. All notes are in LyX.
 

Can you go straight from Lyx through LaTeX to Rich Text Format instead? RTF
plays well with Word. I don't know how latex2rtf handles pictures and
equations, but it might be worth a try.

http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf




-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Converting-to-OpenOffice-tp15501982p15512336.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: koma script where to get them..

2008-02-15 Thread Uwe Stöhr

assasukasse schrieb:

i saw most ppl are using koma scripts, i suppose they are sort of 
template for LyX, 


Koma-script is a document class. To use it, choose in the document settings one 
of the classes
article (koma-script)
book (koma-script)
report (koma-script)

The file I send you as title page example uses the book class, also some of LyX 
manuals.


i googled them a bit
and found a big GERMAN website about it..


This is the community page of koma-script. But as all LaTeX packages, koma-script has also an 
English manual:

http://www.ctan.org/get/macros/latex/contrib/koma-script/scrguien.pdf

Here's the location of the package at CTAN:
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/

regards Uwe


Re: koma script where to get them..

2008-02-15 Thread Rich Shepard

On Sat, 16 Feb 2008, assasukasse wrote:


i saw most ppl are using koma scripts, i suppose they are sort of template
for LyX, i googled them a bit and found a big GERMAN website about it..
but my knowledge of german is 0, is there somewhere else i should look?


  While developed by folks in Germany, there is an English version of the
manual, and all the code is in English, too. You can get it from CTAN. It's
worth while.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


koma script where to get them..

2008-02-15 Thread assasukasse

Hi everyone
i saw most ppl are using koma scripts, i suppose they are sort of 
template for LyX, i googled them a bit

and found a big GERMAN website about it..
but my knowledge of german is 0, is there somewhere else i should look?
Thanks



Multiple styling issues

2008-02-15 Thread Jan Engelhardt
Hi everyone,


I just recently started using LyX, and I am looking for ways to change 
the behavior to what I am used to from other environments.

- Enabling word wrapping in LyX-Code environments (in the output PDF, 
LyX itself already wraps it)

Lines wider than a page overflow into the margins and off the page. This 
currently makes it necessary that I manually wrap lyx code.


- What is  Insert  Program Listing  in LyX good for, compared to 
LyX-Code environments?


- I would like to change the citation style so that square brackets 
[1] are used instead of the default round brackets (2) that 
article.layout uses by default. Is this probably a deeper change 
somewhere in /usr/share/lyx?


- Last, I would like to insert manual split points into long typewriter 
texts or supersize words.
  * WYSIWYG editors like MS Office would put the offending word into a 
new line and expand the spacing of all words of the previous line to 
satisfy the Block paragraph justification
  * LaTeX overflows the long word into the margin and off the page, just 
like LyX code.

Manual split points should be zero-width breaking spaces, something 
like a hyphenation point (C-Minus), but without showing a hyphen iff it 
wraps/(white)hyphens the word.


thanks a lot,
Jan


Re: Multiple styling issues

2008-02-15 Thread Rich Shepard

On Sat, 16 Feb 2008, Jan Engelhardt wrote:


- Enabling word wrapping in LyX-Code environments (in the output PDF,
LyX itself already wraps it)


Jan,

  When you want verbatim text, use ctrl-[Enter] to add a newline. That
ensures that the code retains its formatting when compiled and displayed.


Lines wider than a page overflow into the margins and off the page. This
currently makes it necessary that I manually wrap lyx code.


  Sometimes the LaTeX hyphenation algorithm needs our help. You can provide
hints for where a word can be hyphenated by placing the cursor at the
potential break and using ERT to enter \-. You can put multiple suggestions
in a single word.

  Now and then, a word at the right end of a line just cannot be properly
fit. The most effective solution is to cleverly rewrite the text so the line
can be justified between words or at a hyphenation point.


- Last, I would like to insert manual split points into long typewriter
texts or supersize words.


  See the above two responses.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Converting to OpenOffice

2008-02-15 Thread Typhoon
On Fri, 15 Feb 2008 15:23:11 -0800 (PST)
David Hewitt [EMAIL PROTECTED] wrote:

 
 
 Jorge Sampaio-2 wrote:
  
  I need to convert some of my class notes to (sorry) msword so that a
  colleague can change, update, etc. All notes are in LyX.
  
 
 Can you go straight from Lyx through LaTeX to Rich Text Format
 instead? RTF plays well with Word. I don't know how latex2rtf handles
 pictures and equations, but it might be worth a try.

I convert a book length LaTeX document to OpenOffice using oolatex. It
is part of the tex4ht package. I don't know if there is a Windows
version.

My document doesn't have any pictures or equations, so I can't speak to
that. It does have a lot of cross references and special indexes.

Alan

 
 http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf
 
 
 
 
 -
 David Hewitt
 Virginia Institute of Marine Science
 http://www.vims.edu/fish/students/dhewitt/
 -- 
 View this message in context:
 http://www.nabble.com/Converting-to-OpenOffice-tp15501982p15512336.html
 Sent from the LyX - Users mailing list archive at Nabble.com.
 
 


varioref with option draft

2008-02-15 Thread Tobias Krause

Hi,

is there a way to use varioref with the option draft with LyX?

   * \usepackage[draft]{varioref} in the preamble produces an option clash
   * I don't want to use draft as extra document class option because
 this influences other packages as well
   * I tried \PassOptionsToPackage{draft}{varioref} but does not seem
 to change anything -- I'm not sure if this the correct way to pass
 an optional option to a package

Regards
 Toby


Re: Re: [new user] hello everyone, and 2 questions..

2008-02-15 Thread assasukasse

rgheck ha scritto:
If you search the archives, you'll find a lot on this. Generally, the 
view is that title pages are best configured manually, rather than 
using LaTeX's built-in title pages.



Hello
Thanks, I will try to configure the title page by setting it standard text
This depends in part upon what document class you are using. But 
something like

   \date{}
should just set the date to an empty string.

yes i figured out by using the macro date and putting a space on it..

Where are you trying to put them?

rh


I am trying to put them in the title, I need some spaces in between the 
title words,

the setup i need to use is pretty funny:

headers and title in the middle
a picture
then on the left my name, and on the right the teachers names..
then a line and the year...

I think is best i make it as standard text!
Thanks



Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
    I specify the alignment as 'center' or 'centered' but the logo displays
 partially off the right side and over the date. I'll try \vspace{} to move
 it up, but I'm not sure how to get it to occupy the whole width of the text
 area (or page). (Can't attach the .eps file; it's too large.)

Richard, I think a centered logo is not provided by the default settings. If 
you center the sender data, the logo is put out of the way right to the 
address field.

To get a centered logo, you have to setup your own heading. Just delete the 
KOMAoptions thing from the preamble and add the following instead:

\firsthead{\centering\usekomavar{fromlogo}}

Jürgen


Converting to OpenOffice

2008-02-15 Thread Jorge Sampaio
I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best work...
however all figures are converted to .eps (a lot of them are .eps, although
I am, by now, preferring .png), This is not the problem, but the fact that
to use ConvTex we need first export to LaTex, and then use CovTest to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry) msword. When
LyX exports to LaTex, the extensions in all figures file names are removed
(and assumed to be .eps in a latex run). Now, ConvTex does not assumes this,
and expects the extension (whatever) in the Latex text. When run, ConvTex
does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to Latex, I
must add .eps in all figure file names in order to ConvTex work. I can't
find in the LyX preferences a way to change that. The converter to export to
Latex ( LyX - Latex converter) doesn't show in the list of converters to
try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the equations in
the text. Not good yet)


Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


To get a centered logo, you have to setup your own heading. Just delete the
KOMAoptions thing from the preamble and add the following instead:

\firsthead{\centering\usekomavar{fromlogo}}


Jürgen,

  This _almost_ centers it. The image is still about 2.5cm too far to the
right, and the date and following text too high. I inserted ERT for
\vspace{2cm} just before the date style but it has no effect.

  My Lamport and Knuth books are on their way here. I do want to understand
TeX and LaTeX well enough to solve these problems on my own. In the
meantime, I'm grateful for the help.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Converting to OpenOffice

2008-02-15 Thread Neil Hepburn
I had to do a similar thing last night. What I found to work best,  
although there weren't any figures or equations in the document, was  
to export it from LyX to HTML and then import from HTML into Word. I  
had to do some tweaking to the text once it was in word but overall it  
wasn't too bad. Using Find and Replace in Word worked well to replace  
document styles and that fixed up most of the formatting.


-Neil



=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email [EMAIL PROTECTED]

On 15-Feb-08, at 7:15 AM, Jorge Sampaio wrote:


I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX  
converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best  
work...
however all figures are converted to .eps (a lot of them are .eps,  
although
I am, by now, preferring .png), This is not the problem, but the  
fact that
to use ConvTex we need first export to LaTex, and then use CovTest  
to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry)  
msword. When
LyX exports to LaTex, the extensions in all figures file names are  
removed
(and assumed to be .eps in a latex run). Now, ConvTex does not  
assumes this,
and expects the extension (whatever) in the Latex text. When run,  
ConvTex

does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to  
Latex, I
must add .eps in all figure file names in order to ConvTex work. I  
can't
find in the LyX preferences a way to change that. The converter to  
export to
Latex ( LyX - Latex converter) doesn't show in the list of  
converters to

try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the  
equations in

the text. Not good yet)





Re: Converting to OpenOffice -- follow up

2008-02-15 Thread Neil Hepburn

Hi Jorge

Of course there is another option, one which your colleague may just  
thank you for in the future --  give him/her a copy of LyX and bring  
him/her back from the Dark Side ;-}


-Neil

=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email [EMAIL PROTECTED]

On 15-Feb-08, at 7:15 AM, Jorge Sampaio wrote:


I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX  
converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best  
work...
however all figures are converted to .eps (a lot of them are .eps,  
although
I am, by now, preferring .png), This is not the problem, but the  
fact that
to use ConvTex we need first export to LaTex, and then use CovTest  
to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry)  
msword. When
LyX exports to LaTex, the extensions in all figures file names are  
removed
(and assumed to be .eps in a latex run). Now, ConvTex does not  
assumes this,
and expects the extension (whatever) in the Latex text. When run,  
ConvTex

does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to  
Latex, I
must add .eps in all figure file names in order to ConvTex work. I  
can't
find in the LyX preferences a way to change that. The converter to  
export to
Latex ( LyX - Latex converter) doesn't show in the list of  
converters to

try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the  
equations in

the text. Not good yet)





Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

  While I'm learning how to use the Koma-Script Letter2 class for my
correspondence, I should learn why the component sequence is the way it is,
and how to work with this order. What should I read? (Kopka and Daly explain
how to use the letter class, but not the details of what goes in the
preamble so it's displayed properly.)

  After tweaking the letterhead image placement and moving the text down the
first page, I want to learn how to define my own header for continuation
pages and how to place an image of my written signature between the closing
and the printed signature.

  Perhaps I missed this in the Koma-script manual. If so, please pass me a
pointer to the proper chapter. Or, suggest other resources for me to learn
better how to use LyX/LaTeX for my business purposes.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Problem with psfrag

2008-02-15 Thread Susanne Gütter
Hi all,

for my figure I want use the package psfrag.

When I use it, the following Latex error occurs

Package inputenc Error: Keyboard character used is undefined
 ...fiken_Add_Rauschen_Loglog_loglog-3107-01}
  
You need to provide a definition with \DeclareInputText 
or \DeclareInputMath before using this key.

The code before the graphic is included is:

\begin_inset ERT
status Open

\layout Standard

\backslash 
psfrag{a_c/D}
{
\begin_inset Formula
$\frac{a_{c}}{D}$
\end_inset
}

\end_inset 

Whats wrong?

Regards  Susanne




Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 This _almost_ centers it. The image is still about 2.5cm too far to the
 right, 

Try 
\firsthead{\centering\usekomavar{fromlogo}\hspace*{2.5cm}}

 and the date and following text too high. I inserted ERT for 
 \vspace{2cm} just before the date style but it has no effect.

Instead of this, adjust in preamble the values of [EMAIL PROTECTED] and 
[EMAIL PROTECTED]

    My Lamport and Knuth books are on their way here. I do want to
 understand TeX and LaTeX well enough to solve these problems on my own. In
 the meantime, I'm grateful for the help.

I don't think those books will help you much in this case. This is class 
specific. The KOMA documentation and sources are the better reading.

Jürgen


Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 Perhaps I missed this in the Koma-script manual. If so, please pass me a
 pointer to the proper chapter.

Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described 
in the KOMA manual).

Jürgen


Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described
in the KOMA manual).


Jürgen,

  I read that the scrpage2 package is used, but neglected to read that
documentation. I'll correct this today.

Thank you again,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Try
\firsthead{\centering\usekomavar{fromlogo}\hspace*{2.5cm}}


Jürgen,

  The proper spacing turned out to be 5cm, and I turned off the bounding box
clipping in the image. Now the letterhead graphic is centered and of the
appropriate size.


Instead of this, adjust in preamble the values of [EMAIL PROTECTED]
[EMAIL PROTECTED] setplength{refaftervskip}.


  Very educational! The first command positions the date, the second
positions the text _after_ the address. I needed to put a \vspace{} as the
first address line to move it down the page.


I don't think those books will help you much in this case. This is class
specific. The KOMA documentation and sources are the better reading.


  True. But, those books will help me to understand the KOMA source. There's
a lot of fundamental LaTeX I've not needed to learn by using LyX all these
years. Now it's time to better understand what's going on under the GUI
hood.

  So, now the continuation page headings and the signature graphic, and it's
a real letter!

Many thanks for your patient help,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 how to place an image of my written signature between the closing
 and the printed signature.

1. In preamble:
[EMAIL PROTECTED]
(make sure it's inbetween of the \makeatletter --- \makeatother pair, where 
the other [EMAIL PROTECTED] calls are)

2. In the document, insert the graphic with your sig via Insert-Graphics in 
the Signature paragraph, before your typed signature, and add a soft line 
break (Ctlr-return).

(don't forget to add a Closing at the bottom of the letter. Else, the 
signature won't be printed).

Jürgen


Problem solved

2008-02-15 Thread Mukhtar Ullah
Mukhtar Ullah [EMAIL PROTECTED] writes:

 
 Dear LyX users,
 Today I updated MiKTeX 2.7 packages on windows and reconfigured LyX after 
 that.
 Now LyX shows all classes as unavailable. I have no idea what is going on. I
 would not expect this behavior because it was only a package update (not an
 upgrade).
 
 Anyone else having the same problem?
 
 Mukhtar
 
 

Now everything is working again fine. The problem was that I updated from my
local package repository which in turn had picked up packages from a corrupted
mirror. Today, I updated again and everything is back in place.

Jorge, Thank you for your efforts.

Mukhtar



Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described
in the KOMA manual).


Jürgen,

  Re-read that and Chapter 4 on scrpage2. I'm still missing something in my
understanding.

  After the 'opening' style I have (in an ERT box):

\pagestyle{myheadings}\markboth{Dr. V.N. Rai\\Page {\pagenumber}\\February 11, 
2008}

  The addressee and data are explicit because I don't yet know how to
specify those with variables.

  The error when trying to compile with pdflatex is:

Paragraph ended before \markboth was complete

  I get the same error if I split the LaTeX into two lines, with the second
line beginning with the \markboth{}.

  What have I missed, please?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863

Re: Converting to OpenOffice

2008-02-15 Thread David A. Case
On Fri, Feb 15, 2008, Jorge Sampaio wrote:

 I need to convert some of my class notes to (sorry) msword so that a
 colleague can change, update, etc. All notes are in LyX.
 
 (converter to export to OpenOffice messes up considerably the equations in
 the text. Not good yet)

I've had good luck with tex2word, converting an entire book with many hundreds
of equations.  And word2tex works pretty well in the reverse direction.  Just
Google to get information.  Neither is perfect, but the results, especially
for equations, seem much better than the alternatives you mention.

(Grindeq is a similar product, but I have no experience with it.)

Of course, these solutions cost money and involve proprietary software, which
may be a deal-breaker for some people.

...dave case


Re: Converting to OpenOffice

2008-02-15 Thread David Hewitt


Jorge Sampaio-2 wrote:
 
 I need to convert some of my class notes to (sorry) msword so that a
 colleague can change, update, etc. All notes are in LyX.
 

Can you go straight from Lyx through LaTeX to Rich Text Format instead? RTF
plays well with Word. I don't know how latex2rtf handles pictures and
equations, but it might be worth a try.

http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf




-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Converting-to-OpenOffice-tp15501982p15512336.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: koma script where to get them..

2008-02-15 Thread Uwe Stöhr

assasukasse schrieb:

i saw most ppl are using koma scripts, i suppose they are sort of 
template for LyX, 


Koma-script is a document class. To use it, choose in the document settings one 
of the classes
article (koma-script)
book (koma-script)
report (koma-script)

The file I send you as title page example uses the book class, also some of LyX 
manuals.


i googled them a bit
and found a big GERMAN website about it..


This is the community page of koma-script. But as all LaTeX packages, koma-script has also an 
English manual:

http://www.ctan.org/get/macros/latex/contrib/koma-script/scrguien.pdf

Here's the location of the package at CTAN:
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/

regards Uwe


Re: koma script where to get them..

2008-02-15 Thread Rich Shepard

On Sat, 16 Feb 2008, assasukasse wrote:


i saw most ppl are using koma scripts, i suppose they are sort of template
for LyX, i googled them a bit and found a big GERMAN website about it..
but my knowledge of german is 0, is there somewhere else i should look?


  While developed by folks in Germany, there is an English version of the
manual, and all the code is in English, too. You can get it from CTAN. It's
worth while.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


koma script where to get them..

2008-02-15 Thread assasukasse

Hi everyone
i saw most ppl are using koma scripts, i suppose they are sort of 
template for LyX, i googled them a bit

and found a big GERMAN website about it..
but my knowledge of german is 0, is there somewhere else i should look?
Thanks



Multiple styling issues

2008-02-15 Thread Jan Engelhardt
Hi everyone,


I just recently started using LyX, and I am looking for ways to change 
the behavior to what I am used to from other environments.

- Enabling word wrapping in LyX-Code environments (in the output PDF, 
LyX itself already wraps it)

Lines wider than a page overflow into the margins and off the page. This 
currently makes it necessary that I manually wrap lyx code.


- What is  Insert  Program Listing  in LyX good for, compared to 
LyX-Code environments?


- I would like to change the citation style so that square brackets 
[1] are used instead of the default round brackets (2) that 
article.layout uses by default. Is this probably a deeper change 
somewhere in /usr/share/lyx?


- Last, I would like to insert manual split points into long typewriter 
texts or supersize words.
  * WYSIWYG editors like MS Office would put the offending word into a 
new line and expand the spacing of all words of the previous line to 
satisfy the Block paragraph justification
  * LaTeX overflows the long word into the margin and off the page, just 
like LyX code.

Manual split points should be zero-width breaking spaces, something 
like a hyphenation point (C-Minus), but without showing a hyphen iff it 
wraps/(white)hyphens the word.


thanks a lot,
Jan


Re: Multiple styling issues

2008-02-15 Thread Rich Shepard

On Sat, 16 Feb 2008, Jan Engelhardt wrote:


- Enabling word wrapping in LyX-Code environments (in the output PDF,
LyX itself already wraps it)


Jan,

  When you want verbatim text, use ctrl-[Enter] to add a newline. That
ensures that the code retains its formatting when compiled and displayed.


Lines wider than a page overflow into the margins and off the page. This
currently makes it necessary that I manually wrap lyx code.


  Sometimes the LaTeX hyphenation algorithm needs our help. You can provide
hints for where a word can be hyphenated by placing the cursor at the
potential break and using ERT to enter \-. You can put multiple suggestions
in a single word.

  Now and then, a word at the right end of a line just cannot be properly
fit. The most effective solution is to cleverly rewrite the text so the line
can be justified between words or at a hyphenation point.


- Last, I would like to insert manual split points into long typewriter
texts or supersize words.


  See the above two responses.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


Re: Converting to OpenOffice

2008-02-15 Thread Typhoon
On Fri, 15 Feb 2008 15:23:11 -0800 (PST)
David Hewitt [EMAIL PROTECTED] wrote:

 
 
 Jorge Sampaio-2 wrote:
  
  I need to convert some of my class notes to (sorry) msword so that a
  colleague can change, update, etc. All notes are in LyX.
  
 
 Can you go straight from Lyx through LaTeX to Rich Text Format
 instead? RTF plays well with Word. I don't know how latex2rtf handles
 pictures and equations, but it might be worth a try.

I convert a book length LaTeX document to OpenOffice using oolatex. It
is part of the tex4ht package. I don't know if there is a Windows
version.

My document doesn't have any pictures or equations, so I can't speak to
that. It does have a lot of cross references and special indexes.

Alan

 
 http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf
 
 
 
 
 -
 David Hewitt
 Virginia Institute of Marine Science
 http://www.vims.edu/fish/students/dhewitt/
 -- 
 View this message in context:
 http://www.nabble.com/Converting-to-OpenOffice-tp15501982p15512336.html
 Sent from the LyX - Users mailing list archive at Nabble.com.
 
 


varioref with option draft

2008-02-15 Thread Tobias Krause

Hi,

is there a way to use varioref with the option "draft" with LyX?

   * \usepackage[draft]{varioref} in the preamble produces an option clash
   * I don't want to use draft as extra document class option because
 this influences other packages as well
   * I tried \PassOptionsToPackage{draft}{varioref} but does not seem
 to change anything -- I'm not sure if this the correct way to pass
 an optional option to a package

Regards
 Toby


Re: Re: [new user] hello everyone, and 2 questions..

2008-02-15 Thread assasukasse

rgheck ha scritto:
If you search the archives, you'll find a lot on this. Generally, the 
view is that title pages are best configured manually, rather than 
using LaTeX's built-in title pages.



Hello
Thanks, I will try to configure the title page by setting it standard text
This depends in part upon what document class you are using. But 
something like

   \date{}
should just set the date to an empty string.

yes i figured out by using the macro "date" and putting a space on it..

Where are you trying to put them?

rh


I am trying to put them in the title, I need some spaces in between the 
title words,

the setup i need to use is pretty funny:

headers and title in the middle
a picture
then on the left my name, and on the right the teachers names..
then a line and the year...

I think is best i make it as standard text!
Thanks



Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
>    I specify the alignment as 'center' or 'centered' but the logo displays
> partially off the right side and over the date. I'll try \vspace{} to move
> it up, but I'm not sure how to get it to occupy the whole width of the text
> area (or page). (Can't attach the .eps file; it's too large.)

Richard, I think a centered logo is not provided by the default settings. If 
you center the sender data, the logo is put "out of the way" right to the 
address field.

To get a centered logo, you have to setup your own heading. Just delete the 
KOMAoptions thing from the preamble and add the following instead:

\firsthead{\centering\usekomavar{fromlogo}}

Jürgen


Converting to OpenOffice

2008-02-15 Thread Jorge Sampaio
I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best work...
however all figures are converted to .eps (a lot of them are .eps, although
I am, by now, preferring .png), This is not the problem, but the fact that
to use ConvTex we need first export to LaTex, and then use CovTest to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry) msword. When
LyX exports to LaTex, the extensions in all figures file names are removed
(and assumed to be .eps in a latex run). Now, ConvTex does not assumes this,
and expects the extension (whatever) in the Latex text. When run, ConvTex
does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to Latex, I
must add .eps in all figure file names in order to ConvTex work. I can't
find in the LyX preferences a way to change that. The converter to export to
Latex ( LyX -> Latex converter) doesn't show in the list of converters to
try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the equations in
the text. Not good yet)


Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


To get a centered logo, you have to setup your own heading. Just delete the
KOMAoptions thing from the preamble and add the following instead:

\firsthead{\centering\usekomavar{fromlogo}}


Jürgen,

  This _almost_ centers it. The image is still about 2.5cm too far to the
right, and the date and following text too high. I inserted ERT for
\vspace{2cm} just before the date style but it has no effect.

  My Lamport and Knuth books are on their way here. I do want to understand
TeX and LaTeX well enough to solve these problems on my own. In the
meantime, I'm grateful for the help.

Thanks,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Re: Converting to OpenOffice

2008-02-15 Thread Neil Hepburn
I had to do a similar thing last night. What I found to work best,  
although there weren't any figures or equations in the document, was  
to export it from LyX to HTML and then import from HTML into Word. I  
had to do some tweaking to the text once it was in word but overall it  
wasn't too bad. Using Find and Replace in Word worked well to replace  
document styles and that fixed up most of the formatting.


-Neil



=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email [EMAIL PROTECTED]

On 15-Feb-08, at 7:15 AM, Jorge Sampaio wrote:


I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX  
converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best  
work...
however all figures are converted to .eps (a lot of them are .eps,  
although
I am, by now, preferring .png), This is not the problem, but the  
fact that
to use ConvTex we need first export to LaTex, and then use CovTest  
to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry)  
msword. When
LyX exports to LaTex, the extensions in all figures file names are  
removed
(and assumed to be .eps in a latex run). Now, ConvTex does not  
assumes this,
and expects the extension (whatever) in the Latex text. When run,  
ConvTex

does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to  
Latex, I
must add .eps in all figure file names in order to ConvTex work. I  
can't
find in the LyX preferences a way to change that. The converter to  
export to
Latex ( LyX -> Latex converter) doesn't show in the list of  
converters to

try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the  
equations in

the text. Not good yet)





Re: Converting to OpenOffice -- follow up

2008-02-15 Thread Neil Hepburn

Hi Jorge

Of course there is another option, one which your colleague may just  
thank you for in the future --  give him/her a copy of LyX and bring  
him/her back from the Dark Side ;-}


-Neil

=
Neil Hepburn, Economics Instructor
Department of Social Sciences, Augustana Faculty
University of Alberta
4901-46 Avenue
Camrose, Alberta  T4V 2R3

Phone (780) 679-1588
email [EMAIL PROTECTED]

On 15-Feb-08, at 7:15 AM, Jorge Sampaio wrote:


I need to convert some of my class notes to (sorry) msword so that a
colleague can change, update, etc. All notes are in LyX.

There are basically 2 options: use ConvTex script and use the LyX  
converter.
Neither one works properly. In fact, IMHO, ConvTex makes the best  
work...
however all figures are converted to .eps (a lot of them are .eps,  
although
I am, by now, preferring .png), This is not the problem, but the  
fact that
to use ConvTex we need first export to LaTex, and then use CovTest  
to create
a .sxw (OpenOffice 1.0 == StarOffice), then convert to (sorry)  
msword. When
LyX exports to LaTex, the extensions in all figures file names are  
removed
(and assumed to be .eps in a latex run). Now, ConvTex does not  
assumes this,
and expects the extension (whatever) in the Latex text. When run,  
ConvTex

does not find the figures, and the exported .swx does not includes the
pictures. As a (brute force) solution, after exporting a LyX to  
Latex, I
must add .eps in all figure file names in order to ConvTex work. I  
can't
find in the LyX preferences a way to change that. The converter to  
export to
Latex ( LyX -> Latex converter) doesn't show in the list of  
converters to

try to fix this. Any idea?

Thanks

Jorge

(converter to export to OpenOffice messes up considerably the  
equations in

the text. Not good yet)





Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

  While I'm learning how to use the Koma-Script Letter2 class for my
correspondence, I should learn why the component sequence is the way it is,
and how to work with this order. What should I read? (Kopka and Daly explain
how to use the letter class, but not the details of what goes in the
preamble so it's displayed properly.)

  After tweaking the letterhead image placement and moving the text down the
first page, I want to learn how to define my own header for continuation
pages and how to place an image of my written signature between the closing
and the printed signature.

  Perhaps I missed this in the Koma-script manual. If so, please pass me a
pointer to the proper chapter. Or, suggest other resources for me to learn
better how to use LyX/LaTeX for my business purposes.

TIA,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Problem with psfrag

2008-02-15 Thread Susanne Gütter
Hi all,

for my figure I want use the package psfrag.

When I use it, the following Latex error occurs

"Package inputenc Error: Keyboard character used is undefined
 ...fiken_Add_Rauschen_Loglog_loglog-3107-01}
  
You need to provide a definition with \DeclareInputText 
or \DeclareInputMath before using this key."

The code before the graphic is included is:

\begin_inset ERT
status Open

\layout Standard

\backslash 
psfrag{a_c/D}
{
\begin_inset Formula
$\frac{a_{c}}{D}$
\end_inset
}

\end_inset 

Whats wrong?

Regards  Susanne




Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> This _almost_ centers it. The image is still about 2.5cm too far to the
> right, 

Try 
\firsthead{\centering\usekomavar{fromlogo}\hspace*{2.5cm}}

> and the date and following text too high. I inserted ERT for 
> \vspace{2cm} just before the date style but it has no effect.

Instead of this, adjust in preamble the values of [EMAIL PROTECTED] and 
[EMAIL PROTECTED]

>    My Lamport and Knuth books are on their way here. I do want to
> understand TeX and LaTeX well enough to solve these problems on my own. In
> the meantime, I'm grateful for the help.

I don't think those books will help you much in this case. This is class 
specific. The KOMA documentation and sources are the better reading.

Jürgen


Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> Perhaps I missed this in the Koma-script manual. If so, please pass me a
> pointer to the proper chapter.

Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described 
in the KOMA manual).

Jürgen


Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described
in the KOMA manual).


Jürgen,

  I read that the scrpage2 package is used, but neglected to read that
documentation. I'll correct this today.

Thank you again,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Re: Koma-Script Letters 2 in LyX-1.5.3?

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Try
\firsthead{\centering\usekomavar{fromlogo}\hspace*{2.5cm}}


Jürgen,

  The proper spacing turned out to be 5cm, and I turned off the bounding box
clipping in the image. Now the letterhead graphic is centered and of the
appropriate size.


Instead of this, adjust in preamble the values of [EMAIL PROTECTED]
[EMAIL PROTECTED] setplength{refaftervskip}.


  Very educational! The first command positions the date, the second
positions the text _after_ the address. I needed to put a \vspace{} as the
first address line to move it down the page.


I don't think those books will help you much in this case. This is class
specific. The KOMA documentation and sources are the better reading.


  True. But, those books will help me to understand the KOMA source. There's
a lot of fundamental LaTeX I've not needed to learn by using LyX all these
years. Now it's time to better understand what's going on under the GUI
hood.

  So, now the continuation page headings and the signature graphic, and it's
a real letter!

Many thanks for your patient help,

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> how to place an image of my written signature between the closing
> and the printed signature.

1. In preamble:
[EMAIL PROTECTED]
(make sure it's inbetween of the \makeatletter --- \makeatother pair, where 
the other [EMAIL PROTECTED] calls are)

2. In the document, insert the graphic with your sig via Insert->Graphics in 
the Signature paragraph, before your typed signature, and add a soft line 
break (Ctlr-return).

(don't forget to add a Closing at the bottom of the letter. Else, the 
signature won't be printed).

Jürgen


Problem solved

2008-02-15 Thread Mukhtar Ullah
Mukhtar Ullah <[EMAIL PROTECTED]> writes:

> 
> Dear LyX users,
> Today I updated MiKTeX 2.7 packages on windows and reconfigured LyX after 
> that.
> Now LyX shows all classes as unavailable. I have no idea what is going on. I
> would not expect this behavior because it was only a package update (not an
> upgrade).
> 
> Anyone else having the same problem?
> 
> Mukhtar
> 
> 

Now everything is working again fine. The problem was that I updated from my
local package repository which in turn had picked up packages from a corrupted
mirror. Today, I updated again and everything is back in place.

Jorge, Thank you for your efforts.

Mukhtar



Re: Koma Letter 2 Components Sequence

2008-02-15 Thread Rich Shepard

On Fri, 15 Feb 2008, Jürgen Spitzmüller wrote:


Sec. 6.3.2.
(scrlttr2 uses the scrpage2 package for the headings, which is also described
in the KOMA manual).


Jürgen,

  Re-read that and Chapter 4 on scrpage2. I'm still missing something in my
understanding.

  After the 'opening' style I have (in an ERT box):

\pagestyle{myheadings}\markboth{Dr. V.N. Rai\\Page {\pagenumber}\\February 11, 
2008}

  The addressee and data are explicit because I don't yet know how to
specify those with variables.

  The error when trying to compile with pdflatex is:

"Paragraph ended before \markboth was complete"

  I get the same error if I split the LaTeX into two lines, with the second
line beginning with the \markboth{}.

  What have I missed, please?

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863

Re: Converting to OpenOffice

2008-02-15 Thread David A. Case
On Fri, Feb 15, 2008, Jorge Sampaio wrote:

> I need to convert some of my class notes to (sorry) msword so that a
> colleague can change, update, etc. All notes are in LyX.
> 
> (converter to export to OpenOffice messes up considerably the equations in
> the text. Not good yet)

I've had good luck with tex2word, converting an entire book with many hundreds
of equations.  And word2tex works pretty well in the reverse direction.  Just
Google to get information.  Neither is perfect, but the results, especially
for equations, seem much better than the alternatives you mention.

(Grindeq is a similar product, but I have no experience with it.)

Of course, these solutions cost money and involve proprietary software, which
may be a deal-breaker for some people.

...dave case


Re: Converting to OpenOffice

2008-02-15 Thread David Hewitt


Jorge Sampaio-2 wrote:
> 
> I need to convert some of my class notes to (sorry) msword so that a
> colleague can change, update, etc. All notes are in LyX.
> 

Can you go straight from Lyx through LaTeX to Rich Text Format instead? RTF
plays well with Word. I don't know how latex2rtf handles pictures and
equations, but it might be worth a try.

http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf




-
David Hewitt
Virginia Institute of Marine Science
http://www.vims.edu/fish/students/dhewitt/
-- 
View this message in context: 
http://www.nabble.com/Converting-to-OpenOffice-tp15501982p15512336.html
Sent from the LyX - Users mailing list archive at Nabble.com.



Re: koma script where to get them..

2008-02-15 Thread Uwe Stöhr

assasukasse schrieb:

i saw most ppl are using koma scripts, i suppose they are sort of 
template for LyX, 


Koma-script is a document class. To use it, choose in the document settings one 
of the classes
"article (koma-script)"
"book (koma-script)"
"report (koma-script)"

The file I send you as title page example uses the book class, also some of LyX 
manuals.


i googled them a bit
and found a big GERMAN website about it..


This is the community page of koma-script. But as all LaTeX packages, koma-script has also an 
English manual:

http://www.ctan.org/get/macros/latex/contrib/koma-script/scrguien.pdf

Here's the location of the package at CTAN:
http://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/

regards Uwe


Re: koma script where to get them..

2008-02-15 Thread Rich Shepard

On Sat, 16 Feb 2008, assasukasse wrote:


i saw most ppl are using koma scripts, i suppose they are sort of template
for LyX, i googled them a bit and found a big GERMAN website about it..
but my knowledge of german is 0, is there somewhere else i should look?


  While developed by folks in Germany, there is an English version of the
manual, and all the code is in English, too. You can get it from CTAN. It's
worth while.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


koma script where to get them..

2008-02-15 Thread assasukasse

Hi everyone
i saw most ppl are using koma scripts, i suppose they are sort of 
template for LyX, i googled them a bit

and found a big GERMAN website about it..
but my knowledge of german is 0, is there somewhere else i should look?
Thanks



Multiple styling issues

2008-02-15 Thread Jan Engelhardt
Hi everyone,


I just recently started using LyX, and I am looking for ways to change 
the behavior to what I am used to from other environments.

- Enabling word wrapping in LyX-Code environments (in the output PDF, 
LyX itself already wraps it)

Lines wider than a page overflow into the margins and off the page. This 
currently makes it necessary that I manually wrap lyx code.


- What is  Insert > Program Listing  in LyX good for, compared to 
LyX-Code environments?


- I would like to change the citation style so that square brackets 
[1] are used instead of the default round brackets (2) that 
article.layout uses by default. Is this probably a deeper change 
somewhere in /usr/share/lyx?


- Last, I would like to insert manual split points into long typewriter 
texts or supersize words.
  * WYSIWYG editors like MS Office would put the offending word into a 
new line and expand the spacing of all words of the previous line to 
satisfy the "Block" paragraph justification
  * LaTeX overflows the long word into the margin and off the page, just 
like LyX code.

Manual split points should be "zero-width breaking spaces", something 
like a hyphenation point (C-Minus), but without showing a hyphen iff it 
wraps/"(white)hyphens" the word.


thanks a lot,
Jan


Re: Multiple styling issues

2008-02-15 Thread Rich Shepard

On Sat, 16 Feb 2008, Jan Engelhardt wrote:


- Enabling word wrapping in LyX-Code environments (in the output PDF,
LyX itself already wraps it)


Jan,

  When you want verbatim text, use ctrl-[Enter] to add a newline. That
ensures that the code retains its formatting when compiled and displayed.


Lines wider than a page overflow into the margins and off the page. This
currently makes it necessary that I manually wrap lyx code.


  Sometimes the LaTeX hyphenation algorithm needs our help. You can provide
hints for where a word can be hyphenated by placing the cursor at the
potential break and using ERT to enter \-. You can put multiple suggestions
in a single word.

  Now and then, a word at the right end of a line just cannot be properly
fit. The most effective solution is to cleverly rewrite the text so the line
can be justified between words or at a hyphenation point.


- Last, I would like to insert manual split points into long typewriter
texts or supersize words.


  See the above two responses.

Rich

--
Richard B. Shepard, Ph.D.   |  IntegrityCredibility
Applied Ecosystem Services, Inc.|Innovation
 Voice: 503-667-4517  Fax: 503-667-8863


Re: Converting to OpenOffice

2008-02-15 Thread Typhoon
On Fri, 15 Feb 2008 15:23:11 -0800 (PST)
David Hewitt <[EMAIL PROTECTED]> wrote:

> 
> 
> Jorge Sampaio-2 wrote:
> > 
> > I need to convert some of my class notes to (sorry) msword so that a
> > colleague can change, update, etc. All notes are in LyX.
> > 
> 
> Can you go straight from Lyx through LaTeX to Rich Text Format
> instead? RTF plays well with Word. I don't know how latex2rtf handles
> pictures and equations, but it might be worth a try.

I convert a book length LaTeX document to OpenOffice using oolatex. It
is part of the tex4ht package. I don't know if there is a Windows
version.

My document doesn't have any pictures or equations, so I can't speak to
that. It does have a lot of cross references and special indexes.

Alan

> 
> http://wiki.lyx.org/Tips/ExportingRichTextFormatWithLaTeX2rtf
> 
> 
> 
> 
> -
> David Hewitt
> Virginia Institute of Marine Science
> http://www.vims.edu/fish/students/dhewitt/
> -- 
> View this message in context:
> http://www.nabble.com/Converting-to-OpenOffice-tp15501982p15512336.html
> Sent from the LyX - Users mailing list archive at Nabble.com.
> 
>