Re: We need documentation on using layouts in documents

2008-06-09 Thread Abdelrazak Younes

Steve Litt wrote:

Hi all,


Hello Steve,



In the 7 years I've used LyX, every book had its own layout, and every single 
time, I spent hours tweaking around trying to get my layout visible to the 
document so that I could use my specialized document class.


FYI with Layout modules in 1.6 (courtesy of Richard H.) you will at 
least be able to reuse components of your modified layouts.




What I typically do is:

1) Make the layout file
2) ln -s /bookdir/mybook.layout /home/slitt/.lyx/layouts/mybook.layout
3) Doublecheck the line that says #  \DeclareLaTeXClass[book]{mybook}, make 
sure it matches the filenames.

4) lyx
5) tools-reconfigure
6) exit lyx
7) lyx mybook.lyx

It never shows document class mybook, until I turkey around for hours to get 
it to work. We need documentation on exactly what to do, and how to 
troubleshoot layouts/document classes.


See section 5.2 of the Customization manual. You are welcome to 
complement that part and to send patches to Uwe and to the documentation 
list. That's how it works for documentation.


Abdel.



Re: Paragraph break before display formula

2008-06-09 Thread G. Milde
On  6.06.08, rgheck wrote:
 Máté Salát wrote:
  If I have a display formula in a text, it can not be seen whether 
 there is a paragraph break before the display formula or not. [...]
  Can the paragraph breaks be displayed?

 I've noticed this before, too. I don't know a way to display them, but  
 we should make it possible. 

Visible paragraph breaks are part of LyX's change-tracker module.  (It
looks like ┛ or ⌋) I would suggest to display paragraph breaks after
formulas the same way.

Günter


Re: problem with 1.6.0.beta3

2008-06-09 Thread G. Milde
On  6.06.08, Marcelo Acuña wrote:
 hello,
  when I compile (run latex) a document with beta 3 I
 get option clash package babel message error.
  Only dissapears when I deleted
 \usepackage[spanish]{babel} from preamble.
  I need this option.

However, with LyX you should set it under DocumentSettingsLanguage (choose
Spanisch) and not in the user-defined LaTeX preamble.

LyX (since several versions) will put [spanish] (and possibly other
languages used in the document) in the document options and
\usepackage{babel} in the LyX-generated part of the LaTeX preamble. 

Günter


pgf and external table plot

2008-06-09 Thread Willem van Engen
Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?

Regards,
- Willem



Re: We need documentation on using layouts in documents

2008-06-09 Thread christian . ridderstrom

On Sun, 8 Jun 2008, Steve Litt wrote:

In the 7 years I've used LyX, every book had its own layout, and every 
single time, I spent hours tweaking around trying to get my layout 
visible to the document so that I could use my specialized document 
class.


Hi Steve,

Just to be clear on the basic issues here so that we don't misuse the 
terminology. I also hope this will enlighten other readers on this list.


When you refer to the layout of the book, you mean the layout of printed 
copy. At the end of the day, when LaTeX is building the document, this is 
controlled by choosing the LaTeX document class (*.cls), using different 
LaTeX style files (*.sty) and generally tweaking the document's preamble.


When I want to the control the appearance of the printed copy, I usually 
proceed as follows:

* Select an already existing LyX document layout (*.layout)
* Modify the document settings through dialogs
* Tweak the document's LaTeX preamble by including LaTeX style files
  (*.sty) and adding some LaTeX statements.
* Insert some LaTeX code directly into the LyX document through ERT
  (Evil Red Text)

However, if I've understood you correctly, you do it slightly differently.
Instead of modifying the document to produce the desired appearance, you 
create a new LyX layout file (*.layout) which contains as much as possible 
of the LaTeX code. In other words, you make the .layout file select the 
correct LaTeX document class through the statement

# \DeclareLaTeXClass...
and you use the .layout-file to insert LaTeX code into the document's 
preamble. And of course to include LaTeX style files (*.sty).


Is this the core of it?

Your approach certainly makes sense if you intend to produce several 
documents with the same printed layout, but I'm less convinced if it is 
for a single book?  What is it that you gain by creating a specific 
LyX layout in this case?



After I've now hopefully gotten the background right, here's how you 
describe what you do.



What I typically do is:

1) Make the layout file
2) ln -s /bookdir/mybook.layout /home/slitt/.lyx/layouts/mybook.layout
3) Doublecheck the line that says #  \DeclareLaTeXClass[book]{mybook}, make
sure it matches the filenames.
4) lyx
5) tools-reconfigure
6) exit lyx
7) lyx mybook.lyx

It never shows document class mybook, until I turkey around for hours to 
get it to work.


I don't understand this... are you saying you often have problem making 
LyX find your .layout file?


We need documentation on exactly what to do, and how to troubleshoot 
layouts/document classes.


I agree, but you're probably the expert on creating customized LyX layouts 
;-)  So what do you suggest?  What kind of documentation is needed?


cheers
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: greek fonts

2008-06-09 Thread Anthony Campbell
On 08 Jun 2008, Liviu Andronic wrote:
 On 6/8/08, Ad Meskens [EMAIL PROTECTED] wrote:
  There is however a problem when you want to write ancient Greek with hyphens
   etc; The betababel package and writing bcode in ERT works wonderfully.
   However handling Dutch seems to be suppressed.
 
   When you compile your LyX file, even though you have stated your language 
  is
   Dutch (or another), the chapter headings will be in English, thus you will
   have something like: 'Chapter 1 Dutch heading'
 
   Does anyone know how to solve this problem???
 
 There was a recent discussion [1] on this, with no apparent solution.
 This other relevant discussion [2] seems to offer a solution.
 

I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
appearing before the letter instead of above it.

Also, there there any way to get the characters to appear in Greek
on-screen (i.e. before converting the text to dvi)?

I can do all this in gvim plus latex but it would be nice to have it in
Lyx.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: greek fonts

2008-06-09 Thread G. Milde
On  9.06.08, Anthony Campbell wrote:

 I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
 appearing before the letter instead of above it.

It works in LyX, if you use the correct unicode char (from the extended
Greek table) out of the box, but not so good with combining chars.

 Also, there there any way to get the characters to appear in Greek
 on-screen (i.e. before converting the text to dvi)?

Yes, see attached file.

Günter


greek-german-test.lyx
Description: application/lyx


Re: greek fonts

2008-06-09 Thread Pavel Sanda
 It works in LyX, if you use the correct unicode char (from the extended
 Greek table) out of the box, but not so good with combining chars.
 
  Also, there there any way to get the characters to appear in Greek
  on-screen (i.e. before converting the text to dvi)?
 
 Yes, see attached file.

btw what kind of font do you use to have displayed the whole second line?
i tried many fonts, seeing only black squares :)

pavel


Re: pgf and external table plot

2008-06-09 Thread Paul A. Rubin

Willem van Engen wrote:

Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?



I suspect there is no elegant solution, but there are two solutions that 
are arguably better than switching to gnuplot.  One is to use LyX to 
write the document with everything but the plot in it, then export to a 
.tex file and run LaTeX yourself.  The other is to write a small 
document that does just the plot, producing say a PDF file.  (You'll 
have to run LaTeX against it manually for the reason you articulated 
above.)  Then use includegraphics in your ERT to load the PDF.  LyX will 
recognize the includegraphics command in the ERT and copy the file properly.


I've used TiKZ to annotate a PDF image (generated by an external 
program).  Here's the relevant code snippet (done in ERT in LyX), with 
the image in the file ttest.pdf, located in the same directory as the 
LyX file:


\begin{tikzpicture}
\pgftext[left]{\includegraphics[width=90mm]{ttest}}
\draw (60mm,0mm) node[anchor=south west]{$T_{crit}=1.328$};
% more draws here
\end{tikzpicture}

HTH,
Paul



Re: problem with 1.6.0.beta3

2008-06-09 Thread Marcelo Acuña
  hello,
   when I compile (run latex) a document with beta 3
 I
  get option clash package babel message error.
   Only dissapears when I deleted
  \usepackage[spanish]{babel} from preamble.
   I need this option.
 
 However, with LyX you should set it under
 DocumentSettingsLanguage (choose
 Spanisch) and not in the user-defined LaTeX
 preamble.
 
 LyX (since several versions) will put [spanish] (and
 possibly other
 languages used in the document) in the document
 options and
 \usepackage{babel} in the LyX-generated part of the
 LaTeX preamble. 
 
 Günter
 
 Ok, but I need to use several options of spanish
option like es-noindentafter and others options.
 How I can use this options without put
\usepackage[spanish,options of spanish]{babel}?

 Marcelo

Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Re: pgf and external table plot

2008-06-09 Thread Paul A. Rubin

Willem van Engen wrote:

Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?

Regards,
- Willem




It occurs to me that a simpler solution might be to put an absolute 
reference to the file in the ERT.  LyX still will not copy it to the 
temp directory, but it won't need to.


The coffee apparently has not kicked in yet.

/Paul



Re: greek fonts

2008-06-09 Thread Anthony Campbell
On 09 Jun 2008, G. Milde wrote:
 On  9.06.08, Anthony Campbell wrote:
 
  I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
  appearing before the letter instead of above it.
 
 It works in LyX, if you use the correct unicode char (from the extended
 Greek table) out of the box, but not so good with combining chars.
 
  Also, there there any way to get the characters to appear in Greek
  on-screen (i.e. before converting the text to dvi)?
 
 Yes, see attached file.
 
 Günter

Sorry, I don't follow this. What or where are thes uniccode characters?
And I could see your Greek characters but I don't see how to generate
them myself.


Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



floating text-wrap figures

2008-06-09 Thread James Sutherland
I have noticed in LyX1.6.0 there is support for floating a text-wrap  
figure.  However, given the bugs in the current release (see http://bugzilla.lyx.org/show_bug.cgi?id=4927) 
, I am still using 1.5.5.


Does anyone know if there is a way to float a text-wrap figure in 1.5.5?

Thanks,

James


Re: floating text-wrap figures

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 10:50 AM, James Sutherland
[EMAIL PROTECTED] wrote:
 I have noticed in LyX1.6.0 there is support for floating a text-wrap figure.
  However, given the bugs in the current release (see
 http://bugzilla.lyx.org/show_bug.cgi?id=4927), I am still using 1.5.5.

 Does anyone know if there is a way to float a text-wrap figure in 1.5.5?

 Thanks,

 James


Does Insert-Float-Text Wrap Float not work? You can also look at
Help-Embedded Objects-Section 3.2.2 for more info, looks like you
would need to use the wrapfig package.

Cheers,
/Bob


Re: problem with 1.6.0.beta3

2008-06-09 Thread Jean-Marc Lasgouttes
Marcelo Acuña [EMAIL PROTECTED] writes:

  Ok, but I need to use several options of spanish
 option like es-noindentafter and others options.
  How I can use this options without put
 \usepackage[spanish,options of spanish]{babel}?

Did you try to add them to the global options of the document? Those
get passed to packages.

JMarc


Re: greek fonts

2008-06-09 Thread Steve Litt
On Monday 09 June 2008 08:10, Anthony Campbell wrote:

 I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
 appearing before the letter instead of above it.

For ancient Greek, you must use a goose feather on papayrus.

Sorry, I couldn't resist :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: floating text-wrap figures

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 11:44 AM, James Sutherland
[EMAIL PROTECTED] wrote:
 Does Insert-Float-Text Wrap Float not work? You can also look at
 Help-Embedded Objects-Section 3.2.2 for more info, looks like you
 would need to use the wrapfig package.

 Cheers,
 /Bob


 I have inserted the figure, but it doesn't float too well.  It seems to be
 pinned to the point of insertion.  See attached image.  In this case, a
 footnote runs through the figure.  Perhaps this is a problem/limitation with
 wrapfig?

 James

Have you followed the advise in Help-Embedded Objects-Section 3.2.2?
I've copied the advise below:

Quote
Note: Text wrap float floats are fragile! E. g. having a figure too
close to the bottom of the page can mess things up in the way that the
float doesn't appear in the output or that it is placed over some
other text.

In general:

• Wrap floats should not be placed in paragraphs that run over a page
break. That means that wrap floats should better be inserted to the
exact place when the document is nearly finished and you are able to
estimate where page breaks will appear.

• Wrap floats should either be placed in an own paragraph before the
paragraph where they should wrap into or within a paragraph.

• Wrap floats in consecutive paragraphs may cause troubles, so assure
that there is a text paragraph between them as separator.

• Wrap floats are not allowed in section headings or tables.
EndQuote

It seems you may want to wait until your document is finished and then
adjust as necessary,

Cheers,
/Bob


Re: greek fonts

2008-06-09 Thread Andre Poenitz
On Mon, Jun 09, 2008 at 02:18:15PM -0400, Steve Litt wrote:
 On Monday 09 June 2008 08:10, Anthony Campbell wrote:
 
  I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
  appearing before the letter instead of above it.
 
 For ancient Greek, you must use a goose feather on papayrus.
 
 Sorry, I couldn't resist :-)

That's why we had hieroglyphs on the old splash screen...

Andre'


Kudos for the website layout!

2008-06-09 Thread Andrés Becerra Sandoval
Hello,

As a regular LyX user I am delighted with the web site layout and the
screencasts in the visual tour. This is great for the expansion of the
LyX user base!

kudos for all the contributors !


-- 
  Andrés


Re: Kudos for the website layout!

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 2:18 PM, Andrés Becerra Sandoval
[EMAIL PROTECTED] wrote:
 Hello,

 As a regular LyX user I am delighted with the web site layout and the
 screencasts in the visual tour. This is great for the expansion of the
 LyX user base!

 kudos for all the contributors !


 --
  Andrés


I'd like to second that!! I love sending prospective users to the
website now. It has been designed and written very well.

Thank you.

Cheers,
/Bob


fit a long table into many pages in Lyx

2008-06-09 Thread Kuo-Hsien Chang

Hi all,

I already look at the user guide and this page, 
http://www.lyx.org/~jug/lyx/lyxdoc/UserGuide/node28.html

However, I still cannot make the long table to fit into pages.

I also can not find the TableExamples.lyx

If you know how to do or you have the template file, please email me.

Thanks,
Michael


Re: paragraph not visible in pdf output

2008-06-09 Thread Hans J. Prueller
Paul,

thank you for helping out - it is strange. As soon as I try to reproduce
the problem in a new document, everything works as expected.
somehow it has to depend on the concrete document itself ... any idea?

hans


Am Sonntag, den 08.06.2008, 11:01 -0400 schrieb Paul A. Rubin:

 Hans Prueller wrote:
  hi,
  
  I am writing a stardard report in report document class. the report 
  contains several formulars (which are inserted with math-formula).
  
  to write a header for the formulas, i've used the paragraph style (which 
  makes the heading text appear bold) for the word definition: above the 
  inserted formulas.
  
  when I preview the report as PDF, the text that was marked with paragraph 
  style  (definition:) is not visible.
  
  is this a bug in latex/lyx or did I do something wrong?
  
  any help appreciated!
  
  regards,
  HANS
 
 Can you post a small example file in which this occurs?  Please cut out 
 anything that is not required to demonstrate the problem.
 
 Cheers,
 Paul


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: We need documentation on using layouts in documents

2008-06-09 Thread Abdelrazak Younes

Steve Litt wrote:

Hi all,


Hello Steve,



In the 7 years I've used LyX, every book had its own layout, and every single 
time, I spent hours tweaking around trying to get my layout visible to the 
document so that I could use my specialized document class.


FYI with Layout modules in 1.6 (courtesy of Richard H.) you will at 
least be able to reuse components of your modified layouts.




What I typically do is:

1) Make the layout file
2) ln -s /bookdir/mybook.layout /home/slitt/.lyx/layouts/mybook.layout
3) Doublecheck the line that says #  \DeclareLaTeXClass[book]{mybook}, make 
sure it matches the filenames.

4) lyx
5) tools-reconfigure
6) exit lyx
7) lyx mybook.lyx

It never shows document class mybook, until I turkey around for hours to get 
it to work. We need documentation on exactly what to do, and how to 
troubleshoot layouts/document classes.


See section 5.2 of the Customization manual. You are welcome to 
complement that part and to send patches to Uwe and to the documentation 
list. That's how it works for documentation.


Abdel.



Re: Paragraph break before display formula

2008-06-09 Thread G. Milde
On  6.06.08, rgheck wrote:
 Máté Salát wrote:
  If I have a display formula in a text, it can not be seen whether 
 there is a paragraph break before the display formula or not. [...]
  Can the paragraph breaks be displayed?

 I've noticed this before, too. I don't know a way to display them, but  
 we should make it possible. 

Visible paragraph breaks are part of LyX's change-tracker module.  (It
looks like ┛ or ⌋) I would suggest to display paragraph breaks after
formulas the same way.

Günter


Re: problem with 1.6.0.beta3

2008-06-09 Thread G. Milde
On  6.06.08, Marcelo Acuña wrote:
 hello,
  when I compile (run latex) a document with beta 3 I
 get option clash package babel message error.
  Only dissapears when I deleted
 \usepackage[spanish]{babel} from preamble.
  I need this option.

However, with LyX you should set it under DocumentSettingsLanguage (choose
Spanisch) and not in the user-defined LaTeX preamble.

LyX (since several versions) will put [spanish] (and possibly other
languages used in the document) in the document options and
\usepackage{babel} in the LyX-generated part of the LaTeX preamble. 

Günter


pgf and external table plot

2008-06-09 Thread Willem van Engen
Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?

Regards,
- Willem



Re: We need documentation on using layouts in documents

2008-06-09 Thread christian . ridderstrom

On Sun, 8 Jun 2008, Steve Litt wrote:

In the 7 years I've used LyX, every book had its own layout, and every 
single time, I spent hours tweaking around trying to get my layout 
visible to the document so that I could use my specialized document 
class.


Hi Steve,

Just to be clear on the basic issues here so that we don't misuse the 
terminology. I also hope this will enlighten other readers on this list.


When you refer to the layout of the book, you mean the layout of printed 
copy. At the end of the day, when LaTeX is building the document, this is 
controlled by choosing the LaTeX document class (*.cls), using different 
LaTeX style files (*.sty) and generally tweaking the document's preamble.


When I want to the control the appearance of the printed copy, I usually 
proceed as follows:

* Select an already existing LyX document layout (*.layout)
* Modify the document settings through dialogs
* Tweak the document's LaTeX preamble by including LaTeX style files
  (*.sty) and adding some LaTeX statements.
* Insert some LaTeX code directly into the LyX document through ERT
  (Evil Red Text)

However, if I've understood you correctly, you do it slightly differently.
Instead of modifying the document to produce the desired appearance, you 
create a new LyX layout file (*.layout) which contains as much as possible 
of the LaTeX code. In other words, you make the .layout file select the 
correct LaTeX document class through the statement

# \DeclareLaTeXClass...
and you use the .layout-file to insert LaTeX code into the document's 
preamble. And of course to include LaTeX style files (*.sty).


Is this the core of it?

Your approach certainly makes sense if you intend to produce several 
documents with the same printed layout, but I'm less convinced if it is 
for a single book?  What is it that you gain by creating a specific 
LyX layout in this case?



After I've now hopefully gotten the background right, here's how you 
describe what you do.



What I typically do is:

1) Make the layout file
2) ln -s /bookdir/mybook.layout /home/slitt/.lyx/layouts/mybook.layout
3) Doublecheck the line that says #  \DeclareLaTeXClass[book]{mybook}, make
sure it matches the filenames.
4) lyx
5) tools-reconfigure
6) exit lyx
7) lyx mybook.lyx

It never shows document class mybook, until I turkey around for hours to 
get it to work.


I don't understand this... are you saying you often have problem making 
LyX find your .layout file?


We need documentation on exactly what to do, and how to troubleshoot 
layouts/document classes.


I agree, but you're probably the expert on creating customized LyX layouts 
;-)  So what do you suggest?  What kind of documentation is needed?


cheers
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: greek fonts

2008-06-09 Thread Anthony Campbell
On 08 Jun 2008, Liviu Andronic wrote:
 On 6/8/08, Ad Meskens [EMAIL PROTECTED] wrote:
  There is however a problem when you want to write ancient Greek with hyphens
   etc; The betababel package and writing bcode in ERT works wonderfully.
   However handling Dutch seems to be suppressed.
 
   When you compile your LyX file, even though you have stated your language 
  is
   Dutch (or another), the chapter headings will be in English, thus you will
   have something like: 'Chapter 1 Dutch heading'
 
   Does anyone know how to solve this problem???
 
 There was a recent discussion [1] on this, with no apparent solution.
 This other relevant discussion [2] seems to offer a solution.
 

I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
appearing before the letter instead of above it.

Also, there there any way to get the characters to appear in Greek
on-screen (i.e. before converting the text to dvi)?

I can do all this in gvim plus latex but it would be nice to have it in
Lyx.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: greek fonts

2008-06-09 Thread G. Milde
On  9.06.08, Anthony Campbell wrote:

 I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
 appearing before the letter instead of above it.

It works in LyX, if you use the correct unicode char (from the extended
Greek table) out of the box, but not so good with combining chars.

 Also, there there any way to get the characters to appear in Greek
 on-screen (i.e. before converting the text to dvi)?

Yes, see attached file.

Günter


greek-german-test.lyx
Description: application/lyx


Re: greek fonts

2008-06-09 Thread Pavel Sanda
 It works in LyX, if you use the correct unicode char (from the extended
 Greek table) out of the box, but not so good with combining chars.
 
  Also, there there any way to get the characters to appear in Greek
  on-screen (i.e. before converting the text to dvi)?
 
 Yes, see attached file.

btw what kind of font do you use to have displayed the whole second line?
i tried many fonts, seeing only black squares :)

pavel


Re: pgf and external table plot

2008-06-09 Thread Paul A. Rubin

Willem van Engen wrote:

Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?



I suspect there is no elegant solution, but there are two solutions that 
are arguably better than switching to gnuplot.  One is to use LyX to 
write the document with everything but the plot in it, then export to a 
.tex file and run LaTeX yourself.  The other is to write a small 
document that does just the plot, producing say a PDF file.  (You'll 
have to run LaTeX against it manually for the reason you articulated 
above.)  Then use includegraphics in your ERT to load the PDF.  LyX will 
recognize the includegraphics command in the ERT and copy the file properly.


I've used TiKZ to annotate a PDF image (generated by an external 
program).  Here's the relevant code snippet (done in ERT in LyX), with 
the image in the file ttest.pdf, located in the same directory as the 
LyX file:


\begin{tikzpicture}
\pgftext[left]{\includegraphics[width=90mm]{ttest}}
\draw (60mm,0mm) node[anchor=south west]{$T_{crit}=1.328$};
% more draws here
\end{tikzpicture}

HTH,
Paul



Re: problem with 1.6.0.beta3

2008-06-09 Thread Marcelo Acuña
  hello,
   when I compile (run latex) a document with beta 3
 I
  get option clash package babel message error.
   Only dissapears when I deleted
  \usepackage[spanish]{babel} from preamble.
   I need this option.
 
 However, with LyX you should set it under
 DocumentSettingsLanguage (choose
 Spanisch) and not in the user-defined LaTeX
 preamble.
 
 LyX (since several versions) will put [spanish] (and
 possibly other
 languages used in the document) in the document
 options and
 \usepackage{babel} in the LyX-generated part of the
 LaTeX preamble. 
 
 Günter
 
 Ok, but I need to use several options of spanish
option like es-noindentafter and others options.
 How I can use this options without put
\usepackage[spanish,options of spanish]{babel}?

 Marcelo

Marcelo Acuña visitá mi sitio web http://www.aleph-uno.com.ar 
==

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Re: pgf and external table plot

2008-06-09 Thread Paul A. Rubin

Willem van Engen wrote:

Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?

Regards,
- Willem




It occurs to me that a simpler solution might be to put an absolute 
reference to the file in the ERT.  LyX still will not copy it to the 
temp directory, but it won't need to.


The coffee apparently has not kicked in yet.

/Paul



Re: greek fonts

2008-06-09 Thread Anthony Campbell
On 09 Jun 2008, G. Milde wrote:
 On  9.06.08, Anthony Campbell wrote:
 
  I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
  appearing before the letter instead of above it.
 
 It works in LyX, if you use the correct unicode char (from the extended
 Greek table) out of the box, but not so good with combining chars.
 
  Also, there there any way to get the characters to appear in Greek
  on-screen (i.e. before converting the text to dvi)?
 
 Yes, see attached file.
 
 Günter

Sorry, I don't follow this. What or where are thes uniccode characters?
And I could see your Greek characters but I don't see how to generate
them myself.


Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



floating text-wrap figures

2008-06-09 Thread James Sutherland
I have noticed in LyX1.6.0 there is support for floating a text-wrap  
figure.  However, given the bugs in the current release (see http://bugzilla.lyx.org/show_bug.cgi?id=4927) 
, I am still using 1.5.5.


Does anyone know if there is a way to float a text-wrap figure in 1.5.5?

Thanks,

James


Re: floating text-wrap figures

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 10:50 AM, James Sutherland
[EMAIL PROTECTED] wrote:
 I have noticed in LyX1.6.0 there is support for floating a text-wrap figure.
  However, given the bugs in the current release (see
 http://bugzilla.lyx.org/show_bug.cgi?id=4927), I am still using 1.5.5.

 Does anyone know if there is a way to float a text-wrap figure in 1.5.5?

 Thanks,

 James


Does Insert-Float-Text Wrap Float not work? You can also look at
Help-Embedded Objects-Section 3.2.2 for more info, looks like you
would need to use the wrapfig package.

Cheers,
/Bob


Re: problem with 1.6.0.beta3

2008-06-09 Thread Jean-Marc Lasgouttes
Marcelo Acuña [EMAIL PROTECTED] writes:

  Ok, but I need to use several options of spanish
 option like es-noindentafter and others options.
  How I can use this options without put
 \usepackage[spanish,options of spanish]{babel}?

Did you try to add them to the global options of the document? Those
get passed to packages.

JMarc


Re: greek fonts

2008-06-09 Thread Steve Litt
On Monday 09 June 2008 08:10, Anthony Campbell wrote:

 I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
 appearing before the letter instead of above it.

For ancient Greek, you must use a goose feather on papayrus.

Sorry, I couldn't resist :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: floating text-wrap figures

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 11:44 AM, James Sutherland
[EMAIL PROTECTED] wrote:
 Does Insert-Float-Text Wrap Float not work? You can also look at
 Help-Embedded Objects-Section 3.2.2 for more info, looks like you
 would need to use the wrapfig package.

 Cheers,
 /Bob


 I have inserted the figure, but it doesn't float too well.  It seems to be
 pinned to the point of insertion.  See attached image.  In this case, a
 footnote runs through the figure.  Perhaps this is a problem/limitation with
 wrapfig?

 James

Have you followed the advise in Help-Embedded Objects-Section 3.2.2?
I've copied the advise below:

Quote
Note: Text wrap float floats are fragile! E. g. having a figure too
close to the bottom of the page can mess things up in the way that the
float doesn't appear in the output or that it is placed over some
other text.

In general:

• Wrap floats should not be placed in paragraphs that run over a page
break. That means that wrap floats should better be inserted to the
exact place when the document is nearly finished and you are able to
estimate where page breaks will appear.

• Wrap floats should either be placed in an own paragraph before the
paragraph where they should wrap into or within a paragraph.

• Wrap floats in consecutive paragraphs may cause troubles, so assure
that there is a text paragraph between them as separator.

• Wrap floats are not allowed in section headings or tables.
EndQuote

It seems you may want to wait until your document is finished and then
adjust as necessary,

Cheers,
/Bob


Re: greek fonts

2008-06-09 Thread Andre Poenitz
On Mon, Jun 09, 2008 at 02:18:15PM -0400, Steve Litt wrote:
 On Monday 09 June 2008 08:10, Anthony Campbell wrote:
 
  I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
  appearing before the letter instead of above it.
 
 For ancient Greek, you must use a goose feather on papayrus.
 
 Sorry, I couldn't resist :-)

That's why we had hieroglyphs on the old splash screen...

Andre'


Kudos for the website layout!

2008-06-09 Thread Andrés Becerra Sandoval
Hello,

As a regular LyX user I am delighted with the web site layout and the
screencasts in the visual tour. This is great for the expansion of the
LyX user base!

kudos for all the contributors !


-- 
  Andrés


Re: Kudos for the website layout!

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 2:18 PM, Andrés Becerra Sandoval
[EMAIL PROTECTED] wrote:
 Hello,

 As a regular LyX user I am delighted with the web site layout and the
 screencasts in the visual tour. This is great for the expansion of the
 LyX user base!

 kudos for all the contributors !


 --
  Andrés


I'd like to second that!! I love sending prospective users to the
website now. It has been designed and written very well.

Thank you.

Cheers,
/Bob


fit a long table into many pages in Lyx

2008-06-09 Thread Kuo-Hsien Chang

Hi all,

I already look at the user guide and this page, 
http://www.lyx.org/~jug/lyx/lyxdoc/UserGuide/node28.html

However, I still cannot make the long table to fit into pages.

I also can not find the TableExamples.lyx

If you know how to do or you have the template file, please email me.

Thanks,
Michael


Re: paragraph not visible in pdf output

2008-06-09 Thread Hans J. Prueller
Paul,

thank you for helping out - it is strange. As soon as I try to reproduce
the problem in a new document, everything works as expected.
somehow it has to depend on the concrete document itself ... any idea?

hans


Am Sonntag, den 08.06.2008, 11:01 -0400 schrieb Paul A. Rubin:

 Hans Prueller wrote:
  hi,
  
  I am writing a stardard report in report document class. the report 
  contains several formulars (which are inserted with math-formula).
  
  to write a header for the formulas, i've used the paragraph style (which 
  makes the heading text appear bold) for the word definition: above the 
  inserted formulas.
  
  when I preview the report as PDF, the text that was marked with paragraph 
  style  (definition:) is not visible.
  
  is this a bug in latex/lyx or did I do something wrong?
  
  any help appreciated!
  
  regards,
  HANS
 
 Can you post a small example file in which this occurs?  Please cut out 
 anything that is not required to demonstrate the problem.
 
 Cheers,
 Paul


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: We need documentation on using layouts in documents

2008-06-09 Thread Abdelrazak Younes

Steve Litt wrote:

Hi all,


Hello Steve,



In the 7 years I've used LyX, every book had its own layout, and every single 
time, I spent hours tweaking around trying to get my layout visible to the 
document so that I could use my specialized document class.


FYI with Layout modules in 1.6 (courtesy of Richard H.) you will at 
least be able to reuse components of your modified layouts.




What I typically do is:

1) Make the layout file
2) ln -s /bookdir/mybook.layout /home/slitt/.lyx/layouts/mybook.layout
3) Doublecheck the line that says #  \DeclareLaTeXClass[book]{mybook}, make 
sure it matches the filenames.

4) lyx
5) tools->reconfigure
6) exit lyx
7) lyx mybook.lyx

It never shows document class mybook, until I turkey around for hours to get 
it to work. We need documentation on exactly what to do, and how to 
troubleshoot layouts/document classes.


See section 5.2 of the Customization manual. You are welcome to 
complement that part and to send patches to Uwe and to the documentation 
list. That's how it works for documentation.


Abdel.



Re: Paragraph break before display formula

2008-06-09 Thread G. Milde
On  6.06.08, rgheck wrote:
> Máté Salát wrote:
>>  If I have a display formula in a text, it can not be seen whether 
>> there is a paragraph break before the display formula or not. [...]
>>  Can the paragraph breaks be displayed?

> I've noticed this before, too. I don't know a way to display them, but  
> we should make it possible. 

Visible paragraph breaks are part of LyX's change-tracker module.  (It
looks like ┛ or ⌋) I would suggest to display paragraph breaks after
formulas the same way.

Günter


Re: problem with 1.6.0.beta3

2008-06-09 Thread G. Milde
On  6.06.08, Marcelo Acuña wrote:
> hello,
>  when I compile (run latex) a document with beta 3 I
> get option clash package babel message error.
>  Only dissapears when I deleted
> \usepackage[spanish]{babel} from preamble.
>  I need this option.

However, with LyX you should set it under Document>Settings>Language (choose
Spanisch) and not in the user-defined LaTeX preamble.

LyX (since several versions) will put [spanish] (and possibly other
languages used in the document) in the document options and
\usepackage{babel} in the LyX-generated part of the LaTeX preamble. 

Günter


pgf and external table plot

2008-06-09 Thread Willem van Engen
Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?

Regards,
- Willem



Re: We need documentation on using layouts in documents

2008-06-09 Thread christian . ridderstrom

On Sun, 8 Jun 2008, Steve Litt wrote:

In the 7 years I've used LyX, every book had its own layout, and every 
single time, I spent hours tweaking around trying to get my layout 
visible to the document so that I could use my specialized document 
class.


Hi Steve,

Just to be clear on the basic issues here so that we don't misuse the 
terminology. I also hope this will enlighten other readers on this list.


When you refer to the layout of the book, you mean the layout of printed 
copy. At the end of the day, when LaTeX is building the document, this is 
controlled by choosing the LaTeX document class (*.cls), using different 
LaTeX style files (*.sty) and generally tweaking the document's preamble.


When I want to the control the appearance of the printed copy, I usually 
proceed as follows:

* Select an already existing LyX document layout (*.layout)
* Modify the document settings through dialogs
* Tweak the document's LaTeX preamble by including LaTeX style files
  (*.sty) and adding some LaTeX statements.
* Insert some LaTeX code directly into the LyX document through ERT
  (Evil Red Text)

However, if I've understood you correctly, you do it slightly differently.
Instead of modifying the document to produce the desired appearance, you 
create a new LyX layout file (*.layout) which contains as much as possible 
of the LaTeX code. In other words, you make the .layout file select the 
correct LaTeX document class through the statement

# \DeclareLaTeXClass...
and you use the .layout-file to insert LaTeX code into the document's 
preamble. And of course to include LaTeX style files (*.sty).


Is this the core of it?

Your approach certainly makes sense if you intend to produce several 
documents with the same printed layout, but I'm less convinced if it is 
for a single book?  What is it that you gain by creating a specific 
LyX layout in this case?



After I've now hopefully gotten the background right, here's how you 
describe what you do.



What I typically do is:

1) Make the layout file
2) ln -s /bookdir/mybook.layout /home/slitt/.lyx/layouts/mybook.layout
3) Doublecheck the line that says #  \DeclareLaTeXClass[book]{mybook}, make
sure it matches the filenames.
4) lyx
5) tools->reconfigure
6) exit lyx
7) lyx mybook.lyx

It never shows document class mybook, until I turkey around for hours to 
get it to work.


I don't understand this... are you saying you often have problem making 
LyX find your .layout file?


We need documentation on exactly what to do, and how to troubleshoot 
layouts/document classes.


I agree, but you're probably the expert on creating customized LyX layouts 
;-)  So what do you suggest?  What kind of documentation is needed?


cheers
/Christian

--
Christian Ridderström, +46-8-768 39 44   http://www.md.kth.se/~chr

Re: greek fonts

2008-06-09 Thread Anthony Campbell
On 08 Jun 2008, Liviu Andronic wrote:
> On 6/8/08, Ad Meskens <[EMAIL PROTECTED]> wrote:
> > There is however a problem when you want to write ancient Greek with hyphens
> >  etc; The betababel package and writing bcode in ERT works wonderfully.
> >  However handling Dutch seems to be suppressed.
> >
> >  When you compile your LyX file, even though you have stated your language 
> > is
> >  Dutch (or another), the chapter headings will be in English, thus you will
> >  have something like: 'Chapter 1 '
> >
> >  Does anyone know how to solve this problem???
> >
> There was a recent discussion [1] on this, with no apparent solution.
> This other relevant discussion [2] seems to offer a solution.
> 

I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
appearing before the letter instead of above it.

Also, there there any way to get the characters to appear in Greek
on-screen (i.e. before converting the text to dvi)?

I can do all this in gvim plus latex but it would be nice to have it in
Lyx.

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



Re: greek fonts

2008-06-09 Thread G. Milde
On  9.06.08, Anthony Campbell wrote:

> I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
> appearing before the letter instead of above it.

It works in LyX, if you use the correct unicode char (from the extended
Greek table) out of the box, but not so good with combining chars.

> Also, there there any way to get the characters to appear in Greek
> on-screen (i.e. before converting the text to dvi)?

Yes, see attached file.

Günter


greek-german-test.lyx
Description: application/lyx


Re: greek fonts

2008-06-09 Thread Pavel Sanda
> It works in LyX, if you use the correct unicode char (from the extended
> Greek table) out of the box, but not so good with combining chars.
> 
> > Also, there there any way to get the characters to appear in Greek
> > on-screen (i.e. before converting the text to dvi)?
> 
> Yes, see attached file.

btw what kind of font do you use to have displayed the whole second line?
i tried many fonts, seeing only black squares :)

pavel


Re: pgf and external table plot

2008-06-09 Thread Paul A. Rubin

Willem van Engen wrote:

Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?



I suspect there is no elegant solution, but there are two solutions that 
are arguably better than switching to gnuplot.  One is to use LyX to 
write the document with everything but the plot in it, then export to a 
.tex file and run LaTeX yourself.  The other is to write a small 
document that does just the plot, producing say a PDF file.  (You'll 
have to run LaTeX against it manually for the reason you articulated 
above.)  Then use includegraphics in your ERT to load the PDF.  LyX will 
recognize the includegraphics command in the ERT and copy the file properly.


I've used TiKZ to annotate a PDF image (generated by an external 
program).  Here's the relevant code snippet (done in ERT in LyX), with 
the image in the file ttest.pdf, located in the same directory as the 
LyX file:


\begin{tikzpicture}
\pgftext[left]{\includegraphics[width=90mm]{ttest}}
\draw (60mm,0mm) node[anchor=south west]{$T_{crit}=1.328$};
% more draws here
\end{tikzpicture}

HTH,
Paul



Re: problem with 1.6.0.beta3

2008-06-09 Thread Marcelo Acuña
> > hello,
> >  when I compile (run latex) a document with beta 3
> I
> > get option clash package babel message error.
> >  Only dissapears when I deleted
> > \usepackage[spanish]{babel} from preamble.
> >  I need this option.
> 
> However, with LyX you should set it under
> Document>Settings>Language (choose
> Spanisch) and not in the user-defined LaTeX
> preamble.
> 
> LyX (since several versions) will put [spanish] (and
> possibly other
> languages used in the document) in the document
> options and
> \usepackage{babel} in the LyX-generated part of the
> LaTeX preamble. 
> 
> Günter
> 
 Ok, but I need to use several options of spanish
option like es-noindentafter and others options.
 How I can use this options without put
\usepackage[spanish,http://www.aleph-uno.com.ar 
==

__
Correo Yahoo!
Espacio para todos tus mensajes, antivirus y antispam ¡gratis! 
¡Abrí tu cuenta ya! - http://correo.yahoo.com.ar


Re: pgf and external table plot

2008-06-09 Thread Paul A. Rubin

Willem van Engen wrote:

Hi,

LyX has been a real blessing, thanks a lot! Now I've come across a
problem that I don't know how to solve, maybe you can help me here.

I'm using tikz/pgf in ERT to create graphics, and in one of them I use
an external data file to create a plot. I'd really like to use pgf to
add annotations and other imagery. Simple example:

\begin{tikzpicture}
  % axes
  \draw (-2, 0) -- ( 2, 0);
  \draw ( 0,-2) -- ( 0, 2);
  \draw (0,1.9) node[anchor=east]{$M$};
  \draw (1.9,0) node[anchor=north]{$H_0$};
  % magnetic curve
  \draw[thick, solid, domain=-2:2]
 plot file{images/plotdata/langevin.table};
\end{tikzpicture}

But this doesn't work, since LyX doesn't know that it should copy the
file images_plotdata_langevin.table. And if LyX's copying-scheme would
be used, even the file command itself should point to
images_plotdata_langevin.table instead (but not for LaTeX export if I'm
right). Is there a way to achieve this, or should I just start over
again and use gnuplot instead?

Regards,
- Willem




It occurs to me that a simpler solution might be to put an absolute 
reference to the file in the ERT.  LyX still will not copy it to the 
temp directory, but it won't need to.


The coffee apparently has not kicked in yet.

/Paul



Re: greek fonts

2008-06-09 Thread Anthony Campbell
On 09 Jun 2008, G. Milde wrote:
> On  9.06.08, Anthony Campbell wrote:
> 
> > I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
> > appearing before the letter instead of above it.
> 
> It works in LyX, if you use the correct unicode char (from the extended
> Greek table) out of the box, but not so good with combining chars.
> 
> > Also, there there any way to get the characters to appear in Greek
> > on-screen (i.e. before converting the text to dvi)?
> 
> Yes, see attached file.
> 
> Günter

Sorry, I don't follow this. What or where are thes uniccode characters?
And I could see your Greek characters but I don't see how to generate
them myself.


Anthony

-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)



floating text-wrap figures

2008-06-09 Thread James Sutherland
I have noticed in LyX1.6.0 there is support for floating a text-wrap  
figure.  However, given the bugs in the current release (see http://bugzilla.lyx.org/show_bug.cgi?id=4927) 
, I am still using 1.5.5.


Does anyone know if there is a way to float a text-wrap figure in 1.5.5?

Thanks,

James


Re: floating text-wrap figures

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 10:50 AM, James Sutherland
<[EMAIL PROTECTED]> wrote:
> I have noticed in LyX1.6.0 there is support for floating a text-wrap figure.
>  However, given the bugs in the current release (see
> http://bugzilla.lyx.org/show_bug.cgi?id=4927), I am still using 1.5.5.
>
> Does anyone know if there is a way to float a text-wrap figure in 1.5.5?
>
> Thanks,
>
> James
>

Does Insert->Float->Text Wrap Float not work? You can also look at
Help->Embedded Objects->Section 3.2.2 for more info, looks like you
would need to use the wrapfig package.

Cheers,
/Bob


Re: problem with 1.6.0.beta3

2008-06-09 Thread Jean-Marc Lasgouttes
Marcelo Acuña <[EMAIL PROTECTED]> writes:

>  Ok, but I need to use several options of spanish
> option like es-noindentafter and others options.
>  How I can use this options without put
> \usepackage[spanish,

Re: greek fonts

2008-06-09 Thread Steve Litt
On Monday 09 June 2008 08:10, Anthony Campbell wrote:

> I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
> appearing before the letter instead of above it.

For ancient Greek, you must use a goose feather on papayrus.

Sorry, I couldn't resist :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: floating text-wrap figures

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 11:44 AM, James Sutherland
<[EMAIL PROTECTED]> wrote:
>> Does Insert->Float->Text Wrap Float not work? You can also look at
>> Help->Embedded Objects->Section 3.2.2 for more info, looks like you
>> would need to use the wrapfig package.
>>
>> Cheers,
>> /Bob
>>
>
> I have inserted the figure, but it doesn't float too well.  It seems to be
> pinned to the point of insertion.  See attached image.  In this case, a
> footnote runs through the figure.  Perhaps this is a problem/limitation with
> wrapfig?
>
> James

Have you followed the advise in Help->Embedded Objects->Section 3.2.2?
I've copied the advise below:

Quote
Note: Text wrap float floats are fragile! E. g. having a figure too
close to the bottom of the page can mess things up in the way that the
float doesn't appear in the output or that it is placed over some
other text.

In general:

• Wrap floats should not be placed in paragraphs that run over a page
break. That means that wrap floats should better be inserted to the
exact place when the document is nearly finished and you are able to
estimate where page breaks will appear.

• Wrap floats should either be placed in an own paragraph before the
paragraph where they should wrap into or within a paragraph.

• Wrap floats in consecutive paragraphs may cause troubles, so assure
that there is a text paragraph between them as separator.

• Wrap floats are not allowed in section headings or tables.
EndQuote

It seems you may want to wait until your document is finished and then
adjust as necessary,

Cheers,
/Bob


Re: greek fonts

2008-06-09 Thread Andre Poenitz
On Mon, Jun 09, 2008 at 02:18:15PM -0400, Steve Litt wrote:
> On Monday 09 June 2008 08:10, Anthony Campbell wrote:
> 
> > I tried to use Lyx for ancient Greek but the circumflex (tilde) keeps
> > appearing before the letter instead of above it.
> 
> For ancient Greek, you must use a goose feather on papayrus.
> 
> Sorry, I couldn't resist :-)

That's why we had hieroglyphs on the old splash screen...

Andre'


Kudos for the website layout!

2008-06-09 Thread Andrés Becerra Sandoval
Hello,

As a regular LyX user I am delighted with the web site layout and the
screencasts in the visual tour. This is great for the expansion of the
LyX user base!

kudos for all the contributors !


-- 
  Andrés


Re: Kudos for the website layout!

2008-06-09 Thread Bob Lounsbury
On Mon, Jun 9, 2008 at 2:18 PM, Andrés Becerra Sandoval
<[EMAIL PROTECTED]> wrote:
> Hello,
>
> As a regular LyX user I am delighted with the web site layout and the
> screencasts in the visual tour. This is great for the expansion of the
> LyX user base!
>
> kudos for all the contributors !
>
>
> --
>  Andrés
>

I'd like to second that!! I love sending prospective users to the
website now. It has been designed and written very well.

Thank you.

Cheers,
/Bob


fit a long table into many pages in Lyx

2008-06-09 Thread Kuo-Hsien Chang

Hi all,

I already look at the user guide and this page, 
http://www.lyx.org/~jug/lyx/lyxdoc/UserGuide/node28.html

However, I still cannot make the long table to fit into pages.

I also can not find the TableExamples.lyx

If you know how to do or you have the template file, please email me.

Thanks,
Michael


Re: paragraph not visible in pdf output

2008-06-09 Thread Hans J. Prueller
Paul,

thank you for helping out - it is strange. As soon as I try to reproduce
the problem in a new document, everything works as expected.
somehow it has to depend on the concrete document itself ... any idea?

hans


Am Sonntag, den 08.06.2008, 11:01 -0400 schrieb Paul A. Rubin:

> Hans Prueller wrote:
> > hi,
> > 
> > I am writing a stardard report in "report" document class. the report 
> > contains several formulars (which are inserted with math-formula).
> > 
> > to write a header for the formulas, i've used the "paragraph" style (which 
> > makes the heading text appear bold) for the word "definition:" above the 
> > inserted formulas.
> > 
> > when I preview the report as PDF, the text that was marked with "paragraph" 
> > style  ("definition:") is not visible.
> > 
> > is this a bug in latex/lyx or did I do something wrong?
> > 
> > any help appreciated!
> > 
> > regards,
> > HANS
> 
> Can you post a small example file in which this occurs?  Please cut out 
> anything that is not required to demonstrate the problem.
> 
> Cheers,
> Paul


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil