Re: inverted iota

2008-02-02 Thread Liviu Andronic
On 2/2/08, William Seager [EMAIL PROTECTED] wrote:
 Of course, this is not much comfort ...

What LaTeX distribution do you use: app-text/tetex or app-text/texlive?

Liviu


RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Thanks
I tried to remove the extension but it did not change the error messages.
I'll keep trying.
Is there an alternative to pdfpages that works with tetex istead of tex-live ?

Eli

-הודעה מקורית-
מאת: Eran Kaplinsky [mailto:[EMAIL PROTECTED]
נשלח: ש 2/2/2008 00:32
עותק לידיעה: Eli Brosh; LyX Users List
נושא: problem with pdfpages
 
I don't know if this is the source of your problem, but I always omit the .pdf 
extension. So:


\includepdf[pages=1-11]{filename}




Custom function names

2008-02-02 Thread Daniel CLEMENT
LyX has a convenient drop-down list for math function names, but I'd like to
add some.

E.g. it is customary (in French) to call ch instead of cosh the
hyperbolic cosine function.

Could I add my custom names to the list?

Or maybe I could use ERT as a workaround (but how, in math mode)?

TIA - regards,

Daniel CLEMENT




RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Robert Orr wrote:
I think you might have to move the .pdf file which you
would like to include into the temporary directory
where LyX compiles the document. 

I usually make the temp directory ( you can change it
in the preferences) someplace close to where the
actual document is.Copy and PAste the .pdf's you
want to include into the temp directory.   Then you
should be able to produce output.

Thanks.
I tried it: I saw in the preference where the temp directory is and
I put the pdf file there.
But, it did not change the error messages and did not produce the result.
Is there an alternative to this pdfpages package ?



Eli





Re: inverted iota

2008-02-02 Thread William Seager
On February 2, 2008 03:52:30 Liviu Andronic wrote:
 What LaTeX distribution do you use: app-text/tetex or app-text/texlive?

tetex ... could that be the problem?

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: inverted iota

2008-02-02 Thread Liviu Andronic
On 2/2/08, William Seager [EMAIL PROTECTED] wrote:
 tetex ... could that be the problem?


Making a wild guess, yes. I enjoy TeXLive without any hassle, so far.
It is also supposed to be a complete and modern TeX distribution (as
opposed to the ancient TeTeX). You might want to switch to it. If
you do, follow the guide on Gentoo Wiki [1] (don't forget to read the
External link before you do anything with your system). Also, on
Gentoo (don't know on other systems) it is highly modular so do check
the USE flags.

Liviu

[1] http://gentoo-wiki.com/TeX_Live_2007


Re: Custom function names

2008-02-02 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
In the new manual Math.lyx, there is a solution (section 15 Functions ) 
: As an example, if you want to define the sgn function, you put this 
lines in the LaTeX preamble :


\DeclareMathOperator{\sgn}{sgn}

Then you can use \sgn in your formulas.
Hope it helps.

Siegfried.


First page customizing in koma-script

2008-02-02 Thread Michael Färber
I have noticed that the first page of a document using koma-script seems to be 
quite regulated, e.g. it only allows pre-defined fields like author, title, 
publisher etc., however, I have to use more fields.

Can you point me to information how to customise the front page?

Thanks a lot in advance,
Michael Färber


Absolute Positioning of Graphics

2008-02-02 Thread Tyler Remoue

Hello all,

How can I insert images into a powerdot presentations at an absolute position 
(x, y coordinate) and specify the width  height of those images?  Is this 
possible?

Keep in mind I'm  very new  to lyx and sorry for the newbie question.  I'm sure 
this is simple to do.

Thanks in advance,

-Tyler 

_



Re: Absolute Positioning of Graphics

2008-02-02 Thread John Culleton
On Saturday 02 February 2008 01:29:57 pm Tyler Remoue wrote:
 Hello all,

 How can I insert images into a powerdot presentations at an absolute
 position (x, y coordinate) and specify the width  height of those images? 
 Is this possible?

 Keep in mind I'm  very new  to lyx and sorry for the newbie question.  I'm
 sure this is simple to do.

 Thanks in advance,

 -Tyler


Not simple I am afraid. 

You may have to save as latex and then use pstricks.sty in that file. Or you 
can try manipulating pstricks from within Lyx but that may be problematic. 

John Culleton

-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm


error in Tutorial?

2008-02-02 Thread David Romano
I'm completely new to LyX and am going throught the tutorial (for 1.4.3), 
which contains the following line:


Note that once you've got more than one document open, you can use the 
Documents menu to switch between them.


I see a Document (singular) menu, but this only contains information about 
the document I'm reading; however I spotted multiple files referenced in 
the View menu.  Is this a mistake, or am I reading a tutorial connected to 
a different version of LyX?


Thanks,
David Romano

P.S. I'm not a subscriber to the lyx-docs list, but am to the lyx-users 
list, so please respond off-list of on the lyx-users list.





Re: inverted iota

2008-02-02 Thread William Seager
On February 2, 2008 08:45:28 Liviu Andronic wrote:
 Making a wild guess, yes

Good guess! On my notebook computer (which
I could survive having a messed up latex) but
which also runs gentoo linux, I unmerged tetex
and embarked on the adventure of installing
texlive (not bad actually).

Once I also installed the immense package of
extra fonts, phonetic worked and I had my
inverted iota.

Putting the phonetic package (sty file and metafonts)
into ~/texmf did *not* work though. I wonder why.

Also I am glad to report that with texlive lyx now reconfigures
without error. I suppose I should gird my loins, and try to put
texlive on my main computer.

thanks for all the help

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: First page customizing in koma-script

2008-02-02 Thread Uwe Stöhr

Michael Färber schrieb:


I have noticed that the first page of a document using koma-script seems to be quite regulated, e.g. it only 
allows pre-defined fields like author, title, publisher etc., however, I 
have to use more fields.

Can you point me to information how to customise the front page?


You can customize the tilte, see the koma-script documentation. (scrguide.pdf or scrguien.pdf on 
your computer)


regards Uwe


Re: error in Tutorial?

2008-02-02 Thread Uwe Stöhr

David Romano schrieb:

I'm completely new to LyX and am going throught the tutorial (for 
1.4.3), which contains the following line:


Note that once you've got more than one document open, you can use the 
Documents menu to switch between them.


I see a Document (singular) menu, but this only contains information 
about the document I'm reading; however I spotted multiple files 
referenced in the View menu.  Is this a mistake, or am I reading a 
tutorial connected to a different version of LyX?


Yes this was a mistake. But for the actual LyX version 1.5.x the Tutorial has 
been revised.

regards Uwe


Re: Custom function names

2008-02-02 Thread Uwe Stöhr

Daniel CLEMENT schrieb:


LyX has a convenient drop-down list for math function names, but I'd like to
add some.

E.g. it is customary (in French) to call ch instead of cosh the
hyperbolic cosine function.


Have a look at section 15 of this manual that will be part of the upcoming LyX 
1.5.4:
http://wiki.lyx.org/uploads/LyX/LyXDevelDocumentation/1.5/Math.pdf
(from http://wiki.lyx.org/LyX/DocumentationDevelopment)

regards Uwe


Re: Two formatting issues with koma-script book

2008-02-02 Thread Uwe Stöhr

David Hewitt schrieb:


It's a 2-sided document with headings Page Style.

(1) The first problem is that the headings for sections/high-level
environments that start on odd-numbered pages show up on empty even-numbered
pages that follow. I'd like them not to appear on those empty pages, and if
possible to appear on the odd-numbered page where the section begins.


Both is possible I think. I don't know how exactly but you should find answers in the koma-script 
manual or its community: http://www.komascript.de
The community page is German, but if nothing helps I would post there in English anyway - I'm sure 
you'll get an answer.



(2) The second problem I'm having is that the Figures in chapters don't
number like the equations. The equations happily begin with the Chapter
number plus .[equation_number], but the Figures in each chapter are just
numbered 1, 2, 3, ... Can I make the Figure numbers the same as the equation
numbering?


How this can be changed is described in section 3.3 of LyX's EmbeddedObjects 
manual.

regards Uwe


Re: problem with pdfpages

2008-02-02 Thread Paul A. Rubin

Eli Brosh wrote:

Hello
I am trying to  include a pdf file in a LyX document.
I have the TeX-Live package installed in my computer. If I understand
correctly, it includes pdfpages.

I put the phrase \usepackage{pdfpages} in the LateX preamble for the
document.
Afterwards, I wrote in ERT: \includepdf[pages=1-11]{filename.pdf}
The filename.pdf is saved in the same folder as the LyX document.


Now, when I try to view the document as dvi, I get the error message:
Package pdfpages Error:You produce DVI output but pdf output
Undefined control sequence.
Missing $ inserted
Extra }, or forgotten $.
Missing $ inserted.


When I try to produce a pdf output, I get the error message:
LyX: Cannot view file
File does not exist:
/tmp/lyx_tmpdir21859Tr9iSI/lyx_tmpbuf0/newfile.pdf

What is wrong ?
Is there an easy way to insert the pdf file into the LyX document ?
Please, try to give a simple and specific answer as I am new to LyX, as well
as to LaTeX .
I use Ubuntu Feisty (quite new to linux as well).

Thanks
Eli



You might try putting an absolute path to the PDF file in the ERT entry.

Also, as far as I know, only pdflatex works with pdfpages.  When I try 
to view DVI, I get no error message, but the DVI file has blank pages 
where the inserted pages should go.  That in turn means that dvipdfm 
does the same thing trying to produce PDF output.  I also get blank 
pages with ps2pdf.


/Paul



Re: User's Guide doesn't work

2008-02-02 Thread Tom Sisan
Thanks for the help Uwe, but I still am having problems.

About your suggestion - personally I think MiKTeX was installing
packages fine (it never complained and seemed to complete the process
whenever I clicked install package in the package manager). BUT it
never showed floatflt.sty in the MiKTeX package manager.  Its NOT in
the package list.  In my very uneducated opinion it seems like MiKTeX
has decided to remove floatflt.sty from there package list because its
so old.  CTAN shows a date of 1998 on floatflt.sty, whereas the oldest
package in MiKTeX available in the MiKTeX package manager is from
2001.  This is just a theory I have, could be totally wrong. :)

So I've tried a bunch of stuff since then:

1. uninstall both MiKTex and LyX and reinstall them (using miktex
basic installer and lyx standard installer).  I encountered new
problems this time with the User's guide where the error message was
something about scrbook.class (this is from memory so I may not have
it exact).  I found online help about this suggesting koma-scsript was
the problem.  But now when I tried installing new packages they didn't
seeem to install, because after restarting lyx it would always try to
reinstall what it had tried to before.

2.  Reinstalled them again using miktex network installer and lyx
alternative installer.  I also ran miktex update this time (I don't
think I did that before).  Now, I am back where I was originally.
- There is no package containing the file floatflt.sty available in miktex.
- lyx user's guide complains that the file floatflt.sty can't be found
and makes no attempt to install it (as before)
- the style file floatflt.sty is not shown in the list of styles under
Tools-Tex Information
-An example tex file that came with the floatflt package from CTAN can
be compiled into a pdf in LyX, but only after I edit the file
drastically leaving only a single floated figure.  It does have a
usepackage{floatflt} in it.  It works in lyx, producing a figure with
text floated around it.  I included the tex code below.  I don't know
why this file works and the User's Guide does not.

Here is the highly modified file version of a file that came with
floatflt package on CTAN:

%%
%% This is file `floatexm.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% floatflt.dtx  (with options: `exempelkod')
%%
%% Copyright (c) 1994-1998 by Mats Dahlgren [EMAIL PROTECTED].
%% All rights reserved.  See the file `floatflt.ins' for information
%% on how you may (re-)distribute the `floatflt' package files.
%% You are not allowed to make any changes to this file without
%% explicit permission from the author.
%%
\documentclass[11pt]{article}
\usepackage{floatflt}
\begin{document}
\centerline{\Huge{ The Tale of \textsf{floatflt} }}
\bigskip
\normalsize

This is a demonstration document for the use
of the \textsf{floatflt} package.  It contains several
floating figures and tables with captions explaining how
they were called.  At the end, a
\verb+\listoffigures+ command
is used, resulting in the desired lists.  For more
details on how to use the \textsf{floatflt} package,
please run \LaTeX{} on the file \texttt{floatflt.dtx}.

The following work by Edgar Alan Poe was retrieved by
anonymous ftp from \texttt{ftp.funet.fi} in the
directory \texttt{/pub/doc/literary/etext} where it is
found in the file \texttt{telltale.poe}.  Only minor
\LaTeX\ adaptions have been done, besides the inclusion
of floating floats.

TRUE! nervous, very, very dreadfully nervous
I had been and am; but why WILL you say
that I am mad? The disease had sharpened
my senses, not destroyed, not dulled them. Above
all was the sense of hearing acute. I heard all things
in the heaven and in the earth. I heard many things
in hell. How then am I mad? Hearken! and observe how healthily, how
calmly, I can tell you the
whole story.

\begin{floatingfigure}{60mm}
\begin{center}
The first figure
\end{center}
\caption{The environment with.}
\end{floatingfigure}

It is impossible to say how first the idea entered
my brain, but, once conceived, it haunted me day
and night. Object there was none. Passion there
was none. I loved the old man. He had never
wronged me. He had never given me insult. For
his gold I had no desire. I think it was his eye!
Yes, it was this! One of his eyes resembled that
of a vulture -- a pale blue eye with a film over it.
Whenever it fell upon me my blood ran cold, and
so by degrees, very gradually, I made up my mind
to take the life of the old man, and thus rid myself
of the eye for ever.

\rightline{\ensuremath{\mathcal{END}}.}

\listoffigures

\end{document}
\endinput
%%
%% End of file `floatexm.tex'.


Again, thanks for your help.
-Tom

On Feb 1, 2008 8:29 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Tom schrieb:

  When I try
  to view it using any method (dvi, pdf, ps) it says:
  LaTeX Error: File `floatflt.sty' not found.
   ...
   I tried installing that package using MiKTeX 2.7 package browser, but this
   

problem with pdfpages-solved

2008-02-02 Thread Eli Brosh
The problem with pdfpages is now solved.
Everything works if I put the full filename for the files I attach.

Thank you all
especially to Eran Kaplinsky and Robert Orr.

Best regards
Eli




Re: inverted iota

2008-02-02 Thread Liviu Andronic
On 2/2/08, William Seager [EMAIL PROTECTED] wrote:
 Of course, this is not much comfort ...

What LaTeX distribution do you use: app-text/tetex or app-text/texlive?

Liviu


RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Thanks
I tried to remove the extension but it did not change the error messages.
I'll keep trying.
Is there an alternative to pdfpages that works with tetex istead of tex-live ?

Eli

-הודעה מקורית-
מאת: Eran Kaplinsky [mailto:[EMAIL PROTECTED]
נשלח: ש 2/2/2008 00:32
עותק לידיעה: Eli Brosh; LyX Users List
נושא: problem with pdfpages
 
I don't know if this is the source of your problem, but I always omit the .pdf 
extension. So:


\includepdf[pages=1-11]{filename}




Custom function names

2008-02-02 Thread Daniel CLEMENT
LyX has a convenient drop-down list for math function names, but I'd like to
add some.

E.g. it is customary (in French) to call ch instead of cosh the
hyperbolic cosine function.

Could I add my custom names to the list?

Or maybe I could use ERT as a workaround (but how, in math mode)?

TIA - regards,

Daniel CLEMENT




RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Robert Orr wrote:
I think you might have to move the .pdf file which you
would like to include into the temporary directory
where LyX compiles the document. 

I usually make the temp directory ( you can change it
in the preferences) someplace close to where the
actual document is.Copy and PAste the .pdf's you
want to include into the temp directory.   Then you
should be able to produce output.

Thanks.
I tried it: I saw in the preference where the temp directory is and
I put the pdf file there.
But, it did not change the error messages and did not produce the result.
Is there an alternative to this pdfpages package ?



Eli





Re: inverted iota

2008-02-02 Thread William Seager
On February 2, 2008 03:52:30 Liviu Andronic wrote:
 What LaTeX distribution do you use: app-text/tetex or app-text/texlive?

tetex ... could that be the problem?

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: inverted iota

2008-02-02 Thread Liviu Andronic
On 2/2/08, William Seager [EMAIL PROTECTED] wrote:
 tetex ... could that be the problem?


Making a wild guess, yes. I enjoy TeXLive without any hassle, so far.
It is also supposed to be a complete and modern TeX distribution (as
opposed to the ancient TeTeX). You might want to switch to it. If
you do, follow the guide on Gentoo Wiki [1] (don't forget to read the
External link before you do anything with your system). Also, on
Gentoo (don't know on other systems) it is highly modular so do check
the USE flags.

Liviu

[1] http://gentoo-wiki.com/TeX_Live_2007


Re: Custom function names

2008-02-02 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
In the new manual Math.lyx, there is a solution (section 15 Functions ) 
: As an example, if you want to define the sgn function, you put this 
lines in the LaTeX preamble :


\DeclareMathOperator{\sgn}{sgn}

Then you can use \sgn in your formulas.
Hope it helps.

Siegfried.


First page customizing in koma-script

2008-02-02 Thread Michael Färber
I have noticed that the first page of a document using koma-script seems to be 
quite regulated, e.g. it only allows pre-defined fields like author, title, 
publisher etc., however, I have to use more fields.

Can you point me to information how to customise the front page?

Thanks a lot in advance,
Michael Färber


Absolute Positioning of Graphics

2008-02-02 Thread Tyler Remoue

Hello all,

How can I insert images into a powerdot presentations at an absolute position 
(x, y coordinate) and specify the width  height of those images?  Is this 
possible?

Keep in mind I'm  very new  to lyx and sorry for the newbie question.  I'm sure 
this is simple to do.

Thanks in advance,

-Tyler 

_



Re: Absolute Positioning of Graphics

2008-02-02 Thread John Culleton
On Saturday 02 February 2008 01:29:57 pm Tyler Remoue wrote:
 Hello all,

 How can I insert images into a powerdot presentations at an absolute
 position (x, y coordinate) and specify the width  height of those images? 
 Is this possible?

 Keep in mind I'm  very new  to lyx and sorry for the newbie question.  I'm
 sure this is simple to do.

 Thanks in advance,

 -Tyler


Not simple I am afraid. 

You may have to save as latex and then use pstricks.sty in that file. Or you 
can try manipulating pstricks from within Lyx but that may be problematic. 

John Culleton

-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm


error in Tutorial?

2008-02-02 Thread David Romano
I'm completely new to LyX and am going throught the tutorial (for 1.4.3), 
which contains the following line:


Note that once you've got more than one document open, you can use the 
Documents menu to switch between them.


I see a Document (singular) menu, but this only contains information about 
the document I'm reading; however I spotted multiple files referenced in 
the View menu.  Is this a mistake, or am I reading a tutorial connected to 
a different version of LyX?


Thanks,
David Romano

P.S. I'm not a subscriber to the lyx-docs list, but am to the lyx-users 
list, so please respond off-list of on the lyx-users list.





Re: inverted iota

2008-02-02 Thread William Seager
On February 2, 2008 08:45:28 Liviu Andronic wrote:
 Making a wild guess, yes

Good guess! On my notebook computer (which
I could survive having a messed up latex) but
which also runs gentoo linux, I unmerged tetex
and embarked on the adventure of installing
texlive (not bad actually).

Once I also installed the immense package of
extra fonts, phonetic worked and I had my
inverted iota.

Putting the phonetic package (sty file and metafonts)
into ~/texmf did *not* work though. I wonder why.

Also I am glad to report that with texlive lyx now reconfigures
without error. I suppose I should gird my loins, and try to put
texlive on my main computer.

thanks for all the help

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: First page customizing in koma-script

2008-02-02 Thread Uwe Stöhr

Michael Färber schrieb:


I have noticed that the first page of a document using koma-script seems to be quite regulated, e.g. it only 
allows pre-defined fields like author, title, publisher etc., however, I 
have to use more fields.

Can you point me to information how to customise the front page?


You can customize the tilte, see the koma-script documentation. (scrguide.pdf or scrguien.pdf on 
your computer)


regards Uwe


Re: error in Tutorial?

2008-02-02 Thread Uwe Stöhr

David Romano schrieb:

I'm completely new to LyX and am going throught the tutorial (for 
1.4.3), which contains the following line:


Note that once you've got more than one document open, you can use the 
Documents menu to switch between them.


I see a Document (singular) menu, but this only contains information 
about the document I'm reading; however I spotted multiple files 
referenced in the View menu.  Is this a mistake, or am I reading a 
tutorial connected to a different version of LyX?


Yes this was a mistake. But for the actual LyX version 1.5.x the Tutorial has 
been revised.

regards Uwe


Re: Custom function names

2008-02-02 Thread Uwe Stöhr

Daniel CLEMENT schrieb:


LyX has a convenient drop-down list for math function names, but I'd like to
add some.

E.g. it is customary (in French) to call ch instead of cosh the
hyperbolic cosine function.


Have a look at section 15 of this manual that will be part of the upcoming LyX 
1.5.4:
http://wiki.lyx.org/uploads/LyX/LyXDevelDocumentation/1.5/Math.pdf
(from http://wiki.lyx.org/LyX/DocumentationDevelopment)

regards Uwe


Re: Two formatting issues with koma-script book

2008-02-02 Thread Uwe Stöhr

David Hewitt schrieb:


It's a 2-sided document with headings Page Style.

(1) The first problem is that the headings for sections/high-level
environments that start on odd-numbered pages show up on empty even-numbered
pages that follow. I'd like them not to appear on those empty pages, and if
possible to appear on the odd-numbered page where the section begins.


Both is possible I think. I don't know how exactly but you should find answers in the koma-script 
manual or its community: http://www.komascript.de
The community page is German, but if nothing helps I would post there in English anyway - I'm sure 
you'll get an answer.



(2) The second problem I'm having is that the Figures in chapters don't
number like the equations. The equations happily begin with the Chapter
number plus .[equation_number], but the Figures in each chapter are just
numbered 1, 2, 3, ... Can I make the Figure numbers the same as the equation
numbering?


How this can be changed is described in section 3.3 of LyX's EmbeddedObjects 
manual.

regards Uwe


Re: problem with pdfpages

2008-02-02 Thread Paul A. Rubin

Eli Brosh wrote:

Hello
I am trying to  include a pdf file in a LyX document.
I have the TeX-Live package installed in my computer. If I understand
correctly, it includes pdfpages.

I put the phrase \usepackage{pdfpages} in the LateX preamble for the
document.
Afterwards, I wrote in ERT: \includepdf[pages=1-11]{filename.pdf}
The filename.pdf is saved in the same folder as the LyX document.


Now, when I try to view the document as dvi, I get the error message:
Package pdfpages Error:You produce DVI output but pdf output
Undefined control sequence.
Missing $ inserted
Extra }, or forgotten $.
Missing $ inserted.


When I try to produce a pdf output, I get the error message:
LyX: Cannot view file
File does not exist:
/tmp/lyx_tmpdir21859Tr9iSI/lyx_tmpbuf0/newfile.pdf

What is wrong ?
Is there an easy way to insert the pdf file into the LyX document ?
Please, try to give a simple and specific answer as I am new to LyX, as well
as to LaTeX .
I use Ubuntu Feisty (quite new to linux as well).

Thanks
Eli



You might try putting an absolute path to the PDF file in the ERT entry.

Also, as far as I know, only pdflatex works with pdfpages.  When I try 
to view DVI, I get no error message, but the DVI file has blank pages 
where the inserted pages should go.  That in turn means that dvipdfm 
does the same thing trying to produce PDF output.  I also get blank 
pages with ps2pdf.


/Paul



Re: User's Guide doesn't work

2008-02-02 Thread Tom Sisan
Thanks for the help Uwe, but I still am having problems.

About your suggestion - personally I think MiKTeX was installing
packages fine (it never complained and seemed to complete the process
whenever I clicked install package in the package manager). BUT it
never showed floatflt.sty in the MiKTeX package manager.  Its NOT in
the package list.  In my very uneducated opinion it seems like MiKTeX
has decided to remove floatflt.sty from there package list because its
so old.  CTAN shows a date of 1998 on floatflt.sty, whereas the oldest
package in MiKTeX available in the MiKTeX package manager is from
2001.  This is just a theory I have, could be totally wrong. :)

So I've tried a bunch of stuff since then:

1. uninstall both MiKTex and LyX and reinstall them (using miktex
basic installer and lyx standard installer).  I encountered new
problems this time with the User's guide where the error message was
something about scrbook.class (this is from memory so I may not have
it exact).  I found online help about this suggesting koma-scsript was
the problem.  But now when I tried installing new packages they didn't
seeem to install, because after restarting lyx it would always try to
reinstall what it had tried to before.

2.  Reinstalled them again using miktex network installer and lyx
alternative installer.  I also ran miktex update this time (I don't
think I did that before).  Now, I am back where I was originally.
- There is no package containing the file floatflt.sty available in miktex.
- lyx user's guide complains that the file floatflt.sty can't be found
and makes no attempt to install it (as before)
- the style file floatflt.sty is not shown in the list of styles under
Tools-Tex Information
-An example tex file that came with the floatflt package from CTAN can
be compiled into a pdf in LyX, but only after I edit the file
drastically leaving only a single floated figure.  It does have a
usepackage{floatflt} in it.  It works in lyx, producing a figure with
text floated around it.  I included the tex code below.  I don't know
why this file works and the User's Guide does not.

Here is the highly modified file version of a file that came with
floatflt package on CTAN:

%%
%% This is file `floatexm.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% floatflt.dtx  (with options: `exempelkod')
%%
%% Copyright (c) 1994-1998 by Mats Dahlgren [EMAIL PROTECTED].
%% All rights reserved.  See the file `floatflt.ins' for information
%% on how you may (re-)distribute the `floatflt' package files.
%% You are not allowed to make any changes to this file without
%% explicit permission from the author.
%%
\documentclass[11pt]{article}
\usepackage{floatflt}
\begin{document}
\centerline{\Huge{ The Tale of \textsf{floatflt} }}
\bigskip
\normalsize

This is a demonstration document for the use
of the \textsf{floatflt} package.  It contains several
floating figures and tables with captions explaining how
they were called.  At the end, a
\verb+\listoffigures+ command
is used, resulting in the desired lists.  For more
details on how to use the \textsf{floatflt} package,
please run \LaTeX{} on the file \texttt{floatflt.dtx}.

The following work by Edgar Alan Poe was retrieved by
anonymous ftp from \texttt{ftp.funet.fi} in the
directory \texttt{/pub/doc/literary/etext} where it is
found in the file \texttt{telltale.poe}.  Only minor
\LaTeX\ adaptions have been done, besides the inclusion
of floating floats.

TRUE! nervous, very, very dreadfully nervous
I had been and am; but why WILL you say
that I am mad? The disease had sharpened
my senses, not destroyed, not dulled them. Above
all was the sense of hearing acute. I heard all things
in the heaven and in the earth. I heard many things
in hell. How then am I mad? Hearken! and observe how healthily, how
calmly, I can tell you the
whole story.

\begin{floatingfigure}{60mm}
\begin{center}
The first figure
\end{center}
\caption{The environment with.}
\end{floatingfigure}

It is impossible to say how first the idea entered
my brain, but, once conceived, it haunted me day
and night. Object there was none. Passion there
was none. I loved the old man. He had never
wronged me. He had never given me insult. For
his gold I had no desire. I think it was his eye!
Yes, it was this! One of his eyes resembled that
of a vulture -- a pale blue eye with a film over it.
Whenever it fell upon me my blood ran cold, and
so by degrees, very gradually, I made up my mind
to take the life of the old man, and thus rid myself
of the eye for ever.

\rightline{\ensuremath{\mathcal{END}}.}

\listoffigures

\end{document}
\endinput
%%
%% End of file `floatexm.tex'.


Again, thanks for your help.
-Tom

On Feb 1, 2008 8:29 PM, Uwe Stöhr [EMAIL PROTECTED] wrote:
 Tom schrieb:

  When I try
  to view it using any method (dvi, pdf, ps) it says:
  LaTeX Error: File `floatflt.sty' not found.
   ...
   I tried installing that package using MiKTeX 2.7 package browser, but this
   

problem with pdfpages-solved

2008-02-02 Thread Eli Brosh
The problem with pdfpages is now solved.
Everything works if I put the full filename for the files I attach.

Thank you all
especially to Eran Kaplinsky and Robert Orr.

Best regards
Eli




Re: inverted iota

2008-02-02 Thread Liviu Andronic
On 2/2/08, William Seager <[EMAIL PROTECTED]> wrote:
> Of course, this is not much comfort ...

What LaTeX distribution do you use: app-text/tetex or app-text/texlive?

Liviu


RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Thanks
I tried to remove the extension but it did not change the error messages.
I'll keep trying.
Is there an alternative to pdfpages that works with tetex istead of tex-live ?

Eli

-הודעה מקורית-
מאת: Eran Kaplinsky [mailto:[EMAIL PROTECTED]
נשלח: ש 2/2/2008 00:32
עותק לידיעה: Eli Brosh; LyX Users List
נושא: problem with pdfpages
 
I don't know if this is the source of your problem, but I always omit the .pdf 
extension. So:


\includepdf[pages=1-11]{filename}




Custom function names

2008-02-02 Thread Daniel CLEMENT
LyX has a convenient drop-down list for math function names, but I'd like to
add some.

E.g. it is customary (in French) to call "ch" instead of "cosh" the
hyperbolic cosine function.

Could I add my custom names to the list?

Or maybe I could use ERT as a workaround (but how, in math mode)?

TIA - regards,

Daniel CLEMENT




RE: problem with pdfpages

2008-02-02 Thread Eli Brosh

Robert Orr wrote:
>I think you might have to move the .pdf file which you
>would like to include into the temporary directory
>where LyX compiles the document. 

>I usually make the temp directory ( you can change it
>in the preferences) someplace close to where the
>actual document is.Copy and PAste the .pdf's you
>want to include into the temp directory.   Then you
>should be able to produce output.

Thanks.
I tried it: I saw in the preference where the temp directory is and
I put the pdf file there.
But, it did not change the error messages and did not produce the result.
Is there an alternative to this pdfpages package ?



Eli





Re: inverted iota

2008-02-02 Thread William Seager
On February 2, 2008 03:52:30 Liviu Andronic wrote:
> What LaTeX distribution do you use: app-text/tetex or app-text/texlive?

tetex ... could that be the problem?

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: inverted iota

2008-02-02 Thread Liviu Andronic
On 2/2/08, William Seager <[EMAIL PROTECTED]> wrote:
> tetex ... could that be the problem?
>

Making a wild guess, yes. I enjoy TeXLive without any hassle, so far.
It is also supposed to be a complete and "modern" TeX distribution (as
opposed to the "ancient" TeTeX). You might want to switch to it. If
you do, follow the guide on Gentoo Wiki [1] (don't forget to read the
External link before you do anything with your system). Also, on
Gentoo (don't know on other systems) it is highly modular so do check
the USE flags.

Liviu

[1] http://gentoo-wiki.com/TeX_Live_2007


Re: Custom function names

2008-02-02 Thread Siegfried MEUNIER-GUTTIN-CLUZEL
In the new manual Math.lyx, there is a solution (section 15 Functions ) 
: As an example, if you want to define the sgn function, you put this 
lines in the LaTeX preamble :


\DeclareMathOperator{\sgn}{sgn}

Then you can use \sgn in your formulas.
Hope it helps.

Siegfried.


First page customizing in koma-script

2008-02-02 Thread Michael Färber
I have noticed that the first page of a document using koma-script seems to be 
quite regulated, e.g. it only allows pre-defined fields like "author", "title", 
"publisher" etc., however, I have to use more fields.

Can you point me to information how to customise the front page?

Thanks a lot in advance,
Michael Färber


Absolute Positioning of Graphics

2008-02-02 Thread Tyler Remoue

Hello all,

How can I insert images into a powerdot presentations at an absolute position 
(x, y coordinate) and specify the width & height of those images?  Is this 
possible?

Keep in mind I'm  very new  to lyx and sorry for the newbie question.  I'm sure 
this is simple to do.

Thanks in advance,

-Tyler 

_



Re: Absolute Positioning of Graphics

2008-02-02 Thread John Culleton
On Saturday 02 February 2008 01:29:57 pm Tyler Remoue wrote:
> Hello all,
>
> How can I insert images into a powerdot presentations at an absolute
> position (x, y coordinate) and specify the width & height of those images? 
> Is this possible?
>
> Keep in mind I'm  very new  to lyx and sorry for the newbie question.  I'm
> sure this is simple to do.
>
> Thanks in advance,
>
> -Tyler
>

Not simple I am afraid. 

You may have to save as latex and then use pstricks.sty in that file. Or you 
can try manipulating pstricks from within Lyx but that may be problematic. 

John Culleton

-- 
John Culleton
Resources for every author and publisher:
http://wexfordpress.com/tex/shortlist.pdf
http://wexfordpress.com/tex/packagers.pdf
http://www.creativemindspress.com/newbiefaq.htm
http://www.gropenassoc.com/TopLevelPages/reference%20desk.htm


error in Tutorial?

2008-02-02 Thread David Romano
I'm completely new to LyX and am going throught the tutorial (for 1.4.3), 
which contains the following line:


"Note that once you've got more than one document open, you can use the 
Documents menu to switch between them."


I see a Document (singular) menu, but this only contains information about 
the document I'm reading; however I spotted multiple files referenced in 
the View menu.  Is this a mistake, or am I reading a tutorial connected to 
a different version of LyX?


Thanks,
David Romano

P.S. I'm not a subscriber to the lyx-docs list, but am to the lyx-users 
list, so please respond off-list of on the lyx-users list.





Re: inverted iota

2008-02-02 Thread William Seager
On February 2, 2008 08:45:28 Liviu Andronic wrote:
> Making a wild guess, yes

Good guess! On my notebook computer (which
I could survive having a messed up latex) but
which also runs gentoo linux, I unmerged tetex
and embarked on the adventure of installing
texlive (not bad actually).

Once I also installed the immense package of
extra fonts, phonetic worked and I had my
inverted iota.

Putting the phonetic package (sty file and metafonts)
into ~/texmf did *not* work though. I wonder why.

Also I am glad to report that with texlive lyx now reconfigures
without error. I suppose I should gird my loins, and try to put
texlive on my main computer.

thanks for all the help

-- 
William Seager
University of Toronto Scarborough
www.utsc.utoronto.ca/~seager


Re: First page customizing in koma-script

2008-02-02 Thread Uwe Stöhr

Michael Färber schrieb:


I have noticed that the first page of a document using koma-script seems to be quite regulated, e.g. it only 
allows pre-defined fields like "author", "title", "publisher" etc., however, I 
have to use more fields.

Can you point me to information how to customise the front page?


You can customize the tilte, see the koma-script documentation. (scrguide.pdf or scrguien.pdf on 
your computer)


regards Uwe


Re: error in Tutorial?

2008-02-02 Thread Uwe Stöhr

David Romano schrieb:

I'm completely new to LyX and am going throught the tutorial (for 
1.4.3), which contains the following line:


"Note that once you've got more than one document open, you can use the 
Documents menu to switch between them."


I see a Document (singular) menu, but this only contains information 
about the document I'm reading; however I spotted multiple files 
referenced in the View menu.  Is this a mistake, or am I reading a 
tutorial connected to a different version of LyX?


Yes this was a mistake. But for the actual LyX version 1.5.x the Tutorial has 
been revised.

regards Uwe


Re: Custom function names

2008-02-02 Thread Uwe Stöhr

Daniel CLEMENT schrieb:


LyX has a convenient drop-down list for math function names, but I'd like to
add some.

E.g. it is customary (in French) to call "ch" instead of "cosh" the
hyperbolic cosine function.


Have a look at section 15 of this manual that will be part of the upcoming LyX 
1.5.4:
http://wiki.lyx.org/uploads/LyX/LyXDevelDocumentation/1.5/Math.pdf
(from http://wiki.lyx.org/LyX/DocumentationDevelopment)

regards Uwe


Re: Two formatting issues with koma-script book

2008-02-02 Thread Uwe Stöhr

David Hewitt schrieb:


It's a 2-sided document with "headings" Page Style.

(1) The first problem is that the headings for sections/"high-level"
environments that start on odd-numbered pages show up on empty even-numbered
pages that follow. I'd like them not to appear on those empty pages, and if
possible to appear on the odd-numbered page where the section begins.


Both is possible I think. I don't know how exactly but you should find answers in the koma-script 
manual or its community: http://www.komascript.de
The community page is German, but if nothing helps I would post there in English anyway - I'm sure 
you'll get an answer.



(2) The second problem I'm having is that the Figures in chapters don't
number like the equations. The equations happily begin with the Chapter
number plus ".[equation_number]", but the Figures in each chapter are just
numbered 1, 2, 3, ... Can I make the Figure numbers the same as the equation
numbering?


How this can be changed is described in section 3.3 of LyX's EmbeddedObjects 
manual.

regards Uwe


Re: problem with pdfpages

2008-02-02 Thread Paul A. Rubin

Eli Brosh wrote:

Hello
I am trying to  include a pdf file in a LyX document.
I have the TeX-Live package installed in my computer. If I understand
correctly, it includes pdfpages.

I put the phrase "\usepackage{pdfpages}" in the LateX preamble for the
document.
Afterwards, I wrote in ERT: \includepdf[pages=1-11]{filename.pdf}
The filename.pdf is saved in the same folder as the LyX document.


Now, when I try to view the document as dvi, I get the error message:
Package pdfpages Error:You produce DVI output but pdf output
Undefined control sequence.
Missing $ inserted
Extra }, or forgotten $.
Missing $ inserted.


When I try to produce a pdf output, I get the error message:
LyX: Cannot view file
File does not exist:
/tmp/lyx_tmpdir21859Tr9iSI/lyx_tmpbuf0/newfile.pdf

What is wrong ?
Is there an easy way to insert the pdf file into the LyX document ?
Please, try to give a simple and specific answer as I am new to LyX, as well
as to LaTeX .
I use Ubuntu Feisty (quite new to linux as well).

Thanks
Eli



You might try putting an absolute path to the PDF file in the ERT entry.

Also, as far as I know, only pdflatex works with pdfpages.  When I try 
to view DVI, I get no error message, but the DVI file has blank pages 
where the inserted pages should go.  That in turn means that dvipdfm 
does the same thing trying to produce PDF output.  I also get blank 
pages with ps2pdf.


/Paul



Re: User's Guide doesn't work

2008-02-02 Thread Tom Sisan
Thanks for the help Uwe, but I still am having problems.

About your suggestion - personally I think MiKTeX was installing
packages fine (it never complained and seemed to complete the process
whenever I clicked install package in the package manager). BUT it
never showed floatflt.sty in the MiKTeX package manager.  Its NOT in
the package list.  In my very uneducated opinion it seems like MiKTeX
has decided to remove floatflt.sty from there package list because its
so old.  CTAN shows a date of 1998 on floatflt.sty, whereas the oldest
package in MiKTeX available in the MiKTeX package manager is from
2001.  This is just a theory I have, could be totally wrong. :)

So I've tried a bunch of stuff since then:

1. uninstall both MiKTex and LyX and reinstall them (using miktex
basic installer and lyx standard installer).  I encountered new
problems this time with the User's guide where the error message was
something about scrbook.class (this is from memory so I may not have
it exact).  I found online help about this suggesting koma-scsript was
the problem.  But now when I tried installing new packages they didn't
seeem to install, because after restarting lyx it would always try to
reinstall what it had tried to before.

2.  Reinstalled them again using miktex network installer and lyx
alternative installer.  I also ran miktex update this time (I don't
think I did that before).  Now, I am back where I was originally.
- There is no package containing the file "floatflt.sty" available in miktex.
- lyx user's guide complains that the file floatflt.sty can't be found
and makes no attempt to install it (as before)
- the style file floatflt.sty is not shown in the list of styles under
Tools->Tex Information
-An example tex file that came with the floatflt package from CTAN can
be compiled into a pdf in LyX, but only after I edit the file
drastically leaving only a single "floated figure".  It does have a
usepackage{floatflt} in it.  It works in lyx, producing a figure with
text floated around it.  I included the tex code below.  I don't know
why this file works and the User's Guide does not.

Here is the highly modified file version of a file that came with
floatflt package on CTAN:

%%
%% This is file `floatexm.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% floatflt.dtx  (with options: `exempelkod')
%%
%% Copyright (c) 1994-1998 by Mats Dahlgren <[EMAIL PROTECTED]>.
%% All rights reserved.  See the file `floatflt.ins' for information
%% on how you may (re-)distribute the `floatflt' package files.
%% You are not allowed to make any changes to this file without
%% explicit permission from the author.
%%
\documentclass[11pt]{article}
\usepackage{floatflt}
\begin{document}
\centerline{\Huge{ The Tale of \textsf{floatflt} }}
\bigskip
\normalsize

This is a demonstration document for the use
of the \textsf{floatflt} package.  It contains several
floating figures and tables with captions explaining how
they were called.  At the end, a
\verb+\listoffigures+ command
is used, resulting in the desired lists.  For more
details on how to use the \textsf{floatflt} package,
please run \LaTeX{} on the file \texttt{floatflt.dtx}.

The following work by Edgar Alan Poe was retrieved by
anonymous ftp from \texttt{ftp.funet.fi} in the
directory \texttt{/pub/doc/literary/etext} where it is
found in the file \texttt{telltale.poe}.  Only minor
\LaTeX\ adaptions have been done, besides the inclusion
of floating floats.

TRUE! nervous, very, very dreadfully nervous
I had been and am; but why WILL you say
that I am mad? The disease had sharpened
my senses, not destroyed, not dulled them. Above
all was the sense of hearing acute. I heard all things
in the heaven and in the earth. I heard many things
in hell. How then am I mad? Hearken! and observe how healthily, how
calmly, I can tell you the
whole story.

\begin{floatingfigure}{60mm}
\begin{center}
The first figure
\end{center}
\caption{The environment with.}
\end{floatingfigure}

It is impossible to say how first the idea entered
my brain, but, once conceived, it haunted me day
and night. Object there was none. Passion there
was none. I loved the old man. He had never
wronged me. He had never given me insult. For
his gold I had no desire. I think it was his eye!
Yes, it was this! One of his eyes resembled that
of a vulture -- a pale blue eye with a film over it.
Whenever it fell upon me my blood ran cold, and
so by degrees, very gradually, I made up my mind
to take the life of the old man, and thus rid myself
of the eye for ever.

\rightline{\ensuremath{\mathcal{END}}.}

\listoffigures

\end{document}
\endinput
%%
%% End of file `floatexm.tex'.


Again, thanks for your help.
-Tom

On Feb 1, 2008 8:29 PM, Uwe Stöhr <[EMAIL PROTECTED]> wrote:
> Tom schrieb:
>
> > When I try
> > to view it using any method (dvi, pdf, ps) it says:
> > LaTeX Error: File `floatflt.sty' not found.
>  > ...
>  > I tried installing that package using MiKTeX 2.7 package 

problem with pdfpages-solved

2008-02-02 Thread Eli Brosh
The problem with pdfpages is now solved.
Everything works if I put the full filename for the files I attach.

Thank you all
especially to Eran Kaplinsky and Robert Orr.

Best regards
Eli