Re: Article to Article (Elsevier)

2009-04-15 Thread Jürgen Spitzmüller
Bruce Pourciau wrote:
> I'm using LyX/Mac 1.5.6.

Aha! This is bug 3838 (fixed in LyX 1.6.2):
http://www.lyx.org/trac/ticket/3838

Jürgen



Re: Fancyhdr trouble

2009-04-15 Thread Anders Host-Madsen
Did you select "two-sided document" in the page layout setting? In
that case it ought to work.



Re: Fancyhdr trouble

2009-04-15 Thread Andrew Rusk
I have and the problem remains. What could be the problem?

2009/4/16 Waluyo Adi Siswanto 

> On Thu, 2009-04-16 at 00:40 +0100, Andrew Rusk wrote:
> > I am having trouble with fancyhdr. I use the following in the preamble:
> >
> > \fancyhead{}
> >
> > \fancyfoot{}
> >
> > \fancyhf[HLE,HRO]{\thepage}
> >
> > \fancyhf[HLO,HRE]{Title}
> >
> > \renewcommand{\headrulewidth}{0pt}
> >
> > \renewcommand{\footrulewidth}{0pt}
> >
> >
> > But the page number always comes up on the right side, i.e. on both odd
> and
> > even pages while the title is always on the left. What am i doing wrong?
>
> Did you use "fancy" in Document > Settings > Page layout > Heading
> style ? then you can call  \usepackage{fancyhdr} in the preamble
>
> Regards
> was
>
>


Re: Fancyhdr trouble

2009-04-15 Thread Waluyo Adi Siswanto
On Thu, 2009-04-16 at 00:40 +0100, Andrew Rusk wrote:
> I am having trouble with fancyhdr. I use the following in the preamble:
> 
> \fancyhead{}
> 
> \fancyfoot{}
> 
> \fancyhf[HLE,HRO]{\thepage}
> 
> \fancyhf[HLO,HRE]{Title}
> 
> \renewcommand{\headrulewidth}{0pt}
> 
> \renewcommand{\footrulewidth}{0pt}
> 
> 
> But the page number always comes up on the right side, i.e. on both odd and
> even pages while the title is always on the left. What am i doing wrong?

Did you use "fancy" in Document > Settings > Page layout > Heading
style ? then you can call  \usepackage{fancyhdr} in the preamble

Regards 
was



Re: Where is preferences file located?

2009-04-15 Thread Dan Phan
In the folder I couldn't find the file. I created it and add some settings
and it works.
Thanks

2009/4/15 Vincent van Ravesteijn 

> Dan Phan schreef:
>
>  I am using Windows Vista. My LyX installation folder
>> is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located?
>> Thank you guys
>> Dan
>>
>>
>>
> C:\Users\DAN\AppData\Roaming\lyx or lyx16
>
> Vincent
>


Fancyhdr trouble

2009-04-15 Thread Andrew Rusk
I am having trouble with fancyhdr. I use the following in the preamble:

\fancyhead{}

\fancyfoot{}

\fancyhf[HLE,HRO]{\thepage}

\fancyhf[HLO,HRE]{Title}

\renewcommand{\headrulewidth}{0pt}

\renewcommand{\footrulewidth}{0pt}


But the page number always comes up on the right side, i.e. on both odd and
even pages while the title is always on the left. What am i doing wrong?


Re: Bibliography error

2009-04-15 Thread L. Toumpouris
Thanks for that. I am using a pc on my university's network and other 
pc's seem to give me the same result. Is there anything I can do about this?


Richard Heck wrote:

L. Toumpouris wrote:

This is the bib file

@ARTICLE{Quah1993,
  author = {Quah, Danny},
  title = {Empirical Cross-Section Dynamics in Economic Growth},
  journal = {European Economic Review},
  year = {1993},
  volume = {37},
  pages = {426--434},
  number = {2-3}
}

I have tried creating a new file altogether, using bib files found on 
the net, different styles etc. It only works properly with the plain 
style and default (numerical).


The attached seems to work for me. If it's not working for you, there's 
a problem somewhere in your installation.


rh





Re: Article to Article (Elsevier)

2009-04-15 Thread Waluyo Adi Siswanto
On Wed, 2009-04-15 at 13:18 -0500, Bruce Pourciau wrote:
> On Apr 15, 2009, at 12:31 PM, Jürgen Spitzmüller wrote:
> 
> > Vincent van Ravesteijn - TNW wrote:
> >> Juergen, is this the same problem as for the powerdot/beamer class ?
> >
> > No.
> > Bruce, can you send a small example file?
> >
> > Jürgen
> 
> 
> I'm using LyX/Mac 1.5.6. Here it is:
> 
> 
> 
> 

Without changing anything it shows the same problem in 1.6.1, but it
works fine in 1.6.x.svn.

/was/



Re: Bibliography error

2009-04-15 Thread Richard Heck

L. Toumpouris wrote:

This is the bib file

@ARTICLE{Quah1993,
  author = {Quah, Danny},
  title = {Empirical Cross-Section Dynamics in Economic Growth},
  journal = {European Economic Review},
  year = {1993},
  volume = {37},
  pages = {426--434},
  number = {2-3}
}

I have tried creating a new file altogether, using bib files found on 
the net, different styles etc. It only works properly with the plain 
style and default (numerical).


The attached seems to work for me. If it's not working for you, there's 
a problem somewhere in your installation.


rh

@ARTICLE{Quah1993,
  author = {Quah, Danny},
  title = {Empirical Cross-Section Dynamics in Economic Growth},
  journal = {European Economic Review},
  year = {1993},
  volume = {37},
  pages = {426--434},
  number = {2-3}
}


t.lyx
Description: application/lyx


t.pdf
Description: Adobe PDF document


Re: Bibliography error

2009-04-15 Thread Richard Heck

L. Toumpouris wrote:

This is the bib file

@ARTICLE{Quah1993,
  author = {Quah, Danny},
  title = {Empirical Cross-Section Dynamics in Economic Growth},
  journal = {European Economic Review},
  year = {1993},
  volume = {37},
  pages = {426--434},
  number = {2-3}
}

I have tried creating a new file altogether, using bib files found on 
the net, different styles etc. It only works properly with the plain 
style and default (numerical).


The attached seems to work for me. If it's not working for you, there's 
a problem somewhere in your installation.


rh

@ARTICLE{Quah1993,
  author = {Quah, Danny},
  title = {Empirical Cross-Section Dynamics in Economic Growth},
  journal = {European Economic Review},
  year = {1993},
  volume = {37},
  pages = {426--434},
  number = {2-3}
}


t.lyx
Description: application/lyx


t.dvi
Description: TeX dvi file


Re: [Figure embedding] An easy way to share lyx documents

2009-04-15 Thread Vincent van Ravesteijn

Konrad Hofbauer schreef:

Vincent van Ravesteijn wrote:
Actually, I have an implementation of something that allows you to 
export a zipped archive with all figures, bibtex files, child 
documents, etc.etc.


Put it in as Export format! :)

/Konrad


It is not yet so perfect to go in.

Vincent


Re: [Figure embedding] An easy way to share lyx documents

2009-04-15 Thread Konrad Hofbauer

Vincent van Ravesteijn wrote:
Actually, I have an implementation of something that allows you to 
export a zipped archive with all figures, bibtex files, child documents, 
etc.etc.


Put it in as Export format! :)

/Konrad



Re: Bibliography error

2009-04-15 Thread L. Toumpouris

This is the bib file

@ARTICLE{Quah1993,
  author = {Quah, Danny},
  title = {Empirical Cross-Section Dynamics in Economic Growth},
  journal = {European Economic Review},
  year = {1993},
  volume = {37},
  pages = {426--434},
  number = {2-3}
}

I have tried creating a new file altogether, using bib files found on 
the net, different styles etc. It only works properly with the plain 
style and default (numerical).



Richard Heck wrote:

L. Toumpouris wrote:
Thanks for the reply. I'm a beginner so I'm not exactly sure what you 
mean though. What is an alpha-type citation?


This error persists with different styles I tried, e.g. plainnat and 
only seems to be solved by plain.


Is there a way to get around this since my references have to be in a 
certain format?


Well, there should be. Try posting a very simple example file that 
displays the problem. It's possible that you have an error somewhere in 
your bib file which is causing BibTeX to choke when it tries to produce 
the alternative.


rh





Re: Bibliography error

2009-04-15 Thread Richard Heck

L. Toumpouris wrote:
Thanks for the reply. I'm a beginner so I'm not exactly sure what you 
mean though. What is an alpha-type citation?


This error persists with different styles I tried, e.g. plainnat and 
only seems to be solved by plain.


Is there a way to get around this since my references have to be in a 
certain format?


Well, there should be. Try posting a very simple example file that 
displays the problem. It's possible that you have an error somewhere in 
your bib file which is causing BibTeX to choke when it tries to produce 
the alternative.


rh



Re: Bibliography error

2009-04-15 Thread L. Toumpouris
Thanks for the reply. I'm a beginner so I'm not exactly sure what you 
mean though. What is an alpha-type citation?


This error persists with different styles I tried, e.g. plainnat and 
only seems to be solved by plain.


Is there a way to get around this since my references have to be in a 
certain format?



Richard Heck wrote:

L. Toumpouris wrote:

Dear all,

I am new to Lyx and have a problem with my bibliography.

The pdf output from Lyx has the bibtex key in front of the full 
citation in the bibliography.


i.e.
[Quah1993] Quah D., etc

instead of

Quah D., etc

I have checked the bib file and seems fine and the problem is only 
solved when i use the plain style with default (numbered) citation. 
What am i doing wrong?


This looks like you're using one of the alpha-type citations, in which 
case something like the key should be printed.


rh





Re: Bibliography error

2009-04-15 Thread Richard Heck

L. Toumpouris wrote:

Dear all,

I am new to Lyx and have a problem with my bibliography.

The pdf output from Lyx has the bibtex key in front of the full 
citation in the bibliography.


i.e.
[Quah1993] Quah D., etc

instead of

Quah D., etc

I have checked the bib file and seems fine and the problem is only 
solved when i use the plain style with default (numbered) citation. 
What am i doing wrong?


This looks like you're using one of the alpha-type citations, in which 
case something like the key should be printed.


rh



Re: Where is preferences file located?

2009-04-15 Thread Vincent van Ravesteijn

Dan Phan schreef:

I am using Windows Vista. My LyX installation folder
is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located?
Thank you guys
Dan

  

C:\Users\DAN\AppData\Roaming\lyx or lyx16

Vincent


Where is preferences file located?

2009-04-15 Thread Dan Phan
I am using Windows Vista. My LyX installation folder
is C:\Users\DAN\AppData\Local\LyX16\. Where is preferences file located?
Thank you guys
Dan


Bibliography error

2009-04-15 Thread L. Toumpouris

Dear all,

I am new to Lyx and have a problem with my bibliography.

The pdf output from Lyx has the bibtex key in front of the full citation 
in the bibliography.


i.e.
[Quah1993] Quah D., etc

instead of

Quah D., etc

I have checked the bib file and seems fine and the problem is only 
solved when i use the plain style with default (numbered) citation. What 
am i doing wrong?



Thank you


Bibliography error

2009-04-15 Thread Andrew Rusk
Dear all,

I am new to Lyx and have a problem with my bibliography.

The pdf output from Lyx has the bibtex key in front of the full citation in
the bibliography.

i.e.
[Quah1993] Quah D., etc

instead of

Quah D., etc

I have checked the bib file and seems fine and the problem is only solved
when i use the plain style with default (numbered) citation. What am i doing
wrong?


Thank you


Re: Article to Article (Elsevier)

2009-04-15 Thread Bruce Pourciau


On Apr 15, 2009, at 12:31 PM, Jürgen Spitzmüller wrote:


Vincent van Ravesteijn - TNW wrote:

Juergen, is this the same problem as for the powerdot/beamer class ?


No.
Bruce, can you send a small example file?

Jürgen



I'm using LyX/Mac 1.5.6. Here it is:



ExampleFile.lyx
Description: Binary data







Re: Article to Article (Elsevier)

2009-04-15 Thread Jürgen Spitzmüller
Vincent van Ravesteijn - TNW wrote:
> Juergen, is this the same problem as for the powerdot/beamer class ?

No.
Bruce, can you send a small example file?

Jürgen



RE: Article to Article (Elsevier)

2009-04-15 Thread Vincent van Ravesteijn - TNW
 

>\...@process
>Set your paper type (e.g., `a4paper' for A4) as a class option
>or as a geometry package option.
>
>I have US Letter selected in Document > Page Layout.
>

Try using Standard as the Paper Format.

>I assume this is something very easy, but...

But ?

>Bruce

Juergen, is this the same problem as for the powerdot/beamer class ?

Vincent



Article to Article (Elsevier)

2009-04-15 Thread Bruce Pourciau
A document written in Article (Elsevier) class, produces the following  
error message when trying to View PDF (pdflatex):


Package geometry error: You must set \paperwidth properly
Package geometry error: You must set \paperheight properly

\...@process
Set your paper type (e.g., `a4paper' for A4) as a class option
or as a geometry package option.

I have US Letter selected in Document > Page Layout.

I assume this is something very easy, but...

Bruce



Re: Latex export

2009-04-15 Thread Richard Heck

Jürgen Spitzmüller wrote:

Anders Host-Madsen wrote:
  

Actually, this leads to my
next enhancement request: An option for LyX
to automatically keep a backup copy of all documents in latex format.
Has this been discussed before?



Not that I remember.

  
This sounds to me like a good application for a cron job, i.e., 
something LyX doesn't need a special feature to be able to do.


rh



Re: 1.6.2 install problems.

2009-04-15 Thread Uwe Stöhr

Max Bian schrieb:


I installed 1.6.2 on Windows Vista on top of my existing 1.6.0 version.


Don't do this. The safest is to install either
- install LyX 1.6.2 after uninstalling the existing LyX 1.6.x installation
- or by installing LyX 1.6.2 over LyX 1.6.1 using the update installer version of the Alternative 
installer (this requires that LyX 1.6.1 was also installed using the alternative installer)


Other cases are not officially supported although installing LyX 1.6.2 over 1.6.1 might work, but 
certainly not 1.6.2 over 1.6.0.


regards Uwe


Re: Latex export

2009-04-15 Thread Jürgen Spitzmüller
Anders Host-Madsen wrote:
> Actually, this leads to my
> next enhancement request: An option for LyX
> to automatically keep a backup copy of all documents in latex format.
> Has this been discussed before?

Not that I remember.

Jürgen


Re: Latex export

2009-04-15 Thread Anders Host-Madsen
Thanks, those two tickets exactly describe my problems.
Hopefully they will get fixed in some future release
To me, latex export is essential, a precondition for using LyX. I export
all my LyX document to Latex. The reason is that I want to make
sure that I can also edit them 20 years from now. Who knows what
will be the status of LyX 20 years from now (yes, maybe this is not
the right place to state this!). But Latex will probably be latex,
and if not, there will surely be converters (in worst case, a latex
file is a simple text file, which can be read). Actually, this leads to my
next enhancement request: An option for LyX 
to automatically keep a backup copy of all documents in latex format.
Has this been discussed before?



Re: pdflatex impossible, no error message

2009-04-15 Thread Dr. Wang Yongqiao

No pdflatex,  no error message. I also meet the issue. Two possible reasons:
1. UTF8, some words like  ff, fl
2. Directory of the lyx file. My OS is windows. If I put the lyx file on 
the desktop, I am sure to receive no result and no response. I guess 
that the pathon cannot recognize the directories such as /my document




Manveru wrote:

2009/4/14 Guenter Milde :
  

On 2009-04-14, Markus Brandstetter wrote:


[...]
  

I guess that the iconv conversion fails on a Unicode character in a place
where it is not allowed (LaTeX preamble, ERT, ...).



I would like to write the same, in my cases it is always the same
iconv issue when there is no error message and no result after pdf
export.

  





Re: pdflatex impossible, no error message

2009-04-15 Thread Dr. Wang Yongqiao

No pdflatex,  no error message. I also meet the issue. Two possible reasons:
1. UTF8, some words like  ff, fl
2. Directory of the lyx file. My OS is windows. If I put the lyx file on 
the desktop, I am sure to receive no result and no response. I guess 
that the pathon cannot recognize the directories such as /my document




Manveru wrote:

2009/4/14 Guenter Milde :
  

On 2009-04-14, Markus Brandstetter wrote:


[...]
  

I guess that the iconv conversion fails on a Unicode character in a place
where it is not allowed (LaTeX preamble, ERT, ...).



I would like to write the same, in my cases it is always the same
iconv issue when there is no error message and no result after pdf
export.

  



--
Dr. Wang Yongqiao
College of Finance, Zhejiang Gongshang University
Addr: No.18, Xuezheng Str., Xiasha, Hangzhou, Zhejiang, 310018, China
Tel: 86-13216816222
Email: wan...@amss.ac.cn



Re: pdflatex impossible, no error message

2009-04-15 Thread Manveru
2009/4/14 Guenter Milde :
> On 2009-04-14, Markus Brandstetter wrote:
[...]
>
> I guess that the iconv conversion fails on a Unicode character in a place
> where it is not allowed (LaTeX preamble, ERT, ...).

I would like to write the same, in my cases it is always the same
iconv issue when there is no error message and no result after pdf
export.

-- 
Manveru
jabber: manv...@manveru.pl
 gg: 1624001
   http://www.manveru.pl


Re: VERY fustrating problem with the LyX and Child documents!

2009-04-15 Thread Guenter Milde
On 2009-04-15, Johannes Serup wrote:
> But why, is it related to ImageMagic?

> Is it possible to run a debugger on the .lyx file to locate this kind
> of error in the future?

It is possible to open lyx from a console and watch the output there.
 #> lyx --dbg 
will also show lots of debugging options, but in this case they
will only distract from your problem.

> I only got the information by coincidence when LyX crashed. 
> It could be very nice to be able to debug a .lyx file since I have no
> idea where in the LyX file to look (LyX don't report that anything is
> wrong unless it crashes it seems).

While the initated will know that lookinga the console (or
~/.xsession-errors under X) will reveal some problems, LyX should monitor
helper apps and report problems via the GUI for normal users.  Could you
file a bug report?

Günter




Re: Latex export

2009-04-15 Thread Jürgen Spitzmüller
Anders Host-Madsen wrote:
> General request: LyX should have the option of exporting just the latex
> code, without trying to convert pictures. Now if a picture already exists,
> it just gives the option of 'overwrite', 'overwrite all' or 'cancel', but
> no option to skip the export of that particular image.

http://www.lyx.org/trac/ticket/3890

> Specific problem: I have included a pdf file through pdfpages in a
> LyX file. But now, when I try to export to pdflatex, it insists on
> overwriting the pdf file with...? Well, It doesn't make sense to me.
> It seems like it wants to overwrite the file with itself.

http://www.lyx.org/trac/ticket/5522

Jürgen