Page numbering and empty pages

2007-04-11 Thread Christian Richter

Hello,
I am writing a document with Lyx 1.4.3 using documentclass: book
(koma-script, double pages).

At the end of the document there is a list of figures, bibliography and glossar.

The problem is that for example the list of figures needs only one
page so that there is an empty page before the bibliography starts,
which I want to remove. How can I do this?
Also there is no page number on the first page of the list of figures.
There is only a page number on the second page, which is empty. How
can I put the page number on the first oage of the list of figures?

I think this problem is related to the style of the chapter, as it is
the same if a new chapter starts (a double page is cleared and there
is no page number on the first page of the new chapter).

Thanks for your help.

Christian


Decrease vertical space between subfigures

2007-04-11 Thread Bernhard Gollas
Is there a way of decreasing the vertical space between subfigures 
(above and below subfigurecaptions) in a float? I am using LyX 1.4.2.

--

Dr. Bernhard Gollas

Institute for Chemical Technology of Inorganic Materials

Graz University of Technology

Stremayrgasse 16/III

8010 Graz, Austria

phone:  +43 (0)316 873 8281

fax:   +43 (0)316 873 8272



Re: Headings disappear when using Bembo

2007-04-11 Thread Johannes Knaus

Hello again,

Well, italics, smallcaps and so on are installed.
I've tried some hacking of the preamble and this works now (the first  
to lines do the trick):


\setkomafont{pagehead}{%
\usekomafont{pagenumber}\itshape}
\usepackage{microtype, fixltx2e, mparhack}
\usepackage[bookmarksnumbered]{hyperref}
%\usepackage[bookmarks]{hyperref}
\usepackage{qtree}
\usepackage{arydshln}
%\usepackage{colortbl}% does not work together with arydshln
\usepackage{xcolor}
\usepackage{pifont}
\usepackage{covington}
%\usepackage{mathptmx}% a better Times
\usepackage{bembo}
\usepackage[scaled]{bfrutiger}

The strange thing is: If I put \slshape instead of \itshape in the  
second line, headings disappear. So maybe this was the problem (Does  
scrbook use \slshape for headings?).
But if I change a normal word in the text in Lyx via the Textstyle  
Menu, I can apply slanted to the word and this works nicely with  
Bembo. I have also printed a word with italic applied next to a  
word with slanted and they do not differ. Does Lyx use italics when  
there is no slanted typeface available? An why doesn't Lyx do this  
also for the headings?


Anyway, it works now, thanks to Jürgen for putting me on the right  
track.


Johannes



Am 09.04.2007 um 09:54 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

When I use Times (or any other font) everything's fine and I get
headings at the top of each page.
But when I switch to Bembo all headings have disappeared.


Just a guess: are the headings in a shape that is not installed  
with Bembo

(e.g. italic)?

Jürgen




Re: Bibliography problems

2007-04-11 Thread Andreas K .
Julio Rojas [EMAIL PROTECTED] writes:

 
 Hi, my tutor wants a bibliographic style similar to APAlike:
 
 cite[1], book[2]
 
 [1] Lastname, Name (year): Article Name, Journal Name
 [2] Lastname, Name (year): Book Name, Publisher, Address
 
 The problem is that when I try to use the apacite bibliographic
 style on a plain article, a group of Undefined control sequence
 errors appear, like the following:
 
[snip]
 
 Any idea on how to solve this problem?
 

Use the document class Article (APA) instead.

Regards,
Andreas





Re: Bibliography problems

2007-04-11 Thread Julio Rojas

The problem with the APA class is that it is not the one I would like
to use. I would like to use the plain class with the APA
bibliographic style.

On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:

Julio Rojas [EMAIL PROTECTED] writes:


 Hi, my tutor wants a bibliographic style similar to APAlike:

 cite[1], book[2]

 [1] Lastname, Name (year): Article Name, Journal Name
 [2] Lastname, Name (year): Book Name, Publisher, Address

 The problem is that when I try to use the apacite bibliographic
 style on a plain article, a group of Undefined control sequence
 errors appear, like the following:

[snip]

 Any idea on how to solve this problem?


Use the document class Article (APA) instead.

Regards,
Andreas







--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-11 Thread Andre Poenitz
On Tue, Apr 10, 2007 at 03:08:12PM +, Enrico Forestieri wrote:
 Yu, James writes:
  Abdelrazak Younes wrote:
   The solution is just to replace our handmade socket (or pipe) layer 
   with a portable one.
  
   It should not be very hard to implement even for a newcomer in the LyX 
   project. If someone's interested, comesee us at the devel list 
  
   Another solution for you James is to use Enrico's mixed windows/cygwin 
   version. Could you confirm that it works Enrico?
 
 Yes, but if you want that functionality from a native Windows app you
 have to use a workaround. See below.
 
  If I was not wrong, it did not work in cygwin!
 
 It works if you use cygwin apps. Native windows apps know nothing about
 named pipes. However, there's a workaround. Windows provides file change
 notifications, so you can tell a native app to use a given file as the
 lyxpipe. Then you monitor such file with a small program, and when the app
 writes to the file you receive a notification. So you simply copy what was
 written to the file to the real lyxpipe using a cygwin program (a bash
 script, for example).
 
 I wrote such watcher utility by modifying the example provided at
 http://www.relisoft.com/win32/watcher.html

There's QFileSystemWatcher.

Andre'


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Pieter Bos


- Original Message - 
From: Bob Lounsbury [EMAIL PROTECTED]

To: Robert Neumann [EMAIL PROTECTED]; LyX lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 10:43 PM
Subject: Re: Lyx 144 on Intel Mac: problems with large documents



On 4/10/07 2:28 PM, Robert Neumann [EMAIL PROTECTED] wrote:


Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening and
working on a document with 40 pages was no problem (well scrolling up
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx
hangs itself at the first attempt. At the second it opened the document
but when I tried the pdf-preview I had to close Lyx after waiting for 3
minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on
windows  than on linux but I thought with OS X beeing close to linux it
would be as fast as with linux...
regards
robert


I have LyX 1.4.4 on a 600Mhz iBook and I can open and view a pdf of a 25
page document with 11 figures in roughly 30 seconds.


On windows on an athlon64 2800+ here creating a pdf from a 91 page document 
with 20 figures (of which most contain subfigures) in about 40 seconds 
(pdflatex, ps or dvi is longer). So with that many figures and pages, at 
least on windows three minutes sounds like a correct number.


Pieter 



Re: Bibliography problems

2007-04-11 Thread Richard Heck

Have you tried using apalike? If you do, put \usepackage{apalike} in the
preamble.

Julio Rojas wrote:
 The problem with the APA class is that it is not the one I would like
 to use. I would like to use the plain class with the APA
 bibliographic style.

 On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:
 Julio Rojas [EMAIL PROTECTED] writes:

 
  Hi, my tutor wants a bibliographic style similar to APAlike:
 
  cite[1], book[2]
 
  [1] Lastname, Name (year): Article Name, Journal Name
  [2] Lastname, Name (year): Book Name, Publisher, Address
 
  The problem is that when I try to use the apacite bibliographic
  style on a plain article, a group of Undefined control sequence
  errors appear, like the following:

 [snip]

  Any idea on how to solve this problem?
 

 Use the document class Article (APA) instead.

 Regards,
 Andreas








-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:


Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening  
and

working on a document with 40 pages was no problem (well scrolling up
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx
hangs itself at the first attempt. At the second it opened the  
document
but when I tried the pdf-preview I had to close Lyx after waiting  
for 3

minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on
windows  than on linux but I thought with OS X beeing close to  
linux it

would be as fast as with linux...
regards
robert


There seem to be two issues you're describing. One is the hang when  
opening a large document. Since that occurred only once (as you  
describe it), it's hard to know what the cause is. (I regularly open  
a 240-page document [without any figures] on my macbook, and it takes  
2 seconds.) Part of the issue may stem from your having LyX display  
the graphics; doing this requires that LyX convert the graphics one- 
by-one to a format it is able to display, and this may take a while.


The other issue -- taking a long time view a pdf of your document --  
is not an issue with LyX but rather with LaTeX: LyX hands off  
typesetting tasks to LaTeX, which then runs in the background. My 240- 
page document takes about 23 seconds to typeset (and that's with  
bibliography and index). Documents with graphics will naturally take  
longer, as the graphics may need to be converted into a proper format  
to produce the pdf. From what I can tell, typesetting in LaTeX on Mac  
is generally speedy.


There are some issues with speed on Mac, but these have to do with  
screen redraws when typing or navigating. Most of these have been  
overcome, and you shouldn't notice them with a macbook. (I do notice  
them on a 466 MHz iBook, but even then I wouldn't say it's a real  
problem.)


Bennett


Re: Bibliography problems

2007-04-11 Thread Julio Rojas

Thanks. If you mean using apalike (\usepackage{apalike}), with
apacite as the bibliographic style  in a document with plain
article style, LyX shows another list of errors, in pairs like the
following:

Undefined control sequence
\bibitem{Gil-Aluja1987}

You can't use '\relax' after \the
\bibitem{Gil-Aluja1987}

This may be what I'm looking for, but how can I solve these errors?

On 4/11/07, Richard Heck [EMAIL PROTECTED] wrote:


Have you tried using apalike? If you do, put \usepackage{apalike} in the
preamble.

Julio Rojas wrote:
 The problem with the APA class is that it is not the one I would like
 to use. I would like to use the plain class with the APA
 bibliographic style.

 On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:
 Julio Rojas [EMAIL PROTECTED] writes:

 
  Hi, my tutor wants a bibliographic style similar to APAlike:
 
  cite[1], book[2]
 
  [1] Lastname, Name (year): Article Name, Journal Name
  [2] Lastname, Name (year): Book Name, Publisher, Address
 
  The problem is that when I try to use the apacite bibliographic
  style on a plain article, a group of Undefined control sequence
  errors appear, like the following:

 [snip]

  Any idea on how to solve this problem?
 

 Use the document class Article (APA) instead.

 Regards,
 Andreas








--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Headings disappear when using Bembo

2007-04-11 Thread Juergen Spitzmueller
Johannes Knaus wrote:

 The strange thing is: If I put \slshape instead of \itshape in the
 second line, headings disappear. So maybe this was the problem (Does
 scrbook use \slshape for headings?).

Yes (if you use headings at least). You have the italic shape installed,
but Bembo (probably) does not feature a slanted shape (or you don't have
it). Your LaTeX Log file probably tells you that some shapes are missing.

 But if I change a normal word in the text in Lyx via the Textstyle  
 Menu, I can apply slanted to the word and this works nicely with  
 Bembo. I have also printed a word with italic applied next to a  
 word with slanted and they do not differ. Does Lyx use italics when  
 there is no slanted typeface available?

I think the font metric files fall back to italics if slanted is not
available (I don't have Bembo, but I see this with Minion). I have no idea
why this does not work within headings.

On the other hand: slanted shape is BAD anyway ;-) 
Stick with italics, if possible.

Jürgen



Re: Bibliography problems

2007-04-11 Thread Richard Heck

Sorry, if you want to use apacite as the bibstyle, try \usepackage{apacite}.

Julio Rojas wrote:
 Thanks. If you mean using apalike (\usepackage{apalike}), with
 apacite as the bibliographic style  in a document with plain
 article style, LyX shows another list of errors, in pairs like the
 following:

 Undefined control sequence
 \bibitem{Gil-Aluja1987}

 You can't use '\relax' after \the
 \bibitem{Gil-Aluja1987}

 This may be what I'm looking for, but how can I solve these errors?

 On 4/11/07, Richard Heck [EMAIL PROTECTED] wrote:

 Have you tried using apalike? If you do, put \usepackage{apalike} in the
 preamble.

 Julio Rojas wrote:
  The problem with the APA class is that it is not the one I would like
  to use. I would like to use the plain class with the APA
  bibliographic style.
 
  On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:
  Julio Rojas [EMAIL PROTECTED] writes:
 
  
   Hi, my tutor wants a bibliographic style similar to APAlike:
  
   cite[1], book[2]
  
   [1] Lastname, Name (year): Article Name, Journal Name
   [2] Lastname, Name (year): Book Name, Publisher, Address
  
   The problem is that when I try to use the apacite bibliographic
   style on a plain article, a group of Undefined control sequence
   errors appear, like the following:
 
  [snip]
 
   Any idea on how to solve this problem?
  
 
  Use the document class Article (APA) instead.
 
  Regards,
  Andreas
 
 
 
 
 
 


 -- 
 ==
 Richard G Heck, Jr
 Professor of Philosophy
 Brown University
 http://frege.brown.edu/heck/
 ==
 Get my public key from http://sks.keyserver.penguin.de
 Hash: 0x1DE91F1E66FFBDEC
 Learn how to sign your email using Thunderbird and GnuPG at:
 http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto






-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bob Lounsbury
On 4/11/07 7:31 AM, Bennett Helm [EMAIL PROTECTED] wrote:

 On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:
 
 Hello,
 I just installed lyx 144 sucessfully on a macbook core duo. Opening
 and
 working on a document with 40 pages was no problem (well scrolling up
 and down was a bit sluggish...)
 But when I opened a document with 290 pages and about 80 figures lyx
 hangs itself at the first attempt. At the second it opened the
 document
 but when I tried the pdf-preview I had to close Lyx after waiting
 for 3
 minutes with the fan running like a hair blower.
 Is this a known issue for the mac? I know that lyx is much slower on
 windows  than on linux but I thought with OS X beeing close to
 linux it
 would be as fast as with linux...
 regards
 robert
 
 There seem to be two issues you're describing. One is the hang when
 opening a large document. Since that occurred only once (as you
 describe it), it's hard to know what the cause is. (I regularly open
 a 240-page document [without any figures] on my macbook, and it takes
 2 seconds.) Part of the issue may stem from your having LyX display
 the graphics; doing this requires that LyX convert the graphics one-
 by-one to a format it is able to display, and this may take a while.
 
 The other issue -- taking a long time view a pdf of your document --
 is not an issue with LyX but rather with LaTeX: LyX hands off
 typesetting tasks to LaTeX, which then runs in the background. My 240-
 page document takes about 23 seconds to typeset (and that's with
 bibliography and index). Documents with graphics will naturally take
 longer, as the graphics may need to be converted into a proper format
 to produce the pdf. From what I can tell, typesetting in LaTeX on Mac
 is generally speedy.
 
 There are some issues with speed on Mac, but these have to do with
 screen redraws when typing or navigating. Most of these have been
 overcome, and you shouldn't notice them with a macbook. (I do notice
 them on a 466 MHz iBook, but even then I wouldn't say it's a real
 problem.)
 
 Bennett

Bennett,

You bring up a point I was planning to ask. I have also noticed a slowness
of screen redraws when typing or navigating on my 600Mhz iBook that was not
noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4. Specifically
when typing within figure floats and equations.

My question is: Is there a way to speed this up? i.e., turning off instant
preview, etc. or is it finally getting time to upgrade the old iBook.

Thanks,
Bob Lounsbury




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Robert Neumann
Thanks,
 Part of the issue may stem from your having LyX display
 the graphics; doing this requires that LyX convert the graphics one-
 by-one to a format it is able to display, and this may take a while.
ok, I will turn of the graphics preview, I dont really need it.

 The other issue -- taking a long time view a pdf of your document --
 is not an issue with LyX but rather with LaTeX: LyX hands off
 typesetting tasks to LaTeX, which then runs in the background. My 240-
 page document takes about 23 seconds to typeset (and that's with
I used the i-installer for LaTeX. Is there a difference between this LaTeX and
the MacTeX?
Regards Robert




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 12:40 PM, Robert Neumann wrote:


Thanks,
 Part of the issue may stem from your having LyX display

the graphics; doing this requires that LyX convert the graphics one-
by-one to a format it is able to display, and this may take a while.

ok, I will turn of the graphics preview, I dont really need it.


The other issue -- taking a long time view a pdf of your document --
is not an issue with LyX but rather with LaTeX: LyX hands off
typesetting tasks to LaTeX, which then runs in the background. My  
240-

page document takes about 23 seconds to typeset (and that's with
I used the i-installer for LaTeX. Is there a difference between  
this LaTeX and

the MacTeX?


Not that would explain an extreme slowdown. They're both (currently)  
based off of TeXLive and both have versions for Intel Macs.


Bennett


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 12:01 PM, Bob Lounsbury wrote:


Bennett,

You bring up a point I was planning to ask. I have also noticed a  
slowness
of screen redraws when typing or navigating on my 600Mhz iBook that  
was not
noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4.  
Specifically

when typing within figure floats and equations.

My question is: Is there a way to speed this up? i.e., turning off  
instant

preview, etc. or is it finally getting time to upgrade the old iBook.


It is the result of significant changes in how LyX 1.4.x works as  
opposed to 1.3.x. The problem is worse when typing in insets -- boxes  
of text that can be opened or closed, like ERT boxes, footnotes, LyX  
notes, etc.


Is there anything that can be done? ... Not really. Smaller window  
sizes may help, but that's not a tradeoff I'm willing to make.


You might try out the beta of LyX-1.5 and let us know how performance  
of that compares and whether it's acceptable. A now somewhat outdated  
universal version can be found here:


http://edisk.fandm.edu/bennett.helm/LyX/LyX-1.5.0svn-Mac-universal.zip

Bennett


Help with fancyhdr

2007-04-11 Thread LB

Hello

I have more of a latex question but I'm hoping that somebody would know the 
answer.


I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book 
class.


I'm writing a large document with a few chapters, sections and appendices. 
What I would like is to have a chapter name, section name or appendix name 
appear on the top of the page.
For example if the current page is from Chapter 1 Title of chapter 1 then 
on the top of the pages in this chapter I'd like to see 1 Title of chapter 
1. As soon the reader reaches Section 1.1 Title of section 1.1 the header 
would change to 1.1 Title of section 1.1
I'd like appendices to be handled like chapters. BTW to create appendix I 
have in ERT \appendix and then all subsequent chapters become appendices.


I found the following code:

\setlength{\headheight}{15pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{\chaptername
\ \thechapter.\ #1}{}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
\fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
\fancypagestyle{plain}{ %
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}}

which does put the section names in the header but it does not put chapter 
names nor appendix names in the header.  How can I modify this to include 
chapter names in the headers?


Thank you very much
Leo 





Re: Help with fancyhdr

2007-04-11 Thread Richard Heck
LB wrote:
 Hello

 I have more of a latex question but I'm hoping that somebody would
 know the answer.

 I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book
 class.

 I'm writing a large document with a few chapters, sections and
 appendices. What I would like is to have a chapter name, section name
 or appendix name appear on the top of the page.
 For example if the current page is from Chapter 1 Title of chapter 1
 then on the top of the pages in this chapter I'd like to see 1 Title
 of chapter 1. As soon the reader reaches Section 1.1 Title of
 section 1.1 the header would change to 1.1 Title of section 1.1
 I'd like appendices to be handled like chapters. BTW to create
 appendix I have in ERT \appendix and then all subsequent chapters
 become appendices.

 I found the following code:

 \setlength{\headheight}{15pt}
 \pagestyle{fancy}
 \renewcommand{\chaptermark}[1]{%
What follows marks only the left-hand (odd) pages, and does nothing if
you're using single-sided.
 \markboth{\chaptername
 \ \thechapter.\ #1}{}}
So you probably want either:*
*\markboth{\chaptername\ \thechapter.\ #1}{\chaptername\
\thechapter.\ #1}}
if you're doing double-sided, or:
\markright{\chaptername\ \thechapter.\ #1}
if you're not.

Richard
**
 \fancyhf{}
 \fancyhead[LE,RO]{\thepage}
 \fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
 \fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
 \fancypagestyle{plain}{ %
 \fancyhf{} % remove everything
 \renewcommand{\headrulewidth}{0pt} % remove lines as well
 \renewcommand{\footrulewidth}{0pt}}

 which does put the section names in the header but it does not put
 chapter names nor appendix names in the header.  How can I modify this
 to include chapter names in the headers?

 Thank you very much
 Leo



-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: how to insert a blank page

2007-04-11 Thread Ares

-- Messaggio inoltrato --
From: Lennart [EMAIL PROTECTED]

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


what about using two-sided document? do document -- settings and in
the Page Layout panel check the two-sided document box.

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Help with fancyhdr

2007-04-11 Thread LB

Thank you Richard. That worked well.

Leo




LB wrote:

Hello

I have more of a latex question but I'm hoping that somebody would
know the answer.

I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book
class.

I'm writing a large document with a few chapters, sections and
appendices. What I would like is to have a chapter name, section name
or appendix name appear on the top of the page.
For example if the current page is from Chapter 1 Title of chapter 1
then on the top of the pages in this chapter I'd like to see 1 Title
of chapter 1. As soon the reader reaches Section 1.1 Title of
section 1.1 the header would change to 1.1 Title of section 1.1
I'd like appendices to be handled like chapters. BTW to create
appendix I have in ERT \appendix and then all subsequent chapters
become appendices.

I found the following code:

\setlength{\headheight}{15pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%

What follows marks only the left-hand (odd) pages, and does nothing if
you're using single-sided.

\markboth{\chaptername
\ \thechapter.\ #1}{}}

So you probably want either:*
*\markboth{\chaptername\ \thechapter.\ #1}{\chaptername\
\thechapter.\ #1}}
if you're doing double-sided, or:
   \markright{\chaptername\ \thechapter.\ #1}
if you're not.

Richard
**

\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
\fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
\fancypagestyle{plain}{ %
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}}

which does put the section names in the header but it does not put
chapter names nor appendix names in the header.  How can I modify this
to include chapter names in the headers?

Thank you very much
Leo




--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto






Re: CV templates

2007-04-11 Thread Uwe Stöhr

Micha Feigin schrieb:


ftp://dante.ctan.org/tex-archive/macros/latex/contrib/ecv/template/CV-template_en.pdf


For your interest, the next LyX version 1.5.0 will have two new Curriculum vitae(CV)-templates and 
support for the moderncv and europecv CV-class.


regards Uwe



Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-11 Thread Enrico Forestieri
On Wed, Apr 11, 2007 at 01:46:26PM +0200, Andre Poenitz wrote:

 On Tue, Apr 10, 2007 at 03:08:12PM +, Enrico Forestieri wrote:
  Yu, James writes:
   Abdelrazak Younes wrote:
The solution is just to replace our handmade socket (or pipe) layer 
with a portable one.
   
It should not be very hard to implement even for a newcomer in the LyX 
project. If someone's interested, comesee us at the devel list 
   
Another solution for you James is to use Enrico's mixed windows/cygwin 
version. Could you confirm that it works Enrico?
  
  Yes, but if you want that functionality from a native Windows app you
  have to use a workaround. See below.
  
   If I was not wrong, it did not work in cygwin!
  
  It works if you use cygwin apps. Native windows apps know nothing about
  named pipes. However, there's a workaround. Windows provides file change
  notifications, so you can tell a native app to use a given file as the
  lyxpipe. Then you monitor such file with a small program, and when the app
  writes to the file you receive a notification. So you simply copy what was
  written to the file to the real lyxpipe using a cygwin program (a bash
  script, for example).
  
  I wrote such watcher utility by modifying the example provided at
  http://www.relisoft.com/win32/watcher.html
 
 There's QFileSystemWatcher.

That's for Qt 4.2 or higher, I think. I wonder how do they accomplish
that on *nix as, if I remember correctly, select() doesn't work on
plain files. Maybe they use something similar to fam on linux, but
on solaris, for example?

-- 
Enrico


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Andre Poenitz
On Wed, Apr 11, 2007 at 09:31:35AM -0400, Bennett Helm wrote:
 On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:
 
 Hello, I just installed lyx 144 sucessfully on a macbook core duo.
 Opening  and working on a document with 40 pages was no problem (well
 scrolling up and down was a bit sluggish...) But when I opened a
 document with 290 pages and about 80 figures lyx hangs itself at the
 first attempt. At the second it opened the  document but when I tried
 the pdf-preview I had to close Lyx after waiting  for 3 minutes with
 the fan running like a hair blower.  Is this a known issue for the
 mac? I know that lyx is much slower on windows  than on linux but I
 thought with OS X beeing close to  linux it would be as fast as with
 linux...  regards robert
 
 There seem to be two issues you're describing. One is the hang when
 opening a large document. Since that occurred only once (as you
 describe it), it's hard to know what the cause is.

Computing LaTeX fonts?

Andre'


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bob Lounsbury
On 4/11/07 11:05 AM, Bennett Helm [EMAIL PROTECTED] wrote:

 On Apr 11, 2007, at 12:01 PM, Bob Lounsbury wrote:
 
 Bennett,
 
 You bring up a point I was planning to ask. I have also noticed a
 slowness
 of screen redraws when typing or navigating on my 600Mhz iBook that
 was not
 noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4.
 Specifically
 when typing within figure floats and equations.
 
 My question is: Is there a way to speed this up? i.e., turning off
 instant
 preview, etc. or is it finally getting time to upgrade the old iBook.
 
 It is the result of significant changes in how LyX 1.4.x works as
 opposed to 1.3.x. The problem is worse when typing in insets -- boxes
 of text that can be opened or closed, like ERT boxes, footnotes, LyX
 notes, etc.
 
 Is there anything that can be done? ... Not really. Smaller window
 sizes may help, but that's not a tradeoff I'm willing to make.
 
 You might try out the beta of LyX-1.5 and let us know how performance
 of that compares and whether it's acceptable. A now somewhat outdated
 universal version can be found here:
 
 http://edisk.fandm.edu/bennett.helm/LyX/LyX-1.5.0svn-Mac-universal.zip
 
 Bennett


I actually have 1.5.0beta1 and 1.5.0svn and this slowness is identical to
1.4.4. Interestingly though there is no slowness issue with 1.5.0beta1
under Ubuntu Linux on the same machine.

Regards,
Bob Lounsbury




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 3:13 PM, Andre Poenitz wrote:


On Wed, Apr 11, 2007 at 09:31:35AM -0400, Bennett Helm wrote:

On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:


Hello, I just installed lyx 144 sucessfully on a macbook core duo.
Opening  and working on a document with 40 pages was no problem  
(well

scrolling up and down was a bit sluggish...) But when I opened a
document with 290 pages and about 80 figures lyx hangs itself at the
first attempt. At the second it opened the  document but when I  
tried

the pdf-preview I had to close Lyx after waiting  for 3 minutes with
the fan running like a hair blower.  Is this a known issue for the
mac? I know that lyx is much slower on windows  than on linux but I
thought with OS X beeing close to  linux it would be as fast as with
linux...  regards robert


There seem to be two issues you're describing. One is the hang when
opening a large document. Since that occurred only once (as you
describe it), it's hard to know what the cause is.


Computing LaTeX fonts?


Not when simply opening the document within LyX, of course. (Perhaps  
that's an explanation for the typesetting slowdown; if so, then it  
should happen only once and be much faster on subsequent runs.)


Bennett


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-11 Thread Andre Poenitz
On Wed, Apr 11, 2007 at 09:07:31PM +0200, Enrico Forestieri wrote:
  There's QFileSystemWatcher.
 
 That's for Qt 4.2 or higher, I think. I wonder how do they accomplish
 that on *nix as, if I remember correctly, select() doesn't work on
 plain files. Maybe they use something similar to fam on linux, but
 on solaris, for example?

I don't know. Use the source, Luke ;-)

Andre'


Bibliography formatting

2007-04-11 Thread Lyx Physicist
Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui frontend
to create a bibtex file for my bibliography(the reason is I just started
using lyx/LaTex and know nothing about Bibtex).  Is there any way to
change the default citation method 
ex:  This is from my book[1]

to having the citation in superscript form?  I would like the 1 (or
whatever number the citation corresponds to) to be a superscript and
then have the numbering of entries in the bibliography be similar
so in the bib it would look like 
1. Me, Book from library, 1999
2. Blah, Blah 

instead of using 
[1] Me, Book from Library

Thanks, 
Charles



Re: Bibliography formatting

2007-04-11 Thread Brian Kidd

Charles,

This can be changed by adding two lines to your preamble. First, add  
the super option to the natbib package. Make sure to change your  
citation style to numerical under the Bibliography setting otherwise  
LyX will spit out the warning about having conflicting natbib  
definitions. Second, add the renewcommand for biblabel to give the  
number period format. Note that there are a number of other natbib  
options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
bibfont, bibsep) to play with. I think the natbib manual might have  
some examples. Otherwise you should be able to search on the web for  
some examples.


\usepackage[super]{natbib}
[EMAIL PROTECTED]

-Brian

On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:

Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
frontend
to create a bibtex file for my bibliography(the reason is I just  
started

using lyx/LaTex and know nothing about Bibtex).  Is there any way to
change the default citation method
ex:  This is from my book[1]

to having the citation in superscript form?  I would like the 1 (or
whatever number the citation corresponds to) to be a superscript and
then have the numbering of entries in the bibliography be similar
so in the bib it would look like
1. Me, Book from library, 1999
2. Blah, Blah

instead of using
[1] Me, Book from Library

Thanks,
Charles





Re: Bibliography formatting

2007-04-11 Thread Lyx Physicist
Hi Brian, 
  I tried to add those options to the preamble, and I get this error

 \renewcommand 
  [EMAIL PROTECTED] 
The package natbib has already been loaded with options:   [numbers]
There has now been an attempt to load it with options   [super] Adding
the global options:   numbers,super to your \documentclass declaration
may fix this. Try typing  return  to proceed.

So I tried to add that into the options of the documentclass(which is
report fyi) and still nothing...  Any ideas?
Charles



On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:
 Charles,
 
 This can be changed by adding two lines to your preamble. First, add  
 the super option to the natbib package. Make sure to change your  
 citation style to numerical under the Bibliography setting otherwise  
 LyX will spit out the warning about having conflicting natbib  
 definitions. Second, add the renewcommand for biblabel to give the  
 number period format. Note that there are a number of other natbib  
 options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
 bibfont, bibsep) to play with. I think the natbib manual might have  
 some examples. Otherwise you should be able to search on the web for  
 some examples.
 
 \usepackage[super]{natbib}
 [EMAIL PROTECTED]
 
 -Brian
 
 On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:
 
  Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
  frontend
  to create a bibtex file for my bibliography(the reason is I just  
  started
  using lyx/LaTex and know nothing about Bibtex).  Is there any way to
  change the default citation method
  ex:  This is from my book[1]
 
  to having the citation in superscript form?  I would like the 1 (or
  whatever number the citation corresponds to) to be a superscript and
  then have the numbering of entries in the bibliography be similar
  so in the bib it would look like
  1. Me, Book from library, 1999
  2. Blah, Blah
 
  instead of using
  [1] Me, Book from Library
 
  Thanks,
  Charles
 
 



Re: Bibliography formatting

2007-04-11 Thread Richard Heck

You need to uncheck Natbib altogether and choose Default (numerical).

Lyx Physicist wrote:
 Hi Brian, 
   I tried to add those options to the preamble, and I get this error

  \renewcommand 
   [EMAIL PROTECTED] 
 The package natbib has already been loaded with options:   [numbers]
 There has now been an attempt to load it with options   [super] Adding
 the global options:   numbers,super to your \documentclass declaration
 may fix this. Try typing  return  to proceed.

 So I tried to add that into the options of the documentclass(which is
 report fyi) and still nothing...  Any ideas?
 Charles



 On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:
   
 Charles,

 This can be changed by adding two lines to your preamble. First, add  
 the super option to the natbib package. Make sure to change your  
 citation style to numerical under the Bibliography setting otherwise  
 LyX will spit out the warning about having conflicting natbib  
 definitions. Second, add the renewcommand for biblabel to give the  
 number period format. Note that there are a number of other natbib  
 options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
 bibfont, bibsep) to play with. I think the natbib manual might have  
 some examples. Otherwise you should be able to search on the web for  
 some examples.

 \usepackage[super]{natbib}
 [EMAIL PROTECTED]

 -Brian

 On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:

 
 Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
 frontend
 to create a bibtex file for my bibliography(the reason is I just  
 started
 using lyx/LaTex and know nothing about Bibtex).  Is there any way to
 change the default citation method
 ex:  This is from my book[1]

 to having the citation in superscript form?  I would like the 1 (or
 whatever number the citation corresponds to) to be a superscript and
 then have the numbering of entries in the bibliography be similar
 so in the bib it would look like
 1. Me, Book from library, 1999
 2. Blah, Blah

 instead of using
 [1] Me, Book from Library

 Thanks,
 Charles

   

   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Bibliography formatting

2007-04-11 Thread Lyx Physicist
That did it, thanks!!




On Thu, 2007-04-12 at 00:16 -0400, Richard Heck wrote:
 You need to uncheck Natbib altogether and choose Default (numerical).
 
 Lyx Physicist wrote:
  Hi Brian, 
I tried to add those options to the preamble, and I get this error
 
   \renewcommand 
[EMAIL PROTECTED] 
  The package natbib has already been loaded with options:   [numbers]
  There has now been an attempt to load it with options   [super] Adding
  the global options:   numbers,super to your \documentclass declaration
  may fix this. Try typing  return  to proceed.
 
  So I tried to add that into the options of the documentclass(which is
  report fyi) and still nothing...  Any ideas?
  Charles
 
 
 
  On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:

  Charles,
 
  This can be changed by adding two lines to your preamble. First, add  
  the super option to the natbib package. Make sure to change your  
  citation style to numerical under the Bibliography setting otherwise  
  LyX will spit out the warning about having conflicting natbib  
  definitions. Second, add the renewcommand for biblabel to give the  
  number period format. Note that there are a number of other natbib  
  options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
  bibfont, bibsep) to play with. I think the natbib manual might have  
  some examples. Otherwise you should be able to search on the web for  
  some examples.
 
  \usepackage[super]{natbib}
  [EMAIL PROTECTED]
 
  -Brian
 
  On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:
 
  
  Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
  frontend
  to create a bibtex file for my bibliography(the reason is I just  
  started
  using lyx/LaTex and know nothing about Bibtex).  Is there any way to
  change the default citation method
  ex:  This is from my book[1]
 
  to having the citation in superscript form?  I would like the 1 (or
  whatever number the citation corresponds to) to be a superscript and
  then have the numbering of entries in the bibliography be similar
  so in the bib it would look like
  1. Me, Book from library, 1999
  2. Blah, Blah
 
  instead of using
  [1] Me, Book from Library
 
  Thanks,
  Charles
 

 

 
 



Page numbering and empty pages

2007-04-11 Thread Christian Richter

Hello,
I am writing a document with Lyx 1.4.3 using documentclass: book
(koma-script, double pages).

At the end of the document there is a list of figures, bibliography and glossar.

The problem is that for example the list of figures needs only one
page so that there is an empty page before the bibliography starts,
which I want to remove. How can I do this?
Also there is no page number on the first page of the list of figures.
There is only a page number on the second page, which is empty. How
can I put the page number on the first oage of the list of figures?

I think this problem is related to the style of the chapter, as it is
the same if a new chapter starts (a double page is cleared and there
is no page number on the first page of the new chapter).

Thanks for your help.

Christian


Decrease vertical space between subfigures

2007-04-11 Thread Bernhard Gollas
Is there a way of decreasing the vertical space between subfigures 
(above and below subfigurecaptions) in a float? I am using LyX 1.4.2.

--

Dr. Bernhard Gollas

Institute for Chemical Technology of Inorganic Materials

Graz University of Technology

Stremayrgasse 16/III

8010 Graz, Austria

phone:  +43 (0)316 873 8281

fax:   +43 (0)316 873 8272



Re: Headings disappear when using Bembo

2007-04-11 Thread Johannes Knaus

Hello again,

Well, italics, smallcaps and so on are installed.
I've tried some hacking of the preamble and this works now (the first  
to lines do the trick):


\setkomafont{pagehead}{%
\usekomafont{pagenumber}\itshape}
\usepackage{microtype, fixltx2e, mparhack}
\usepackage[bookmarksnumbered]{hyperref}
%\usepackage[bookmarks]{hyperref}
\usepackage{qtree}
\usepackage{arydshln}
%\usepackage{colortbl}% does not work together with arydshln
\usepackage{xcolor}
\usepackage{pifont}
\usepackage{covington}
%\usepackage{mathptmx}% a better Times
\usepackage{bembo}
\usepackage[scaled]{bfrutiger}

The strange thing is: If I put \slshape instead of \itshape in the  
second line, headings disappear. So maybe this was the problem (Does  
scrbook use \slshape for headings?).
But if I change a normal word in the text in Lyx via the Textstyle  
Menu, I can apply slanted to the word and this works nicely with  
Bembo. I have also printed a word with italic applied next to a  
word with slanted and they do not differ. Does Lyx use italics when  
there is no slanted typeface available? An why doesn't Lyx do this  
also for the headings?


Anyway, it works now, thanks to Jürgen for putting me on the right  
track.


Johannes



Am 09.04.2007 um 09:54 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

When I use Times (or any other font) everything's fine and I get
headings at the top of each page.
But when I switch to Bembo all headings have disappeared.


Just a guess: are the headings in a shape that is not installed  
with Bembo

(e.g. italic)?

Jürgen




Re: Bibliography problems

2007-04-11 Thread Andreas K .
Julio Rojas [EMAIL PROTECTED] writes:

 
 Hi, my tutor wants a bibliographic style similar to APAlike:
 
 cite[1], book[2]
 
 [1] Lastname, Name (year): Article Name, Journal Name
 [2] Lastname, Name (year): Book Name, Publisher, Address
 
 The problem is that when I try to use the apacite bibliographic
 style on a plain article, a group of Undefined control sequence
 errors appear, like the following:
 
[snip]
 
 Any idea on how to solve this problem?
 

Use the document class Article (APA) instead.

Regards,
Andreas





Re: Bibliography problems

2007-04-11 Thread Julio Rojas

The problem with the APA class is that it is not the one I would like
to use. I would like to use the plain class with the APA
bibliographic style.

On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:

Julio Rojas [EMAIL PROTECTED] writes:


 Hi, my tutor wants a bibliographic style similar to APAlike:

 cite[1], book[2]

 [1] Lastname, Name (year): Article Name, Journal Name
 [2] Lastname, Name (year): Book Name, Publisher, Address

 The problem is that when I try to use the apacite bibliographic
 style on a plain article, a group of Undefined control sequence
 errors appear, like the following:

[snip]

 Any idea on how to solve this problem?


Use the document class Article (APA) instead.

Regards,
Andreas







--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-11 Thread Andre Poenitz
On Tue, Apr 10, 2007 at 03:08:12PM +, Enrico Forestieri wrote:
 Yu, James writes:
  Abdelrazak Younes wrote:
   The solution is just to replace our handmade socket (or pipe) layer 
   with a portable one.
  
   It should not be very hard to implement even for a newcomer in the LyX 
   project. If someone's interested, comesee us at the devel list 
  
   Another solution for you James is to use Enrico's mixed windows/cygwin 
   version. Could you confirm that it works Enrico?
 
 Yes, but if you want that functionality from a native Windows app you
 have to use a workaround. See below.
 
  If I was not wrong, it did not work in cygwin!
 
 It works if you use cygwin apps. Native windows apps know nothing about
 named pipes. However, there's a workaround. Windows provides file change
 notifications, so you can tell a native app to use a given file as the
 lyxpipe. Then you monitor such file with a small program, and when the app
 writes to the file you receive a notification. So you simply copy what was
 written to the file to the real lyxpipe using a cygwin program (a bash
 script, for example).
 
 I wrote such watcher utility by modifying the example provided at
 http://www.relisoft.com/win32/watcher.html

There's QFileSystemWatcher.

Andre'


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Pieter Bos


- Original Message - 
From: Bob Lounsbury [EMAIL PROTECTED]

To: Robert Neumann [EMAIL PROTECTED]; LyX lyx-users@lists.lyx.org
Sent: Tuesday, April 10, 2007 10:43 PM
Subject: Re: Lyx 144 on Intel Mac: problems with large documents



On 4/10/07 2:28 PM, Robert Neumann [EMAIL PROTECTED] wrote:


Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening and
working on a document with 40 pages was no problem (well scrolling up
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx
hangs itself at the first attempt. At the second it opened the document
but when I tried the pdf-preview I had to close Lyx after waiting for 3
minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on
windows  than on linux but I thought with OS X beeing close to linux it
would be as fast as with linux...
regards
robert


I have LyX 1.4.4 on a 600Mhz iBook and I can open and view a pdf of a 25
page document with 11 figures in roughly 30 seconds.


On windows on an athlon64 2800+ here creating a pdf from a 91 page document 
with 20 figures (of which most contain subfigures) in about 40 seconds 
(pdflatex, ps or dvi is longer). So with that many figures and pages, at 
least on windows three minutes sounds like a correct number.


Pieter 



Re: Bibliography problems

2007-04-11 Thread Richard Heck

Have you tried using apalike? If you do, put \usepackage{apalike} in the
preamble.

Julio Rojas wrote:
 The problem with the APA class is that it is not the one I would like
 to use. I would like to use the plain class with the APA
 bibliographic style.

 On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:
 Julio Rojas [EMAIL PROTECTED] writes:

 
  Hi, my tutor wants a bibliographic style similar to APAlike:
 
  cite[1], book[2]
 
  [1] Lastname, Name (year): Article Name, Journal Name
  [2] Lastname, Name (year): Book Name, Publisher, Address
 
  The problem is that when I try to use the apacite bibliographic
  style on a plain article, a group of Undefined control sequence
  errors appear, like the following:

 [snip]

  Any idea on how to solve this problem?
 

 Use the document class Article (APA) instead.

 Regards,
 Andreas








-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:


Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening  
and

working on a document with 40 pages was no problem (well scrolling up
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx
hangs itself at the first attempt. At the second it opened the  
document
but when I tried the pdf-preview I had to close Lyx after waiting  
for 3

minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on
windows  than on linux but I thought with OS X beeing close to  
linux it

would be as fast as with linux...
regards
robert


There seem to be two issues you're describing. One is the hang when  
opening a large document. Since that occurred only once (as you  
describe it), it's hard to know what the cause is. (I regularly open  
a 240-page document [without any figures] on my macbook, and it takes  
2 seconds.) Part of the issue may stem from your having LyX display  
the graphics; doing this requires that LyX convert the graphics one- 
by-one to a format it is able to display, and this may take a while.


The other issue -- taking a long time view a pdf of your document --  
is not an issue with LyX but rather with LaTeX: LyX hands off  
typesetting tasks to LaTeX, which then runs in the background. My 240- 
page document takes about 23 seconds to typeset (and that's with  
bibliography and index). Documents with graphics will naturally take  
longer, as the graphics may need to be converted into a proper format  
to produce the pdf. From what I can tell, typesetting in LaTeX on Mac  
is generally speedy.


There are some issues with speed on Mac, but these have to do with  
screen redraws when typing or navigating. Most of these have been  
overcome, and you shouldn't notice them with a macbook. (I do notice  
them on a 466 MHz iBook, but even then I wouldn't say it's a real  
problem.)


Bennett


Re: Bibliography problems

2007-04-11 Thread Julio Rojas

Thanks. If you mean using apalike (\usepackage{apalike}), with
apacite as the bibliographic style  in a document with plain
article style, LyX shows another list of errors, in pairs like the
following:

Undefined control sequence
\bibitem{Gil-Aluja1987}

You can't use '\relax' after \the
\bibitem{Gil-Aluja1987}

This may be what I'm looking for, but how can I solve these errors?

On 4/11/07, Richard Heck [EMAIL PROTECTED] wrote:


Have you tried using apalike? If you do, put \usepackage{apalike} in the
preamble.

Julio Rojas wrote:
 The problem with the APA class is that it is not the one I would like
 to use. I would like to use the plain class with the APA
 bibliographic style.

 On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:
 Julio Rojas [EMAIL PROTECTED] writes:

 
  Hi, my tutor wants a bibliographic style similar to APAlike:
 
  cite[1], book[2]
 
  [1] Lastname, Name (year): Article Name, Journal Name
  [2] Lastname, Name (year): Book Name, Publisher, Address
 
  The problem is that when I try to use the apacite bibliographic
  style on a plain article, a group of Undefined control sequence
  errors appear, like the following:

 [snip]

  Any idea on how to solve this problem?
 

 Use the document class Article (APA) instead.

 Regards,
 Andreas








--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Headings disappear when using Bembo

2007-04-11 Thread Juergen Spitzmueller
Johannes Knaus wrote:

 The strange thing is: If I put \slshape instead of \itshape in the
 second line, headings disappear. So maybe this was the problem (Does
 scrbook use \slshape for headings?).

Yes (if you use headings at least). You have the italic shape installed,
but Bembo (probably) does not feature a slanted shape (or you don't have
it). Your LaTeX Log file probably tells you that some shapes are missing.

 But if I change a normal word in the text in Lyx via the Textstyle  
 Menu, I can apply slanted to the word and this works nicely with  
 Bembo. I have also printed a word with italic applied next to a  
 word with slanted and they do not differ. Does Lyx use italics when  
 there is no slanted typeface available?

I think the font metric files fall back to italics if slanted is not
available (I don't have Bembo, but I see this with Minion). I have no idea
why this does not work within headings.

On the other hand: slanted shape is BAD anyway ;-) 
Stick with italics, if possible.

Jürgen



Re: Bibliography problems

2007-04-11 Thread Richard Heck

Sorry, if you want to use apacite as the bibstyle, try \usepackage{apacite}.

Julio Rojas wrote:
 Thanks. If you mean using apalike (\usepackage{apalike}), with
 apacite as the bibliographic style  in a document with plain
 article style, LyX shows another list of errors, in pairs like the
 following:

 Undefined control sequence
 \bibitem{Gil-Aluja1987}

 You can't use '\relax' after \the
 \bibitem{Gil-Aluja1987}

 This may be what I'm looking for, but how can I solve these errors?

 On 4/11/07, Richard Heck [EMAIL PROTECTED] wrote:

 Have you tried using apalike? If you do, put \usepackage{apalike} in the
 preamble.

 Julio Rojas wrote:
  The problem with the APA class is that it is not the one I would like
  to use. I would like to use the plain class with the APA
  bibliographic style.
 
  On 4/11/07, Andreas K. [EMAIL PROTECTED] wrote:
  Julio Rojas [EMAIL PROTECTED] writes:
 
  
   Hi, my tutor wants a bibliographic style similar to APAlike:
  
   cite[1], book[2]
  
   [1] Lastname, Name (year): Article Name, Journal Name
   [2] Lastname, Name (year): Book Name, Publisher, Address
  
   The problem is that when I try to use the apacite bibliographic
   style on a plain article, a group of Undefined control sequence
   errors appear, like the following:
 
  [snip]
 
   Any idea on how to solve this problem?
  
 
  Use the document class Article (APA) instead.
 
  Regards,
  Andreas
 
 
 
 
 
 


 -- 
 ==
 Richard G Heck, Jr
 Professor of Philosophy
 Brown University
 http://frege.brown.edu/heck/
 ==
 Get my public key from http://sks.keyserver.penguin.de
 Hash: 0x1DE91F1E66FFBDEC
 Learn how to sign your email using Thunderbird and GnuPG at:
 http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto






-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bob Lounsbury
On 4/11/07 7:31 AM, Bennett Helm [EMAIL PROTECTED] wrote:

 On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:
 
 Hello,
 I just installed lyx 144 sucessfully on a macbook core duo. Opening
 and
 working on a document with 40 pages was no problem (well scrolling up
 and down was a bit sluggish...)
 But when I opened a document with 290 pages and about 80 figures lyx
 hangs itself at the first attempt. At the second it opened the
 document
 but when I tried the pdf-preview I had to close Lyx after waiting
 for 3
 minutes with the fan running like a hair blower.
 Is this a known issue for the mac? I know that lyx is much slower on
 windows  than on linux but I thought with OS X beeing close to
 linux it
 would be as fast as with linux...
 regards
 robert
 
 There seem to be two issues you're describing. One is the hang when
 opening a large document. Since that occurred only once (as you
 describe it), it's hard to know what the cause is. (I regularly open
 a 240-page document [without any figures] on my macbook, and it takes
 2 seconds.) Part of the issue may stem from your having LyX display
 the graphics; doing this requires that LyX convert the graphics one-
 by-one to a format it is able to display, and this may take a while.
 
 The other issue -- taking a long time view a pdf of your document --
 is not an issue with LyX but rather with LaTeX: LyX hands off
 typesetting tasks to LaTeX, which then runs in the background. My 240-
 page document takes about 23 seconds to typeset (and that's with
 bibliography and index). Documents with graphics will naturally take
 longer, as the graphics may need to be converted into a proper format
 to produce the pdf. From what I can tell, typesetting in LaTeX on Mac
 is generally speedy.
 
 There are some issues with speed on Mac, but these have to do with
 screen redraws when typing or navigating. Most of these have been
 overcome, and you shouldn't notice them with a macbook. (I do notice
 them on a 466 MHz iBook, but even then I wouldn't say it's a real
 problem.)
 
 Bennett

Bennett,

You bring up a point I was planning to ask. I have also noticed a slowness
of screen redraws when typing or navigating on my 600Mhz iBook that was not
noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4. Specifically
when typing within figure floats and equations.

My question is: Is there a way to speed this up? i.e., turning off instant
preview, etc. or is it finally getting time to upgrade the old iBook.

Thanks,
Bob Lounsbury




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Robert Neumann
Thanks,
 Part of the issue may stem from your having LyX display
 the graphics; doing this requires that LyX convert the graphics one-
 by-one to a format it is able to display, and this may take a while.
ok, I will turn of the graphics preview, I dont really need it.

 The other issue -- taking a long time view a pdf of your document --
 is not an issue with LyX but rather with LaTeX: LyX hands off
 typesetting tasks to LaTeX, which then runs in the background. My 240-
 page document takes about 23 seconds to typeset (and that's with
I used the i-installer for LaTeX. Is there a difference between this LaTeX and
the MacTeX?
Regards Robert




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 12:40 PM, Robert Neumann wrote:


Thanks,
 Part of the issue may stem from your having LyX display

the graphics; doing this requires that LyX convert the graphics one-
by-one to a format it is able to display, and this may take a while.

ok, I will turn of the graphics preview, I dont really need it.


The other issue -- taking a long time view a pdf of your document --
is not an issue with LyX but rather with LaTeX: LyX hands off
typesetting tasks to LaTeX, which then runs in the background. My  
240-

page document takes about 23 seconds to typeset (and that's with
I used the i-installer for LaTeX. Is there a difference between  
this LaTeX and

the MacTeX?


Not that would explain an extreme slowdown. They're both (currently)  
based off of TeXLive and both have versions for Intel Macs.


Bennett


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 12:01 PM, Bob Lounsbury wrote:


Bennett,

You bring up a point I was planning to ask. I have also noticed a  
slowness
of screen redraws when typing or navigating on my 600Mhz iBook that  
was not
noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4.  
Specifically

when typing within figure floats and equations.

My question is: Is there a way to speed this up? i.e., turning off  
instant

preview, etc. or is it finally getting time to upgrade the old iBook.


It is the result of significant changes in how LyX 1.4.x works as  
opposed to 1.3.x. The problem is worse when typing in insets -- boxes  
of text that can be opened or closed, like ERT boxes, footnotes, LyX  
notes, etc.


Is there anything that can be done? ... Not really. Smaller window  
sizes may help, but that's not a tradeoff I'm willing to make.


You might try out the beta of LyX-1.5 and let us know how performance  
of that compares and whether it's acceptable. A now somewhat outdated  
universal version can be found here:


http://edisk.fandm.edu/bennett.helm/LyX/LyX-1.5.0svn-Mac-universal.zip

Bennett


Help with fancyhdr

2007-04-11 Thread LB

Hello

I have more of a latex question but I'm hoping that somebody would know the 
answer.


I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book 
class.


I'm writing a large document with a few chapters, sections and appendices. 
What I would like is to have a chapter name, section name or appendix name 
appear on the top of the page.
For example if the current page is from Chapter 1 Title of chapter 1 then 
on the top of the pages in this chapter I'd like to see 1 Title of chapter 
1. As soon the reader reaches Section 1.1 Title of section 1.1 the header 
would change to 1.1 Title of section 1.1
I'd like appendices to be handled like chapters. BTW to create appendix I 
have in ERT \appendix and then all subsequent chapters become appendices.


I found the following code:

\setlength{\headheight}{15pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{\chaptername
\ \thechapter.\ #1}{}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
\fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
\fancypagestyle{plain}{ %
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}}

which does put the section names in the header but it does not put chapter 
names nor appendix names in the header.  How can I modify this to include 
chapter names in the headers?


Thank you very much
Leo 





Re: Help with fancyhdr

2007-04-11 Thread Richard Heck
LB wrote:
 Hello

 I have more of a latex question but I'm hoping that somebody would
 know the answer.

 I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book
 class.

 I'm writing a large document with a few chapters, sections and
 appendices. What I would like is to have a chapter name, section name
 or appendix name appear on the top of the page.
 For example if the current page is from Chapter 1 Title of chapter 1
 then on the top of the pages in this chapter I'd like to see 1 Title
 of chapter 1. As soon the reader reaches Section 1.1 Title of
 section 1.1 the header would change to 1.1 Title of section 1.1
 I'd like appendices to be handled like chapters. BTW to create
 appendix I have in ERT \appendix and then all subsequent chapters
 become appendices.

 I found the following code:

 \setlength{\headheight}{15pt}
 \pagestyle{fancy}
 \renewcommand{\chaptermark}[1]{%
What follows marks only the left-hand (odd) pages, and does nothing if
you're using single-sided.
 \markboth{\chaptername
 \ \thechapter.\ #1}{}}
So you probably want either:*
*\markboth{\chaptername\ \thechapter.\ #1}{\chaptername\
\thechapter.\ #1}}
if you're doing double-sided, or:
\markright{\chaptername\ \thechapter.\ #1}
if you're not.

Richard
**
 \fancyhf{}
 \fancyhead[LE,RO]{\thepage}
 \fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
 \fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
 \fancypagestyle{plain}{ %
 \fancyhf{} % remove everything
 \renewcommand{\headrulewidth}{0pt} % remove lines as well
 \renewcommand{\footrulewidth}{0pt}}

 which does put the section names in the header but it does not put
 chapter names nor appendix names in the header.  How can I modify this
 to include chapter names in the headers?

 Thank you very much
 Leo



-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: how to insert a blank page

2007-04-11 Thread Ares

-- Messaggio inoltrato --
From: Lennart [EMAIL PROTECTED]

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


what about using two-sided document? do document -- settings and in
the Page Layout panel check the two-sided document box.

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Help with fancyhdr

2007-04-11 Thread LB

Thank you Richard. That worked well.

Leo




LB wrote:

Hello

I have more of a latex question but I'm hoping that somebody would
know the answer.

I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book
class.

I'm writing a large document with a few chapters, sections and
appendices. What I would like is to have a chapter name, section name
or appendix name appear on the top of the page.
For example if the current page is from Chapter 1 Title of chapter 1
then on the top of the pages in this chapter I'd like to see 1 Title
of chapter 1. As soon the reader reaches Section 1.1 Title of
section 1.1 the header would change to 1.1 Title of section 1.1
I'd like appendices to be handled like chapters. BTW to create
appendix I have in ERT \appendix and then all subsequent chapters
become appendices.

I found the following code:

\setlength{\headheight}{15pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%

What follows marks only the left-hand (odd) pages, and does nothing if
you're using single-sided.

\markboth{\chaptername
\ \thechapter.\ #1}{}}

So you probably want either:*
*\markboth{\chaptername\ \thechapter.\ #1}{\chaptername\
\thechapter.\ #1}}
if you're doing double-sided, or:
   \markright{\chaptername\ \thechapter.\ #1}
if you're not.

Richard
**

\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
\fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
\fancypagestyle{plain}{ %
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}}

which does put the section names in the header but it does not put
chapter names nor appendix names in the header.  How can I modify this
to include chapter names in the headers?

Thank you very much
Leo




--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto






Re: CV templates

2007-04-11 Thread Uwe Stöhr

Micha Feigin schrieb:


ftp://dante.ctan.org/tex-archive/macros/latex/contrib/ecv/template/CV-template_en.pdf


For your interest, the next LyX version 1.5.0 will have two new Curriculum vitae(CV)-templates and 
support for the moderncv and europecv CV-class.


regards Uwe



Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-11 Thread Enrico Forestieri
On Wed, Apr 11, 2007 at 01:46:26PM +0200, Andre Poenitz wrote:

 On Tue, Apr 10, 2007 at 03:08:12PM +, Enrico Forestieri wrote:
  Yu, James writes:
   Abdelrazak Younes wrote:
The solution is just to replace our handmade socket (or pipe) layer 
with a portable one.
   
It should not be very hard to implement even for a newcomer in the LyX 
project. If someone's interested, comesee us at the devel list 
   
Another solution for you James is to use Enrico's mixed windows/cygwin 
version. Could you confirm that it works Enrico?
  
  Yes, but if you want that functionality from a native Windows app you
  have to use a workaround. See below.
  
   If I was not wrong, it did not work in cygwin!
  
  It works if you use cygwin apps. Native windows apps know nothing about
  named pipes. However, there's a workaround. Windows provides file change
  notifications, so you can tell a native app to use a given file as the
  lyxpipe. Then you monitor such file with a small program, and when the app
  writes to the file you receive a notification. So you simply copy what was
  written to the file to the real lyxpipe using a cygwin program (a bash
  script, for example).
  
  I wrote such watcher utility by modifying the example provided at
  http://www.relisoft.com/win32/watcher.html
 
 There's QFileSystemWatcher.

That's for Qt 4.2 or higher, I think. I wonder how do they accomplish
that on *nix as, if I remember correctly, select() doesn't work on
plain files. Maybe they use something similar to fam on linux, but
on solaris, for example?

-- 
Enrico


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Andre Poenitz
On Wed, Apr 11, 2007 at 09:31:35AM -0400, Bennett Helm wrote:
 On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:
 
 Hello, I just installed lyx 144 sucessfully on a macbook core duo.
 Opening  and working on a document with 40 pages was no problem (well
 scrolling up and down was a bit sluggish...) But when I opened a
 document with 290 pages and about 80 figures lyx hangs itself at the
 first attempt. At the second it opened the  document but when I tried
 the pdf-preview I had to close Lyx after waiting  for 3 minutes with
 the fan running like a hair blower.  Is this a known issue for the
 mac? I know that lyx is much slower on windows  than on linux but I
 thought with OS X beeing close to  linux it would be as fast as with
 linux...  regards robert
 
 There seem to be two issues you're describing. One is the hang when
 opening a large document. Since that occurred only once (as you
 describe it), it's hard to know what the cause is.

Computing LaTeX fonts?

Andre'


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bob Lounsbury
On 4/11/07 11:05 AM, Bennett Helm [EMAIL PROTECTED] wrote:

 On Apr 11, 2007, at 12:01 PM, Bob Lounsbury wrote:
 
 Bennett,
 
 You bring up a point I was planning to ask. I have also noticed a
 slowness
 of screen redraws when typing or navigating on my 600Mhz iBook that
 was not
 noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4.
 Specifically
 when typing within figure floats and equations.
 
 My question is: Is there a way to speed this up? i.e., turning off
 instant
 preview, etc. or is it finally getting time to upgrade the old iBook.
 
 It is the result of significant changes in how LyX 1.4.x works as
 opposed to 1.3.x. The problem is worse when typing in insets -- boxes
 of text that can be opened or closed, like ERT boxes, footnotes, LyX
 notes, etc.
 
 Is there anything that can be done? ... Not really. Smaller window
 sizes may help, but that's not a tradeoff I'm willing to make.
 
 You might try out the beta of LyX-1.5 and let us know how performance
 of that compares and whether it's acceptable. A now somewhat outdated
 universal version can be found here:
 
 http://edisk.fandm.edu/bennett.helm/LyX/LyX-1.5.0svn-Mac-universal.zip
 
 Bennett


I actually have 1.5.0beta1 and 1.5.0svn and this slowness is identical to
1.4.4. Interestingly though there is no slowness issue with 1.5.0beta1
under Ubuntu Linux on the same machine.

Regards,
Bob Lounsbury




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 3:13 PM, Andre Poenitz wrote:


On Wed, Apr 11, 2007 at 09:31:35AM -0400, Bennett Helm wrote:

On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:


Hello, I just installed lyx 144 sucessfully on a macbook core duo.
Opening  and working on a document with 40 pages was no problem  
(well

scrolling up and down was a bit sluggish...) But when I opened a
document with 290 pages and about 80 figures lyx hangs itself at the
first attempt. At the second it opened the  document but when I  
tried

the pdf-preview I had to close Lyx after waiting  for 3 minutes with
the fan running like a hair blower.  Is this a known issue for the
mac? I know that lyx is much slower on windows  than on linux but I
thought with OS X beeing close to  linux it would be as fast as with
linux...  regards robert


There seem to be two issues you're describing. One is the hang when
opening a large document. Since that occurred only once (as you
describe it), it's hard to know what the cause is.


Computing LaTeX fonts?


Not when simply opening the document within LyX, of course. (Perhaps  
that's an explanation for the typesetting slowdown; if so, then it  
should happen only once and be much faster on subsequent runs.)


Bennett


Re: Is there any way to make JabRef push to LyX work in Windows XP?

2007-04-11 Thread Andre Poenitz
On Wed, Apr 11, 2007 at 09:07:31PM +0200, Enrico Forestieri wrote:
  There's QFileSystemWatcher.
 
 That's for Qt 4.2 or higher, I think. I wonder how do they accomplish
 that on *nix as, if I remember correctly, select() doesn't work on
 plain files. Maybe they use something similar to fam on linux, but
 on solaris, for example?

I don't know. Use the source, Luke ;-)

Andre'


Bibliography formatting

2007-04-11 Thread Lyx Physicist
Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui frontend
to create a bibtex file for my bibliography(the reason is I just started
using lyx/LaTex and know nothing about Bibtex).  Is there any way to
change the default citation method 
ex:  This is from my book[1]

to having the citation in superscript form?  I would like the 1 (or
whatever number the citation corresponds to) to be a superscript and
then have the numbering of entries in the bibliography be similar
so in the bib it would look like 
1. Me, Book from library, 1999
2. Blah, Blah 

instead of using 
[1] Me, Book from Library

Thanks, 
Charles



Re: Bibliography formatting

2007-04-11 Thread Brian Kidd

Charles,

This can be changed by adding two lines to your preamble. First, add  
the super option to the natbib package. Make sure to change your  
citation style to numerical under the Bibliography setting otherwise  
LyX will spit out the warning about having conflicting natbib  
definitions. Second, add the renewcommand for biblabel to give the  
number period format. Note that there are a number of other natbib  
options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
bibfont, bibsep) to play with. I think the natbib manual might have  
some examples. Otherwise you should be able to search on the web for  
some examples.


\usepackage[super]{natbib}
[EMAIL PROTECTED]

-Brian

On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:

Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
frontend
to create a bibtex file for my bibliography(the reason is I just  
started

using lyx/LaTex and know nothing about Bibtex).  Is there any way to
change the default citation method
ex:  This is from my book[1]

to having the citation in superscript form?  I would like the 1 (or
whatever number the citation corresponds to) to be a superscript and
then have the numbering of entries in the bibliography be similar
so in the bib it would look like
1. Me, Book from library, 1999
2. Blah, Blah

instead of using
[1] Me, Book from Library

Thanks,
Charles





Re: Bibliography formatting

2007-04-11 Thread Lyx Physicist
Hi Brian, 
  I tried to add those options to the preamble, and I get this error

 \renewcommand 
  [EMAIL PROTECTED] 
The package natbib has already been loaded with options:   [numbers]
There has now been an attempt to load it with options   [super] Adding
the global options:   numbers,super to your \documentclass declaration
may fix this. Try typing  return  to proceed.

So I tried to add that into the options of the documentclass(which is
report fyi) and still nothing...  Any ideas?
Charles



On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:
 Charles,
 
 This can be changed by adding two lines to your preamble. First, add  
 the super option to the natbib package. Make sure to change your  
 citation style to numerical under the Bibliography setting otherwise  
 LyX will spit out the warning about having conflicting natbib  
 definitions. Second, add the renewcommand for biblabel to give the  
 number period format. Note that there are a number of other natbib  
 options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
 bibfont, bibsep) to play with. I think the natbib manual might have  
 some examples. Otherwise you should be able to search on the web for  
 some examples.
 
 \usepackage[super]{natbib}
 [EMAIL PROTECTED]
 
 -Brian
 
 On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:
 
  Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
  frontend
  to create a bibtex file for my bibliography(the reason is I just  
  started
  using lyx/LaTex and know nothing about Bibtex).  Is there any way to
  change the default citation method
  ex:  This is from my book[1]
 
  to having the citation in superscript form?  I would like the 1 (or
  whatever number the citation corresponds to) to be a superscript and
  then have the numbering of entries in the bibliography be similar
  so in the bib it would look like
  1. Me, Book from library, 1999
  2. Blah, Blah
 
  instead of using
  [1] Me, Book from Library
 
  Thanks,
  Charles
 
 



Re: Bibliography formatting

2007-04-11 Thread Richard Heck

You need to uncheck Natbib altogether and choose Default (numerical).

Lyx Physicist wrote:
 Hi Brian, 
   I tried to add those options to the preamble, and I get this error

  \renewcommand 
   [EMAIL PROTECTED] 
 The package natbib has already been loaded with options:   [numbers]
 There has now been an attempt to load it with options   [super] Adding
 the global options:   numbers,super to your \documentclass declaration
 may fix this. Try typing  return  to proceed.

 So I tried to add that into the options of the documentclass(which is
 report fyi) and still nothing...  Any ideas?
 Charles



 On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:
   
 Charles,

 This can be changed by adding two lines to your preamble. First, add  
 the super option to the natbib package. Make sure to change your  
 citation style to numerical under the Bibliography setting otherwise  
 LyX will spit out the warning about having conflicting natbib  
 definitions. Second, add the renewcommand for biblabel to give the  
 number period format. Note that there are a number of other natbib  
 options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
 bibfont, bibsep) to play with. I think the natbib manual might have  
 some examples. Otherwise you should be able to search on the web for  
 some examples.

 \usepackage[super]{natbib}
 [EMAIL PROTECTED]

 -Brian

 On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:

 
 Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
 frontend
 to create a bibtex file for my bibliography(the reason is I just  
 started
 using lyx/LaTex and know nothing about Bibtex).  Is there any way to
 change the default citation method
 ex:  This is from my book[1]

 to having the citation in superscript form?  I would like the 1 (or
 whatever number the citation corresponds to) to be a superscript and
 then have the numbering of entries in the bibliography be similar
 so in the bib it would look like
 1. Me, Book from library, 1999
 2. Blah, Blah

 instead of using
 [1] Me, Book from Library

 Thanks,
 Charles

   

   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Bibliography formatting

2007-04-11 Thread Lyx Physicist
That did it, thanks!!




On Thu, 2007-04-12 at 00:16 -0400, Richard Heck wrote:
 You need to uncheck Natbib altogether and choose Default (numerical).
 
 Lyx Physicist wrote:
  Hi Brian, 
I tried to add those options to the preamble, and I get this error
 
   \renewcommand 
[EMAIL PROTECTED] 
  The package natbib has already been loaded with options:   [numbers]
  There has now been an attempt to load it with options   [super] Adding
  the global options:   numbers,super to your \documentclass declaration
  may fix this. Try typing  return  to proceed.
 
  So I tried to add that into the options of the documentclass(which is
  report fyi) and still nothing...  Any ideas?
  Charles
 
 
 
  On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:

  Charles,
 
  This can be changed by adding two lines to your preamble. First, add  
  the super option to the natbib package. Make sure to change your  
  citation style to numerical under the Bibliography setting otherwise  
  LyX will spit out the warning about having conflicting natbib  
  definitions. Second, add the renewcommand for biblabel to give the  
  number period format. Note that there are a number of other natbib  
  options (e.g. comma, sortcompress, etc.) and bib commands (e.g.  
  bibfont, bibsep) to play with. I think the natbib manual might have  
  some examples. Otherwise you should be able to search on the web for  
  some examples.
 
  \usepackage[super]{natbib}
  [EMAIL PROTECTED]
 
  -Brian
 
  On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:
 
  
  Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
  frontend
  to create a bibtex file for my bibliography(the reason is I just  
  started
  using lyx/LaTex and know nothing about Bibtex).  Is there any way to
  change the default citation method
  ex:  This is from my book[1]
 
  to having the citation in superscript form?  I would like the 1 (or
  whatever number the citation corresponds to) to be a superscript and
  then have the numbering of entries in the bibliography be similar
  so in the bib it would look like
  1. Me, Book from library, 1999
  2. Blah, Blah
 
  instead of using
  [1] Me, Book from Library
 
  Thanks,
  Charles
 

 

 
 



Page numbering and empty pages

2007-04-11 Thread Christian Richter

Hello,
I am writing a document with Lyx 1.4.3 using documentclass: book
(koma-script, double pages).

At the end of the document there is a list of figures, bibliography and glossar.

The problem is that for example the list of figures needs only one
page so that there is an empty page before the bibliography starts,
which I want to remove. How can I do this?
Also there is no page number on the first page of the list of figures.
There is only a page number on the second page, which is empty. How
can I put the page number on the first oage of the list of figures?

I think this problem is related to the style of the chapter, as it is
the same if a new chapter starts (a double page is cleared and there
is no page number on the first page of the new chapter).

Thanks for your help.

Christian


Decrease vertical space between subfigures

2007-04-11 Thread Bernhard Gollas
Is there a way of decreasing the vertical space between subfigures 
(above and below subfigurecaptions) in a float? I am using LyX 1.4.2.

--

Dr. Bernhard Gollas

Institute for Chemical Technology of Inorganic Materials

Graz University of Technology

Stremayrgasse 16/III

8010 Graz, Austria

phone:  +43 (0)316 873 8281

fax:   +43 (0)316 873 8272



Re: Headings disappear when using Bembo

2007-04-11 Thread Johannes Knaus

Hello again,

Well, italics, smallcaps and so on are installed.
I've tried some hacking of the preamble and this works now (the first  
to lines do the trick):


\setkomafont{pagehead}{%
\usekomafont{pagenumber}\itshape}
\usepackage{microtype, fixltx2e, mparhack}
\usepackage[bookmarksnumbered]{hyperref}
%\usepackage[bookmarks]{hyperref}
\usepackage{qtree}
\usepackage{arydshln}
%\usepackage{colortbl}% does not work together with arydshln
\usepackage{xcolor}
\usepackage{pifont}
\usepackage{covington}
%\usepackage{mathptmx}% a better Times
\usepackage{bembo}
\usepackage[scaled]{bfrutiger}

The strange thing is: If I put \slshape instead of \itshape in the  
second line, headings disappear. So maybe this was the problem (Does  
scrbook use \slshape for headings?).
But if I change a normal word in the text in Lyx via the Textstyle  
Menu, I can apply "slanted" to the word and this works nicely with  
Bembo. I have also printed a word with "italic" applied next to a  
word with "slanted" and they do not differ. Does Lyx use italics when  
there is no slanted typeface available? An why doesn't Lyx do this  
also for the headings?


Anyway, it works now, thanks to Jürgen for putting me on the right  
track.


Johannes



Am 09.04.2007 um 09:54 schrieb Jürgen Spitzmüller:


Johannes Knaus wrote:

When I use Times (or any other font) everything's fine and I get
headings at the top of each page.
But when I switch to Bembo all headings have disappeared.


Just a guess: are the headings in a shape that is not installed  
with Bembo

(e.g. italic)?

Jürgen




Re: Bibliography problems

2007-04-11 Thread Andreas K .
Julio Rojas <[EMAIL PROTECTED]> writes:

> 
> Hi, my tutor wants a bibliographic style similar to APAlike:
> 
> cite[1], book[2]
> 
> [1] Lastname, Name (year): Article Name, Journal Name
> [2] Lastname, Name (year): Book Name, Publisher, Address
> 
> The problem is that when I try to use the "apacite" bibliographic
> style on a "plain" article, a group of "Undefined control sequence"
> errors appear, like the following:
 
[snip]
 
> Any idea on how to solve this problem?
> 

Use the document class Article (APA) instead.

Regards,
Andreas





Re: Bibliography problems

2007-04-11 Thread Julio Rojas

The problem with the APA class is that it is not the one I would like
to use. I would like to use the "plain" class with the "APA"
bibliographic style.

On 4/11/07, Andreas K. <[EMAIL PROTECTED]> wrote:

Julio Rojas <[EMAIL PROTECTED]> writes:

>
> Hi, my tutor wants a bibliographic style similar to APAlike:
>
> cite[1], book[2]
>
> [1] Lastname, Name (year): Article Name, Journal Name
> [2] Lastname, Name (year): Book Name, Publisher, Address
>
> The problem is that when I try to use the "apacite" bibliographic
> style on a "plain" article, a group of "Undefined control sequence"
> errors appear, like the following:

[snip]

> Any idea on how to solve this problem?
>

Use the document class Article (APA) instead.

Regards,
Andreas







--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Is there any way to make "JabRef push to LyX" work in Windows XP?

2007-04-11 Thread Andre Poenitz
On Tue, Apr 10, 2007 at 03:08:12PM +, Enrico Forestieri wrote:
> Yu, James writes:
> > Abdelrazak Younes wrote:
> > > The solution is "just" to replace our handmade socket (or pipe) layer 
> > > with a portable one.
> > >
> > > It should not be very hard to implement even for a newcomer in the LyX 
> > > project. If someone's interested, come us at the devel list 
> > >
> > > Another solution for you James is to use Enrico's mixed windows/cygwin 
> > > version. Could you confirm that it works Enrico?
> 
> Yes, but if you want that functionality from a native Windows app you
> have to use a workaround. See below.
> 
> > If I was not wrong, it did not work in cygwin!
> 
> It works if you use cygwin apps. Native windows apps know nothing about
> named pipes. However, there's a workaround. Windows provides file change
> notifications, so you can tell a native app to use a given file as the
> lyxpipe. Then you monitor such file with a small program, and when the app
> writes to the file you receive a notification. So you simply copy what was
> written to the file to the real lyxpipe using a cygwin program (a bash
> script, for example).
> 
> I wrote such "watcher" utility by modifying the example provided at
> http://www.relisoft.com/win32/watcher.html

There's QFileSystemWatcher.

Andre'


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Pieter Bos


- Original Message - 
From: "Bob Lounsbury" <[EMAIL PROTECTED]>

To: "Robert Neumann" <[EMAIL PROTECTED]>; "LyX" 
Sent: Tuesday, April 10, 2007 10:43 PM
Subject: Re: Lyx 144 on Intel Mac: problems with large documents



On 4/10/07 2:28 PM, "Robert Neumann" <[EMAIL PROTECTED]> wrote:


Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening and
working on a document with 40 pages was no problem (well scrolling up
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx
hangs itself at the first attempt. At the second it opened the document
but when I tried the pdf-preview I had to close Lyx after waiting for 3
minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on
windows  than on linux but I thought with OS X beeing close to linux it
would be as fast as with linux...
regards
robert


I have LyX 1.4.4 on a 600Mhz iBook and I can open and view a pdf of a 25
page document with 11 figures in roughly 30 seconds.


On windows on an athlon64 2800+ here creating a pdf from a 91 page document 
with 20 figures (of which most contain subfigures) in about 40 seconds 
(pdflatex, ps or dvi is longer). So with that many figures and pages, at 
least on windows three minutes sounds like a correct number.


Pieter 



Re: Bibliography problems

2007-04-11 Thread Richard Heck

Have you tried using apalike? If you do, put \usepackage{apalike} in the
preamble.

Julio Rojas wrote:
> The problem with the APA class is that it is not the one I would like
> to use. I would like to use the "plain" class with the "APA"
> bibliographic style.
>
> On 4/11/07, Andreas K. <[EMAIL PROTECTED]> wrote:
>> Julio Rojas <[EMAIL PROTECTED]> writes:
>>
>> >
>> > Hi, my tutor wants a bibliographic style similar to APAlike:
>> >
>> > cite[1], book[2]
>> >
>> > [1] Lastname, Name (year): Article Name, Journal Name
>> > [2] Lastname, Name (year): Book Name, Publisher, Address
>> >
>> > The problem is that when I try to use the "apacite" bibliographic
>> > style on a "plain" article, a group of "Undefined control sequence"
>> > errors appear, like the following:
>>
>> [snip]
>>
>> > Any idea on how to solve this problem?
>> >
>>
>> Use the document class Article (APA) instead.
>>
>> Regards,
>> Andreas
>>
>>
>>
>>
>
>


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:


Hello,
I just installed lyx 144 sucessfully on a macbook core duo. Opening  
and

working on a document with 40 pages was no problem (well scrolling up
and down was a bit sluggish...)
But when I opened a document with 290 pages and about 80 figures lyx
hangs itself at the first attempt. At the second it opened the  
document
but when I tried the pdf-preview I had to close Lyx after waiting  
for 3

minutes with the fan running like a hair blower.
Is this a known issue for the mac? I know that lyx is much slower on
windows  than on linux but I thought with OS X beeing close to  
linux it

would be as fast as with linux...
regards
robert


There seem to be two issues you're describing. One is the "hang" when  
opening a large document. Since that occurred only once (as you  
describe it), it's hard to know what the cause is. (I regularly open  
a 240-page document [without any figures] on my macbook, and it takes  
2 seconds.) Part of the issue may stem from your having LyX display  
the graphics; doing this requires that LyX convert the graphics one- 
by-one to a format it is able to display, and this may take a while.


The other issue -- taking a long time view a pdf of your document --  
is not an issue with LyX but rather with LaTeX: LyX hands off  
typesetting tasks to LaTeX, which then runs in the background. My 240- 
page document takes about 23 seconds to typeset (and that's with  
bibliography and index). Documents with graphics will naturally take  
longer, as the graphics may need to be converted into a proper format  
to produce the pdf. From what I can tell, typesetting in LaTeX on Mac  
is generally speedy.


There are some issues with speed on Mac, but these have to do with  
screen redraws when typing or navigating. Most of these have been  
overcome, and you shouldn't notice them with a macbook. (I do notice  
them on a 466 MHz iBook, but even then I wouldn't say it's a real  
problem.)


Bennett


Re: Bibliography problems

2007-04-11 Thread Julio Rojas

Thanks. If you mean using apalike (\usepackage{apalike}), with
"apacite" as the bibliographic style  in a document with "plain"
article style, LyX shows another list of errors, in pairs like the
following:

Undefined control sequence
\bibitem{Gil-Aluja1987}

You can't use '\relax' after \the
\bibitem{Gil-Aluja1987}

This may be what I'm looking for, but how can I solve these errors?

On 4/11/07, Richard Heck <[EMAIL PROTECTED]> wrote:


Have you tried using apalike? If you do, put \usepackage{apalike} in the
preamble.

Julio Rojas wrote:
> The problem with the APA class is that it is not the one I would like
> to use. I would like to use the "plain" class with the "APA"
> bibliographic style.
>
> On 4/11/07, Andreas K. <[EMAIL PROTECTED]> wrote:
>> Julio Rojas <[EMAIL PROTECTED]> writes:
>>
>> >
>> > Hi, my tutor wants a bibliographic style similar to APAlike:
>> >
>> > cite[1], book[2]
>> >
>> > [1] Lastname, Name (year): Article Name, Journal Name
>> > [2] Lastname, Name (year): Book Name, Publisher, Address
>> >
>> > The problem is that when I try to use the "apacite" bibliographic
>> > style on a "plain" article, a group of "Undefined control sequence"
>> > errors appear, like the following:
>>
>> [snip]
>>
>> > Any idea on how to solve this problem?
>> >
>>
>> Use the document class Article (APA) instead.
>>
>> Regards,
>> Andreas
>>
>>
>>
>>
>
>


--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto





--
-
Julio Rojas
[EMAIL PROTECTED]


Re: Headings disappear when using Bembo

2007-04-11 Thread Juergen Spitzmueller
Johannes Knaus wrote:

> The strange thing is: If I put \slshape instead of \itshape in the
> second line, headings disappear. So maybe this was the problem (Does
> scrbook use \slshape for headings?).

Yes (if you use "headings" at least). You have the italic shape installed,
but Bembo (probably) does not feature a slanted shape (or you don't have
it). Your LaTeX Log file probably tells you that some shapes are missing.

> But if I change a normal word in the text in Lyx via the Textstyle  
> Menu, I can apply "slanted" to the word and this works nicely with  
> Bembo. I have also printed a word with "italic" applied next to a  
> word with "slanted" and they do not differ. Does Lyx use italics when  
> there is no slanted typeface available?

I think the font metric files fall back to italics if slanted is not
available (I don't have Bembo, but I see this with Minion). I have no idea
why this does not work within headings.

On the other hand: slanted shape is BAD anyway ;-) 
Stick with italics, if possible.

Jürgen



Re: Bibliography problems

2007-04-11 Thread Richard Heck

Sorry, if you want to use apacite as the bibstyle, try \usepackage{apacite}.

Julio Rojas wrote:
> Thanks. If you mean using apalike (\usepackage{apalike}), with
> "apacite" as the bibliographic style  in a document with "plain"
> article style, LyX shows another list of errors, in pairs like the
> following:
>
> Undefined control sequence
> \bibitem{Gil-Aluja1987}
>
> You can't use '\relax' after \the
> \bibitem{Gil-Aluja1987}
>
> This may be what I'm looking for, but how can I solve these errors?
>
> On 4/11/07, Richard Heck <[EMAIL PROTECTED]> wrote:
>>
>> Have you tried using apalike? If you do, put \usepackage{apalike} in the
>> preamble.
>>
>> Julio Rojas wrote:
>> > The problem with the APA class is that it is not the one I would like
>> > to use. I would like to use the "plain" class with the "APA"
>> > bibliographic style.
>> >
>> > On 4/11/07, Andreas K. <[EMAIL PROTECTED]> wrote:
>> >> Julio Rojas <[EMAIL PROTECTED]> writes:
>> >>
>> >> >
>> >> > Hi, my tutor wants a bibliographic style similar to APAlike:
>> >> >
>> >> > cite[1], book[2]
>> >> >
>> >> > [1] Lastname, Name (year): Article Name, Journal Name
>> >> > [2] Lastname, Name (year): Book Name, Publisher, Address
>> >> >
>> >> > The problem is that when I try to use the "apacite" bibliographic
>> >> > style on a "plain" article, a group of "Undefined control sequence"
>> >> > errors appear, like the following:
>> >>
>> >> [snip]
>> >>
>> >> > Any idea on how to solve this problem?
>> >> >
>> >>
>> >> Use the document class Article (APA) instead.
>> >>
>> >> Regards,
>> >> Andreas
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>> -- 
>> ==
>> Richard G Heck, Jr
>> Professor of Philosophy
>> Brown University
>> http://frege.brown.edu/heck/
>> ==
>> Get my public key from http://sks.keyserver.penguin.de
>> Hash: 0x1DE91F1E66FFBDEC
>> Learn how to sign your email using Thunderbird and GnuPG at:
>> http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto
>>
>>
>
>


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bob Lounsbury
On 4/11/07 7:31 AM, "Bennett Helm" <[EMAIL PROTECTED]> wrote:

> On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:
> 
>> Hello,
>> I just installed lyx 144 sucessfully on a macbook core duo. Opening
>> and
>> working on a document with 40 pages was no problem (well scrolling up
>> and down was a bit sluggish...)
>> But when I opened a document with 290 pages and about 80 figures lyx
>> hangs itself at the first attempt. At the second it opened the
>> document
>> but when I tried the pdf-preview I had to close Lyx after waiting
>> for 3
>> minutes with the fan running like a hair blower.
>> Is this a known issue for the mac? I know that lyx is much slower on
>> windows  than on linux but I thought with OS X beeing close to
>> linux it
>> would be as fast as with linux...
>> regards
>> robert
> 
> There seem to be two issues you're describing. One is the "hang" when
> opening a large document. Since that occurred only once (as you
> describe it), it's hard to know what the cause is. (I regularly open
> a 240-page document [without any figures] on my macbook, and it takes
> 2 seconds.) Part of the issue may stem from your having LyX display
> the graphics; doing this requires that LyX convert the graphics one-
> by-one to a format it is able to display, and this may take a while.
> 
> The other issue -- taking a long time view a pdf of your document --
> is not an issue with LyX but rather with LaTeX: LyX hands off
> typesetting tasks to LaTeX, which then runs in the background. My 240-
> page document takes about 23 seconds to typeset (and that's with
> bibliography and index). Documents with graphics will naturally take
> longer, as the graphics may need to be converted into a proper format
> to produce the pdf. From what I can tell, typesetting in LaTeX on Mac
> is generally speedy.
> 
> There are some issues with speed on Mac, but these have to do with
> screen redraws when typing or navigating. Most of these have been
> overcome, and you shouldn't notice them with a macbook. (I do notice
> them on a 466 MHz iBook, but even then I wouldn't say it's a real
> problem.)
> 
> Bennett

Bennett,

You bring up a point I was planning to ask. I have also noticed a slowness
of screen redraws when typing or navigating on my 600Mhz iBook that was not
noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4. Specifically
when typing within figure floats and equations.

My question is: Is there a way to speed this up? i.e., turning off instant
preview, etc. or is it finally getting time to upgrade the old iBook.

Thanks,
Bob Lounsbury




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Robert Neumann
Thanks,
 Part of the issue may stem from your having LyX display
> the graphics; doing this requires that LyX convert the graphics one-
> by-one to a format it is able to display, and this may take a while.
ok, I will turn of the graphics preview, I dont really need it.

> The other issue -- taking a long time view a pdf of your document --
> is not an issue with LyX but rather with LaTeX: LyX hands off
> typesetting tasks to LaTeX, which then runs in the background. My 240-
> page document takes about 23 seconds to typeset (and that's with
I used the i-installer for LaTeX. Is there a difference between this LaTeX and
the MacTeX?
Regards Robert




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 12:40 PM, Robert Neumann wrote:


Thanks,
 Part of the issue may stem from your having LyX display

the graphics; doing this requires that LyX convert the graphics one-
by-one to a format it is able to display, and this may take a while.

ok, I will turn of the graphics preview, I dont really need it.


The other issue -- taking a long time view a pdf of your document --
is not an issue with LyX but rather with LaTeX: LyX hands off
typesetting tasks to LaTeX, which then runs in the background. My  
240-

page document takes about 23 seconds to typeset (and that's with
I used the i-installer for LaTeX. Is there a difference between  
this LaTeX and

the MacTeX?


Not that would explain an extreme slowdown. They're both (currently)  
based off of TeXLive and both have versions for Intel Macs.


Bennett


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 12:01 PM, Bob Lounsbury wrote:


Bennett,

You bring up a point I was planning to ask. I have also noticed a  
slowness
of screen redraws when typing or navigating on my 600Mhz iBook that  
was not
noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4.  
Specifically

when typing within figure floats and equations.

My question is: Is there a way to speed this up? i.e., turning off  
instant

preview, etc. or is it finally getting time to upgrade the old iBook.


It is the result of significant changes in how LyX 1.4.x works as  
opposed to 1.3.x. The problem is worse when typing in insets -- boxes  
of text that can be opened or closed, like ERT boxes, footnotes, LyX  
notes, etc.


Is there anything that can be done? ... Not really. Smaller window  
sizes may help, but that's not a tradeoff I'm willing to make.


You might try out the beta of LyX-1.5 and let us know how performance  
of that compares and whether it's acceptable. A now somewhat outdated  
universal version can be found here:




Bennett


Help with fancyhdr

2007-04-11 Thread LB

Hello

I have more of a latex question but I'm hoping that somebody would know the 
answer.


I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book 
class.


I'm writing a large document with a few chapters, sections and appendices. 
What I would like is to have a chapter name, section name or appendix name 
appear on the top of the page.
For example if the current page is from "Chapter 1 Title of chapter 1" then 
on the top of the pages in this chapter I'd like to see "1 Title of chapter 
1". As soon the reader reaches "Section 1.1 Title of section 1.1" the header 
would change to "1.1 Title of section 1.1"
I'd like appendices to be handled like chapters. BTW to create appendix I 
have in ERT \appendix and then all subsequent chapters become appendices.


I found the following code:

\setlength{\headheight}{15pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%
\markboth{\chaptername
\ \thechapter.\ #1}{}}
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
\fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
\fancypagestyle{plain}{ %
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}}

which does put the section names in the header but it does not put chapter 
names nor appendix names in the header.  How can I modify this to include 
chapter names in the headers?


Thank you very much
Leo 





Re: Help with fancyhdr

2007-04-11 Thread Richard Heck
LB wrote:
> Hello
>
> I have more of a latex question but I'm hoping that somebody would
> know the answer.
>
> I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book
> class.
>
> I'm writing a large document with a few chapters, sections and
> appendices. What I would like is to have a chapter name, section name
> or appendix name appear on the top of the page.
> For example if the current page is from "Chapter 1 Title of chapter 1"
> then on the top of the pages in this chapter I'd like to see "1 Title
> of chapter 1". As soon the reader reaches "Section 1.1 Title of
> section 1.1" the header would change to "1.1 Title of section 1.1"
> I'd like appendices to be handled like chapters. BTW to create
> appendix I have in ERT \appendix and then all subsequent chapters
> become appendices.
>
> I found the following code:
>
> \setlength{\headheight}{15pt}
> \pagestyle{fancy}
> \renewcommand{\chaptermark}[1]{%
What follows marks only the left-hand (odd) pages, and does nothing if
you're using single-sided.
> \markboth{\chaptername
> \ \thechapter.\ #1}{}}
So you probably want either:*
*\markboth{\chaptername\ \thechapter.\ #1}{\chaptername\
\thechapter.\ #1}}
if you're doing double-sided, or:
\markright{\chaptername\ \thechapter.\ #1}
if you're not.

Richard
**
> \fancyhf{}
> \fancyhead[LE,RO]{\thepage}
> \fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
> \fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
> \fancypagestyle{plain}{ %
> \fancyhf{} % remove everything
> \renewcommand{\headrulewidth}{0pt} % remove lines as well
> \renewcommand{\footrulewidth}{0pt}}
>
> which does put the section names in the header but it does not put
> chapter names nor appendix names in the header.  How can I modify this
> to include chapter names in the headers?
>
> Thank you very much
> Leo
>


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: how to insert a blank page

2007-04-11 Thread Ares

-- Messaggio inoltrato --
From: Lennart <[EMAIL PROTECTED]>

I have a document written in the book class. I want a white blank page after
the title page. So that the table of contents isn't printed on the back of the
title page when I print it double sided.  I know it's against the lyx
philosofy and I know how to fix it outside lyx. But I think it could be also
done in lyx. I have tried \newpage \cleardoublepage pagebreak..nothing works.
How do I insert a blank page?


what about using two-sided document? do document --> settings and in
the Page Layout panel check the two-sided document box.

--
Diego
http://www.ares001.altervista.org/

|   __o| It is easier
|  _`\(,_  |  to get forgiveness
| (_)/ (_) |  than permission


Re: Help with fancyhdr

2007-04-11 Thread LB

Thank you Richard. That worked well.

Leo




LB wrote:

Hello

I have more of a latex question but I'm hoping that somebody would
know the answer.

I'm using Lyx 1.4.3 on Windows XP. The document I'm writing is in Book
class.

I'm writing a large document with a few chapters, sections and
appendices. What I would like is to have a chapter name, section name
or appendix name appear on the top of the page.
For example if the current page is from "Chapter 1 Title of chapter 1"
then on the top of the pages in this chapter I'd like to see "1 Title
of chapter 1". As soon the reader reaches "Section 1.1 Title of
section 1.1" the header would change to "1.1 Title of section 1.1"
I'd like appendices to be handled like chapters. BTW to create
appendix I have in ERT \appendix and then all subsequent chapters
become appendices.

I found the following code:

\setlength{\headheight}{15pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{%

What follows marks only the left-hand (odd) pages, and does nothing if
you're using single-sided.

\markboth{\chaptername
\ \thechapter.\ #1}{}}

So you probably want either:*
*\markboth{\chaptername\ \thechapter.\ #1}{\chaptername\
\thechapter.\ #1}}
if you're doing double-sided, or:
   \markright{\chaptername\ \thechapter.\ #1}
if you're not.

Richard
**

\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{\nouppercase{\leftmark}}}
\fancyhead[LO]{\textit{\nouppercase{\rightmark}}}
\fancypagestyle{plain}{ %
\fancyhf{} % remove everything
\renewcommand{\headrulewidth}{0pt} % remove lines as well
\renewcommand{\footrulewidth}{0pt}}

which does put the section names in the header but it does not put
chapter names nor appendix names in the header.  How can I modify this
to include chapter names in the headers?

Thank you very much
Leo




--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto






Re: CV templates

2007-04-11 Thread Uwe Stöhr

Micha Feigin schrieb:


ftp://dante.ctan.org/tex-archive/macros/latex/contrib/ecv/template/CV-template_en.pdf


For your interest, the next LyX version 1.5.0 will have two new Curriculum vitae(CV)-templates and 
support for the "moderncv" and "europecv" CV-class.


regards Uwe



Re: Is there any way to make "JabRef push to LyX" work in Windows XP?

2007-04-11 Thread Enrico Forestieri
On Wed, Apr 11, 2007 at 01:46:26PM +0200, Andre Poenitz wrote:

> On Tue, Apr 10, 2007 at 03:08:12PM +, Enrico Forestieri wrote:
> > Yu, James writes:
> > > Abdelrazak Younes wrote:
> > > > The solution is "just" to replace our handmade socket (or pipe) layer 
> > > > with a portable one.
> > > >
> > > > It should not be very hard to implement even for a newcomer in the LyX 
> > > > project. If someone's interested, come us at the devel list 
> > > >
> > > > Another solution for you James is to use Enrico's mixed windows/cygwin 
> > > > version. Could you confirm that it works Enrico?
> > 
> > Yes, but if you want that functionality from a native Windows app you
> > have to use a workaround. See below.
> > 
> > > If I was not wrong, it did not work in cygwin!
> > 
> > It works if you use cygwin apps. Native windows apps know nothing about
> > named pipes. However, there's a workaround. Windows provides file change
> > notifications, so you can tell a native app to use a given file as the
> > lyxpipe. Then you monitor such file with a small program, and when the app
> > writes to the file you receive a notification. So you simply copy what was
> > written to the file to the real lyxpipe using a cygwin program (a bash
> > script, for example).
> > 
> > I wrote such "watcher" utility by modifying the example provided at
> > http://www.relisoft.com/win32/watcher.html
> 
> There's QFileSystemWatcher.

That's for Qt 4.2 or higher, I think. I wonder how do they accomplish
that on *nix as, if I remember correctly, select() doesn't work on
plain files. Maybe they use something similar to fam on linux, but
on solaris, for example?

-- 
Enrico


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Andre Poenitz
On Wed, Apr 11, 2007 at 09:31:35AM -0400, Bennett Helm wrote:
> On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:
> 
> >Hello, I just installed lyx 144 sucessfully on a macbook core duo.
> >Opening  and working on a document with 40 pages was no problem (well
> >scrolling up and down was a bit sluggish...) But when I opened a
> >document with 290 pages and about 80 figures lyx hangs itself at the
> >first attempt. At the second it opened the  document but when I tried
> >the pdf-preview I had to close Lyx after waiting  for 3 minutes with
> >the fan running like a hair blower.  Is this a known issue for the
> >mac? I know that lyx is much slower on windows  than on linux but I
> >thought with OS X beeing close to  linux it would be as fast as with
> >linux...  regards robert
> 
> There seem to be two issues you're describing. One is the "hang" when
> opening a large document. Since that occurred only once (as you
> describe it), it's hard to know what the cause is.

Computing LaTeX fonts?

Andre'


Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bob Lounsbury
On 4/11/07 11:05 AM, "Bennett Helm" <[EMAIL PROTECTED]> wrote:

> On Apr 11, 2007, at 12:01 PM, Bob Lounsbury wrote:
> 
>> Bennett,
>> 
>> You bring up a point I was planning to ask. I have also noticed a
>> slowness
>> of screen redraws when typing or navigating on my 600Mhz iBook that
>> was not
>> noticeable with LyX 1.3.7 but is noticeable with LyX 1.4.4.
>> Specifically
>> when typing within figure floats and equations.
>> 
>> My question is: Is there a way to speed this up? i.e., turning off
>> instant
>> preview, etc. or is it finally getting time to upgrade the old iBook.
> 
> It is the result of significant changes in how LyX 1.4.x works as
> opposed to 1.3.x. The problem is worse when typing in insets -- boxes
> of text that can be opened or closed, like ERT boxes, footnotes, LyX
> notes, etc.
> 
> Is there anything that can be done? ... Not really. Smaller window
> sizes may help, but that's not a tradeoff I'm willing to make.
> 
> You might try out the beta of LyX-1.5 and let us know how performance
> of that compares and whether it's acceptable. A now somewhat outdated
> universal version can be found here:
> 
> 
> 
> Bennett


I actually have 1.5.0beta1 and 1.5.0svn and this "slowness" is identical to
1.4.4. Interestingly though there is no "slowness" issue with 1.5.0beta1
under Ubuntu Linux on the same machine.

Regards,
Bob Lounsbury




Re: Lyx 144 on Intel Mac: problems with large documents

2007-04-11 Thread Bennett Helm

On Apr 11, 2007, at 3:13 PM, Andre Poenitz wrote:


On Wed, Apr 11, 2007 at 09:31:35AM -0400, Bennett Helm wrote:

On Apr 10, 2007, at 4:28 PM, Robert Neumann wrote:


Hello, I just installed lyx 144 sucessfully on a macbook core duo.
Opening  and working on a document with 40 pages was no problem  
(well

scrolling up and down was a bit sluggish...) But when I opened a
document with 290 pages and about 80 figures lyx hangs itself at the
first attempt. At the second it opened the  document but when I  
tried

the pdf-preview I had to close Lyx after waiting  for 3 minutes with
the fan running like a hair blower.  Is this a known issue for the
mac? I know that lyx is much slower on windows  than on linux but I
thought with OS X beeing close to  linux it would be as fast as with
linux...  regards robert


There seem to be two issues you're describing. One is the "hang" when
opening a large document. Since that occurred only once (as you
describe it), it's hard to know what the cause is.


Computing LaTeX fonts?


Not when simply opening the document within LyX, of course. (Perhaps  
that's an explanation for the typesetting slowdown; if so, then it  
should happen only once and be much faster on subsequent runs.)


Bennett


Re: Is there any way to make "JabRef push to LyX" work in Windows XP?

2007-04-11 Thread Andre Poenitz
On Wed, Apr 11, 2007 at 09:07:31PM +0200, Enrico Forestieri wrote:
> > There's QFileSystemWatcher.
> 
> That's for Qt 4.2 or higher, I think. I wonder how do they accomplish
> that on *nix as, if I remember correctly, select() doesn't work on
> plain files. Maybe they use something similar to fam on linux, but
> on solaris, for example?

I don't know. Use the source, Luke ;-)

Andre'


Bibliography formatting

2007-04-11 Thread Lyx Physicist
Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui frontend
to create a bibtex file for my bibliography(the reason is I just started
using lyx/LaTex and know nothing about Bibtex).  Is there any way to
change the default citation method 
ex:  This is from my book[1]

to having the citation in superscript form?  I would like the "1" (or
whatever number the citation corresponds to) to be a superscript and
then have the numbering of entries in the bibliography be similar
so in the bib it would look like 
1. Me, Book from library, 1999
2. Blah, Blah 

instead of using 
[1] Me, Book from Library

Thanks, 
Charles



Re: Bibliography formatting

2007-04-11 Thread Brian Kidd

Charles,

This can be changed by adding two lines to your preamble. First, add  
the "super" option to the natbib package. Make sure to change your  
citation style to numerical under the Bibliography setting otherwise  
LyX will spit out the warning about having conflicting natbib  
definitions. Second, add the renewcommand for biblabel to give the  
number period format. Note that there are a number of other natbib  
options (e.g. comma, sort, etc.) and bib commands (e.g.  
bibfont, bibsep) to play with. I think the natbib manual might have  
some examples. Otherwise you should be able to search on the web for  
some examples.


\usepackage[super]{natbib}
[EMAIL PROTECTED]

-Brian

On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:

Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
frontend
to create a bibtex file for my bibliography(the reason is I just  
started

using lyx/LaTex and know nothing about Bibtex).  Is there any way to
change the default citation method
ex:  This is from my book[1]

to having the citation in superscript form?  I would like the "1" (or
whatever number the citation corresponds to) to be a superscript and
then have the numbering of entries in the bibliography be similar
so in the bib it would look like
1. Me, Book from library, 1999
2. Blah, Blah

instead of using
[1] Me, Book from Library

Thanks,
Charles





Re: Bibliography formatting

2007-04-11 Thread Lyx Physicist
Hi Brian, 
  I tried to add those options to the preamble, and I get this error

 \renewcommand 
  [EMAIL PROTECTED] 
The package natbib has already been loaded with options:   [numbers]
There has now been an attempt to load it with options   [super] Adding
the global options:   numbers,super to your \documentclass declaration
may fix this. Try typingto proceed.

So I tried to add that into the options of the documentclass(which is
report fyi) and still nothing...  Any ideas?
Charles



On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:
> Charles,
> 
> This can be changed by adding two lines to your preamble. First, add  
> the "super" option to the natbib package. Make sure to change your  
> citation style to numerical under the Bibliography setting otherwise  
> LyX will spit out the warning about having conflicting natbib  
> definitions. Second, add the renewcommand for biblabel to give the  
> number period format. Note that there are a number of other natbib  
> options (e.g. comma, sort, etc.) and bib commands (e.g.  
> bibfont, bibsep) to play with. I think the natbib manual might have  
> some examples. Otherwise you should be able to search on the web for  
> some examples.
> 
> \usepackage[super]{natbib}
> [EMAIL PROTECTED]
> 
> -Brian
> 
> On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:
> 
> > Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
> > frontend
> > to create a bibtex file for my bibliography(the reason is I just  
> > started
> > using lyx/LaTex and know nothing about Bibtex).  Is there any way to
> > change the default citation method
> > ex:  This is from my book[1]
> >
> > to having the citation in superscript form?  I would like the "1" (or
> > whatever number the citation corresponds to) to be a superscript and
> > then have the numbering of entries in the bibliography be similar
> > so in the bib it would look like
> > 1. Me, Book from library, 1999
> > 2. Blah, Blah
> >
> > instead of using
> > [1] Me, Book from Library
> >
> > Thanks,
> > Charles
> >
> 



Re: Bibliography formatting

2007-04-11 Thread Richard Heck

You need to uncheck "Natbib" altogether and choose "Default (numerical)".

Lyx Physicist wrote:
> Hi Brian, 
>   I tried to add those options to the preamble, and I get this error
>
>  \renewcommand 
>   [EMAIL PROTECTED] 
> The package natbib has already been loaded with options:   [numbers]
> There has now been an attempt to load it with options   [super] Adding
> the global options:   numbers,super to your \documentclass declaration
> may fix this. Try typingto proceed.
>
> So I tried to add that into the options of the documentclass(which is
> report fyi) and still nothing...  Any ideas?
> Charles
>
>
>
> On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:
>   
>> Charles,
>>
>> This can be changed by adding two lines to your preamble. First, add  
>> the "super" option to the natbib package. Make sure to change your  
>> citation style to numerical under the Bibliography setting otherwise  
>> LyX will spit out the warning about having conflicting natbib  
>> definitions. Second, add the renewcommand for biblabel to give the  
>> number period format. Note that there are a number of other natbib  
>> options (e.g. comma, sort, etc.) and bib commands (e.g.  
>> bibfont, bibsep) to play with. I think the natbib manual might have  
>> some examples. Otherwise you should be able to search on the web for  
>> some examples.
>>
>> \usepackage[super]{natbib}
>> [EMAIL PROTECTED]
>>
>> -Brian
>>
>> On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:
>>
>> 
>>> Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
>>> frontend
>>> to create a bibtex file for my bibliography(the reason is I just  
>>> started
>>> using lyx/LaTex and know nothing about Bibtex).  Is there any way to
>>> change the default citation method
>>> ex:  This is from my book[1]
>>>
>>> to having the citation in superscript form?  I would like the "1" (or
>>> whatever number the citation corresponds to) to be a superscript and
>>> then have the numbering of entries in the bibliography be similar
>>> so in the bib it would look like
>>> 1. Me, Book from library, 1999
>>> 2. Blah, Blah
>>>
>>> instead of using
>>> [1] Me, Book from Library
>>>
>>> Thanks,
>>> Charles
>>>
>>>   
>
>   


-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://frege.brown.edu/heck/
==
Get my public key from http://sks.keyserver.penguin.de
Hash: 0x1DE91F1E66FFBDEC
Learn how to sign your email using Thunderbird and GnuPG at:
http://dudu.dyn.2-h.org/nist/gpg-enigmail-howto



Re: Bibliography formatting

2007-04-11 Thread Lyx Physicist
That did it, thanks!!




On Thu, 2007-04-12 at 00:16 -0400, Richard Heck wrote:
> You need to uncheck "Natbib" altogether and choose "Default (numerical)".
> 
> Lyx Physicist wrote:
> > Hi Brian, 
> >   I tried to add those options to the preamble, and I get this error
> >
> >  \renewcommand 
> >   [EMAIL PROTECTED] 
> > The package natbib has already been loaded with options:   [numbers]
> > There has now been an attempt to load it with options   [super] Adding
> > the global options:   numbers,super to your \documentclass declaration
> > may fix this. Try typingto proceed.
> >
> > So I tried to add that into the options of the documentclass(which is
> > report fyi) and still nothing...  Any ideas?
> > Charles
> >
> >
> >
> > On Wed, 2007-04-11 at 18:59 -0700, Brian Kidd wrote:
> >   
> >> Charles,
> >>
> >> This can be changed by adding two lines to your preamble. First, add  
> >> the "super" option to the natbib package. Make sure to change your  
> >> citation style to numerical under the Bibliography setting otherwise  
> >> LyX will spit out the warning about having conflicting natbib  
> >> definitions. Second, add the renewcommand for biblabel to give the  
> >> number period format. Note that there are a number of other natbib  
> >> options (e.g. comma, sort, etc.) and bib commands (e.g.  
> >> bibfont, bibsep) to play with. I think the natbib manual might have  
> >> some examples. Otherwise you should be able to search on the web for  
> >> some examples.
> >>
> >> \usepackage[super]{natbib}
> >> [EMAIL PROTECTED]
> >>
> >> -Brian
> >>
> >> On Apr 11, 2007, at 6:04 PM, Lyx Physicist wrote:
> >>
> >> 
> >>> Hello, I am using Lyx 1.4 for Mac and am using BibDesk as a gui  
> >>> frontend
> >>> to create a bibtex file for my bibliography(the reason is I just  
> >>> started
> >>> using lyx/LaTex and know nothing about Bibtex).  Is there any way to
> >>> change the default citation method
> >>> ex:  This is from my book[1]
> >>>
> >>> to having the citation in superscript form?  I would like the "1" (or
> >>> whatever number the citation corresponds to) to be a superscript and
> >>> then have the numbering of entries in the bibliography be similar
> >>> so in the bib it would look like
> >>> 1. Me, Book from library, 1999
> >>> 2. Blah, Blah
> >>>
> >>> instead of using
> >>> [1] Me, Book from Library
> >>>
> >>> Thanks,
> >>> Charles
> >>>
> >>>   
> >
> >   
> 
>