Re: Changing appendix headings from A to Appendix A

2006-03-31 Thread Peter Bowyer

At 06:46 31/03/2006, Sara Stymne wrote:
Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout-document dialog, on the layout tab in the text field marked options.


Thanks, I added that and from the manual I understand what it should 
do: yet I see no result when outputting my document!  The appendix 
header (style 'section') is still shown as A. My title here.


Any ideas as to what is stopping this from working?

Thanks,
Peter



1.4.0 for windows

2006-03-31 Thread treefox
hello, when is it available? regards and thanks to all the developers, marco



Re: 1.4.0 for windows

2006-03-31 Thread Jean-Marc Lasgouttes
 treefox == treefox  [EMAIL PROTECTED] writes:

treefox hello, when is it available? regards and thanks to all the
treefox developers

Hello,

The first version that is going to be available will be 1.4.1.

JMarc



Re: Changing appendix headings from A to Appendix A

2006-03-31 Thread Sara Stymne

Peter Bowyer wrote:


At 06:46 31/03/2006, Sara Stymne wrote:

Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout-document dialog, on the layout tab in the text field marked 
options.



Thanks, I added that and from the manual I understand what it should 
do: yet I see no result when outputting my document!  The appendix 
header (style 'section') is still shown as A. My title here.


Any ideas as to what is stopping this from working?

Thanks,
Peter

It seems to only work for the report and book classes, where the 
appendices are chapters... And not for the article class where they are 
sections.


/Sara


Re: Copy and paste from Lyx

2006-03-31 Thread Griera
A Divendres 31 Març 2006 01:36, Charlie va escriure:
 Hello,

 I am new to this list and joined because I am using Lyx more and more as my
 preferred word processor.

 I must have overlooked something, but find I am unable to copy and paste
 text from Lyx to my email program [kmail] simple or advanced text
 editors[kedit, kate]? But can copy to Openoffice.org, and then into the
 above. Is there are simple straight from Lyx way?

If you use debian sarge, you can install the i2e package and open both, lyx 
and i2e. Then you can do cute and past from lyx to kde applications. Regards.


Chapter title and section name in the left and right pages

2006-03-31 Thread Horacio Emilio Pérez Sánchez

Hello all,

I am writting a big document with a lot of pages and I would want to have 
my document (book format), with the chapter tittle in the left pages and 
the section name in the right pages. Is there any way to do this in lyx ?


Thanks in advance. 



Re: Figure drawing GUI?

2006-03-31 Thread Georg Baum
Stacia Hartleben wrote:

 Does anyone think that adding a GUI for figures would be cool?

No. An interface to external graphics editors is better, and we have that.

 I really like this one. http://ipe.compgeom.org/ Could this or
 something like it be Incorporated? Exporting the EPS is fine but
 sometimes I find I made tiny errors and it would be pretty cool to
 edit it from within LyX.

In 1.4 there is an edit button on the graphics dialog. If you don't insert
the exported eps in LyX, but add an Ipe format in the preferences and a
converter from that format to eps and pdf, then you can insert the original
XML files in LyX, and launch ipe with one click on the edit button.
If you send the new format and converter definitions to the list they can
even be included in the next LyX release.


Georg



Re: Different fonts in LyX 1.3.4

2006-03-31 Thread Pekka Rantanen

Hi,

I want to use LyX to write a monography of my own on Hebrew grammar. My  
question is how to insert a certain
symbol from a certain font? I've found that I need to use LaTeX code  
like \font\cs=fontname at 10pt e. g.
but it doesn't work for some reason. For example, I have a font in a  
file tiberi.ttf, its name is SPTiberian.
But putting \font\cs=SPTiberian at xxpt or \font\cs=tiberi.ttf at xxpt  
gives out an error, something like
'the font is not found'. The font is properly installed on my Linux  
machine, is seen by all other

applications. What should I do?

I'm using LyX version 1.3.4, SuSe Linux 9.2.



As soon as I can gather, in order to use a specific font I must generate  
font metrics with the utility ttf2tfm or something like that (actually, I  
found ttf2afm and afm2tfm - don't know if this can make up for ttf2tfm).Is  
it really that necessary or is there any other way? The worst is that I  
hardly have a clue as to what to do, how to properly generate a tfm-file  
and where to put it. I don't even know if I'm astray or not. Where can I  
find more information?


--
Pekka


Re: Chapter title and section name in the left and right pages

2006-03-31 Thread john
On Fri, Mar 31, 2006 at 01:14:44PM +0200, Horacio Emilio Pérez Sánchez wrote:
 Hello all,
 
 I am writting a big document with a lot of pages and I would want to have 
 my document (book format), with the chapter tittle in the left pages and 
 the section name in the right pages. Is there any way to do this in lyx ?
 
 Thanks in advance. 

I am sure that it is possible, but probably requires using a bit of
LaTeX in your preamble Layout-Document-Preamble

See e.g.
http://www.kronto.org/thesis/tips/custom-headers.html

for how to use the fancyhdr package.

-- 
John C. McCabe-Dansted
Masters Student


align figure and equation inside of a float

2006-03-31 Thread Alexandru Cabuz
Hello,

I have an alignment problem inside a float.

I have a figure and also an equation, and I want the equation to be vertically 
aligned with the figure, side by side with it. If I just type it inside of 
the float it appears lower than the figure, which is ugly.

I have attached a sample lyx file plus the figure file and the pdf to make it 
clear what I mean. 

Thanks in advance for any useful suggestions anybody might have...

I use 1.3.6 on Debian testing. 

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


align_fig_and_eq.lyx
Description: application/lyx


Cabuz_MRS_Fig3x.eps
Description: image/eps


align_fig_and_eq.pdf
Description: Adobe PDF document


Re: align figure and equation inside of a float

2006-03-31 Thread Robert Orr
you could try putting two mini pages in that float,
then in first one put the graphic, in the other put
the equation.   Insert horizontal fill in between the
two mini pages.  Size the two pages at 70% and
25%, or whatever looks best.

Attached example.

HTH.



--- Alexandru Cabuz [EMAIL PROTECTED] wrote:

 Hello,
 
 I have an alignment problem inside a float.
 
 I have a figure and also an equation, and I want the
 equation to be vertically 
 aligned with the figure, side by side with it. If I
 just type it inside of 
 the float it appears lower than the figure, which is
 ugly.
 
 I have attached a sample lyx file plus the figure
 file and the pdf to make it 
 clear what I mean. 
 
 Thanks in advance for any useful suggestions anybody
 might have...
 
 I use 1.3.6 on Debian testing. 
 
 -- 
 Alexandru Cabuz
 Doctoral Student
 Université Montpellier II
 France
 Tel: +33 (0)4.67.14.47.34
 
 --- Please no Word or Powerpoint attachments.
 Send plain text, rich text format, html, or pdf
 instead.
 See

http://www.gnu.org/philosophy/no-word-attachments.html
 

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

align_fig_and_eq.lyx
Description: 851295543-align_fig_and_eq.lyx


Re: Different fonts in LyX 1.3.4

2006-03-31 Thread Richard Heck

You need to install the TrueType font you're trying to use into LaTeX
before you can use it. There are several guides for doing so on the web,
e.g.: http://www.radamir.com/tex/ttf-tex.htm. Try a google search for more.

Are you sure the glyph you want to use isn't available already?

Richard

Pekka Rantanen wrote:
 Hi,

 I want to use LyX to write a monography of my own on Hebrew grammar.
 My question is how to insert a certain
 symbol from a certain font? I've found that I need to use LaTeX code
 like \font\cs=fontname at 10pt e. g.
 but it doesn't work for some reason. For example, I have a font in a
 file tiberi.ttf, its name is SPTiberian.
 But putting \font\cs=SPTiberian at xxpt or \font\cs=tiberi.ttf at
 xxpt gives out an error, something like
 'the font is not found'. The font is properly installed on my Linux
 machine, is seen by all other
 applications. What should I do?

 I'm using LyX version 1.3.4, SuSe Linux 9.2.


 As soon as I can gather, in order to use a specific font I must
 generate font metrics with the utility ttf2tfm or something like that
 (actually, I found ttf2afm and afm2tfm - don't know if this can make
 up for ttf2tfm).Is it really that necessary or is there any other way?
 The worst is that I hardly have a clue as to what to do, how to
 properly generate a tfm-file and where to put it. I don't even know if
 I'm astray or not. Where can I find more information?

 --Pekka



yX/Mac-1.4.0 on Mac OS 10.4.5 - Font difficulties

2006-03-31 Thread David McMillen
Hi, I'm not sure if this is the right place to ask this (always a bad  
sign when a message starts this way, I know!), but . . .


I'm having recurring problems getting my documents to render  
correctly on the OS X version of LyX.  What seems to happen is that  
each time I preview the PDF file, it starts out initially as
gibberish (many black bars, boxes, etc. in the equations), then each  
successive preview fixes more and more of the bits, or at least  
causes the gibberish to move around the page, until eventually I get  
a clean copy that looks the way I expected -- see the attached series  
of screen captures.  [Correction: Screen captures available on  
request, but the mailing list can't accept files of that size.]   So  
it works eventually, but it takes some time-- does anyone have any  
theories as to why?


It looks like something to do with the fonts needing to be  
regenerated when they're going to be used, or something.  If I close  
LyX then reopen it immediately, it seems to render them correctly  
thefirst time.  But I've also seen weird problems where I see the  
fonts perfectly well on the screen, but they turn back into gibberish  
when I try to print them on my (hp LaserJet, PostScript) printer.  If  
there were some way to fix this, I'd love to hear about it!


I followed the TeX installation instructions at:

http://www.uoregon.edu/~koch/texshop/installing.html

using i-Installer.

Thanks,
Dave



If I have seen less far, it is by standing in the footprints of giants.

David McMillen, Dept. of Chemical and Physical Sciences
University of Toronto at Mississauga
3359 Mississauga Rd N, South Bldg Rm 4056
Mississauga, ON L5L 1C6 CANADA
Phone: (905) 828-5353, lab (905) 828-3807;  Fax: (905) 828-5425





Re: align figure and equation inside of a float

2006-03-31 Thread Alexandru Cabuz
Thanks!!

Le Vendredi 31 Mars 2006 16:38, Robert Orr a écrit :
 you could try putting two mini pages in that float,
 then in first one put the graphic, in the other put
 the equation.   Insert horizontal fill in between the
 two mini pages.  Size the two pages at 70% and
 25%, or whatever looks best.

 Attached example.

 HTH.

 --- Alexandru Cabuz [EMAIL PROTECTED] wrote:
  Hello,
 
  I have an alignment problem inside a float.
 
  I have a figure and also an equation, and I want the
  equation to be vertically
  aligned with the figure, side by side with it. If I
  just type it inside of
  the float it appears lower than the figure, which is
  ugly.
 
  I have attached a sample lyx file plus the figure
  file and the pdf to make it
  clear what I mean.
 
  Thanks in advance for any useful suggestions anybody
  might have...
 
  I use 1.3.6 on Debian testing.
 
  --
  Alexandru Cabuz
  Doctoral Student
  Université Montpellier II
  France
  Tel: +33 (0)4.67.14.47.34
 
  --- Please no Word or Powerpoint attachments.
  Send plain text, rich text format, html, or pdf
  instead.
  See

 http://www.gnu.org/philosophy/no-word-attachments.html


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

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: yX/Mac-1.4.0 on Mac OS 10.4.5 - Font difficulties

2006-03-31 Thread Bennett Helm

On Mar 31, 2006, at 10:22 AM, David McMillen wrote:

Hi, I'm not sure if this is the right place to ask this (always a  
bad sign when a message starts this way, I know!), but . . .


I'm having recurring problems getting my documents to render  
correctly on the OS X version of LyX.  What seems to happen is that  
each time I preview the PDF file, it starts out initially as
gibberish (many black bars, boxes, etc. in the equations), then  
each successive preview fixes more and more of the bits, or at  
least causes the gibberish to move around the page, until  
eventually I get a clean copy that looks the way I expected -- see  
the attached series of screen captures.  [Correction: Screen  
captures available on request, but the mailing list can't accept  
files of that size.]   So it works eventually, but it takes some  
time-- does anyone have any theories as to why?


It looks like something to do with the fonts needing to be  
regenerated when they're going to be used, or something.  If I  
close LyX then reopen it immediately, it seems to render them  
correctly thefirst time.  But I've also seen weird problems where I  
see the fonts perfectly well on the screen, but they turn back into  
gibberish when I try to print them on my (hp LaserJet, PostScript)  
printer.  If there were some way to fix this, I'd love to hear  
about it!


I followed the TeX installation instructions at:

http://www.uoregon.edu/~koch/texshop/installing.html

using i-Installer.


What happens when you use LyX to export to LaTeX, and then run LaTeX  
manually (from within TeXShop, e.g.)? If the problems are the same  
there, you probably want to ask your question on the TeX on MacOS X  
mailing list, which can be accessed here: http://www.esm.psu.edu/mac- 
tex/ (scroll 1/2-way down the page to see the links).


If the problems are unique to LyX, perhaps you can provide a minimal  
example file that reveals the problem. Also, does anything get  
printed out to Console.app when you typeset from within LyX?


Bennett


Re: Stopping bibliography reference entries breaking

2006-03-31 Thread Oisin C. Feeley
On Fri, Mar 31, 2006 at 07:41:38AM +0200, Juergen Spitzmueller wrote:
 Oisin C. Feeley wrote:
  Does anyone know how I can stop bibliographic entries in the reference list
  from breaking across pages?  (I'm using the natbib package).
  
 Try
 \interlinepenalty=1
 in ERT, immediately before the grey Bibtex References box.
 
Thanks Juergen!  That did it.  Can I post your response to a couple of other 
places?  I asked on comp.text.tex and I'd like to post your solution on that in 
case someone else is tracking it.

Again, thanks very much.  This was driving me crazy.  I was trying to edit the 
.bbl file to have \pagebreaks before the offending entries and it just seemed 
wrong (I want LaTeX to do the arranging for me!).

Oisin


Re: Stopping bibliography reference entries breaking

2006-03-31 Thread Juergen Spitzmueller
Oisin C. Feeley wrote:
 Thanks Juergen!  That did it.  Can I post your response to a couple of
 other places?  I asked on comp.text.tex and I'd like to post your solution
 on that in case someone else is tracking it.

Sure. It's no mental property (and of course not my invention).
But I'm sure this is a frequently answered question on c.t.t

Jürgen


Re: Chapter title and section name in the left and right pages

2006-03-31 Thread Steve Litt
On Friday 31 March 2006 06:14 am, Horacio Emilio Pérez Sánchez wrote:
 Hello all,

 I am writting a big document with a lot of pages and I would want to have
 my document (book format), with the chapter tittle in the left pages and
 the section name in the right pages. Is there any way to do this in lyx ?

 Thanks in advance.

Here's some documentation on that issue:

http://www.troubleshooters.com/lpm/200210/200210.htm

The actual part about headers and footers is here:


http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters

but I'd recommend reading the whole document to understand what's in the 
headers and footers section.

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Edge to edge footer?

2006-03-31 Thread Steve Litt
Hi all,

My book uses the memoir document class. At the bottom of all pages not 
beginning a chapter, I need a brown stripe going all the way across the page, 
with some white writing in it. I'm using a minipage and containing a shaded 
environment, and it works, except that no matter what I do, I cannot get the 
shading to start at the left edge, but instead it starts at the left margin. 
I can \hspace{-5in} and it still starts at the margin.

This is only true when the minipage is in the footer. When ERT containing the 
minipage and shaded is placed in the body, the shaded can be started anywhere 
by preceding it with the proper \hspace{}. But that trick doesn't work in the 
footer.

Any ideas?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Identifying Error Locations: 1.4.0

2006-03-31 Thread Rich Shepard

  I'm modifying a beamer class presentation created with version 1.3.6 or .7,
but now I'm running 1.4.0. There is apparently a problem with the path to
included graphics files. Instead of having the old Error boxes, the new
version seems to just move somewhere in the vicinity of the ERT include box.
Is this how we now know the location of the error?

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


LyX to OpenOffice

2006-03-31 Thread Stephen Harris

Nick Thomas wrote: n c thomas {at} worldemail {period} com
eliminate spaces and normalize the email address above


Dear Stephen,

Gladly.  I attach the program and supporting files in a zip file.
Just locate the zip file in your home directory and extract it there.  It will 
create a folder named ConvLaTex in your documents directory with the 
programs, dictionaries etc.  It will also place a link in your home directory 
to the Lyx document explaining the thing and where I've got to.  You can of 
course delete the zip file once unpacked, and the link when you've finished 
with it.


Should I copy it to [EMAIL PROTECTED] as well?  


Regards,

Nick Thomas



Thank you for the zipfile. I will test its capability.
The zipfile is about 95k and I think is too large to be
attached in an email to the User list, so an interested
party can write you with a request. Perhaps putting it
on the LyX Wiki is a good idea?

I think ConvTex.lyx is small enough to attach to the
User list though, and will allow those interested to
read a bit about this. There are requests for how to
convert to Word and html and this may prove to be a
good tool and a valuable addition to the LyXer toolkit.

Best regards,
Stephen



ConvTex.lyx
Description: application/lyx


Re: Copy and paste from Lyx

2006-03-31 Thread Charlie
On Fri, 31 Mar 2006 07:44 pm, Griera wrote this for perusal by us all:
--- A Divendres 31 Març 2006 01:36, Charlie va escriure:
---  Hello,
--- 
---  I am new to this list and joined because I am using Lyx more and more
 as my ---  preferred word processor.
--- 
---  I must have overlooked something, but find I am unable to copy and
 paste ---  text from Lyx to my email program [kmail] simple or advanced
 text ---  editors[kedit, kate]? But can copy to Openoffice.org, and then
 into the ---  above. Is there are simple straight from Lyx way?
---
--- If you use debian sarge, you can install the i2e package and open both,
 lyx --- and i2e. Then you can do cute and past from lyx to kde
 applications. Regards. ---

You're not wrong Griera,

Thank you. That is one work around and will save me building a .deb from the 
Lyx 1.4 source, which I can't even get too from the Lyx website. which might 
also be another bug.

The above was copied out of Lyx.

Thanks again,
Charlie

-- 
Registered Linux User:- 329524
+++
Religion is not to go to God by forsaking the world but to find Him in it. Our 
faith is to believe in our essential oneness with Him. God is in us and we 
in Him must be made the most fundamental faith of all religions. 
---SOEN SHAKU

***
Brilliant Debian Sarge 3.1
___


Re: floatflt

2006-03-31 Thread Paul A. Rubin

Lee Yeoh wrote:
I had a bit more of a rummage around and I managed to export the 
relevant latex code for my document:


--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{\stringFigures/Fluid mosaic 
model\string.jpg}



\caption{The fluid mosaic model of cell membranes}\end{floatingfigure}%
--- end quote ---

compared to the latex code for the extended features wrapped float

--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{mobius}


\caption{This is a wrapped figure, and this is the brilliant caption that
describes it}\end{floatingfigure}%
--- end quote ---

The only difference appears to be the {\stringFigures/Fluid mosaic 
model\string.jpg} part. I tried numerous other methods, involving ERT, 
making the figure eps, and placing it in the same directory as the lyx 
file. When I used the last two methods together, the latex code was 
identical to the example, but still nothing in the export!!! Quite 
frustrating!




There's nothing visibly wrong with the argument \stringFigures/Fluid 
mosaic model\string.jpg, assuming that your image is named 'Fluid 
mosaic model.jpg' and lives in a folder named 'Figures' directly under 
the folder containing the LyX file.


When you say no image appears in the exported version ...

1.  Do you mean an error message is produced (if so, what does it say?) 
or just that there's an empty space in the PDF file where the image 
should be?  (You might have to look in the TeX log file to see if 
there's an error message.)


2.  How are you doing the export: export to .tex and run pdflatex or 
something equivalent; export to PDF using the LyX File-Export menu 
(which method?); or View-PDF (again, which method)?


All else failing, can you post a minimal example (a LyX doc with just 
enough content to demonstrate the failure, and the required .jpg file).


/Paul



Re: pdflatex figure size

2006-03-31 Thread Paul A. Rubin

Simon Goodall wrote:

Hi,
  I've just tried using the pdflatex export option to create a pdf and
my eps based figures are rendered half the size they should be, but take
up twice the page area. I.e. I have a graph set to 100% col width and
this should take up half a page. using pdflatex a whole page is used,
but the graph only takes up a quater of the page space. I also have a
couple of gif images which are correctly handled.

The other pdf export options work as expected.

Simon



If this is still an open issue, can you post a minimal example 
(including the image file)?


/Paul




Re: floatflt

2006-03-31 Thread Lee Yeoh


On 01/04/2006, at 9:37 AM, Paul A. Rubin wrote:
There's nothing visibly wrong with the argument \stringFigures/ 
Fluid mosaic model\string.jpg, assuming that your image is named  
'Fluid mosaic model.jpg' and lives in a folder named 'Figures'  
directly under the folder containing the LyX file.


When you say no image appears in the exported version ...

1.  Do you mean an error message is produced (if so, what does it  
say?) or just that there's an empty space in the PDF file where the  
image should be?  (You might have to look in the TeX log file to  
see if there's an error message.)


There is no error message produced (although I am not really sure  
where the log files would be produced). There just appears to be  
nothing in the document, no sign of the wrap float existing at all.


2.  How are you doing the export: export to .tex and run pdflatex  
or something equivalent; export to PDF using the LyX File-Export  
menu (which method?); or View-PDF (again, which method)?


I've been using View- PDF (pdflatex)

All else failing, can you post a minimal example (a LyX doc with  
just enough content to demonstrate the failure, and the  
required .jpg file).


Hmm... well I seem to have isolated the problem a little. I tried to  
make an example file, and the text wrap worked perfectly this time...  
It seems that if I have standard text following the float, then it  
will display fine. Where I run into problems is when I use the  
itemise format.


• If I have itemised text in the next paragraph of the document,  
nothing will be rendered.


• If I have even a single character of standard text either in the  
next paragraph or immediately following the graphic in the same  
paragraph, the image will render. The problem with this workaround is  
that the itemised text does not wrap around this image.


Perhaps this is a bug with floatflt, but in any case, I've posted a  
zip of an example lyx file, an image and the pdf output at this link:


http://web.netcall.com.au/tilde/wraptest.zip


One other question, does anyone know what all those blah.lyx~ files  
and ##blah.lyx## files are? I've just been deleting them...



Thanks,
Lee.
--
Lee Yeoh




Re: Changing appendix headings from A to Appendix A

2006-03-31 Thread Peter Bowyer

At 06:46 31/03/2006, Sara Stymne wrote:
Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout-document dialog, on the layout tab in the text field marked options.


Thanks, I added that and from the manual I understand what it should 
do: yet I see no result when outputting my document!  The appendix 
header (style 'section') is still shown as A. My title here.


Any ideas as to what is stopping this from working?

Thanks,
Peter



1.4.0 for windows

2006-03-31 Thread treefox
hello, when is it available? regards and thanks to all the developers, marco



Re: 1.4.0 for windows

2006-03-31 Thread Jean-Marc Lasgouttes
 treefox == treefox  [EMAIL PROTECTED] writes:

treefox hello, when is it available? regards and thanks to all the
treefox developers

Hello,

The first version that is going to be available will be 1.4.1.

JMarc



Re: Changing appendix headings from A to Appendix A

2006-03-31 Thread Sara Stymne

Peter Bowyer wrote:


At 06:46 31/03/2006, Sara Stymne wrote:

Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout-document dialog, on the layout tab in the text field marked 
options.



Thanks, I added that and from the manual I understand what it should 
do: yet I see no result when outputting my document!  The appendix 
header (style 'section') is still shown as A. My title here.


Any ideas as to what is stopping this from working?

Thanks,
Peter

It seems to only work for the report and book classes, where the 
appendices are chapters... And not for the article class where they are 
sections.


/Sara


Re: Copy and paste from Lyx

2006-03-31 Thread Griera
A Divendres 31 Març 2006 01:36, Charlie va escriure:
 Hello,

 I am new to this list and joined because I am using Lyx more and more as my
 preferred word processor.

 I must have overlooked something, but find I am unable to copy and paste
 text from Lyx to my email program [kmail] simple or advanced text
 editors[kedit, kate]? But can copy to Openoffice.org, and then into the
 above. Is there are simple straight from Lyx way?

If you use debian sarge, you can install the i2e package and open both, lyx 
and i2e. Then you can do cute and past from lyx to kde applications. Regards.


Chapter title and section name in the left and right pages

2006-03-31 Thread Horacio Emilio Pérez Sánchez

Hello all,

I am writting a big document with a lot of pages and I would want to have 
my document (book format), with the chapter tittle in the left pages and 
the section name in the right pages. Is there any way to do this in lyx ?


Thanks in advance. 



Re: Figure drawing GUI?

2006-03-31 Thread Georg Baum
Stacia Hartleben wrote:

 Does anyone think that adding a GUI for figures would be cool?

No. An interface to external graphics editors is better, and we have that.

 I really like this one. http://ipe.compgeom.org/ Could this or
 something like it be Incorporated? Exporting the EPS is fine but
 sometimes I find I made tiny errors and it would be pretty cool to
 edit it from within LyX.

In 1.4 there is an edit button on the graphics dialog. If you don't insert
the exported eps in LyX, but add an Ipe format in the preferences and a
converter from that format to eps and pdf, then you can insert the original
XML files in LyX, and launch ipe with one click on the edit button.
If you send the new format and converter definitions to the list they can
even be included in the next LyX release.


Georg



Re: Different fonts in LyX 1.3.4

2006-03-31 Thread Pekka Rantanen

Hi,

I want to use LyX to write a monography of my own on Hebrew grammar. My  
question is how to insert a certain
symbol from a certain font? I've found that I need to use LaTeX code  
like \font\cs=fontname at 10pt e. g.
but it doesn't work for some reason. For example, I have a font in a  
file tiberi.ttf, its name is SPTiberian.
But putting \font\cs=SPTiberian at xxpt or \font\cs=tiberi.ttf at xxpt  
gives out an error, something like
'the font is not found'. The font is properly installed on my Linux  
machine, is seen by all other

applications. What should I do?

I'm using LyX version 1.3.4, SuSe Linux 9.2.



As soon as I can gather, in order to use a specific font I must generate  
font metrics with the utility ttf2tfm or something like that (actually, I  
found ttf2afm and afm2tfm - don't know if this can make up for ttf2tfm).Is  
it really that necessary or is there any other way? The worst is that I  
hardly have a clue as to what to do, how to properly generate a tfm-file  
and where to put it. I don't even know if I'm astray or not. Where can I  
find more information?


--
Pekka


Re: Chapter title and section name in the left and right pages

2006-03-31 Thread john
On Fri, Mar 31, 2006 at 01:14:44PM +0200, Horacio Emilio Pérez Sánchez wrote:
 Hello all,
 
 I am writting a big document with a lot of pages and I would want to have 
 my document (book format), with the chapter tittle in the left pages and 
 the section name in the right pages. Is there any way to do this in lyx ?
 
 Thanks in advance. 

I am sure that it is possible, but probably requires using a bit of
LaTeX in your preamble Layout-Document-Preamble

See e.g.
http://www.kronto.org/thesis/tips/custom-headers.html

for how to use the fancyhdr package.

-- 
John C. McCabe-Dansted
Masters Student


align figure and equation inside of a float

2006-03-31 Thread Alexandru Cabuz
Hello,

I have an alignment problem inside a float.

I have a figure and also an equation, and I want the equation to be vertically 
aligned with the figure, side by side with it. If I just type it inside of 
the float it appears lower than the figure, which is ugly.

I have attached a sample lyx file plus the figure file and the pdf to make it 
clear what I mean. 

Thanks in advance for any useful suggestions anybody might have...

I use 1.3.6 on Debian testing. 

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


align_fig_and_eq.lyx
Description: application/lyx


Cabuz_MRS_Fig3x.eps
Description: image/eps


align_fig_and_eq.pdf
Description: Adobe PDF document


Re: align figure and equation inside of a float

2006-03-31 Thread Robert Orr
you could try putting two mini pages in that float,
then in first one put the graphic, in the other put
the equation.   Insert horizontal fill in between the
two mini pages.  Size the two pages at 70% and
25%, or whatever looks best.

Attached example.

HTH.



--- Alexandru Cabuz [EMAIL PROTECTED] wrote:

 Hello,
 
 I have an alignment problem inside a float.
 
 I have a figure and also an equation, and I want the
 equation to be vertically 
 aligned with the figure, side by side with it. If I
 just type it inside of 
 the float it appears lower than the figure, which is
 ugly.
 
 I have attached a sample lyx file plus the figure
 file and the pdf to make it 
 clear what I mean. 
 
 Thanks in advance for any useful suggestions anybody
 might have...
 
 I use 1.3.6 on Debian testing. 
 
 -- 
 Alexandru Cabuz
 Doctoral Student
 Université Montpellier II
 France
 Tel: +33 (0)4.67.14.47.34
 
 --- Please no Word or Powerpoint attachments.
 Send plain text, rich text format, html, or pdf
 instead.
 See

http://www.gnu.org/philosophy/no-word-attachments.html
 

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

align_fig_and_eq.lyx
Description: 851295543-align_fig_and_eq.lyx


Re: Different fonts in LyX 1.3.4

2006-03-31 Thread Richard Heck

You need to install the TrueType font you're trying to use into LaTeX
before you can use it. There are several guides for doing so on the web,
e.g.: http://www.radamir.com/tex/ttf-tex.htm. Try a google search for more.

Are you sure the glyph you want to use isn't available already?

Richard

Pekka Rantanen wrote:
 Hi,

 I want to use LyX to write a monography of my own on Hebrew grammar.
 My question is how to insert a certain
 symbol from a certain font? I've found that I need to use LaTeX code
 like \font\cs=fontname at 10pt e. g.
 but it doesn't work for some reason. For example, I have a font in a
 file tiberi.ttf, its name is SPTiberian.
 But putting \font\cs=SPTiberian at xxpt or \font\cs=tiberi.ttf at
 xxpt gives out an error, something like
 'the font is not found'. The font is properly installed on my Linux
 machine, is seen by all other
 applications. What should I do?

 I'm using LyX version 1.3.4, SuSe Linux 9.2.


 As soon as I can gather, in order to use a specific font I must
 generate font metrics with the utility ttf2tfm or something like that
 (actually, I found ttf2afm and afm2tfm - don't know if this can make
 up for ttf2tfm).Is it really that necessary or is there any other way?
 The worst is that I hardly have a clue as to what to do, how to
 properly generate a tfm-file and where to put it. I don't even know if
 I'm astray or not. Where can I find more information?

 --Pekka



yX/Mac-1.4.0 on Mac OS 10.4.5 - Font difficulties

2006-03-31 Thread David McMillen
Hi, I'm not sure if this is the right place to ask this (always a bad  
sign when a message starts this way, I know!), but . . .


I'm having recurring problems getting my documents to render  
correctly on the OS X version of LyX.  What seems to happen is that  
each time I preview the PDF file, it starts out initially as
gibberish (many black bars, boxes, etc. in the equations), then each  
successive preview fixes more and more of the bits, or at least  
causes the gibberish to move around the page, until eventually I get  
a clean copy that looks the way I expected -- see the attached series  
of screen captures.  [Correction: Screen captures available on  
request, but the mailing list can't accept files of that size.]   So  
it works eventually, but it takes some time-- does anyone have any  
theories as to why?


It looks like something to do with the fonts needing to be  
regenerated when they're going to be used, or something.  If I close  
LyX then reopen it immediately, it seems to render them correctly  
thefirst time.  But I've also seen weird problems where I see the  
fonts perfectly well on the screen, but they turn back into gibberish  
when I try to print them on my (hp LaserJet, PostScript) printer.  If  
there were some way to fix this, I'd love to hear about it!


I followed the TeX installation instructions at:

http://www.uoregon.edu/~koch/texshop/installing.html

using i-Installer.

Thanks,
Dave



If I have seen less far, it is by standing in the footprints of giants.

David McMillen, Dept. of Chemical and Physical Sciences
University of Toronto at Mississauga
3359 Mississauga Rd N, South Bldg Rm 4056
Mississauga, ON L5L 1C6 CANADA
Phone: (905) 828-5353, lab (905) 828-3807;  Fax: (905) 828-5425





Re: align figure and equation inside of a float

2006-03-31 Thread Alexandru Cabuz
Thanks!!

Le Vendredi 31 Mars 2006 16:38, Robert Orr a écrit :
 you could try putting two mini pages in that float,
 then in first one put the graphic, in the other put
 the equation.   Insert horizontal fill in between the
 two mini pages.  Size the two pages at 70% and
 25%, or whatever looks best.

 Attached example.

 HTH.

 --- Alexandru Cabuz [EMAIL PROTECTED] wrote:
  Hello,
 
  I have an alignment problem inside a float.
 
  I have a figure and also an equation, and I want the
  equation to be vertically
  aligned with the figure, side by side with it. If I
  just type it inside of
  the float it appears lower than the figure, which is
  ugly.
 
  I have attached a sample lyx file plus the figure
  file and the pdf to make it
  clear what I mean.
 
  Thanks in advance for any useful suggestions anybody
  might have...
 
  I use 1.3.6 on Debian testing.
 
  --
  Alexandru Cabuz
  Doctoral Student
  Université Montpellier II
  France
  Tel: +33 (0)4.67.14.47.34
 
  --- Please no Word or Powerpoint attachments.
  Send plain text, rich text format, html, or pdf
  instead.
  See

 http://www.gnu.org/philosophy/no-word-attachments.html


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

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: yX/Mac-1.4.0 on Mac OS 10.4.5 - Font difficulties

2006-03-31 Thread Bennett Helm

On Mar 31, 2006, at 10:22 AM, David McMillen wrote:

Hi, I'm not sure if this is the right place to ask this (always a  
bad sign when a message starts this way, I know!), but . . .


I'm having recurring problems getting my documents to render  
correctly on the OS X version of LyX.  What seems to happen is that  
each time I preview the PDF file, it starts out initially as
gibberish (many black bars, boxes, etc. in the equations), then  
each successive preview fixes more and more of the bits, or at  
least causes the gibberish to move around the page, until  
eventually I get a clean copy that looks the way I expected -- see  
the attached series of screen captures.  [Correction: Screen  
captures available on request, but the mailing list can't accept  
files of that size.]   So it works eventually, but it takes some  
time-- does anyone have any theories as to why?


It looks like something to do with the fonts needing to be  
regenerated when they're going to be used, or something.  If I  
close LyX then reopen it immediately, it seems to render them  
correctly thefirst time.  But I've also seen weird problems where I  
see the fonts perfectly well on the screen, but they turn back into  
gibberish when I try to print them on my (hp LaserJet, PostScript)  
printer.  If there were some way to fix this, I'd love to hear  
about it!


I followed the TeX installation instructions at:

http://www.uoregon.edu/~koch/texshop/installing.html

using i-Installer.


What happens when you use LyX to export to LaTeX, and then run LaTeX  
manually (from within TeXShop, e.g.)? If the problems are the same  
there, you probably want to ask your question on the TeX on MacOS X  
mailing list, which can be accessed here: http://www.esm.psu.edu/mac- 
tex/ (scroll 1/2-way down the page to see the links).


If the problems are unique to LyX, perhaps you can provide a minimal  
example file that reveals the problem. Also, does anything get  
printed out to Console.app when you typeset from within LyX?


Bennett


Re: Stopping bibliography reference entries breaking

2006-03-31 Thread Oisin C. Feeley
On Fri, Mar 31, 2006 at 07:41:38AM +0200, Juergen Spitzmueller wrote:
 Oisin C. Feeley wrote:
  Does anyone know how I can stop bibliographic entries in the reference list
  from breaking across pages?  (I'm using the natbib package).
  
 Try
 \interlinepenalty=1
 in ERT, immediately before the grey Bibtex References box.
 
Thanks Juergen!  That did it.  Can I post your response to a couple of other 
places?  I asked on comp.text.tex and I'd like to post your solution on that in 
case someone else is tracking it.

Again, thanks very much.  This was driving me crazy.  I was trying to edit the 
.bbl file to have \pagebreaks before the offending entries and it just seemed 
wrong (I want LaTeX to do the arranging for me!).

Oisin


Re: Stopping bibliography reference entries breaking

2006-03-31 Thread Juergen Spitzmueller
Oisin C. Feeley wrote:
 Thanks Juergen!  That did it.  Can I post your response to a couple of
 other places?  I asked on comp.text.tex and I'd like to post your solution
 on that in case someone else is tracking it.

Sure. It's no mental property (and of course not my invention).
But I'm sure this is a frequently answered question on c.t.t

Jürgen


Re: Chapter title and section name in the left and right pages

2006-03-31 Thread Steve Litt
On Friday 31 March 2006 06:14 am, Horacio Emilio Pérez Sánchez wrote:
 Hello all,

 I am writting a big document with a lot of pages and I would want to have
 my document (book format), with the chapter tittle in the left pages and
 the section name in the right pages. Is there any way to do this in lyx ?

 Thanks in advance.

Here's some documentation on that issue:

http://www.troubleshooters.com/lpm/200210/200210.htm

The actual part about headers and footers is here:


http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters

but I'd recommend reading the whole document to understand what's in the 
headers and footers section.

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Edge to edge footer?

2006-03-31 Thread Steve Litt
Hi all,

My book uses the memoir document class. At the bottom of all pages not 
beginning a chapter, I need a brown stripe going all the way across the page, 
with some white writing in it. I'm using a minipage and containing a shaded 
environment, and it works, except that no matter what I do, I cannot get the 
shading to start at the left edge, but instead it starts at the left margin. 
I can \hspace{-5in} and it still starts at the margin.

This is only true when the minipage is in the footer. When ERT containing the 
minipage and shaded is placed in the body, the shaded can be started anywhere 
by preceding it with the proper \hspace{}. But that trick doesn't work in the 
footer.

Any ideas?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Identifying Error Locations: 1.4.0

2006-03-31 Thread Rich Shepard

  I'm modifying a beamer class presentation created with version 1.3.6 or .7,
but now I'm running 1.4.0. There is apparently a problem with the path to
included graphics files. Instead of having the old Error boxes, the new
version seems to just move somewhere in the vicinity of the ERT include box.
Is this how we now know the location of the error?

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
http://www.appl-ecosys.com Voice: 503-667-4517  Fax: 503-667-8863


LyX to OpenOffice

2006-03-31 Thread Stephen Harris

Nick Thomas wrote: n c thomas {at} worldemail {period} com
eliminate spaces and normalize the email address above


Dear Stephen,

Gladly.  I attach the program and supporting files in a zip file.
Just locate the zip file in your home directory and extract it there.  It will 
create a folder named ConvLaTex in your documents directory with the 
programs, dictionaries etc.  It will also place a link in your home directory 
to the Lyx document explaining the thing and where I've got to.  You can of 
course delete the zip file once unpacked, and the link when you've finished 
with it.


Should I copy it to [EMAIL PROTECTED] as well?  


Regards,

Nick Thomas



Thank you for the zipfile. I will test its capability.
The zipfile is about 95k and I think is too large to be
attached in an email to the User list, so an interested
party can write you with a request. Perhaps putting it
on the LyX Wiki is a good idea?

I think ConvTex.lyx is small enough to attach to the
User list though, and will allow those interested to
read a bit about this. There are requests for how to
convert to Word and html and this may prove to be a
good tool and a valuable addition to the LyXer toolkit.

Best regards,
Stephen



ConvTex.lyx
Description: application/lyx


Re: Copy and paste from Lyx

2006-03-31 Thread Charlie
On Fri, 31 Mar 2006 07:44 pm, Griera wrote this for perusal by us all:
--- A Divendres 31 Març 2006 01:36, Charlie va escriure:
---  Hello,
--- 
---  I am new to this list and joined because I am using Lyx more and more
 as my ---  preferred word processor.
--- 
---  I must have overlooked something, but find I am unable to copy and
 paste ---  text from Lyx to my email program [kmail] simple or advanced
 text ---  editors[kedit, kate]? But can copy to Openoffice.org, and then
 into the ---  above. Is there are simple straight from Lyx way?
---
--- If you use debian sarge, you can install the i2e package and open both,
 lyx --- and i2e. Then you can do cute and past from lyx to kde
 applications. Regards. ---

You're not wrong Griera,

Thank you. That is one work around and will save me building a .deb from the 
Lyx 1.4 source, which I can't even get too from the Lyx website. which might 
also be another bug.

The above was copied out of Lyx.

Thanks again,
Charlie

-- 
Registered Linux User:- 329524
+++
Religion is not to go to God by forsaking the world but to find Him in it. Our 
faith is to believe in our essential oneness with Him. God is in us and we 
in Him must be made the most fundamental faith of all religions. 
---SOEN SHAKU

***
Brilliant Debian Sarge 3.1
___


Re: floatflt

2006-03-31 Thread Paul A. Rubin

Lee Yeoh wrote:
I had a bit more of a rummage around and I managed to export the 
relevant latex code for my document:


--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{\stringFigures/Fluid mosaic 
model\string.jpg}



\caption{The fluid mosaic model of cell membranes}\end{floatingfigure}%
--- end quote ---

compared to the latex code for the extended features wrapped float

--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{mobius}


\caption{This is a wrapped figure, and this is the brilliant caption that
describes it}\end{floatingfigure}%
--- end quote ---

The only difference appears to be the {\stringFigures/Fluid mosaic 
model\string.jpg} part. I tried numerous other methods, involving ERT, 
making the figure eps, and placing it in the same directory as the lyx 
file. When I used the last two methods together, the latex code was 
identical to the example, but still nothing in the export!!! Quite 
frustrating!




There's nothing visibly wrong with the argument \stringFigures/Fluid 
mosaic model\string.jpg, assuming that your image is named 'Fluid 
mosaic model.jpg' and lives in a folder named 'Figures' directly under 
the folder containing the LyX file.


When you say no image appears in the exported version ...

1.  Do you mean an error message is produced (if so, what does it say?) 
or just that there's an empty space in the PDF file where the image 
should be?  (You might have to look in the TeX log file to see if 
there's an error message.)


2.  How are you doing the export: export to .tex and run pdflatex or 
something equivalent; export to PDF using the LyX File-Export menu 
(which method?); or View-PDF (again, which method)?


All else failing, can you post a minimal example (a LyX doc with just 
enough content to demonstrate the failure, and the required .jpg file).


/Paul



Re: pdflatex figure size

2006-03-31 Thread Paul A. Rubin

Simon Goodall wrote:

Hi,
  I've just tried using the pdflatex export option to create a pdf and
my eps based figures are rendered half the size they should be, but take
up twice the page area. I.e. I have a graph set to 100% col width and
this should take up half a page. using pdflatex a whole page is used,
but the graph only takes up a quater of the page space. I also have a
couple of gif images which are correctly handled.

The other pdf export options work as expected.

Simon



If this is still an open issue, can you post a minimal example 
(including the image file)?


/Paul




Re: floatflt

2006-03-31 Thread Lee Yeoh


On 01/04/2006, at 9:37 AM, Paul A. Rubin wrote:
There's nothing visibly wrong with the argument \stringFigures/ 
Fluid mosaic model\string.jpg, assuming that your image is named  
'Fluid mosaic model.jpg' and lives in a folder named 'Figures'  
directly under the folder containing the LyX file.


When you say no image appears in the exported version ...

1.  Do you mean an error message is produced (if so, what does it  
say?) or just that there's an empty space in the PDF file where the  
image should be?  (You might have to look in the TeX log file to  
see if there's an error message.)


There is no error message produced (although I am not really sure  
where the log files would be produced). There just appears to be  
nothing in the document, no sign of the wrap float existing at all.


2.  How are you doing the export: export to .tex and run pdflatex  
or something equivalent; export to PDF using the LyX File-Export  
menu (which method?); or View-PDF (again, which method)?


I've been using View- PDF (pdflatex)

All else failing, can you post a minimal example (a LyX doc with  
just enough content to demonstrate the failure, and the  
required .jpg file).


Hmm... well I seem to have isolated the problem a little. I tried to  
make an example file, and the text wrap worked perfectly this time...  
It seems that if I have standard text following the float, then it  
will display fine. Where I run into problems is when I use the  
itemise format.


• If I have itemised text in the next paragraph of the document,  
nothing will be rendered.


• If I have even a single character of standard text either in the  
next paragraph or immediately following the graphic in the same  
paragraph, the image will render. The problem with this workaround is  
that the itemised text does not wrap around this image.


Perhaps this is a bug with floatflt, but in any case, I've posted a  
zip of an example lyx file, an image and the pdf output at this link:


http://web.netcall.com.au/tilde/wraptest.zip


One other question, does anyone know what all those blah.lyx~ files  
and ##blah.lyx## files are? I've just been deleting them...



Thanks,
Lee.
--
Lee Yeoh




Re: Changing appendix headings from "A" to "Appendix A"

2006-03-31 Thread Peter Bowyer

At 06:46 31/03/2006, Sara Stymne wrote:
Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout->document dialog, on the layout tab in the text field marked options.


Thanks, I added that and from the manual I understand what it should 
do: yet I see no result when outputting my document!  The appendix 
header (style 'section') is still shown as "A. My title here".


Any ideas as to what is stopping this from working?

Thanks,
Peter



1.4.0 for windows

2006-03-31 Thread treefox
hello, when is it available? regards and thanks to all the developers, marco



Re: 1.4.0 for windows

2006-03-31 Thread Jean-Marc Lasgouttes
> "treefox" == treefox  <[EMAIL PROTECTED]> writes:

treefox> hello, when is it available? regards and thanks to all the
treefox> developers

Hello,

The first version that is going to be available will be 1.4.1.

JMarc



Re: Changing appendix headings from "A" to "Appendix A"

2006-03-31 Thread Sara Stymne

Peter Bowyer wrote:


At 06:46 31/03/2006, Sara Stymne wrote:

Since you're using komascript this is easily achieved. Just add the 
komascript option appendixprefix. In LyX you do that in the 
Layout->document dialog, on the layout tab in the text field marked 
options.



Thanks, I added that and from the manual I understand what it should 
do: yet I see no result when outputting my document!  The appendix 
header (style 'section') is still shown as "A. My title here".


Any ideas as to what is stopping this from working?

Thanks,
Peter

It seems to only work for the report and book classes, where the 
appendices are chapters... And not for the article class where they are 
sections.


/Sara


Re: Copy and paste from Lyx

2006-03-31 Thread Griera
A Divendres 31 Març 2006 01:36, Charlie va escriure:
> Hello,
>
> I am new to this list and joined because I am using Lyx more and more as my
> preferred word processor.
>
> I must have overlooked something, but find I am unable to copy and paste
> text from Lyx to my email program [kmail] simple or advanced text
> editors[kedit, kate]? But can copy to Openoffice.org, and then into the
> above. Is there are simple straight from Lyx way?

If you use debian sarge, you can install the i2e package and open both, lyx 
and i2e. Then you can do cute and past from lyx to kde applications. Regards.


Chapter title and section name in the left and right pages

2006-03-31 Thread Horacio Emilio Pérez Sánchez

Hello all,

I am writting a big document with a lot of pages and I would want to have 
my document (book format), with the chapter tittle in the left pages and 
the section name in the right pages. Is there any way to do this in lyx ?


Thanks in advance. 



Re: Figure drawing GUI?

2006-03-31 Thread Georg Baum
Stacia Hartleben wrote:

> Does anyone think that adding a GUI for figures would be cool?

No. An interface to external graphics editors is better, and we have that.

> I really like this one. http://ipe.compgeom.org/ Could this or
> something like it be Incorporated? Exporting the EPS is fine but
> sometimes I find I made tiny errors and it would be pretty cool to
> edit it from within LyX.

In 1.4 there is an "edit" button on the graphics dialog. If you don't insert
the exported eps in LyX, but add an "Ipe" format in the preferences and a
converter from that format to eps and pdf, then you can insert the original
XML files in LyX, and launch ipe with one click on the "edit" button.
If you send the new format and converter definitions to the list they can
even be included in the next LyX release.


Georg



Re: Different fonts in LyX 1.3.4

2006-03-31 Thread Pekka Rantanen

Hi,

I want to use LyX to write a monography of my own on Hebrew grammar. My  
question is how to insert a certain
symbol from a certain font? I've found that I need to use LaTeX code  
like \font\cs= at 10pt e. g.
but it doesn't work for some reason. For example, I have a font in a  
file tiberi.ttf, its name is SPTiberian.
But putting \font\cs=SPTiberian at xxpt or \font\cs=tiberi.ttf at xxpt  
gives out an error, something like
'the font is not found'. The font is properly installed on my Linux  
machine, is seen by all other

applications. What should I do?

I'm using LyX version 1.3.4, SuSe Linux 9.2.



As soon as I can gather, in order to use a specific font I must generate  
font metrics with the utility ttf2tfm or something like that (actually, I  
found ttf2afm and afm2tfm - don't know if this can make up for ttf2tfm).Is  
it really that necessary or is there any other way? The worst is that I  
hardly have a clue as to what to do, how to properly generate a tfm-file  
and where to put it. I don't even know if I'm astray or not. Where can I  
find more information?


--
Pekka


Re: Chapter title and section name in the left and right pages

2006-03-31 Thread john
On Fri, Mar 31, 2006 at 01:14:44PM +0200, Horacio Emilio Pérez Sánchez wrote:
> Hello all,
> 
> I am writting a big document with a lot of pages and I would want to have 
> my document (book format), with the chapter tittle in the left pages and 
> the section name in the right pages. Is there any way to do this in lyx ?
> 
> Thanks in advance. 

I am sure that it is possible, but probably requires using a bit of
LaTeX in your preamble "Layout->Document->Preamble"

See e.g.
http://www.kronto.org/thesis/tips/custom-headers.html

for how to use the fancyhdr package.

-- 
John C. McCabe-Dansted
Masters Student


align figure and equation inside of a float

2006-03-31 Thread Alexandru Cabuz
Hello,

I have an alignment problem inside a float.

I have a figure and also an equation, and I want the equation to be vertically 
aligned with the figure, side by side with it. If I just type it inside of 
the float it appears lower than the figure, which is ugly.

I have attached a sample lyx file plus the figure file and the pdf to make it 
clear what I mean. 

Thanks in advance for any useful suggestions anybody might have...

I use 1.3.6 on Debian testing. 

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


align_fig_and_eq.lyx
Description: application/lyx


Cabuz_MRS_Fig3x.eps
Description: image/eps


align_fig_and_eq.pdf
Description: Adobe PDF document


Re: align figure and equation inside of a float

2006-03-31 Thread Robert Orr
you could try putting two mini pages in that float,
then in first one put the graphic, in the other put
the equation.   Insert horizontal fill in between the
two mini pages.  Size the two pages at 70% and
25%, or whatever looks best.

Attached example.

HTH.



--- Alexandru Cabuz <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I have an alignment problem inside a float.
> 
> I have a figure and also an equation, and I want the
> equation to be vertically 
> aligned with the figure, side by side with it. If I
> just type it inside of 
> the float it appears lower than the figure, which is
> ugly.
> 
> I have attached a sample lyx file plus the figure
> file and the pdf to make it 
> clear what I mean. 
> 
> Thanks in advance for any useful suggestions anybody
> might have...
> 
> I use 1.3.6 on Debian testing. 
> 
> -- 
> Alexandru Cabuz
> Doctoral Student
> Université Montpellier II
> France
> Tel: +33 (0)4.67.14.47.34
> 
> --- Please no Word or Powerpoint attachments.
> Send plain text, rich text format, html, or pdf
> instead.
> See
>
http://www.gnu.org/philosophy/no-word-attachments.html
> 

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

align_fig_and_eq.lyx
Description: 851295543-align_fig_and_eq.lyx


Re: Different fonts in LyX 1.3.4

2006-03-31 Thread Richard Heck

You need to install the TrueType font you're trying to use into LaTeX
before you can use it. There are several guides for doing so on the web,
e.g.: http://www.radamir.com/tex/ttf-tex.htm. Try a google search for more.

Are you sure the glyph you want to use isn't available already?

Richard

Pekka Rantanen wrote:
>> Hi,
>>
>> I want to use LyX to write a monography of my own on Hebrew grammar.
>> My question is how to insert a certain
>> symbol from a certain font? I've found that I need to use LaTeX code
>> like \font\cs= at 10pt e. g.
>> but it doesn't work for some reason. For example, I have a font in a
>> file tiberi.ttf, its name is SPTiberian.
>> But putting \font\cs=SPTiberian at xxpt or \font\cs=tiberi.ttf at
>> xxpt gives out an error, something like
>> 'the font is not found'. The font is properly installed on my Linux
>> machine, is seen by all other
>> applications. What should I do?
>>
>> I'm using LyX version 1.3.4, SuSe Linux 9.2.
>>
>
> As soon as I can gather, in order to use a specific font I must
> generate font metrics with the utility ttf2tfm or something like that
> (actually, I found ttf2afm and afm2tfm - don't know if this can make
> up for ttf2tfm).Is it really that necessary or is there any other way?
> The worst is that I hardly have a clue as to what to do, how to
> properly generate a tfm-file and where to put it. I don't even know if
> I'm astray or not. Where can I find more information?
>
> --Pekka



yX/Mac-1.4.0 on Mac OS 10.4.5 - Font difficulties

2006-03-31 Thread David McMillen
Hi, I'm not sure if this is the right place to ask this (always a bad  
sign when a message starts this way, I know!), but . . .


I'm having recurring problems getting my documents to render  
correctly on the OS X version of LyX.  What seems to happen is that  
each time I preview the PDF file, it starts out initially as
gibberish (many black bars, boxes, etc. in the equations), then each  
successive preview "fixes" more and more of the bits, or at least  
causes the gibberish to move around the page, until eventually I get  
a clean copy that looks the way I expected -- see the attached series  
of screen captures.  [Correction: Screen captures available on  
request, but the mailing list can't accept files of that size.]   So  
it works eventually, but it takes some time-- does anyone have any  
theories as to why?


It looks like something to do with the fonts needing to be  
regenerated when they're going to be used, or something.  If I close  
LyX then reopen it immediately, it seems to render them correctly  
thefirst time.  But I've also seen weird problems where I see the  
fonts perfectly well on the screen, but they turn back into gibberish  
when I try to print them on my (hp LaserJet, PostScript) printer.  If  
there were some way to fix this, I'd love to hear about it!


I followed the TeX installation instructions at:

http://www.uoregon.edu/~koch/texshop/installing.html

using i-Installer.

Thanks,
Dave



If I have seen less far, it is by standing in the footprints of giants.

David McMillen, Dept. of Chemical and Physical Sciences
University of Toronto at Mississauga
3359 Mississauga Rd N, South Bldg Rm 4056
Mississauga, ON L5L 1C6 CANADA
Phone: (905) 828-5353, lab (905) 828-3807;  Fax: (905) 828-5425





Re: align figure and equation inside of a float

2006-03-31 Thread Alexandru Cabuz
Thanks!!

Le Vendredi 31 Mars 2006 16:38, Robert Orr a écrit :
> you could try putting two mini pages in that float,
> then in first one put the graphic, in the other put
> the equation.   Insert horizontal fill in between the
> two mini pages.  Size the two pages at 70% and
> 25%, or whatever looks best.
>
> Attached example.
>
> HTH.
>
> --- Alexandru Cabuz <[EMAIL PROTECTED]> wrote:
> > Hello,
> >
> > I have an alignment problem inside a float.
> >
> > I have a figure and also an equation, and I want the
> > equation to be vertically
> > aligned with the figure, side by side with it. If I
> > just type it inside of
> > the float it appears lower than the figure, which is
> > ugly.
> >
> > I have attached a sample lyx file plus the figure
> > file and the pdf to make it
> > clear what I mean.
> >
> > Thanks in advance for any useful suggestions anybody
> > might have...
> >
> > I use 1.3.6 on Debian testing.
> >
> > --
> > Alexandru Cabuz
> > Doctoral Student
> > Université Montpellier II
> > France
> > Tel: +33 (0)4.67.14.47.34
> >
> > --- Please no Word or Powerpoint attachments.
> > Send plain text, rich text format, html, or pdf
> > instead.
> > See
>
> http://www.gnu.org/philosophy/no-word-attachments.html
>
>
> __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com

-- 
Alexandru Cabuz
Doctoral Student
Université Montpellier II
France
Tel: +33 (0)4.67.14.47.34

--- Please no Word or Powerpoint attachments.
Send plain text, rich text format, html, or pdf instead.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: yX/Mac-1.4.0 on Mac OS 10.4.5 - Font difficulties

2006-03-31 Thread Bennett Helm

On Mar 31, 2006, at 10:22 AM, David McMillen wrote:

Hi, I'm not sure if this is the right place to ask this (always a  
bad sign when a message starts this way, I know!), but . . .


I'm having recurring problems getting my documents to render  
correctly on the OS X version of LyX.  What seems to happen is that  
each time I preview the PDF file, it starts out initially as
gibberish (many black bars, boxes, etc. in the equations), then  
each successive preview "fixes" more and more of the bits, or at  
least causes the gibberish to move around the page, until  
eventually I get a clean copy that looks the way I expected -- see  
the attached series of screen captures.  [Correction: Screen  
captures available on request, but the mailing list can't accept  
files of that size.]   So it works eventually, but it takes some  
time-- does anyone have any theories as to why?


It looks like something to do with the fonts needing to be  
regenerated when they're going to be used, or something.  If I  
close LyX then reopen it immediately, it seems to render them  
correctly thefirst time.  But I've also seen weird problems where I  
see the fonts perfectly well on the screen, but they turn back into  
gibberish when I try to print them on my (hp LaserJet, PostScript)  
printer.  If there were some way to fix this, I'd love to hear  
about it!


I followed the TeX installation instructions at:

http://www.uoregon.edu/~koch/texshop/installing.html

using i-Installer.


What happens when you use LyX to export to LaTeX, and then run LaTeX  
manually (from within TeXShop, e.g.)? If the problems are the same  
there, you probably want to ask your question on the TeX on MacOS X  
mailing list, which can be accessed here:  (scroll 1/2-way down the page to see the links).


If the problems are unique to LyX, perhaps you can provide a minimal  
example file that reveals the problem. Also, does anything get  
printed out to Console.app when you typeset from within LyX?


Bennett


Re: Stopping bibliography reference entries breaking

2006-03-31 Thread Oisin C. Feeley
On Fri, Mar 31, 2006 at 07:41:38AM +0200, Juergen Spitzmueller wrote:
> Oisin C. Feeley wrote:
> > Does anyone know how I can stop bibliographic entries in the reference list
> > from breaking across pages?  (I'm using the natbib package).
>  
> Try
> \interlinepenalty=1
> in ERT, immediately before the grey "Bibtex References" box.
> 
Thanks Juergen!  That did it.  Can I post your response to a couple of other 
places?  I asked on comp.text.tex and I'd like to post your solution on that in 
case someone else is tracking it.

Again, thanks very much.  This was driving me crazy.  I was trying to edit the 
.bbl file to have \pagebreaks before the offending entries and it just seemed 
wrong (I want LaTeX to do the arranging for me!).

Oisin


Re: Stopping bibliography reference entries breaking

2006-03-31 Thread Juergen Spitzmueller
Oisin C. Feeley wrote:
> Thanks Juergen!  That did it.  Can I post your response to a couple of
> other places?  I asked on comp.text.tex and I'd like to post your solution
> on that in case someone else is tracking it.

Sure. It's no mental property (and of course not my invention).
But I'm sure this is a frequently answered question on c.t.t

Jürgen


Re: Chapter title and section name in the left and right pages

2006-03-31 Thread Steve Litt
On Friday 31 March 2006 06:14 am, Horacio Emilio Pérez Sánchez wrote:
> Hello all,
>
> I am writting a big document with a lot of pages and I would want to have
> my document (book format), with the chapter tittle in the left pages and
> the section name in the right pages. Is there any way to do this in lyx ?
>
> Thanks in advance.

Here's some documentation on that issue:

http://www.troubleshooters.com/lpm/200210/200210.htm

The actual part about headers and footers is here:


http://www.troubleshooters.com/lpm/200210/200210.htm#_HeadersandFooters

but I'd recommend reading the whole document to understand what's in the 
headers and footers section.

Thanks

Steve

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com



Edge to edge footer?

2006-03-31 Thread Steve Litt
Hi all,

My book uses the memoir document class. At the bottom of all pages not 
beginning a chapter, I need a brown stripe going all the way across the page, 
with some white writing in it. I'm using a minipage and containing a shaded 
environment, and it works, except that no matter what I do, I cannot get the 
shading to start at the left edge, but instead it starts at the left margin. 
I can \hspace{-5in} and it still starts at the margin.

This is only true when the minipage is in the footer. When ERT containing the 
minipage and shaded is placed in the body, the shaded can be started anywhere 
by preceding it with the proper \hspace{}. But that trick doesn't work in the 
footer.

Any ideas?

Thanks

SteveT

Steve Litt
Author: 
   * Universal Troubleshooting Process courseware
   * Troubleshooting Techniques of the Successful Technologist
   * Rapid Learning: Secret Weapon of the Successful Technologist
Webmaster
   * Troubleshooters.Com
   * http://www.troubleshooters.com


Identifying Error Locations: 1.4.0

2006-03-31 Thread Rich Shepard

  I'm modifying a beamer class presentation created with version 1.3.6 or .7,
but now I'm running 1.4.0. There is apparently a problem with the path to
included graphics files. Instead of having the old "Error" boxes, the new
version seems to just move somewhere in the vicinity of the ERT include box.
Is this how we now know the location of the error?

Rich

--
Richard B. Shepard, Ph.D. |  Quantifying subjectivity for the
Applied Ecosystem Services, Inc.(TM)  |  benefit of business and society.
 Voice: 503-667-4517  Fax: 503-667-8863


LyX to OpenOffice

2006-03-31 Thread Stephen Harris

Nick Thomas wrote: n c thomas {at} worldemail {period} com
eliminate spaces and normalize the email address above


Dear Stephen,

Gladly.  I attach the program and supporting files in a zip file.
Just locate the zip file in your home directory and extract it there.  It will 
create a folder named "ConvLaTex" in your documents directory with the 
programs, dictionaries etc.  It will also place a link in your home directory 
to the Lyx document explaining the thing and where I've got to.  You can of 
course delete the zip file once unpacked, and the link when you've finished 
with it.


Should I copy it to [EMAIL PROTECTED] as well?  


Regards,

Nick Thomas



Thank you for the zipfile. I will test its capability.
The zipfile is about 95k and I think is too large to be
attached in an email to the User list, so an interested
party can write you with a request. Perhaps putting it
on the LyX Wiki is a good idea?

I think ConvTex.lyx is small enough to attach to the
User list though, and will allow those interested to
read a bit about this. There are requests for how to
convert to Word and html and this may prove to be a
good tool and a valuable addition to the LyXer toolkit.

Best regards,
Stephen



ConvTex.lyx
Description: application/lyx


Re: Copy and paste from Lyx

2006-03-31 Thread Charlie
On Fri, 31 Mar 2006 07:44 pm, Griera wrote this for perusal by us all:
>---> A Divendres 31 Març 2006 01:36, Charlie va escriure:
>---> > Hello,
>---> >
>---> > I am new to this list and joined because I am using Lyx more and more
> as my ---> > preferred word processor.
>---> >
>---> > I must have overlooked something, but find I am unable to copy and
> paste ---> > text from Lyx to my email program [kmail] simple or advanced
> text ---> > editors[kedit, kate]? But can copy to Openoffice.org, and then
> into the ---> > above. Is there are simple straight from Lyx way?
>--->
>---> If you use debian sarge, you can install the i2e package and open both,
> lyx ---> and i2e. Then you can do cute and past from lyx to kde
> applications. Regards. --->

You're not wrong Griera,

Thank you. That is one work around and will save me building a .deb from the 
Lyx 1.4 source, which I can't even get too from the Lyx website. which might 
also be another bug.

The above was copied out of Lyx.

Thanks again,
Charlie

-- 
Registered Linux User:- 329524
+++
Religion is not to go to God by forsaking the world but to find Him in it. Our 
faith is to believe in our essential oneness with Him. "God is in us and we 
in Him" must be made the most fundamental faith of all religions. 
---SOEN SHAKU

***
Brilliant Debian Sarge 3.1
___


Re: floatflt

2006-03-31 Thread Paul A. Rubin

Lee Yeoh wrote:
I had a bit more of a rummage around and I managed to export the 
relevant latex code for my document:


--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{\string"Figures/Fluid mosaic 
model\string".jpg}



\caption{The fluid mosaic model of cell membranes}\end{floatingfigure}%
--- end quote ---

compared to the latex code for the "extended features" wrapped float

--- begin quote ---
\begin{floatingfigure}[r]{6cm}%
\includegraphics[width=0.4\columnwidth]{mobius}


\caption{This is a wrapped figure, and this is the brilliant caption that
describes it}\end{floatingfigure}%
--- end quote ---

The only difference appears to be the {\string"Figures/Fluid mosaic 
model\string".jpg} part. I tried numerous other methods, involving ERT, 
making the figure eps, and placing it in the same directory as the lyx 
file. When I used the last two methods together, the latex code was 
identical to the example, but still nothing in the export!!! Quite 
frustrating!




There's nothing visibly wrong with the argument \string"Figures/Fluid 
mosaic model\string".jpg, assuming that your image is named 'Fluid 
mosaic model.jpg' and lives in a folder named 'Figures' directly under 
the folder containing the LyX file.


When you say no image appears in the exported version ...

1.  Do you mean an error message is produced (if so, what does it say?) 
or just that there's an empty space in the PDF file where the image 
should be?  (You might have to look in the TeX log file to see if 
there's an error message.)


2.  How are you doing the export: export to .tex and run pdflatex or 
something equivalent; export to PDF using the LyX File->Export menu 
(which method?); or View->PDF (again, which method)?


All else failing, can you post a minimal example (a LyX doc with just 
enough content to demonstrate the failure, and the required .jpg file).


/Paul



Re: pdflatex figure size

2006-03-31 Thread Paul A. Rubin

Simon Goodall wrote:

Hi,
  I've just tried using the pdflatex export option to create a pdf and
my eps based figures are rendered half the size they should be, but take
up twice the page area. I.e. I have a graph set to 100% col width and
this should take up half a page. using pdflatex a whole page is used,
but the graph only takes up a quater of the page space. I also have a
couple of gif images which are correctly handled.

The other pdf export options work as expected.

Simon



If this is still an open issue, can you post a minimal example 
(including the image file)?


/Paul




Re: floatflt

2006-03-31 Thread Lee Yeoh


On 01/04/2006, at 9:37 AM, Paul A. Rubin wrote:
There's nothing visibly wrong with the argument \string"Figures/ 
Fluid mosaic model\string".jpg, assuming that your image is named  
'Fluid mosaic model.jpg' and lives in a folder named 'Figures'  
directly under the folder containing the LyX file.


When you say no image appears in the exported version ...

1.  Do you mean an error message is produced (if so, what does it  
say?) or just that there's an empty space in the PDF file where the  
image should be?  (You might have to look in the TeX log file to  
see if there's an error message.)


There is no error message produced (although I am not really sure  
where the log files would be produced). There just appears to be  
nothing in the document, no sign of the wrap float existing at all.


2.  How are you doing the export: export to .tex and run pdflatex  
or something equivalent; export to PDF using the LyX File->Export  
menu (which method?); or View->PDF (again, which method)?


I've been using View-> PDF (pdflatex)

All else failing, can you post a minimal example (a LyX doc with  
just enough content to demonstrate the failure, and the  
required .jpg file).


Hmm... well I seem to have isolated the problem a little. I tried to  
make an example file, and the text wrap worked perfectly this time...  
It seems that if I have standard text following the float, then it  
will display fine. Where I run into problems is when I use the  
itemise format.


• If I have itemised text in the next paragraph of the document,  
nothing will be rendered.


• If I have even a single character of standard text either in the  
next paragraph or immediately following the graphic in the same  
paragraph, the image will render. The problem with this workaround is  
that the itemised text does not wrap around this image.


Perhaps this is a bug with floatflt, but in any case, I've posted a  
zip of an example lyx file, an image and the pdf output at this link:


http://web.netcall.com.au/tilde/wraptest.zip


One other question, does anyone know what all those blah.lyx~ files  
and ##blah.lyx## files are? I've just been deleting them...



Thanks,
Lee.
--
Lee Yeoh