Re: Koma-script letter, address problem

2007-02-12 Thread Jean-Marie Pacquet

Nick Hopton a écrit :


Hello All,

I've almost got a template for letters worked out, using the 
Koma-script scrlttr2 document class.


Did you use your own lco file?



However, what I want to do is to shift the (to) address over to the 
right so that it lines-up with the text of the letter. I'm stuck here, 
can anyone help? It would be nice if the horizontal rule at the top of 
the letter only extended to the width of the letter text too.


To shift the (to) address over to the right look at the SN.lco template.
To specify the width of the horizontal rule at the top of the letter, 
you could set something like that in the lco file:

[EMAIL PROTECTED]

Best regards
--
jean-marie pacquet


Re: White space to the left of navigation bar of beamer presentations.

2007-02-12 Thread Jean-Pierre Chretien

Date: Sun, 11 Feb 2007 21:23:15 -0600
From: Bo Peng [EMAIL PROTECTED]
To: LyX Devel List lyx-devel@lists.lyx.org, lyx-users@lists.lyx.org 
lyx-users@lists.lyx.org
Subject: White space to the left of navigation bar of beamer presentations.

Dear list,

Does anyone see the white space to the left of the navigation bar and
status bar using beamer? How can I get rid of it? I have tried
linux/tetex, windows/miktex, and
I can not get rid of this ugly white bar. Attached is what I get from
tex/latex/beamer/solutions/conference-talks/conference-ornate-20min.en.lyx.

This looks to me like a paper size problem but setting A4 etc does not
help. Any help is appreciated.

I suggest you download the conference-ornate-20min.en.lyx from 
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/templates
where it is renamaed beamer-conference-ornate-20mn.lyx

A small typo in the affiliation styles is corrected there, and it works fine
here with lyx-1.4.3

Beamer documents are neither in A4 nor in letter format: the size is custom
(I guess to fit in a standard beamer projector accepting big slides).
You have to get to full screen for viewing or to expand for printing.


HTH

-- 
Jean-Pierre



still problems with figures in footer

2007-02-12 Thread Robert Neumann
Hello,
I still encounter problems with eps in the footer, as mentioned in posting:
gmane.editors.lyx.general:34527
After inserting \usepackage{graphicx} in the preamble it works well with my lyx
/ latex2.4 on windows xp 

When I gave the file and the graphic to a friend of mine, on whose pc we
installed the lyx 143 bundle it did not work using the ps2pdf-preview which we
allways use. It works with the dvipdfm, but we can't use that because the pdfs
are not of good quality.
 
What I don't understand is that it works fine on my older computer  but doesn't
work on the newer one...
regards 
Robert



Questionnaire

2007-02-12 Thread Julio Rojas

Does anyone know of a LaTeX questionnaire class or LyX questionnaire template?
I need to create a fairly big questionnaire (1000+ questions) and I
would like to know if there's a solution developed for this task.

Thanks in advance.

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Questionnaire

2007-02-12 Thread Gunnar
 Does anyone know of a LaTeX questionnaire class or LyX questionnaire
 template? I need to create a fairly big questionnaire (1000+ questions) and
 I would like to know if there's a solution developed for this task.
Before doing this, shouldn't you ask yourself if anyone ever will fill it out?


Re: Questionnaire

2007-02-12 Thread Julio Rojas

LOL, a question I have asked myself and my tutor for a long time. But
yes, in time it will be filled, money talks my friend.

I have tried QCM and it doesn´t fills my needs. I would like a
tabulated layout, not a exam layout.

On 2/12/07, Gunnar [EMAIL PROTECTED] wrote:

 Does anyone know of a LaTeX questionnaire class or LyX questionnaire
 template? I need to create a fairly big questionnaire (1000+ questions) and
 I would like to know if there's a solution developed for this task.
Before doing this, shouldn't you ask yourself if anyone ever will fill it out?




--
-
Julio Rojas
[EMAIL PROTECTED]


How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann

Hi LyX-Folks,

This most probably is, as 90% of the messages on this list, more realated 
to LaTeX than to LyX itself:


For my thesis I am using the koma-script book class (scrbook). I would like 
to remove (suppress) the usual page breaks before Part and Chapter headings 
in draft printings,  but print a horizontal line instead.


As there is no option for this in LyX, I guess I have to redefine the \part 
and \chapter commands somehow :-) But how?



Daniel


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Jürgen Spitzmüller
Daniel Lohmann wrote:
 For my thesis I am using the koma-script book class (scrbook). I would like
 to remove (suppress) the usual page breaks before Part and Chapter headings
 in draft printings,  but print a horizontal line instead.

Then use report, not book.

Jürgen


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann



Jürgen Spitzmüller schrieb:

Daniel Lohmann wrote:

For my thesis I am using the koma-script book class (scrbook). I would like
to remove (suppress) the usual page breaks before Part and Chapter headings
in draft printings,  but print a horizontal line instead.


Then use report, not book.


Thanks Jürgen,

However, this solves only part of the problem: While report does not insert 
 a page break before Chapter, it still does before (and after) Part :-/


Daniel


Re: Koma-script letter, address problem

2007-02-12 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], Jean-Marie Pacquet 
[EMAIL PROTECTED] wrote.


[...]
However, what I want to do is to shift the (to) address over to the 
right so that it lines-up with the text of the letter. I'm stuck here, 
can anyone help? It would be nice if the horizontal rule at the top of 
the letter only extended to the width of the letter text too.


To shift the (to) address over to the right look at the SN.lco template.
To specify the width of the horizontal rule at the top of the letter, 
you could set something like that in the lco file:

[EMAIL PROTECTED]

[...]

Thanks for the help, on-list and off, it pointed me in the right 
direction. Just for the record, I've found a not very elegant way of 
doing what I want, without re-writing *.lco files.


So, for the record, inserting these two lines into the document preamble 
does the trick:


[EMAIL PROTECTED]
[EMAIL PROTECTED]

Change the dimensions to suit your needs, of course. Quick and dirty, 
like me.


Regards,
Nick.

--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Steve Litt
On Monday 12 February 2007 06:44, Daniel Lohmann wrote:
 Hi LyX-Folks,

 This most probably is, as 90% of the messages on this list, more realated
 to LaTeX than to LyX itself:

 For my thesis I am using the koma-script book class (scrbook). I would like
 to remove (suppress) the usual page breaks before Part and Chapter headings
 in draft printings,  but print a horizontal line instead.

 As there is no option for this in LyX, I guess I have to redefine the \part
 and \chapter commands somehow :-) But how?


 Daniel

Ughh!  If you were *adding* something, like the horizontal line, it would be a 
simple style redefinition. You could even try that with \nopagebreak or 
something, but I doubt it will work.

What I think you'll need to do is find the defs of chapter and part in 
koma-script book, copy them to  your layout file, and as a renewenvironment 
remove the pagebreaks and add the line. I've done this on occasion, and it 
works reasonably well.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


MS Word to LyX : Losing special characters

2007-02-12 Thread John Kane
What is the current approach to importing Word
documents to LyX?

I don't want to do anything fancy. I have some very
poorly formatted Word docs (working docs not for
publication) and I have found that simply cutting and
pasting the text into LyX and doing a bit of
formatting can save me a lot of frustration trying to
read poorly laid out pages.

My problem is that I  am getting  a ? for  (curly
quotes) and for some other things like an em-dash  or
the Greek letter pi. .  It looks like an encoding
problem but I don't see how to approach it since I
don't see how to check what encoding  LyX is using,
nor Word's encoding.

I also seem to be getting an occasional empty box for
a subscript in an equation but I can live with that
since  it is better to re- enter the few equations
with Lyx for better formatting anyway.

Other things like headings etc I can easily redo in a
few minutes but finding and replacing the ?' is a
pain.

Any suggestions? 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Jürgen Spitzmüller
Daniel Lohmann wrote:
 However, this solves only part of the problem: While report does not insert
   a page break before Chapter, it still does before (and after) Part :-/

Put this in preamble:

\renewcommand\part{%
\thispagestyle{\partpagestyle}%
[EMAIL PROTECTED]@
[EMAIL PROTECTED]
[EMAIL PROTECTED]@spart
}

[EMAIL PROTECTED]
\ifnum [EMAIL PROTECTED] -2\relax
\refstepcounter{part}%
[EMAIL PROTECTED]
\addcontentsline{toc}{part}{\protect\numberline{\thepart}#1}%
\else
\addcontentsline{toc}{part}{#1}%
\fi
\partmark{#1}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
\interlinepenalty [EMAIL PROTECTED]
\normalfont\sectfont
\ifnum [EMAIL PROTECTED] -2\relax
[EMAIL PROTECTED]
\par
\fi
[EMAIL PROTECTED]
[EMAIL PROTECTED]

[EMAIL PROTECTED]

\renewcommand\chapter{%
\thispagestyle{\chapterpagestyle}%
[EMAIL PROTECTED]@
[EMAIL PROTECTED]
[EMAIL PROTECTED]@schapter
}

HTH,
Jürgen


Re: Problem generating PDF file with LyX 1.4.3

2007-02-12 Thread Paul A. Rubin

John Kane wrote:

Tools - Preferences ... - File formats lists all the file formats LyX 
recognizes.  For each, you can specify a program to display it in the 
Viewer: field.  (If the program is not on your system command path, you 
can either specify a full path here or add the path to it to Tools - 
Preferences ... - Paths - PATH prefix.)  After adding a viewer, click 
Modify and then Save.


Aha, I see the adobe path in PATH.  The viewer command
is simply PDFview.cmd . If I change the path will that
give me a new PDF reader?


PDFview is used specifically in conjunction with Acrobat Reader (and 
only on Windows systems) to work around the following problem:  if you 
View-PDF, modify the document, and then View-PDF again without first 
closing the previous Reader document, the second View-PDF will fail 
because pdflatex will try to overwrite the output PDF file while Acrobat 
has a lock on it.  (PDFView just automatically closes the previous copy 
first to avoid this.)


If you want a different reader (for instance, FoxIt), you need to change 
PDFView.cmd to FoxIt's binary and either supply the path to the FoxIt 
binary there or put it in the PATH prefix.



Car? What's a car? I ride a bicycle, mind you I still
get strange noises from it but the mechanic usually
can find an expensive cure. 


A car is a replacement for a team of horses, the main purposes being to 
(a) find a way to consume more expensive fuel and (b) trade methane 
exhaust for carbon exhaust.  (A side benefit is that cars tend to leak 
fluids rather than solids.)


I take it you have not known a lot of horses?


Not on a first-name basis (other than the one that threw me when I was a 
kid).  Mostly I stay in front of them when they're stationary and to 
their side (by a safe margin) when they're in motion.



 They leak solids and fluids (and methane too come to think
of it.  On the other hand petting horse is much more
rewarding than petting a car (or even my roadbike )


True, provided the horse likes you; if the horse doesn't like you, 
petting the car is likely to be quite a bit safer (unless you pet the 
fan belt while it's running, I suppose).


/Paul



Beamer and font size

2007-02-12 Thread Julio Rojas

I would like to change the font size Beamer uses. I read in the manual
of Beamer that using the font size while loading Beamer does the
trick. How can I feed Beamer with the font size from within LyX (I
would like to try 17pt)?

I tried from TeXnicCenter and the compilation of the documents takes a
long time and then the output hangs.

The line in using to declare the document class is:

\documentclass[english,spanish,17pt]{beamer}

Any tips?

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Beamer and font size

2007-02-12 Thread Paul A. Rubin

Julio Rojas wrote:

I would like to change the font size Beamer uses. I read in the manual
of Beamer that using the font size while loading Beamer does the
trick. How can I feed Beamer with the font size from within LyX (I
would like to try 17pt)?

I tried from TeXnicCenter and the compilation of the documents takes a
long time and then the output hangs.

The line in using to declare the document class is:

\documentclass[english,spanish,17pt]{beamer}

Any tips?



Put 17pt in Documents - Settings... -Document Class - Options:.

/Paul



Re: powerdot

2007-02-12 Thread Wolfgang Engelmann
Am Montag, 12. Februar 2007 01:43 schrieben Sie:
 On Sunday 11 February 2007 03:15, Wolfgang Engelmann wrote:
  I am using testing in the debian menu.list
  do I have to use unstable in order to get a more recent
  texlive-latex-recommended
  ?

 That might work -- I don't use Debian.  However, you don't have to update
 your complete tex/latex installation to update keyval: you can download it
 from ctan and install it manually.

What I don't understand is why I am told by my Debian system that xkeyval 
version 2005.dfsg.3-1 is installed and is the newest version. 
By the way, the package from CTAN is xkeyval v2.5f
Do I need an older version (2.5)?
Anybody out there who uses both debian and powerdot who could give me a hint?

from Les Denham (thanks):

 Download the package:
 http://tug.ctan.org/cgi-bin/getFile.py?fn=/macros/latex/contrib/xkeyval.zip

 Unzip xkeyval.zip.

 Follow the instructions in README.

yes, the parts have to go to several places in the TeX-tree


 The other packages you may need to upgrade (I did) are enumitem,
 graphicx-psmin, and pstricks.

enumitem and graphicx-psmin are apparently not available under debian. 
for pstricks I have texlive-pstricks (and texlive-pdfetex and pgf)

I created a directory texmf + textree in my home and put the tex- and 
style-files from xkeyval and enumitem (from CTAN) into it. 
(texhash afterward)

However, the powerdot.lyx template would run only if I take the foils for 
emptyslide, latex and verbatim material our.

What is the best way of finding out what is missing? 

Thanks,

Wolfgang


Re: Using ACM and APA styles in LyX?

2007-02-12 Thread B. Bogart
Thanks,

I checked out the link and was unable to get the instructions to work,
since the directions for where to put the sig-alternate.cls file don't
match my directory structure (there is no 'Base' directory where there
should be).

I can't get LyX to see my texlive stuff, if I hack the acmlayout file to
refer to the acmtrans2e class LyX says that the class is unknown, but
it is listed on the text info gui. Ah, I suppose textclass and
documentclass are different things.

Can someone suggest a howto on creating lyX layouts? (what extra choices
are made in these layouts that are not in the document class? Can't they
be auto generated from the document classes on a system?)

At this rate I'll have to use openoffice and the acm word template. :(

Thanks all for your help.
B. Bogart

[EMAIL PROTECTED] wrote:
 Siterer B. Bogart [EMAIL PROTECTED]:
 
 Hi Richard,

 I changed from tetex to texlive but I'm not seeing any change in the
 document classes I see in lyx.
 
 I am guessing you do not have a ACM layout file for lyx. The layout file
 tells lyx how to interpret the LaTeX style file. This is a part of LyX,
 but as there are many LaTeX stylefiles, not all have had their layout
 file written.  Googling on 'acm layout lyx' I found this site:
 http://www.ece.iit.edu/~jgrad/lyx/
 
 Which have a layout file for acm. Install the layout file and
 reconfigure LyX and you should have a working acm layout.
 
 Ingar
 
 
 



Re: Using ACM and APA styles in LyX?

2007-02-12 Thread ingarp
Siterer B. Bogart [EMAIL PROTECTED]:

 Thanks,

 I checked out the link and was unable to get the instructions to
 work, since the directions for where to put the sig-alternate.cls
 file don't match my directory structure (there is no 'Base'
 directory where there should be).

I do not use TeXLiVE, but in my last reply I guessed that the you had
installed the sig-alternate.cls already. Sorry, about that, here is a
page how to install a style file in LaTeX and teach LaTeX to recognise
it.
http://ubuntuforums.org/showthread.php?t=131507page=2

The basics is that it is not important where you put the stylefile
(.sty/.cls) is as long as it is in the LaTeX tree. And you need to run
sudo texhash afterwards so LaTeX know that you have put something new
there...

 I can't get LyX to see my texlive stuff, if I hack the acmlayout
 to file refer to the acmtrans2e class LyX says that the class
 is unknown, but it is listed on the text info gui. Ah, I suppose
 textclass and documentclass are different things.

Is the text info a misspelled tex info, as in Tools-Tex Info ? If
your style is listed here, LaTeX recognise it, and your problem is in
the way you have modified the Layout file...

Do I understand you right when I guess you do not want to use the
sig-alernate.cls, but need to use the acmtrans2e.cls ? In this post
from 2001 Roberto Marabini take a stepwise transformation of the
article.layout to an acmtrans2e.layout for tetex. As we have covered
the tetex vs livetex already you may try to use his recipe.
http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg11937.html

 Can someone suggest a howto on creating lyX layouts? (what extra
 choices  are made in these layouts that are not in the document
 class? Can't they  be auto generated from the document classes
 on a system?)

I am afraid that .layout files must be handwritten. It is not difficult,
but you need to understand how LyX and LaTeX interacts as this file
describes this interaction. It is therfore put in the Help file:
Customizing LyX: Features for the Advanced User, Chapter 5.2 Layouts.
that comes with LyX.


 At this rate I'll have to use openoffice and the acm word template.
 :(

Well, that would be up to you of course :). However, eventhough LyX
might have a steep learningcurve I have never encountered anyone that
have regretted learning it. And even an elephant are eaten a mouthfull
at a time, if you can say that in English :)

If you run into problems do not hesitate to ask.

Ingar


Re: Koma-script letter, address problem

2007-02-12 Thread Jean-Marie Pacquet

Nick Hopton a écrit :


Hello All,

I've almost got a template for letters worked out, using the 
Koma-script scrlttr2 document class.


Did you use your own lco file?



However, what I want to do is to shift the (to) address over to the 
right so that it lines-up with the text of the letter. I'm stuck here, 
can anyone help? It would be nice if the horizontal rule at the top of 
the letter only extended to the width of the letter text too.


To shift the (to) address over to the right look at the SN.lco template.
To specify the width of the horizontal rule at the top of the letter, 
you could set something like that in the lco file:

[EMAIL PROTECTED]

Best regards
--
jean-marie pacquet


Re: White space to the left of navigation bar of beamer presentations.

2007-02-12 Thread Jean-Pierre Chretien

Date: Sun, 11 Feb 2007 21:23:15 -0600
From: Bo Peng [EMAIL PROTECTED]
To: LyX Devel List lyx-devel@lists.lyx.org, lyx-users@lists.lyx.org 
lyx-users@lists.lyx.org
Subject: White space to the left of navigation bar of beamer presentations.

Dear list,

Does anyone see the white space to the left of the navigation bar and
status bar using beamer? How can I get rid of it? I have tried
linux/tetex, windows/miktex, and
I can not get rid of this ugly white bar. Attached is what I get from
tex/latex/beamer/solutions/conference-talks/conference-ornate-20min.en.lyx.

This looks to me like a paper size problem but setting A4 etc does not
help. Any help is appreciated.

I suggest you download the conference-ornate-20min.en.lyx from 
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/templates
where it is renamaed beamer-conference-ornate-20mn.lyx

A small typo in the affiliation styles is corrected there, and it works fine
here with lyx-1.4.3

Beamer documents are neither in A4 nor in letter format: the size is custom
(I guess to fit in a standard beamer projector accepting big slides).
You have to get to full screen for viewing or to expand for printing.


HTH

-- 
Jean-Pierre



still problems with figures in footer

2007-02-12 Thread Robert Neumann
Hello,
I still encounter problems with eps in the footer, as mentioned in posting:
gmane.editors.lyx.general:34527
After inserting \usepackage{graphicx} in the preamble it works well with my lyx
/ latex2.4 on windows xp 

When I gave the file and the graphic to a friend of mine, on whose pc we
installed the lyx 143 bundle it did not work using the ps2pdf-preview which we
allways use. It works with the dvipdfm, but we can't use that because the pdfs
are not of good quality.
 
What I don't understand is that it works fine on my older computer  but doesn't
work on the newer one...
regards 
Robert



Questionnaire

2007-02-12 Thread Julio Rojas

Does anyone know of a LaTeX questionnaire class or LyX questionnaire template?
I need to create a fairly big questionnaire (1000+ questions) and I
would like to know if there's a solution developed for this task.

Thanks in advance.

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Questionnaire

2007-02-12 Thread Gunnar
 Does anyone know of a LaTeX questionnaire class or LyX questionnaire
 template? I need to create a fairly big questionnaire (1000+ questions) and
 I would like to know if there's a solution developed for this task.
Before doing this, shouldn't you ask yourself if anyone ever will fill it out?


Re: Questionnaire

2007-02-12 Thread Julio Rojas

LOL, a question I have asked myself and my tutor for a long time. But
yes, in time it will be filled, money talks my friend.

I have tried QCM and it doesn´t fills my needs. I would like a
tabulated layout, not a exam layout.

On 2/12/07, Gunnar [EMAIL PROTECTED] wrote:

 Does anyone know of a LaTeX questionnaire class or LyX questionnaire
 template? I need to create a fairly big questionnaire (1000+ questions) and
 I would like to know if there's a solution developed for this task.
Before doing this, shouldn't you ask yourself if anyone ever will fill it out?




--
-
Julio Rojas
[EMAIL PROTECTED]


How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann

Hi LyX-Folks,

This most probably is, as 90% of the messages on this list, more realated 
to LaTeX than to LyX itself:


For my thesis I am using the koma-script book class (scrbook). I would like 
to remove (suppress) the usual page breaks before Part and Chapter headings 
in draft printings,  but print a horizontal line instead.


As there is no option for this in LyX, I guess I have to redefine the \part 
and \chapter commands somehow :-) But how?



Daniel


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Jürgen Spitzmüller
Daniel Lohmann wrote:
 For my thesis I am using the koma-script book class (scrbook). I would like
 to remove (suppress) the usual page breaks before Part and Chapter headings
 in draft printings,  but print a horizontal line instead.

Then use report, not book.

Jürgen


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann



Jürgen Spitzmüller schrieb:

Daniel Lohmann wrote:

For my thesis I am using the koma-script book class (scrbook). I would like
to remove (suppress) the usual page breaks before Part and Chapter headings
in draft printings,  but print a horizontal line instead.


Then use report, not book.


Thanks Jürgen,

However, this solves only part of the problem: While report does not insert 
 a page break before Chapter, it still does before (and after) Part :-/


Daniel


Re: Koma-script letter, address problem

2007-02-12 Thread Nick Hopton
In a recent message [EMAIL PROTECTED], Jean-Marie Pacquet 
[EMAIL PROTECTED] wrote.


[...]
However, what I want to do is to shift the (to) address over to the 
right so that it lines-up with the text of the letter. I'm stuck here, 
can anyone help? It would be nice if the horizontal rule at the top of 
the letter only extended to the width of the letter text too.


To shift the (to) address over to the right look at the SN.lco template.
To specify the width of the horizontal rule at the top of the letter, 
you could set something like that in the lco file:

[EMAIL PROTECTED]

[...]

Thanks for the help, on-list and off, it pointed me in the right 
direction. Just for the record, I've found a not very elegant way of 
doing what I want, without re-writing *.lco files.


So, for the record, inserting these two lines into the document preamble 
does the trick:


[EMAIL PROTECTED]
[EMAIL PROTECTED]

Change the dimensions to suit your needs, of course. Quick and dirty, 
like me.


Regards,
Nick.

--
Nick Hopton and Anne Hopton
Caversham, Reading, England
[EMAIL PROTECTED]



Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Steve Litt
On Monday 12 February 2007 06:44, Daniel Lohmann wrote:
 Hi LyX-Folks,

 This most probably is, as 90% of the messages on this list, more realated
 to LaTeX than to LyX itself:

 For my thesis I am using the koma-script book class (scrbook). I would like
 to remove (suppress) the usual page breaks before Part and Chapter headings
 in draft printings,  but print a horizontal line instead.

 As there is no option for this in LyX, I guess I have to redefine the \part
 and \chapter commands somehow :-) But how?


 Daniel

Ughh!  If you were *adding* something, like the horizontal line, it would be a 
simple style redefinition. You could even try that with \nopagebreak or 
something, but I doubt it will work.

What I think you'll need to do is find the defs of chapter and part in 
koma-script book, copy them to  your layout file, and as a renewenvironment 
remove the pagebreaks and add the line. I've done this on occasion, and it 
works reasonably well.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


MS Word to LyX : Losing special characters

2007-02-12 Thread John Kane
What is the current approach to importing Word
documents to LyX?

I don't want to do anything fancy. I have some very
poorly formatted Word docs (working docs not for
publication) and I have found that simply cutting and
pasting the text into LyX and doing a bit of
formatting can save me a lot of frustration trying to
read poorly laid out pages.

My problem is that I  am getting  a ? for  (curly
quotes) and for some other things like an em-dash  or
the Greek letter pi. .  It looks like an encoding
problem but I don't see how to approach it since I
don't see how to check what encoding  LyX is using,
nor Word's encoding.

I also seem to be getting an occasional empty box for
a subscript in an equation but I can live with that
since  it is better to re- enter the few equations
with Lyx for better formatting anyway.

Other things like headings etc I can easily redo in a
few minutes but finding and replacing the ?' is a
pain.

Any suggestions? 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Jürgen Spitzmüller
Daniel Lohmann wrote:
 However, this solves only part of the problem: While report does not insert
   a page break before Chapter, it still does before (and after) Part :-/

Put this in preamble:

\renewcommand\part{%
\thispagestyle{\partpagestyle}%
[EMAIL PROTECTED]@
[EMAIL PROTECTED]
[EMAIL PROTECTED]@spart
}

[EMAIL PROTECTED]
\ifnum [EMAIL PROTECTED] -2\relax
\refstepcounter{part}%
[EMAIL PROTECTED]
\addcontentsline{toc}{part}{\protect\numberline{\thepart}#1}%
\else
\addcontentsline{toc}{part}{#1}%
\fi
\partmark{#1}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
\interlinepenalty [EMAIL PROTECTED]
\normalfont\sectfont
\ifnum [EMAIL PROTECTED] -2\relax
[EMAIL PROTECTED]
\par
\fi
[EMAIL PROTECTED]
[EMAIL PROTECTED]

[EMAIL PROTECTED]

\renewcommand\chapter{%
\thispagestyle{\chapterpagestyle}%
[EMAIL PROTECTED]@
[EMAIL PROTECTED]
[EMAIL PROTECTED]@schapter
}

HTH,
Jürgen


Re: Problem generating PDF file with LyX 1.4.3

2007-02-12 Thread Paul A. Rubin

John Kane wrote:

Tools - Preferences ... - File formats lists all the file formats LyX 
recognizes.  For each, you can specify a program to display it in the 
Viewer: field.  (If the program is not on your system command path, you 
can either specify a full path here or add the path to it to Tools - 
Preferences ... - Paths - PATH prefix.)  After adding a viewer, click 
Modify and then Save.


Aha, I see the adobe path in PATH.  The viewer command
is simply PDFview.cmd . If I change the path will that
give me a new PDF reader?


PDFview is used specifically in conjunction with Acrobat Reader (and 
only on Windows systems) to work around the following problem:  if you 
View-PDF, modify the document, and then View-PDF again without first 
closing the previous Reader document, the second View-PDF will fail 
because pdflatex will try to overwrite the output PDF file while Acrobat 
has a lock on it.  (PDFView just automatically closes the previous copy 
first to avoid this.)


If you want a different reader (for instance, FoxIt), you need to change 
PDFView.cmd to FoxIt's binary and either supply the path to the FoxIt 
binary there or put it in the PATH prefix.



Car? What's a car? I ride a bicycle, mind you I still
get strange noises from it but the mechanic usually
can find an expensive cure. 


A car is a replacement for a team of horses, the main purposes being to 
(a) find a way to consume more expensive fuel and (b) trade methane 
exhaust for carbon exhaust.  (A side benefit is that cars tend to leak 
fluids rather than solids.)


I take it you have not known a lot of horses?


Not on a first-name basis (other than the one that threw me when I was a 
kid).  Mostly I stay in front of them when they're stationary and to 
their side (by a safe margin) when they're in motion.



 They leak solids and fluids (and methane too come to think
of it.  On the other hand petting horse is much more
rewarding than petting a car (or even my roadbike )


True, provided the horse likes you; if the horse doesn't like you, 
petting the car is likely to be quite a bit safer (unless you pet the 
fan belt while it's running, I suppose).


/Paul



Beamer and font size

2007-02-12 Thread Julio Rojas

I would like to change the font size Beamer uses. I read in the manual
of Beamer that using the font size while loading Beamer does the
trick. How can I feed Beamer with the font size from within LyX (I
would like to try 17pt)?

I tried from TeXnicCenter and the compilation of the documents takes a
long time and then the output hangs.

The line in using to declare the document class is:

\documentclass[english,spanish,17pt]{beamer}

Any tips?

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Beamer and font size

2007-02-12 Thread Paul A. Rubin

Julio Rojas wrote:

I would like to change the font size Beamer uses. I read in the manual
of Beamer that using the font size while loading Beamer does the
trick. How can I feed Beamer with the font size from within LyX (I
would like to try 17pt)?

I tried from TeXnicCenter and the compilation of the documents takes a
long time and then the output hangs.

The line in using to declare the document class is:

\documentclass[english,spanish,17pt]{beamer}

Any tips?



Put 17pt in Documents - Settings... -Document Class - Options:.

/Paul



Re: powerdot

2007-02-12 Thread Wolfgang Engelmann
Am Montag, 12. Februar 2007 01:43 schrieben Sie:
 On Sunday 11 February 2007 03:15, Wolfgang Engelmann wrote:
  I am using testing in the debian menu.list
  do I have to use unstable in order to get a more recent
  texlive-latex-recommended
  ?

 That might work -- I don't use Debian.  However, you don't have to update
 your complete tex/latex installation to update keyval: you can download it
 from ctan and install it manually.

What I don't understand is why I am told by my Debian system that xkeyval 
version 2005.dfsg.3-1 is installed and is the newest version. 
By the way, the package from CTAN is xkeyval v2.5f
Do I need an older version (2.5)?
Anybody out there who uses both debian and powerdot who could give me a hint?

from Les Denham (thanks):

 Download the package:
 http://tug.ctan.org/cgi-bin/getFile.py?fn=/macros/latex/contrib/xkeyval.zip

 Unzip xkeyval.zip.

 Follow the instructions in README.

yes, the parts have to go to several places in the TeX-tree


 The other packages you may need to upgrade (I did) are enumitem,
 graphicx-psmin, and pstricks.

enumitem and graphicx-psmin are apparently not available under debian. 
for pstricks I have texlive-pstricks (and texlive-pdfetex and pgf)

I created a directory texmf + textree in my home and put the tex- and 
style-files from xkeyval and enumitem (from CTAN) into it. 
(texhash afterward)

However, the powerdot.lyx template would run only if I take the foils for 
emptyslide, latex and verbatim material our.

What is the best way of finding out what is missing? 

Thanks,

Wolfgang


Re: Using ACM and APA styles in LyX?

2007-02-12 Thread B. Bogart
Thanks,

I checked out the link and was unable to get the instructions to work,
since the directions for where to put the sig-alternate.cls file don't
match my directory structure (there is no 'Base' directory where there
should be).

I can't get LyX to see my texlive stuff, if I hack the acmlayout file to
refer to the acmtrans2e class LyX says that the class is unknown, but
it is listed on the text info gui. Ah, I suppose textclass and
documentclass are different things.

Can someone suggest a howto on creating lyX layouts? (what extra choices
are made in these layouts that are not in the document class? Can't they
be auto generated from the document classes on a system?)

At this rate I'll have to use openoffice and the acm word template. :(

Thanks all for your help.
B. Bogart

[EMAIL PROTECTED] wrote:
 Siterer B. Bogart [EMAIL PROTECTED]:
 
 Hi Richard,

 I changed from tetex to texlive but I'm not seeing any change in the
 document classes I see in lyx.
 
 I am guessing you do not have a ACM layout file for lyx. The layout file
 tells lyx how to interpret the LaTeX style file. This is a part of LyX,
 but as there are many LaTeX stylefiles, not all have had their layout
 file written.  Googling on 'acm layout lyx' I found this site:
 http://www.ece.iit.edu/~jgrad/lyx/
 
 Which have a layout file for acm. Install the layout file and
 reconfigure LyX and you should have a working acm layout.
 
 Ingar
 
 
 



Re: Using ACM and APA styles in LyX?

2007-02-12 Thread ingarp
Siterer B. Bogart [EMAIL PROTECTED]:

 Thanks,

 I checked out the link and was unable to get the instructions to
 work, since the directions for where to put the sig-alternate.cls
 file don't match my directory structure (there is no 'Base'
 directory where there should be).

I do not use TeXLiVE, but in my last reply I guessed that the you had
installed the sig-alternate.cls already. Sorry, about that, here is a
page how to install a style file in LaTeX and teach LaTeX to recognise
it.
http://ubuntuforums.org/showthread.php?t=131507page=2

The basics is that it is not important where you put the stylefile
(.sty/.cls) is as long as it is in the LaTeX tree. And you need to run
sudo texhash afterwards so LaTeX know that you have put something new
there...

 I can't get LyX to see my texlive stuff, if I hack the acmlayout
 to file refer to the acmtrans2e class LyX says that the class
 is unknown, but it is listed on the text info gui. Ah, I suppose
 textclass and documentclass are different things.

Is the text info a misspelled tex info, as in Tools-Tex Info ? If
your style is listed here, LaTeX recognise it, and your problem is in
the way you have modified the Layout file...

Do I understand you right when I guess you do not want to use the
sig-alernate.cls, but need to use the acmtrans2e.cls ? In this post
from 2001 Roberto Marabini take a stepwise transformation of the
article.layout to an acmtrans2e.layout for tetex. As we have covered
the tetex vs livetex already you may try to use his recipe.
http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg11937.html

 Can someone suggest a howto on creating lyX layouts? (what extra
 choices  are made in these layouts that are not in the document
 class? Can't they  be auto generated from the document classes
 on a system?)

I am afraid that .layout files must be handwritten. It is not difficult,
but you need to understand how LyX and LaTeX interacts as this file
describes this interaction. It is therfore put in the Help file:
Customizing LyX: Features for the Advanced User, Chapter 5.2 Layouts.
that comes with LyX.


 At this rate I'll have to use openoffice and the acm word template.
 :(

Well, that would be up to you of course :). However, eventhough LyX
might have a steep learningcurve I have never encountered anyone that
have regretted learning it. And even an elephant are eaten a mouthfull
at a time, if you can say that in English :)

If you run into problems do not hesitate to ask.

Ingar


Re: Koma-script letter, address problem

2007-02-12 Thread Jean-Marie Pacquet

Nick Hopton a écrit :


Hello All,

I've almost got a template for letters worked out, using the 
Koma-script scrlttr2 document class.


Did you use your own "lco" file?



However, what I want to do is to shift the (to) address over to the 
right so that it lines-up with the text of the letter. I'm stuck here, 
can anyone help? It would be nice if the horizontal rule at the top of 
the letter only extended to the width of the letter text too.


To shift the (to) address over to the right look at the "SN.lco" template.
To specify the width of the horizontal rule at the top of the letter, 
you could set something like that in the lco file:

[EMAIL PROTECTED]

Best regards
--
jean-marie pacquet


Re: White space to the left of navigation bar of beamer presentations.

2007-02-12 Thread Jean-Pierre Chretien

>>Date: Sun, 11 Feb 2007 21:23:15 -0600
>>From: "Bo Peng" <[EMAIL PROTECTED]>
>>To: "LyX Devel List" , "lyx-users@lists.lyx.org" 

>>Subject: White space to the left of navigation bar of beamer presentations.
>>
>>Dear list,
>>
>>Does anyone see the white space to the left of the navigation bar and
>>status bar using beamer? How can I get rid of it? I have tried
>>linux/tetex, windows/miktex, and
>>I can not get rid of this ugly white bar. Attached is what I get from
>>tex/latex/beamer/solutions/conference-talks/conference-ornate-20min.en.lyx.
>>
>>This looks to me like a paper size problem but setting A4 etc does not
>>help. Any help is appreciated.

I suggest you download the conference-ornate-20min.en.lyx from 
http://www.lyx.org/trac/browser/lyx-devel/branches/BRANCH_1_4_X/lib/templates
where it is renamaed beamer-conference-ornate-20mn.lyx

A small typo in the affiliation styles is corrected there, and it works fine
here with lyx-1.4.3

Beamer documents are neither in A4 nor in letter format: the size is custom
(I guess to fit in a standard beamer projector accepting big slides).
You have to get to full screen for viewing or to expand for printing.


HTH

-- 
Jean-Pierre



still problems with figures in footer

2007-02-12 Thread Robert Neumann
Hello,
I still encounter problems with eps in the footer, as mentioned in posting:
gmane.editors.lyx.general:34527
After inserting \usepackage{graphicx} in the preamble it works well with my lyx
/ latex2.4 on windows xp 

When I gave the file and the graphic to a friend of mine, on whose pc we
installed the lyx 143 bundle it did not work using the ps2pdf-preview which we
allways use. It works with the dvipdfm, but we can't use that because the pdfs
are not of good quality.
 
What I don't understand is that it works fine on my older computer  but doesn't
work on the newer one...
regards 
Robert



Questionnaire

2007-02-12 Thread Julio Rojas

Does anyone know of a LaTeX questionnaire class or LyX questionnaire template?
I need to create a fairly big questionnaire (1000+ questions) and I
would like to know if there's a solution developed for this task.

Thanks in advance.

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Questionnaire

2007-02-12 Thread Gunnar
> Does anyone know of a LaTeX questionnaire class or LyX questionnaire
> template? I need to create a fairly big questionnaire (1000+ questions) and
> I would like to know if there's a solution developed for this task.
Before doing this, shouldn't you ask yourself if anyone ever will fill it out?


Re: Questionnaire

2007-02-12 Thread Julio Rojas

LOL, a question I have asked myself and my tutor for a long time. But
yes, in time it will be filled, money talks my friend.

I have tried QCM and it doesn´t fills my needs. I would like a
tabulated layout, not a exam layout.

On 2/12/07, Gunnar <[EMAIL PROTECTED]> wrote:

> Does anyone know of a LaTeX questionnaire class or LyX questionnaire
> template? I need to create a fairly big questionnaire (1000+ questions) and
> I would like to know if there's a solution developed for this task.
Before doing this, shouldn't you ask yourself if anyone ever will fill it out?




--
-
Julio Rojas
[EMAIL PROTECTED]


How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann

Hi LyX-Folks,

This most probably is, as 90% of the messages on this list, more realated 
to LaTeX than to LyX itself:


For my thesis I am using the koma-script book class (scrbook). I would like 
to remove (suppress) the usual page breaks before Part and Chapter headings 
in draft printings,  but print a horizontal line instead.


As there is no option for this in LyX, I guess I have to redefine the \part 
and \chapter commands somehow :-) But how?



Daniel


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Jürgen Spitzmüller
Daniel Lohmann wrote:
> For my thesis I am using the koma-script book class (scrbook). I would like
> to remove (suppress) the usual page breaks before Part and Chapter headings
> in draft printings,  but print a horizontal line instead.

Then use report, not book.

Jürgen


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Daniel Lohmann



Jürgen Spitzmüller schrieb:

Daniel Lohmann wrote:

For my thesis I am using the koma-script book class (scrbook). I would like
to remove (suppress) the usual page breaks before Part and Chapter headings
in draft printings,  but print a horizontal line instead.


Then use report, not book.


Thanks Jürgen,

However, this solves only part of the problem: While report does not insert 
 a page break before Chapter, it still does before (and after) Part :-/


Daniel


Re: Koma-script letter, address problem

2007-02-12 Thread Nick Hopton
In a recent message <[EMAIL PROTECTED]>, Jean-Marie Pacquet 
<[EMAIL PROTECTED]> wrote.


[...]
However, what I want to do is to shift the (to) address over to the 
right so that it lines-up with the text of the letter. I'm stuck here, 
can anyone help? It would be nice if the horizontal rule at the top of 
the letter only extended to the width of the letter text too.


To shift the (to) address over to the right look at the "SN.lco" template.
To specify the width of the horizontal rule at the top of the letter, 
you could set something like that in the lco file:

[EMAIL PROTECTED]

[...]

Thanks for the help, on-list and off, it pointed me in the right 
direction. Just for the record, I've found a not very elegant way of 
doing what I want, without re-writing *.lco files.


So, for the record, inserting these two lines into the document preamble 
does the trick:


[EMAIL PROTECTED]
[EMAIL PROTECTED]

Change the dimensions to suit your needs, of course. Quick and dirty, 
like me.


Regards,
Nick.

--
Nick Hopton and Anne Hopton
Caversham, Reading, England
<[EMAIL PROTECTED]>



Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Steve Litt
On Monday 12 February 2007 06:44, Daniel Lohmann wrote:
> Hi LyX-Folks,
>
> This most probably is, as 90% of the messages on this list, more realated
> to LaTeX than to LyX itself:
>
> For my thesis I am using the koma-script book class (scrbook). I would like
> to remove (suppress) the usual page breaks before Part and Chapter headings
> in draft printings,  but print a horizontal line instead.
>
> As there is no option for this in LyX, I guess I have to redefine the \part
> and \chapter commands somehow :-) But how?
>
>
> Daniel

Ughh!  If you were *adding* something, like the horizontal line, it would be a 
simple style redefinition. You could even try that with \nopagebreak or 
something, but I doubt it will work.

What I think you'll need to do is find the defs of chapter and part in 
koma-script book, copy them to  your layout file, and as a renewenvironment 
remove the pagebreaks and add the line. I've done this on occasion, and it 
works reasonably well.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


MS Word to LyX : Losing special characters

2007-02-12 Thread John Kane
What is the current approach to importing Word
documents to LyX?

I don't want to do anything fancy. I have some very
poorly formatted Word docs (working docs not for
publication) and I have found that simply cutting and
pasting the text into LyX and doing a bit of
formatting can save me a lot of frustration trying to
read poorly laid out pages.

My problem is that I  am getting  a ? for " (curly
quotes) and for some other things like an em-dash  or
the Greek letter pi. .  It looks like an encoding
problem but I don't see how to approach it since I
don't see how to check what encoding  LyX is using,
nor Word's encoding.

I also seem to be getting an occasional empty box for
a subscript in an equation but I can live with that
since  it is better to re- enter the few equations
with Lyx for better formatting anyway.

Other things like headings etc I can easily redo in a
few minutes but finding and replacing the ?' is a
pain.

Any suggestions? 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


Re: How to prevent page break before Part and Chapter

2007-02-12 Thread Jürgen Spitzmüller
Daniel Lohmann wrote:
> However, this solves only part of the problem: While report does not insert
>   a page break before Chapter, it still does before (and after) Part :-/

Put this in preamble:

\renewcommand\part{%
\thispagestyle{\partpagestyle}%
[EMAIL PROTECTED]@
[EMAIL PROTECTED]
[EMAIL PROTECTED]@spart
}

[EMAIL PROTECTED]
\ifnum [EMAIL PROTECTED] >-2\relax
\refstepcounter{part}%
[EMAIL PROTECTED]
\addcontentsline{toc}{part}{\protect\numberline{\thepart}#1}%
\else
\addcontentsline{toc}{part}{#1}%
\fi
\partmark{#1}%
[EMAIL PROTECTED]@[EMAIL PROTECTED]
\interlinepenalty [EMAIL PROTECTED]
\normalfont\sectfont
\ifnum [EMAIL PROTECTED] >-2\relax
[EMAIL PROTECTED]
\par
\fi
[EMAIL PROTECTED]
[EMAIL PROTECTED]

[EMAIL PROTECTED]

\renewcommand\chapter{%
\thispagestyle{\chapterpagestyle}%
[EMAIL PROTECTED]@
[EMAIL PROTECTED]
[EMAIL PROTECTED]@schapter
}

HTH,
Jürgen


Re: Problem generating PDF file with LyX 1.4.3

2007-02-12 Thread Paul A. Rubin

John Kane wrote:

Tools -> Preferences ... -> File formats lists all the file formats LyX 
recognizes.  For each, you can specify a program to display it in the 
Viewer: field.  (If the program is not on your system command path, you 
can either specify a full path here or add the path to it to Tools -> 
Preferences ... -> Paths -> PATH prefix.)  After adding a viewer, click 
Modify and then Save.


Aha, I see the adobe path in PATH.  The viewer command
is simply PDFview.cmd . If I change the path will that
give me a new PDF reader?


PDFview is used specifically in conjunction with Acrobat Reader (and 
only on Windows systems) to work around the following problem:  if you 
View->PDF, modify the document, and then View->PDF again without first 
closing the previous Reader document, the second View->PDF will fail 
because pdflatex will try to overwrite the output PDF file while Acrobat 
has a lock on it.  (PDFView just automatically closes the previous copy 
first to avoid this.)


If you want a different reader (for instance, FoxIt), you need to change 
PDFView.cmd to FoxIt's binary and either supply the path to the FoxIt 
binary there or put it in the PATH prefix.



Car? What's a car? I ride a bicycle, mind you I still
get strange noises from it but the mechanic usually
can find an expensive cure. 


A car is a replacement for a team of horses, the main purposes being to 
(a) find a way to consume more expensive fuel and (b) trade methane 
exhaust for carbon exhaust.  (A side benefit is that cars tend to leak 
fluids rather than solids.)


I take it you have not known a lot of horses?


Not on a first-name basis (other than the one that threw me when I was a 
kid).  Mostly I stay in front of them when they're stationary and to 
their side (by a safe margin) when they're in motion.



 They leak solids and fluids (and methane too come to think
of it.  On the other hand petting horse is much more
rewarding than petting a car (or even my roadbike )


True, provided the horse likes you; if the horse doesn't like you, 
petting the car is likely to be quite a bit safer (unless you pet the 
fan belt while it's running, I suppose).


/Paul



Beamer and font size

2007-02-12 Thread Julio Rojas

I would like to change the font size Beamer uses. I read in the manual
of Beamer that using the font size while loading Beamer does the
trick. How can I feed Beamer with the font size from within LyX (I
would like to try 17pt)?

I tried from TeXnicCenter and the compilation of the documents takes a
long time and then the output hangs.

The line in using to declare the document class is:

\documentclass[english,spanish,17pt]{beamer}

Any tips?

--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Beamer and font size

2007-02-12 Thread Paul A. Rubin

Julio Rojas wrote:

I would like to change the font size Beamer uses. I read in the manual
of Beamer that using the font size while loading Beamer does the
trick. How can I feed Beamer with the font size from within LyX (I
would like to try 17pt)?

I tried from TeXnicCenter and the compilation of the documents takes a
long time and then the output hangs.

The line in using to declare the document class is:

\documentclass[english,spanish,17pt]{beamer}

Any tips?



Put 17pt in Documents -> Settings... ->Document Class -> Options:.

/Paul



Re: powerdot

2007-02-12 Thread Wolfgang Engelmann
Am Montag, 12. Februar 2007 01:43 schrieben Sie:
> On Sunday 11 February 2007 03:15, Wolfgang Engelmann wrote:
> > I am using testing in the debian menu.list
> > do I have to use unstable in order to get a more recent
> > texlive-latex-recommended
> > ?
>
> That might work -- I don't use Debian.  However, you don't have to update
> your complete tex/latex installation to update keyval: you can download it
> from ctan and install it manually.

What I don't understand is why I am told by my Debian system that xkeyval 
version 2005.dfsg.3-1 is installed and is the newest version. 
By the way, the package from CTAN is xkeyval v2.5f
Do I need an older version (2.5)?
Anybody out there who uses both debian and powerdot who could give me a hint?

from Les Denham (thanks):
>
> Download the package:
> http://tug.ctan.org/cgi-bin/getFile.py?fn=/macros/latex/contrib/xkeyval.zip
>
> Unzip xkeyval.zip.
>
> Follow the instructions in README.

yes, the parts have to go to several places in the TeX-tree

>
> The other packages you may need to upgrade (I did) are enumitem,
> graphicx-psmin, and pstricks.

enumitem and graphicx-psmin are apparently not available under debian. 
for pstricks I have texlive-pstricks (and texlive-pdfetex and pgf)

I created a directory texmf + textree in my home and put the tex- and 
style-files from xkeyval and enumitem (from CTAN) into it. 
(texhash afterward)

However, the powerdot.lyx template would run only if I take the foils for 
emptyslide, latex and verbatim material our.

What is the best way of finding out what is missing? 

Thanks,

Wolfgang


Re: Using ACM and APA styles in LyX?

2007-02-12 Thread B. Bogart
Thanks,

I checked out the link and was unable to get the instructions to work,
since the directions for where to put the sig-alternate.cls file don't
match my directory structure (there is no 'Base' directory where there
should be).

I can't get LyX to see my texlive stuff, if I hack the acmlayout file to
refer to the acmtrans2e class LyX says that the class is "unknown", but
it is listed on the "text info" gui. Ah, I suppose textclass and
documentclass are different things.

Can someone suggest a howto on creating lyX layouts? (what extra choices
are made in these layouts that are not in the document class? Can't they
be auto generated from the document classes on a system?)

At this rate I'll have to use openoffice and the acm word template. :(

Thanks all for your help.
B. Bogart

[EMAIL PROTECTED] wrote:
> Siterer "B. Bogart" <[EMAIL PROTECTED]>:
> 
>> Hi Richard,
>>
>> I changed from tetex to texlive but I'm not seeing any change in the
>> document classes I see in lyx.
> 
> I am guessing you do not have a ACM layout file for lyx. The layout file
> tells lyx how to interpret the LaTeX style file. This is a part of LyX,
> but as there are many LaTeX stylefiles, not all have had their layout
> file written.  Googling on 'acm layout lyx' I found this site:
> http://www.ece.iit.edu/~jgrad/lyx/
> 
> Which have a layout file for acm. Install the layout file and
> reconfigure LyX and you should have a working acm layout.
> 
> Ingar
> 
> 
> 



Re: Using ACM and APA styles in LyX?

2007-02-12 Thread ingarp
Siterer "B. Bogart" <[EMAIL PROTECTED]>:

> Thanks,
>
> I checked out the link and was unable to get the instructions to
> work, since the directions for where to put the sig-alternate.cls
> file don't match my directory structure (there is no 'Base'
> directory where there should be).

I do not use TeXLiVE, but in my last reply I guessed that the you had
installed the sig-alternate.cls already. Sorry, about that, here is a
page how to install a style file in LaTeX and teach LaTeX to recognise
it.
http://ubuntuforums.org/showthread.php?t=131507=2

The basics is that it is not important where you put the stylefile
(.sty/.cls) is as long as it is in the LaTeX tree. And you need to run
sudo texhash afterwards so LaTeX know that you have put something new
there...

> I can't get LyX to see my texlive stuff, if I hack the acmlayout
> to file refer to the acmtrans2e class LyX says that the class
> is "unknown", but it is listed on the "text info" gui. Ah, I suppose
> textclass and documentclass are different things.

Is the "text info" a misspelled "tex info", as in Tools->Tex Info ? If
your style is listed here, LaTeX recognise it, and your problem is in
the way you have modified the Layout file...

Do I understand you right when I guess you do not want to use the
sig-alernate.cls, but need to use the acmtrans2e.cls ? In this post
from 2001 Roberto Marabini take a stepwise transformation of the
article.layout to an acmtrans2e.layout for tetex. As we have covered
the tetex vs livetex already you may try to use his recipe.
http://www.mail-archive.com/lyx-users%40lists.lyx.org/msg11937.html

> Can someone suggest a howto on creating lyX layouts? (what extra
> choices  are made in these layouts that are not in the document
> class? Can't they  be auto generated from the document classes
> on a system?)

I am afraid that .layout files must be handwritten. It is not difficult,
but you need to understand how LyX and LaTeX interacts as this file
describes this interaction. It is therfore put in the Help file:
Customizing LyX: Features for the Advanced User, Chapter 5.2 Layouts.
that comes with LyX.


> At this rate I'll have to use openoffice and the acm word template.
> :(

Well, that would be up to you of course :). However, eventhough LyX
might have a steep learningcurve I have never encountered anyone that
have regretted learning it. And even an elephant are eaten a mouthfull
at a time, if you can say that in English :)

If you run into problems do not hesitate to ask.

Ingar