Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Guenter Milde
On 2009-10-23, rgheck wrote:
 On 10/22/2009 08:01 PM, Ernesto Posse wrote:
 On 10/15/2009 08:36 PM, Ernesto Posse wrote:

 I have some very strange behaviour in LyX. I have a simple latex style
 file (mystyle.sty) which is located in a directory mylatexfiles.
 latex knows about this: I have export TEXINPUTS=mylatexfiles: in my
 bash login[...].

...

 I've given the full path, and I still have the same issue. 

It should work with the full *absolute* path. LyX runs the latex
conversion in a temporary directory, so a relative path will not work.

 How come TeX from the command line finds it but TeX invoked by LyX
 does not find it?

Does it work if you start LyX from an x-terminal? The bash login file
is not read at X-startup. and if you just click on a LyX icon lyx does
not see your login environment variables.

Günter



Re: Bibtex and child documents

2009-10-23 Thread Guenter Milde
On 2009-10-22, rgheck wrote:
 On 10/22/2009 04:44 PM, Pete Crite wrote:
 On 23/10/2009, at 7:22 AM, rgheck wrote:
 On 10/22/2009 02:27 PM, Jan Piet Joris en Corneel wrote:

 I was wondering how to deal with child documents and bibtex. Basically
 I want to do this.
 1. Have one master document with several child documents (i.e. one for
 each child documents.
 2. Have one bibliography at the end of the thesis.
 3. Have the ability to insert citations to that bibliography using the
 Lyx function.


 How do I make the bibliography 'invisible' at the end of a chapter in
 the pdftex output , without losing the ability to insert citations?

...

 If you want to be able to view the child alone, then what you want to do 
 is this. (I think this is on the wiki.) At the top of the master, put in 
 ERT:
...

No need to use evil red text. Instead you can create a branch which you set
to active in the child and inactive in the master. Then, all child-specific
code (like an ERT to set the chapter/section number or the bibliography) can
go inside a branch inset. 

 Note that in this case too inter-document xrefs, etc, won't work if you 
 view the child alone. 

Günter




Re: Section Format Headings

2009-10-23 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 When using the fancy pagestyle, why do section titles appear in the header
 only when the sections are numbered? When using unnumbered sections I need
 to explicitly use the fancyhdr package and define the headers manually.
 
I'd like to understand why there is the difference.

Well, it's a design decision. The starred headings (\section* etc.) in LaTeX 
are defined to be excluded from TOC and headers.

Look here how to get unnumbered headings that are in the TOC and the headers:
http://wiki.lyx.org/FAQ/Unsorted#toc22

Jürgen


Re: Section Format Headings

2009-10-23 Thread Rich Shepard

On Fri, 23 Oct 2009, J?rgen Spitzm?ller wrote:


Well, it's a design decision. The starred headings (\section* etc.) in LaTeX
are defined to be excluded from TOC and headers.


Juergen,

  The answer is: that's just the way it is; add headers manually in the
preamble.

Thanks,

Rich


Re: Section Format Headings

2009-10-23 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 The answer is: that's just the way it is; add headers manually in the
 preamble.

... or use a class that supports specific unnumbered headers that are also put 
to TOC and headers (such as KOMA or Memoir). 

Jürgen


Re: Section Format Headings

2009-10-23 Thread Rich Shepard

On Fri, 23 Oct 2009, J?rgen Spitzm?ller wrote:


... or use a class that supports specific unnumbered headers that are also put
to TOC and headers (such as KOMA or Memoir).


Juergen,

  Yes, there is that. Upon reflection, since I use the KOMA book, report,
and letter2 classes, I might as well make the article class my standard,
too.

Thanks,

Rich


Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Ernesto Posse
On Fri, Oct 23, 2009 at 06:42 AM, Guenter Milde wrote:
On 2009-10-23, rgheck wrote:
 On 10/22/2009 08:01 PM, Ernesto Posse wrote:
 On 10/15/2009 08:36 PM, Ernesto Posse wrote:

 I have some very strange behaviour in LyX. I have a simple latex style
 file (mystyle.sty) which is located in a directory mylatexfiles.
 latex knows about this: I have export TEXINPUTS=mylatexfiles: in my
 bash login[...].

...

 I've given the full path, and I still have the same issue.

It should work with the full *absolute* path. LyX runs the latex
conversion in a temporary directory, so a relative path will not work.

I used

export TEXINPUTS=~/Setup/mytexmf/tex/latex:

which is supposed to be expanded to an absolute path.


 How come TeX from the command line finds it but TeX invoked by LyX
 does not find it?

Does it work if you start LyX from an x-terminal? The bash login file
is not read at X-startup. and if you just click on a LyX icon lyx does
not see your login environment variables.

Right, I figured out that, so I changed the TEXMFHOME variable in
/etc/texmf/texmf.d/05TeXMF.cnf file (I don't like the default ~/texmf), then
I ran sudo update-texmf and I ran sudo texhash, as well as
mktexlsr in my texmf tree which created the ls-R file. Running sudo texconfig
confirmed the new value for TEXMFHOME. I reconfigured LyX, and rebooted.
Now it works, but I don't like the fact that I had to update central
(non-user-specific)
files to do this. Is there any way I could have my own TEXMFHOME, different than
~/texmf without having to modify any system-wide files?

Günter

Thanks



-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


importing 0.12

2009-10-23 Thread Pol
I would import an old 0.12 lyx file into 1.4.5
Any suitable script?

Thank you 

--P



Re: importing 0.12

2009-10-23 Thread rgheck

On 10/23/2009 01:12 PM, Pol wrote:

I would import an old 0.12 lyx file into 1.4.5
Any suitable script?

   
It should just work: Just open the file in LyX. If that doesn't work, 
then the lyx2lyx conversion script is failing. You can try to run it 
from outside LyX, if you wish. You'll find it (on Linux) at 
/usr/share/lyx/lyx2lyx/lyx2lyx. Run lyx2lyx -h for info.


Can I ask why you are still using 1.4.5?

rh



Re: importing 0.12

2009-10-23 Thread Andre Poenitz
On Fri, Oct 23, 2009 at 07:12:06PM +0200, Pol wrote:
 I would import an old 0.12 lyx file into 1.4.5
 Any suitable script?

lyx2lyx?

Andre'


Re: importing 0.12

2009-10-23 Thread Pol
rgheck wrote:

 On 10/23/2009 01:12 PM, Pol wrote:
 It should just work: Just open the file in LyX. If that doesn't work,
 then the lyx2lyx conversion script is failing. You can try to run it
 from outside LyX, if you wish. You'll find it (on Linux) at
 /usr/share/lyx/lyx2lyx/lyx2lyx. Run lyx2lyx -h for info.
 

I am using a home.compiled lyx version: /usr/local/share/lyx/lyx2lyx/lyx2lyx
doe not work. Maybe that is the reason why importing by lyx does not work
either. 
Attached is the output from cli.


 Can I ask why you are still using 1.4.5?

well, i am still  working on kubuntu/hardy with kde 3.5.10. I am waiting for
a 'heavy end-user' friendly kde4 release (hopefully 4.4) to switch. In the
meantime, i like 1.3.5, i am accustomed to it and the baghira desktop theme
is supported. 

Thank you
---Pol

--- enc.
(@ambhi) dyn + %  /usr/lo*/share/lyx/lyx2lyx/lyx2lyx  old-time_moments.lyx
Traceback (most recent call last):
  File /usr/local/share/lyx/lyx2lyx/lyx2lyx, line 101, in module
sys.exit(main(sys.argv))
  File /usr/local/share/lyx/lyx2lyx/lyx2lyx, line 92, in main
file = LyX.File(end_format, input, output, error, debug, try_hard,
cjk_encoding)
  File /usr/local/share/lyx/lyx2lyx/LyX.py, line 556, in __init__
self.read()
  File /usr/local/share/lyx/lyx2lyx/LyX.py, line 242, in read
self.encoding = get_encoding(self.language, self.inputencoding,
self.format, self.cjk_encoding)
  File /usr/local/share/lyx/lyx2lyx/LyX.py, line 128, in get_encoding
return lang[language][3]
KeyError: 'default'

-



Re: importing 0.12

2009-10-23 Thread rgheck

On 10/23/2009 02:42 PM, Pol wrote:

rgheck wrote:

   

On 10/23/2009 01:12 PM, Pol wrote:
It should just work: Just open the file in LyX. If that doesn't work,
then the lyx2lyx conversion script is failing. You can try to run it
from outside LyX, if you wish. You'll find it (on Linux) at
/usr/share/lyx/lyx2lyx/lyx2lyx. Run lyx2lyx -h for info.

 

I am using a home.compiled lyx version: /usr/local/share/lyx/lyx2lyx/lyx2lyx
doe not work. Maybe that is the reason why importing by lyx does not work
either.
Attached is the output from cli.

   
Looks like some kind of encoding problem. It's possible that more recent 
fixes to lyx2lyx will solve your problems, since encoding issues were 
front and center in the 1.5 development cycle. You can get the latest 
version from svn. You'll have to use the -t option to set the right 
export format.



Can I ask why you are still using 1.4.5?
 

well, i am still  working on kubuntu/hardy with kde 3.5.10. I am waiting for
a 'heavy end-user' friendly kde4 release (hopefully 4.4) to switch. In the
meantime, i like 1.3.5, i am accustomed to it and the baghira desktop theme
is supported.

   
You don't need to switch to kde4 to run 1.6.x. You just need the Qt4 
libraries. Aren't those available for hardy? They will happily co-exist 
with the Qt3 libraries that kde3 uses. If you're using alternate 
encodings, unicode, etc, it is well worth the upgrade. And there are a 
lot of new features, too.


rh




Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Guenter Milde
On 2009-10-23, Ernesto Posse wrote:

Does it work if you start LyX from an x-terminal? The bash login file
is not read at X-startup. and if you just click on a LyX icon lyx does
not see your login environment variables.

 Is there any way I could have my own TEXMFHOME, different than
 ~/texmf without having to modify any system-wide files?

I have a starter button for an English-speaking LyX which issues the
command

  sh -c LANG=en_GB; lyx
  
A similar command should work for the TEXMFHOME variable...

Maybe even `sh -c lyx` or `sh -l -c lyx` could work (as the shell wrapper
will read your user config files).

Günter



Re: importing 0.12

2009-10-23 Thread Pol
rgheck wrote:

 

 You don't need to switch to kde4 to run 1.6.x. You just need the Qt4
 libraries. Aren't those available for hardy? They will happily co-exist
 with the Qt3 libraries that kde3 uses. If you're using alternate
 encodings, unicode, etc, it is well worth the upgrade. And there are a
 lot of new features, too.

Ok, i have installed lyx 1.6 and lyx2lyx worked fine

Thank you

--P



Re: randomly rotated graphics

2009-10-23 Thread Pavel Sanda
Guy Hindell wrote:
 Does anyone know?

not directly done by lyx, but anyway you can post example file and report
by which tool it was done.

pavel


compiling LyX for maemo (arm architecture)

2009-10-23 Thread Stacia Hartleben
I don't know the first thing about compiling on OS 2008 (Maemo) for
Nokia internet tablets. The architecture is armel - do I need to put
any special flags in while compiling? I have a dev environment set up
and I think I have all the dependencies (QT libs, etc)

I have an error as described here: http://talk.maemo.org/showthread.php?t=30876

Can anyone figure out what's going on, or if there is an arm option I
can pass in? I couldn't find anything about that in there. What drives
me crazy is that there are all these dead ends about compiling LyX for
Maemo but no actual downloads. Any help at all would be useful.
Thanks!!


Re: Bibtex and child documents

2009-10-23 Thread Jan Piet Joris en Corneel
Thanks Richard and Pete for help. I enabled 'Select default master
document' in the Document Settings  Document Class dialog, and
pointed it to the master document. Pete's solution using ERT works
fine, and makes it possible to compile one chapter with a bibliography
at the end. If the master document is compiled, only one bibliography
is shown, just as expected.

Regards,
Corné


Re: Bibtex and child documents

2009-10-23 Thread Pete Crite


On 23/10/2009, at 6:15 PM, Jan Piet Joris en Corneel wrote:


Thanks Richard and Pete for help. I enabled 'Select default master
document' in the Document Settings  Document Class dialog, and
pointed it to the master document. Pete's solution using ERT works
fine, and makes it possible to compile one chapter with a bibliography
at the end. If the master document is compiled, only one bibliography
is shown, just as expected.

Regards,
Corné


Just so credit goes where it is due, ERT was Richard's suggestion!

Cheers,
Pete.

Symbol for =

2009-10-23 Thread nikunj .
Hi,

One more query, how do I write symbol for greater/less than or equal
to ? (Not =  or = )
Is there any guide for latex symbols ?

Thanks again,
Nikunj


Re: Converting to doc format

2009-10-23 Thread Anthony Campbell
On 23 Oct 2009, Pete Crite wrote:
 On 23/10/2009, at 3:34 AM, Florian Rubach wrote:
 
 Anthony Campbell schrieb:
 I'm thinking of publishing in ebook form via Smashwords, who
 unfortunately demand Word format. I'm on Linux and as far as I
 can see
 after a fair amount of googling the only practical way of doing
 this is
 to produce a plain text (txt) version from Lyx, import it into the
 Openoffice WP, and save it as a .doc file from there.
 
 Does anyone know a better way?
 
 Anthony
 The most accurate way I found until now (working even for complicated
 documents) is exporting the document to pdf and then submitting it to
 www.pdftoword.com.
 I don't know if you are comfortable with giving away your document
 to a
 site where I wasn't able to find any statement about the security of
 your data, but the results look stunningly good and are even well
 editable.
 
 Florian
 
 
 I just used this service, and it's not bad! For some strange reason
 though, my inline (ex-pdf or png) images were destroyed. Also, there
 were a few other strange artefacts in formatting. Also note that it
 took about 3 hours before it finished processing for me (it emails
 you the results), so don't use it if you are in a hurry!
 
 From the site:
 The PDF files you upload for conversion are deleted straight after
 being converted.
 The DOC/RTF files we generate are deleted immediately after we email
 you them.
 At no stage are your files looked at or touched by the administrator
 of our PDF-to-Word service.

It doesn't like my pdf; I tried several times without success. But I get
pretty good results with direct export from Lyx to OOffice. Following a
tip on Smashwords I've saved the transferred file as .txt and then
reloaded it.

Anthony


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



Re: Symbol for =

2009-10-23 Thread Erez Yerushalmi
Oh, and I forgot to say that when you press the math pallet, you can see on
the buffer command, on the bottom left side the latex code. This is a great
feature because it helps you learn the necessary commands.

erez

On Fri, Oct 23, 2009 at 8:53 AM, Erez Yerushalmi
erezyerusha...@gmail.comwrote:

 Hi

 what you want is
 \leq
 \geq

 and see the attached pdf document.  I don't remember where I got it from.
 Google does...

 Erez


 On Fri, Oct 23, 2009 at 8:46 AM, nikunj . nikunjk...@gmail.com wrote:

 Hi,

 One more query, how do I write symbol for greater/less than or equal
 to ? (Not =  or = )
 Is there any guide for latex symbols ?

 Thanks again,
 Nikunj




 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Image format in lyx.

2009-10-23 Thread nikunj .
Yeah that is one clever solution, I will use that. But is there a
particular image format that latex would understand 'better' than
others ?

On Fri, Oct 23, 2009 at 1:31 PM, Erez Yerushalmi
erezyerusha...@gmail.com wrote:
 Hi,

 what I do is make nice graphs and pictures in power point,
 then save it as a pdf file.
 then upload the pdf file into the lyx/beamer document.
 It works great.

 erez

 On Fri, Oct 23, 2009 at 6:01 AM, nikunj . nikunjk...@gmail.com wrote:

 Hi all,

 I have lyx 1.6.3 installed. I have to make a presentation and for that
 purpose I have used beamer class. I have include images which are in
 Jpeg, png and jpg.  However, after a few times that I convert it into
 pdf ( i.e. I make changes and then run pdflatex ,and changes are quite
 frequent) the image starts getting kind of blurred and dirty.
 What might be happening ?

 One more thing, I even tried to make a pdf with just that pic so that
 I include this 'pic-pdf' instead of the pic itself. But I get 2 pages,
 instead of one.
 How do I sort this out?

 (Yeah, I am a newbie :D )

 Thanks in advance,
 Nikunj.



 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw



Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
Hello

On 10/23/09, nikunj . nikunjk...@gmail.com wrote:
  I have lyx 1.6.3 installed. I have to make a presentation and for that
  purpose I have used beamer class. I have include images which are in
  Jpeg, png and jpg.  However, after a few times that I convert it into
  pdf ( i.e. I make changes and then run pdflatex ,and changes are quite
  frequent) the image starts getting kind of blurred and dirty.
  What might be happening ?

All image formats you are mentioning use pixels and not vectors, which
could result in blurry images when zoomed too much. Can you obtain
your images in a vector format, such as .svg or .pdf?


  One more thing, I even tried to make a pdf with just that pic so that
  I include this 'pic-pdf' instead of the pic itself. But I get 2 pages,
  instead of one.

Perhaps you didn't scale well enough the picture. Try clicking on the
image and setting a reasonable percentage for the size of the picture.
Liviu


Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
On 10/23/09, nikunj . nikunjk...@gmail.com wrote:
   what I do is make nice graphs and pictures in power point,

There also other graphics editors around such as Dia. Look in the ML
archives for more examples of such applications.
Liviu


Re: compiling LyX for maemo (arm architecture)

2009-10-23 Thread Jean-Marc Lasgouttes
Stacia Hartleben baka...@gmail.com writes:

 I don't know the first thing about compiling on OS 2008 (Maemo) for
 Nokia internet tablets. The architecture is armel - do I need to put
 any special flags in while compiling? I have a dev environment set up
 and I think I have all the dependencies (QT libs, etc)

 I have an error as described here:
 http://talk.maemo.org/showthread.php?t=3087

The error is
multiple definition of `boost::exception_detail::clone_base* 
boost::exception_detail::make_cloneboost::exception_detail::error_info_injectorstd::overflow_error
 (boost::exception_detail::error_info_injectorstd::overflow_error 
const)::bad_alloc'

For some reason, this exception-related boost method is defined in
several objects. I never saw this error, actually.

Is this with included boost library, or a system one? 

JMarc


Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
Nikunj,

On 10/23/09, nikunj . nikunjk...@gmail.com wrote:
 Anyway to autofit the image into a page ?
  (Can't help it, one problem/approach leads to another !!! )

Please reply to the list (where more people could help you) and
refrain from top-posting in addition to trimming the unnecessary parts
of my message (it's not necessarily clear what you are referring to).

Hmm, autofit to a page, probably not. I think you would need to find
the right percentage by trial and error. Welcome to LaTeX!
Best
Liviu


Re: Kluwer doc class: title and author not showing up

2009-10-23 Thread Jürgen Spitzmüller
Maria Gouskova wrote:
 I am trying out the doc class article (Kluwer) and having a problem:
 a simple document with a title, author, and a single section and some
 standard text typesets without the title and the author. I looked at
 this manual (http://www.springer.com/?SGWID=4-102-45-124370-0), but I
 am not sure that it applies to how things work in LyX. The manual
 warns that if the Author field isn't followed by \institute{...}, the
 author will not be typeset in the final pdf. But there is no
 \institute option in LyX. So how is it supposed to work?

The Kluwer layout didn't have much attention for several years, so it is well 
possible that it needs some update.

However, did you have a look at the Kluwer template that ships with LyX? It 
uses some ERT in the author paragraph (nowadays, one could update the layout 
and implement character style insets for this).

Jürgen


Re: 1.6.4, Article Class, and Headings

2009-10-23 Thread Rich Shepard

On Thu, 22 Oct 2009, Rich Shepard wrote:


 I don't recall seeing this behavior in prior versions so a hint on how to
clean up the page is appreciated.


  Got it resolved. User error.

Rich


Section Format Headings

2009-10-23 Thread Rich Shepard

  When using the fancy pagestyle, why do section titles appear in the header
only when the sections are numbered? When using unnumbered sections I need
to explicitly use the fancyhdr package and define the headers manually.

  I'd like to understand why there is the difference.

Rich


Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Guenter Milde
On 2009-10-23, rgheck wrote:
 On 10/22/2009 08:01 PM, Ernesto Posse wrote:
 On 10/15/2009 08:36 PM, Ernesto Posse wrote:

 I have some very strange behaviour in LyX. I have a simple latex style
 file (mystyle.sty) which is located in a directory mylatexfiles.
 latex knows about this: I have export TEXINPUTS=mylatexfiles: in my
 bash login[...].

...

 I've given the full path, and I still have the same issue. 

It should work with the full *absolute* path. LyX runs the latex
conversion in a temporary directory, so a relative path will not work.

 How come TeX from the command line finds it but TeX invoked by LyX
 does not find it?

Does it work if you start LyX from an x-terminal? The bash login file
is not read at X-startup. and if you just click on a LyX icon lyx does
not see your login environment variables.

Günter



Re: Bibtex and child documents

2009-10-23 Thread Guenter Milde
On 2009-10-22, rgheck wrote:
 On 10/22/2009 04:44 PM, Pete Crite wrote:
 On 23/10/2009, at 7:22 AM, rgheck wrote:
 On 10/22/2009 02:27 PM, Jan Piet Joris en Corneel wrote:

 I was wondering how to deal with child documents and bibtex. Basically
 I want to do this.
 1. Have one master document with several child documents (i.e. one for
 each child documents.
 2. Have one bibliography at the end of the thesis.
 3. Have the ability to insert citations to that bibliography using the
 Lyx function.


 How do I make the bibliography 'invisible' at the end of a chapter in
 the pdftex output , without losing the ability to insert citations?

...

 If you want to be able to view the child alone, then what you want to do 
 is this. (I think this is on the wiki.) At the top of the master, put in 
 ERT:
...

No need to use evil red text. Instead you can create a branch which you set
to active in the child and inactive in the master. Then, all child-specific
code (like an ERT to set the chapter/section number or the bibliography) can
go inside a branch inset. 

 Note that in this case too inter-document xrefs, etc, won't work if you 
 view the child alone. 

Günter




Re: Section Format Headings

2009-10-23 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 When using the fancy pagestyle, why do section titles appear in the header
 only when the sections are numbered? When using unnumbered sections I need
 to explicitly use the fancyhdr package and define the headers manually.
 
I'd like to understand why there is the difference.

Well, it's a design decision. The starred headings (\section* etc.) in LaTeX 
are defined to be excluded from TOC and headers.

Look here how to get unnumbered headings that are in the TOC and the headers:
http://wiki.lyx.org/FAQ/Unsorted#toc22

Jürgen


Re: Section Format Headings

2009-10-23 Thread Rich Shepard

On Fri, 23 Oct 2009, J?rgen Spitzm?ller wrote:


Well, it's a design decision. The starred headings (\section* etc.) in LaTeX
are defined to be excluded from TOC and headers.


Juergen,

  The answer is: that's just the way it is; add headers manually in the
preamble.

Thanks,

Rich


Re: Section Format Headings

2009-10-23 Thread Jürgen Spitzmüller
Rich Shepard wrote:
 The answer is: that's just the way it is; add headers manually in the
 preamble.

... or use a class that supports specific unnumbered headers that are also put 
to TOC and headers (such as KOMA or Memoir). 

Jürgen


Re: Section Format Headings

2009-10-23 Thread Rich Shepard

On Fri, 23 Oct 2009, J?rgen Spitzm?ller wrote:


... or use a class that supports specific unnumbered headers that are also put
to TOC and headers (such as KOMA or Memoir).


Juergen,

  Yes, there is that. Upon reflection, since I use the KOMA book, report,
and letter2 classes, I might as well make the article class my standard,
too.

Thanks,

Rich


Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Ernesto Posse
On Fri, Oct 23, 2009 at 06:42 AM, Guenter Milde wrote:
On 2009-10-23, rgheck wrote:
 On 10/22/2009 08:01 PM, Ernesto Posse wrote:
 On 10/15/2009 08:36 PM, Ernesto Posse wrote:

 I have some very strange behaviour in LyX. I have a simple latex style
 file (mystyle.sty) which is located in a directory mylatexfiles.
 latex knows about this: I have export TEXINPUTS=mylatexfiles: in my
 bash login[...].

...

 I've given the full path, and I still have the same issue.

It should work with the full *absolute* path. LyX runs the latex
conversion in a temporary directory, so a relative path will not work.

I used

export TEXINPUTS=~/Setup/mytexmf/tex/latex:

which is supposed to be expanded to an absolute path.


 How come TeX from the command line finds it but TeX invoked by LyX
 does not find it?

Does it work if you start LyX from an x-terminal? The bash login file
is not read at X-startup. and if you just click on a LyX icon lyx does
not see your login environment variables.

Right, I figured out that, so I changed the TEXMFHOME variable in
/etc/texmf/texmf.d/05TeXMF.cnf file (I don't like the default ~/texmf), then
I ran sudo update-texmf and I ran sudo texhash, as well as
mktexlsr in my texmf tree which created the ls-R file. Running sudo texconfig
confirmed the new value for TEXMFHOME. I reconfigured LyX, and rebooted.
Now it works, but I don't like the fact that I had to update central
(non-user-specific)
files to do this. Is there any way I could have my own TEXMFHOME, different than
~/texmf without having to modify any system-wide files?

Günter

Thanks



-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


importing 0.12

2009-10-23 Thread Pol
I would import an old 0.12 lyx file into 1.4.5
Any suitable script?

Thank you 

--P



Re: importing 0.12

2009-10-23 Thread rgheck

On 10/23/2009 01:12 PM, Pol wrote:

I would import an old 0.12 lyx file into 1.4.5
Any suitable script?

   
It should just work: Just open the file in LyX. If that doesn't work, 
then the lyx2lyx conversion script is failing. You can try to run it 
from outside LyX, if you wish. You'll find it (on Linux) at 
/usr/share/lyx/lyx2lyx/lyx2lyx. Run lyx2lyx -h for info.


Can I ask why you are still using 1.4.5?

rh



Re: importing 0.12

2009-10-23 Thread Andre Poenitz
On Fri, Oct 23, 2009 at 07:12:06PM +0200, Pol wrote:
 I would import an old 0.12 lyx file into 1.4.5
 Any suitable script?

lyx2lyx?

Andre'


Re: importing 0.12

2009-10-23 Thread Pol
rgheck wrote:

 On 10/23/2009 01:12 PM, Pol wrote:
 It should just work: Just open the file in LyX. If that doesn't work,
 then the lyx2lyx conversion script is failing. You can try to run it
 from outside LyX, if you wish. You'll find it (on Linux) at
 /usr/share/lyx/lyx2lyx/lyx2lyx. Run lyx2lyx -h for info.
 

I am using a home.compiled lyx version: /usr/local/share/lyx/lyx2lyx/lyx2lyx
doe not work. Maybe that is the reason why importing by lyx does not work
either. 
Attached is the output from cli.


 Can I ask why you are still using 1.4.5?

well, i am still  working on kubuntu/hardy with kde 3.5.10. I am waiting for
a 'heavy end-user' friendly kde4 release (hopefully 4.4) to switch. In the
meantime, i like 1.3.5, i am accustomed to it and the baghira desktop theme
is supported. 

Thank you
---Pol

--- enc.
(@ambhi) dyn + %  /usr/lo*/share/lyx/lyx2lyx/lyx2lyx  old-time_moments.lyx
Traceback (most recent call last):
  File /usr/local/share/lyx/lyx2lyx/lyx2lyx, line 101, in module
sys.exit(main(sys.argv))
  File /usr/local/share/lyx/lyx2lyx/lyx2lyx, line 92, in main
file = LyX.File(end_format, input, output, error, debug, try_hard,
cjk_encoding)
  File /usr/local/share/lyx/lyx2lyx/LyX.py, line 556, in __init__
self.read()
  File /usr/local/share/lyx/lyx2lyx/LyX.py, line 242, in read
self.encoding = get_encoding(self.language, self.inputencoding,
self.format, self.cjk_encoding)
  File /usr/local/share/lyx/lyx2lyx/LyX.py, line 128, in get_encoding
return lang[language][3]
KeyError: 'default'

-



Re: importing 0.12

2009-10-23 Thread rgheck

On 10/23/2009 02:42 PM, Pol wrote:

rgheck wrote:

   

On 10/23/2009 01:12 PM, Pol wrote:
It should just work: Just open the file in LyX. If that doesn't work,
then the lyx2lyx conversion script is failing. You can try to run it
from outside LyX, if you wish. You'll find it (on Linux) at
/usr/share/lyx/lyx2lyx/lyx2lyx. Run lyx2lyx -h for info.

 

I am using a home.compiled lyx version: /usr/local/share/lyx/lyx2lyx/lyx2lyx
doe not work. Maybe that is the reason why importing by lyx does not work
either.
Attached is the output from cli.

   
Looks like some kind of encoding problem. It's possible that more recent 
fixes to lyx2lyx will solve your problems, since encoding issues were 
front and center in the 1.5 development cycle. You can get the latest 
version from svn. You'll have to use the -t option to set the right 
export format.



Can I ask why you are still using 1.4.5?
 

well, i am still  working on kubuntu/hardy with kde 3.5.10. I am waiting for
a 'heavy end-user' friendly kde4 release (hopefully 4.4) to switch. In the
meantime, i like 1.3.5, i am accustomed to it and the baghira desktop theme
is supported.

   
You don't need to switch to kde4 to run 1.6.x. You just need the Qt4 
libraries. Aren't those available for hardy? They will happily co-exist 
with the Qt3 libraries that kde3 uses. If you're using alternate 
encodings, unicode, etc, it is well worth the upgrade. And there are a 
lot of new features, too.


rh




Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Guenter Milde
On 2009-10-23, Ernesto Posse wrote:

Does it work if you start LyX from an x-terminal? The bash login file
is not read at X-startup. and if you just click on a LyX icon lyx does
not see your login environment variables.

 Is there any way I could have my own TEXMFHOME, different than
 ~/texmf without having to modify any system-wide files?

I have a starter button for an English-speaking LyX which issues the
command

  sh -c LANG=en_GB; lyx
  
A similar command should work for the TEXMFHOME variable...

Maybe even `sh -c lyx` or `sh -l -c lyx` could work (as the shell wrapper
will read your user config files).

Günter



Re: importing 0.12

2009-10-23 Thread Pol
rgheck wrote:

 

 You don't need to switch to kde4 to run 1.6.x. You just need the Qt4
 libraries. Aren't those available for hardy? They will happily co-exist
 with the Qt3 libraries that kde3 uses. If you're using alternate
 encodings, unicode, etc, it is well worth the upgrade. And there are a
 lot of new features, too.

Ok, i have installed lyx 1.6 and lyx2lyx worked fine

Thank you

--P



Re: randomly rotated graphics

2009-10-23 Thread Pavel Sanda
Guy Hindell wrote:
 Does anyone know?

not directly done by lyx, but anyway you can post example file and report
by which tool it was done.

pavel


compiling LyX for maemo (arm architecture)

2009-10-23 Thread Stacia Hartleben
I don't know the first thing about compiling on OS 2008 (Maemo) for
Nokia internet tablets. The architecture is armel - do I need to put
any special flags in while compiling? I have a dev environment set up
and I think I have all the dependencies (QT libs, etc)

I have an error as described here: http://talk.maemo.org/showthread.php?t=30876

Can anyone figure out what's going on, or if there is an arm option I
can pass in? I couldn't find anything about that in there. What drives
me crazy is that there are all these dead ends about compiling LyX for
Maemo but no actual downloads. Any help at all would be useful.
Thanks!!


Re: Bibtex and child documents

2009-10-23 Thread Jan Piet Joris en Corneel
Thanks Richard and Pete for help. I enabled 'Select default master
document' in the Document Settings  Document Class dialog, and
pointed it to the master document. Pete's solution using ERT works
fine, and makes it possible to compile one chapter with a bibliography
at the end. If the master document is compiled, only one bibliography
is shown, just as expected.

Regards,
Corné


Re: Bibtex and child documents

2009-10-23 Thread Pete Crite


On 23/10/2009, at 6:15 PM, Jan Piet Joris en Corneel wrote:


Thanks Richard and Pete for help. I enabled 'Select default master
document' in the Document Settings  Document Class dialog, and
pointed it to the master document. Pete's solution using ERT works
fine, and makes it possible to compile one chapter with a bibliography
at the end. If the master document is compiled, only one bibliography
is shown, just as expected.

Regards,
Corné


Just so credit goes where it is due, ERT was Richard's suggestion!

Cheers,
Pete.

Symbol for =

2009-10-23 Thread nikunj .
Hi,

One more query, how do I write symbol for greater/less than or equal
to ? (Not =  or = )
Is there any guide for latex symbols ?

Thanks again,
Nikunj


Re: Converting to doc format

2009-10-23 Thread Anthony Campbell
On 23 Oct 2009, Pete Crite wrote:
 On 23/10/2009, at 3:34 AM, Florian Rubach wrote:
 
 Anthony Campbell schrieb:
 I'm thinking of publishing in ebook form via Smashwords, who
 unfortunately demand Word format. I'm on Linux and as far as I
 can see
 after a fair amount of googling the only practical way of doing
 this is
 to produce a plain text (txt) version from Lyx, import it into the
 Openoffice WP, and save it as a .doc file from there.
 
 Does anyone know a better way?
 
 Anthony
 The most accurate way I found until now (working even for complicated
 documents) is exporting the document to pdf and then submitting it to
 www.pdftoword.com.
 I don't know if you are comfortable with giving away your document
 to a
 site where I wasn't able to find any statement about the security of
 your data, but the results look stunningly good and are even well
 editable.
 
 Florian
 
 
 I just used this service, and it's not bad! For some strange reason
 though, my inline (ex-pdf or png) images were destroyed. Also, there
 were a few other strange artefacts in formatting. Also note that it
 took about 3 hours before it finished processing for me (it emails
 you the results), so don't use it if you are in a hurry!
 
 From the site:
 The PDF files you upload for conversion are deleted straight after
 being converted.
 The DOC/RTF files we generate are deleted immediately after we email
 you them.
 At no stage are your files looked at or touched by the administrator
 of our PDF-to-Word service.

It doesn't like my pdf; I tried several times without success. But I get
pretty good results with direct export from Lyx to OOffice. Following a
tip on Smashwords I've saved the transferred file as .txt and then
reloaded it.

Anthony


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



Re: Symbol for =

2009-10-23 Thread Erez Yerushalmi
Oh, and I forgot to say that when you press the math pallet, you can see on
the buffer command, on the bottom left side the latex code. This is a great
feature because it helps you learn the necessary commands.

erez

On Fri, Oct 23, 2009 at 8:53 AM, Erez Yerushalmi
erezyerusha...@gmail.comwrote:

 Hi

 what you want is
 \leq
 \geq

 and see the attached pdf document.  I don't remember where I got it from.
 Google does...

 Erez


 On Fri, Oct 23, 2009 at 8:46 AM, nikunj . nikunjk...@gmail.com wrote:

 Hi,

 One more query, how do I write symbol for greater/less than or equal
 to ? (Not =  or = )
 Is there any guide for latex symbols ?

 Thanks again,
 Nikunj




 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw




-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Image format in lyx.

2009-10-23 Thread nikunj .
Yeah that is one clever solution, I will use that. But is there a
particular image format that latex would understand 'better' than
others ?

On Fri, Oct 23, 2009 at 1:31 PM, Erez Yerushalmi
erezyerusha...@gmail.com wrote:
 Hi,

 what I do is make nice graphs and pictures in power point,
 then save it as a pdf file.
 then upload the pdf file into the lyx/beamer document.
 It works great.

 erez

 On Fri, Oct 23, 2009 at 6:01 AM, nikunj . nikunjk...@gmail.com wrote:

 Hi all,

 I have lyx 1.6.3 installed. I have to make a presentation and for that
 purpose I have used beamer class. I have include images which are in
 Jpeg, png and jpg.  However, after a few times that I convert it into
 pdf ( i.e. I make changes and then run pdflatex ,and changes are quite
 frequent) the image starts getting kind of blurred and dirty.
 What might be happening ?

 One more thing, I even tried to make a pdf with just that pic so that
 I include this 'pic-pdf' instead of the pic itself. But I get 2 pages,
 instead of one.
 How do I sort this out?

 (Yeah, I am a newbie :D )

 Thanks in advance,
 Nikunj.



 --
 Erez Yerushalmi
 PhD Student
 Warwick University, UK
 homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw



Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
Hello

On 10/23/09, nikunj . nikunjk...@gmail.com wrote:
  I have lyx 1.6.3 installed. I have to make a presentation and for that
  purpose I have used beamer class. I have include images which are in
  Jpeg, png and jpg.  However, after a few times that I convert it into
  pdf ( i.e. I make changes and then run pdflatex ,and changes are quite
  frequent) the image starts getting kind of blurred and dirty.
  What might be happening ?

All image formats you are mentioning use pixels and not vectors, which
could result in blurry images when zoomed too much. Can you obtain
your images in a vector format, such as .svg or .pdf?


  One more thing, I even tried to make a pdf with just that pic so that
  I include this 'pic-pdf' instead of the pic itself. But I get 2 pages,
  instead of one.

Perhaps you didn't scale well enough the picture. Try clicking on the
image and setting a reasonable percentage for the size of the picture.
Liviu


Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
On 10/23/09, nikunj . nikunjk...@gmail.com wrote:
   what I do is make nice graphs and pictures in power point,

There also other graphics editors around such as Dia. Look in the ML
archives for more examples of such applications.
Liviu


Re: compiling LyX for maemo (arm architecture)

2009-10-23 Thread Jean-Marc Lasgouttes
Stacia Hartleben baka...@gmail.com writes:

 I don't know the first thing about compiling on OS 2008 (Maemo) for
 Nokia internet tablets. The architecture is armel - do I need to put
 any special flags in while compiling? I have a dev environment set up
 and I think I have all the dependencies (QT libs, etc)

 I have an error as described here:
 http://talk.maemo.org/showthread.php?t=3087

The error is
multiple definition of `boost::exception_detail::clone_base* 
boost::exception_detail::make_cloneboost::exception_detail::error_info_injectorstd::overflow_error
 (boost::exception_detail::error_info_injectorstd::overflow_error 
const)::bad_alloc'

For some reason, this exception-related boost method is defined in
several objects. I never saw this error, actually.

Is this with included boost library, or a system one? 

JMarc


Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
Nikunj,

On 10/23/09, nikunj . nikunjk...@gmail.com wrote:
 Anyway to autofit the image into a page ?
  (Can't help it, one problem/approach leads to another !!! )

Please reply to the list (where more people could help you) and
refrain from top-posting in addition to trimming the unnecessary parts
of my message (it's not necessarily clear what you are referring to).

Hmm, autofit to a page, probably not. I think you would need to find
the right percentage by trial and error. Welcome to LaTeX!
Best
Liviu


Re: Kluwer doc class: title and author not showing up

2009-10-23 Thread Jürgen Spitzmüller
Maria Gouskova wrote:
 I am trying out the doc class article (Kluwer) and having a problem:
 a simple document with a title, author, and a single section and some
 standard text typesets without the title and the author. I looked at
 this manual (http://www.springer.com/?SGWID=4-102-45-124370-0), but I
 am not sure that it applies to how things work in LyX. The manual
 warns that if the Author field isn't followed by \institute{...}, the
 author will not be typeset in the final pdf. But there is no
 \institute option in LyX. So how is it supposed to work?

The Kluwer layout didn't have much attention for several years, so it is well 
possible that it needs some update.

However, did you have a look at the Kluwer template that ships with LyX? It 
uses some ERT in the author paragraph (nowadays, one could update the layout 
and implement character style insets for this).

Jürgen


Re: 1.6.4, Article Class, and Headings

2009-10-23 Thread Rich Shepard

On Thu, 22 Oct 2009, Rich Shepard wrote:


 I don't recall seeing this behavior in prior versions so a hint on how to
clean up the page is appreciated.


  Got it resolved. User error.

Rich


Section Format Headings

2009-10-23 Thread Rich Shepard

  When using the fancy pagestyle, why do section titles appear in the header
only when the sections are numbered? When using unnumbered sections I need
to explicitly use the fancyhdr package and define the headers manually.

  I'd like to understand why there is the difference.

Rich


compiling LyX for maemo (arm architecture)

2009-10-23 Thread Stacia Hartleben
I don't know the first thing about compiling on OS 2008 (Maemo) for
Nokia internet tablets. The architecture is armel - do I need to put
any special flags in while compiling? I have a dev environment set up
and I think I have all the dependencies (QT libs, etc)

I have an error as described here: http://talk.maemo.org/showthread.php?t=30876

Can anyone figure out what's going on, or if there is an arm option I
can pass in? I couldn't find anything about that in there. What drives
me crazy is that there are all these dead ends about compiling LyX for
Maemo but no actual downloads. Any help at all would be useful.
Thanks!!


Re: Bibtex and child documents

2009-10-23 Thread Jan Piet Joris en Corneel
Thanks Richard and Pete for help. I enabled 'Select default master
document' in the Document Settings > Document Class dialog, and
pointed it to the master document. Pete's solution using ERT works
fine, and makes it possible to compile one chapter with a bibliography
at the end. If the master document is compiled, only one bibliography
is shown, just as expected.

Regards,
Corné


Re: Bibtex and child documents

2009-10-23 Thread Pete Crite


On 23/10/2009, at 6:15 PM, Jan Piet Joris en Corneel wrote:


Thanks Richard and Pete for help. I enabled 'Select default master
document' in the Document Settings > Document Class dialog, and
pointed it to the master document. Pete's solution using ERT works
fine, and makes it possible to compile one chapter with a bibliography
at the end. If the master document is compiled, only one bibliography
is shown, just as expected.

Regards,
Corné


Just so credit goes where it is due, ERT was Richard's suggestion!

Cheers,
Pete.

Symbol for >=

2009-10-23 Thread nikunj .
Hi,

One more query, how do I write symbol for greater/less than or equal
to ? (Not >=  or <= )
Is there any guide for latex symbols ?

Thanks again,
Nikunj


Re: Converting to doc format

2009-10-23 Thread Anthony Campbell
On 23 Oct 2009, Pete Crite wrote:
> On 23/10/2009, at 3:34 AM, Florian Rubach wrote:
> 
> >Anthony Campbell schrieb:
> >>I'm thinking of publishing in ebook form via Smashwords, who
> >>unfortunately demand Word format. I'm on Linux and as far as I
> >>can see
> >>after a fair amount of googling the only practical way of doing
> >>this is
> >>to produce a plain text (txt) version from Lyx, import it into the
> >>Openoffice WP, and save it as a .doc file from there.
> >>
> >>Does anyone know a better way?
> >>
> >>Anthony
> >The most accurate way I found until now (working even for complicated
> >documents) is exporting the document to pdf and then submitting it to
> >www.pdftoword.com.
> >I don't know if you are comfortable with giving away your document
> >to a
> >site where I wasn't able to find any statement about the security of
> >your data, but the results look stunningly good and are even well
> >editable.
> >
> >Florian
> >
> 
> I just used this service, and it's not bad! For some strange reason
> though, my inline (ex-pdf or png) images were destroyed. Also, there
> were a few other strange artefacts in formatting. Also note that it
> took about 3 hours before it finished processing for me (it emails
> you the results), so don't use it if you are in a hurry!
> 
> From the site:
> The PDF files you upload for conversion are deleted straight after
> being converted.
> The DOC/RTF files we generate are deleted immediately after we email
> you them.
> At no stage are your files looked at or touched by the administrator
> of our PDF-to-Word service.

It doesn't like my pdf; I tried several times without success. But I get
pretty good results with direct export from Lyx to OOffice. Following a
tip on Smashwords I've saved the transferred file as .txt and then
reloaded it.

Anthony


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



Re: Symbol for >=

2009-10-23 Thread Erez Yerushalmi
Oh, and I forgot to say that when you press the math pallet, you can see on
the buffer command, on the bottom left side the latex code. This is a great
feature because it helps you learn the necessary commands.

erez

On Fri, Oct 23, 2009 at 8:53 AM, Erez Yerushalmi
wrote:

> Hi
>
> what you want is
> \leq
> \geq
>
> and see the attached pdf document.  I don't remember where I got it from.
> Google does...
>
> Erez
>
>
> On Fri, Oct 23, 2009 at 8:46 AM, nikunj .  wrote:
>
>> Hi,
>>
>> One more query, how do I write symbol for greater/less than or equal
>> to ? (Not >=  or <= )
>> Is there any guide for latex symbols ?
>>
>> Thanks again,
>> Nikunj
>>
>
>
>
> --
> Erez Yerushalmi
> PhD Student
> Warwick University, UK
> homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw
>



-- 
Erez Yerushalmi
PhD Student
Warwick University, UK
homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw


Re: Image format in lyx.

2009-10-23 Thread nikunj .
Yeah that is one clever solution, I will use that. But is there a
particular image format that latex would understand 'better' than
others ?

On Fri, Oct 23, 2009 at 1:31 PM, Erez Yerushalmi
 wrote:
> Hi,
>
> what I do is make nice graphs and pictures in power point,
> then save it as a pdf file.
> then upload the pdf file into the lyx/beamer document.
> It works great.
>
> erez
>
> On Fri, Oct 23, 2009 at 6:01 AM, nikunj .  wrote:
>>
>> Hi all,
>>
>> I have lyx 1.6.3 installed. I have to make a presentation and for that
>> purpose I have used beamer class. I have include images which are in
>> Jpeg, png and jpg.  However, after a few times that I convert it into
>> pdf ( i.e. I make changes and then run pdflatex ,and changes are quite
>> frequent) the image starts getting kind of blurred and dirty.
>> What might be happening ?
>>
>> One more thing, I even tried to make a pdf with just that pic so that
>> I include this 'pic-pdf' instead of the pic itself. But I get 2 pages,
>> instead of one.
>> How do I sort this out?
>>
>> (Yeah, I am a newbie :D )
>>
>> Thanks in advance,
>> Nikunj.
>
>
>
> --
> Erez Yerushalmi
> PhD Student
> Warwick University, UK
> homepage: http://go.warwick.ac.uk/ep/pg/ecrfaw
>


Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
Hello

On 10/23/09, nikunj .  wrote:
>  I have lyx 1.6.3 installed. I have to make a presentation and for that
>  purpose I have used beamer class. I have include images which are in
>  Jpeg, png and jpg.  However, after a few times that I convert it into
>  pdf ( i.e. I make changes and then run pdflatex ,and changes are quite
>  frequent) the image starts getting kind of blurred and dirty.
>  What might be happening ?
>
All image formats you are mentioning use pixels and not vectors, which
could result in blurry images when zoomed too much. Can you obtain
your images in a vector format, such as .svg or .pdf?


>  One more thing, I even tried to make a pdf with just that pic so that
>  I include this 'pic-pdf' instead of the pic itself. But I get 2 pages,
>  instead of one.
>
Perhaps you didn't scale well enough the picture. Try clicking on the
image and setting a reasonable percentage for the size of the picture.
Liviu


Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
On 10/23/09, nikunj .  wrote:
>  > what I do is make nice graphs and pictures in power point,
>
There also other graphics editors around such as Dia. Look in the ML
archives for more examples of such applications.
Liviu


Re: compiling LyX for maemo (arm architecture)

2009-10-23 Thread Jean-Marc Lasgouttes
Stacia Hartleben  writes:

> I don't know the first thing about compiling on OS 2008 (Maemo) for
> Nokia internet tablets. The architecture is armel - do I need to put
> any special flags in while compiling? I have a dev environment set up
> and I think I have all the dependencies (QT libs, etc)
>
> I have an error as described here:
> http://talk.maemo.org/showthread.php?t=3087

The error is
multiple definition of `boost::exception_detail::clone_base* 
boost::exception_detail::make_clone(boost::exception_detail::error_info_injector 
const&)::bad_alloc'

For some reason, this exception-related boost method is defined in
several objects. I never saw this error, actually.

Is this with included boost library, or a system one? 

JMarc


Re: Image format in lyx.

2009-10-23 Thread Liviu Andronic
Nikunj,

On 10/23/09, nikunj .  wrote:
> Anyway to autofit the image into a page ?
>  (Can't help it, one problem/approach leads to another !!! )
>
Please reply to the list (where more people could help you) and
refrain from top-posting in addition to trimming the unnecessary parts
of my message (it's not necessarily clear what you are referring to).

Hmm, "autofit to a page", probably not. I think you would need to find
the right percentage by trial and error. Welcome to LaTeX!
Best
Liviu


Re: Kluwer doc class: title and author not showing up

2009-10-23 Thread Jürgen Spitzmüller
Maria Gouskova wrote:
> I am trying out the doc class "article (Kluwer)" and having a problem:
> a simple document with a title, author, and a single section and some
> standard text typesets without the title and the author. I looked at
> this manual (http://www.springer.com/?SGWID=4-102-45-124370-0), but I
> am not sure that it applies to how things work in LyX. The manual
> warns that if the Author field isn't followed by \institute{...}, the
> author will not be typeset in the final pdf. But there is no
> \institute option in LyX. So how is it supposed to work?

The Kluwer layout didn't have much attention for several years, so it is well 
possible that it needs some update.

However, did you have a look at the Kluwer template that ships with LyX? It 
uses some ERT in the author paragraph (nowadays, one could update the layout 
and implement character style insets for this).

Jürgen


Re: 1.6.4, Article Class, and Headings

2009-10-23 Thread Rich Shepard

On Thu, 22 Oct 2009, Rich Shepard wrote:


 I don't recall seeing this behavior in prior versions so a hint on how to
clean up the page is appreciated.


  Got it resolved. User error.

Rich


Section Format & Headings

2009-10-23 Thread Rich Shepard

  When using the fancy pagestyle, why do section titles appear in the header
only when the sections are numbered? When using unnumbered sections I need
to explicitly use the fancyhdr package and define the headers manually.

  I'd like to understand why there is the difference.

Rich


Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Guenter Milde
On 2009-10-23, rgheck wrote:
> On 10/22/2009 08:01 PM, Ernesto Posse wrote:
>>> On 10/15/2009 08:36 PM, Ernesto Posse wrote:

 I have some very strange behaviour in LyX. I have a simple latex style
 file (mystyle.sty) which is located in a directory "mylatexfiles".
 latex knows about this: I have "export TEXINPUTS=mylatexfiles:" in my
 bash login[...].

...

>> I've given the full path, and I still have the same issue. 

It should work with the full *absolute* path. LyX runs the latex
conversion in a temporary directory, so a relative path will not work.

>> How come TeX from the command line finds it but TeX invoked by LyX
>> does not find it?

Does it work if you start LyX from an x-terminal? The bash login file
is not read at X-startup. and if you just click on a LyX icon lyx does
not see your login environment variables.

Günter



Re: Bibtex and child documents

2009-10-23 Thread Guenter Milde
On 2009-10-22, rgheck wrote:
> On 10/22/2009 04:44 PM, Pete Crite wrote:
>> On 23/10/2009, at 7:22 AM, rgheck wrote:
>>> On 10/22/2009 02:27 PM, Jan Piet Joris en Corneel wrote:

 I was wondering how to deal with child documents and bibtex. Basically
 I want to do this.
 1. Have one master document with several child documents (i.e. one for
 each child documents.
 2. Have one bibliography at the end of the thesis.
 3. Have the ability to insert citations to that bibliography using the
 Lyx function.


 How do I make the bibliography 'invisible' at the end of a chapter in
 the pdftex output , without losing the ability to insert citations?

...

> If you want to be able to view the child alone, then what you want to do 
> is this. (I think this is on the wiki.) At the top of the master, put in 
> ERT:
...

No need to use evil red text. Instead you can create a branch which you set
to active in the child and inactive in the master. Then, all child-specific
code (like an ERT to set the chapter/section number or the bibliography) can
go inside a branch inset. 

> Note that in this case too inter-document xrefs, etc, won't work if you 
> view the child alone. 

Günter




Re: Section Format & Headings

2009-10-23 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> When using the fancy pagestyle, why do section titles appear in the header
> only when the sections are numbered? When using unnumbered sections I need
> to explicitly use the fancyhdr package and define the headers manually.
> 
>I'd like to understand why there is the difference.

Well, it's a design decision. The starred headings (\section* etc.) in LaTeX 
are defined to be excluded from TOC and headers.

Look here how to get unnumbered headings that are in the TOC and the headers:
http://wiki.lyx.org/FAQ/Unsorted#toc22

Jürgen


Re: Section Format & Headings

2009-10-23 Thread Rich Shepard

On Fri, 23 Oct 2009, J?rgen Spitzm?ller wrote:


Well, it's a design decision. The starred headings (\section* etc.) in LaTeX
are defined to be excluded from TOC and headers.


Juergen,

  The answer is: that's just the way it is; add headers manually in the
preamble.

Thanks,

Rich


Re: Section Format & Headings

2009-10-23 Thread Jürgen Spitzmüller
Rich Shepard wrote:
> The answer is: that's just the way it is; add headers manually in the
> preamble.

... or use a class that supports specific unnumbered headers that are also put 
to TOC and headers (such as KOMA or Memoir). 

Jürgen


Re: Section Format & Headings

2009-10-23 Thread Rich Shepard

On Fri, 23 Oct 2009, J?rgen Spitzm?ller wrote:


... or use a class that supports specific unnumbered headers that are also put
to TOC and headers (such as KOMA or Memoir).


Juergen,

  Yes, there is that. Upon reflection, since I use the KOMA book, report,
and letter2 classes, I might as well make the article class my standard,
too.

Thanks,

Rich


Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Ernesto Posse
On Fri, Oct 23, 2009 at 06:42 AM, Guenter Milde wrote:
>On 2009-10-23, rgheck wrote:
>> On 10/22/2009 08:01 PM, Ernesto Posse wrote:
 On 10/15/2009 08:36 PM, Ernesto Posse wrote:
>
> I have some very strange behaviour in LyX. I have a simple latex style
> file (mystyle.sty) which is located in a directory "mylatexfiles".
> latex knows about this: I have "export TEXINPUTS=mylatexfiles:" in my
> bash login[...].
>
>...
>
>>> I've given the full path, and I still have the same issue.
>
>It should work with the full *absolute* path. LyX runs the latex
>conversion in a temporary directory, so a relative path will not work.

I used

export TEXINPUTS=~/Setup/mytexmf/tex/latex:

which is supposed to be expanded to an absolute path.


>>> How come TeX from the command line finds it but TeX invoked by LyX
>>> does not find it?
>
>Does it work if you start LyX from an x-terminal? The bash login file
>is not read at X-startup. and if you just click on a LyX icon lyx does
>not see your login environment variables.

Right, I figured out that, so I changed the TEXMFHOME variable in
/etc/texmf/texmf.d/05TeXMF.cnf file (I don't like the default ~/texmf), then
I ran sudo update-texmf and I ran sudo texhash, as well as
mktexlsr in my texmf tree which created the ls-R file. Running sudo texconfig
confirmed the new value for TEXMFHOME. I reconfigured LyX, and rebooted.
Now it works, but I don't like the fact that I had to update central
(non-user-specific)
files to do this. Is there any way I could have my own TEXMFHOME, different than
~/texmf without having to modify any system-wide files?

>Günter

Thanks



-- 
Ernesto Posse

Applied Formal Methods Group - Software Technology Lab
School of Computing
Queen's University - Kingston, Ontario, Canada


importing 0.12

2009-10-23 Thread Pol
I would import an old 0.12 lyx file into 1.4.5
Any suitable script?

Thank you 

--P



Re: importing 0.12

2009-10-23 Thread rgheck

On 10/23/2009 01:12 PM, Pol wrote:

I would import an old 0.12 lyx file into 1.4.5
Any suitable script?

   
It should just work: Just open the file in LyX. If that doesn't work, 
then the lyx2lyx conversion script is failing. You can try to run it 
from outside LyX, if you wish. You'll find it (on Linux) at 
/usr/share/lyx/lyx2lyx/lyx2lyx. Run "lyx2lyx -h" for info.


Can I ask why you are still using 1.4.5?

rh



Re: importing 0.12

2009-10-23 Thread Andre Poenitz
On Fri, Oct 23, 2009 at 07:12:06PM +0200, Pol wrote:
> I would import an old 0.12 lyx file into 1.4.5
> Any suitable script?

lyx2lyx?

Andre'


Re: importing 0.12

2009-10-23 Thread Pol
rgheck wrote:

> On 10/23/2009 01:12 PM, Pol wrote:
> It should just work: Just open the file in LyX. If that doesn't work,
> then the lyx2lyx conversion script is failing. You can try to run it
> from outside LyX, if you wish. You'll find it (on Linux) at
> /usr/share/lyx/lyx2lyx/lyx2lyx. Run "lyx2lyx -h" for info.
> 

I am using a home.compiled lyx version: /usr/local/share/lyx/lyx2lyx/lyx2lyx
doe not work. Maybe that is the reason why importing by lyx does not work
either. 
Attached is the output from cli.


> Can I ask why you are still using 1.4.5?

well, i am still  working on kubuntu/hardy with kde 3.5.10. I am waiting for
a 'heavy end-user' friendly kde4 release (hopefully 4.4) to switch. In the
meantime, i like 1.3.5, i am accustomed to it and the baghira desktop theme
is supported. 

Thank you
---Pol

--- enc.
(@ambhi) dyn + %  /usr/lo*/share/lyx/lyx2lyx/lyx2lyx  old-time_moments.lyx
Traceback (most recent call last):
  File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 101, in 
sys.exit(main(sys.argv))
  File "/usr/local/share/lyx/lyx2lyx/lyx2lyx", line 92, in main
file = LyX.File(end_format, input, output, error, debug, try_hard,
cjk_encoding)
  File "/usr/local/share/lyx/lyx2lyx/LyX.py", line 556, in __init__
self.read()
  File "/usr/local/share/lyx/lyx2lyx/LyX.py", line 242, in read
self.encoding = get_encoding(self.language, self.inputencoding,
self.format, self.cjk_encoding)
  File "/usr/local/share/lyx/lyx2lyx/LyX.py", line 128, in get_encoding
return lang[language][3]
KeyError: 'default'

-



Re: importing 0.12

2009-10-23 Thread rgheck

On 10/23/2009 02:42 PM, Pol wrote:

rgheck wrote:

   

On 10/23/2009 01:12 PM, Pol wrote:
It should just work: Just open the file in LyX. If that doesn't work,
then the lyx2lyx conversion script is failing. You can try to run it
from outside LyX, if you wish. You'll find it (on Linux) at
/usr/share/lyx/lyx2lyx/lyx2lyx. Run "lyx2lyx -h" for info.

 

I am using a home.compiled lyx version: /usr/local/share/lyx/lyx2lyx/lyx2lyx
doe not work. Maybe that is the reason why importing by lyx does not work
either.
Attached is the output from cli.

   
Looks like some kind of encoding problem. It's possible that more recent 
fixes to lyx2lyx will solve your problems, since encoding issues were 
front and center in the 1.5 development cycle. You can get the latest 
version from svn. You'll have to use the -t option to set the right 
export format.



Can I ask why you are still using 1.4.5?
 

well, i am still  working on kubuntu/hardy with kde 3.5.10. I am waiting for
a 'heavy end-user' friendly kde4 release (hopefully 4.4) to switch. In the
meantime, i like 1.3.5, i am accustomed to it and the baghira desktop theme
is supported.

   
You don't need to switch to kde4 to run 1.6.x. You just need the Qt4 
libraries. Aren't those available for hardy? They will happily co-exist 
with the Qt3 libraries that kde3 uses. If you're using alternate 
encodings, unicode, etc, it is well worth the upgrade. And there are a 
lot of new features, too.


rh




Re: lyx not finding a style file that latex finds !?

2009-10-23 Thread Guenter Milde
On 2009-10-23, Ernesto Posse wrote:

>>Does it work if you start LyX from an x-terminal? The bash login file
>>is not read at X-startup. and if you just click on a LyX icon lyx does
>>not see your login environment variables.

> Is there any way I could have my own TEXMFHOME, different than
> ~/texmf without having to modify any system-wide files?

I have a starter button for an English-speaking LyX which issues the
command

  sh -c "LANG=en_GB; lyx"
  
A similar command should work for the TEXMFHOME variable...

Maybe even `sh -c lyx` or `sh -l -c lyx` could work (as the shell wrapper
will read your user config files).

Günter



Re: importing 0.12

2009-10-23 Thread Pol
rgheck wrote:

 
>
> You don't need to switch to kde4 to run 1.6.x. You just need the Qt4
> libraries. Aren't those available for hardy? They will happily co-exist
> with the Qt3 libraries that kde3 uses. If you're using alternate
> encodings, unicode, etc, it is well worth the upgrade. And there are a
> lot of new features, too.

Ok, i have installed lyx 1.6 and lyx2lyx worked fine

Thank you

--P



Re: randomly rotated graphics

2009-10-23 Thread Pavel Sanda
Guy Hindell wrote:
> Does anyone know?

not directly done by lyx, but anyway you can post example file and report
by which tool it was done.

pavel