Re: Harvard referencing style with Bibdesk

2005-02-09 Thread Stefano Franchi
As I said, I don't know the details about Harvard style. But if it does 
not show up in the LyX dialog box there is a good chance it is not 
present in your TeX installation. If you look on CTAN (the TeX 
repository), you'll find the Harvard biblio styles there
(try this for a start: 
http://www.ctan.org/tex-archive/macros/latex/contrib/harvard/)

You'll have to follow the instruction in the INSTALL file, then rehash 
TeX and reconfigure LyX (Edit>Reconfigure) . After which it should show 
up in your LyX dialog. Read carefully the INSTALL file for the Harvard 
style, though, because there are different TeX systems available for 
the Mac and they do put stuff in very different places.

Cheers,
Stefano

On Feb 9, 2005, at 8:58 PM, James Bennett wrote:
Thanks Stephano - I've got LyX and Bibdesk talking to each other okay
(in the manner you described), but I can't get it to produce the
referencing style I'm after: I  should have made myself clearer.
Basically my problem is that I can't find the style I'm after in the
Insert>Lists & Toc> BibTex Reference
dialogue box (after I have selected my .bib file). I want to add the
Harvard referencing style to this box, but I have no idea how to do
this, or whether I can even do this in LyX.
If anyone is nifty with this sort of thing, I'd greatly appreciate any
advice.
Cheers,
James
- Original Message -
From: Stefano Franchi <[EMAIL PROTECTED]>
Date: Thursday, February 10, 2005 3:40 pm
Subject: Re: Harvard referencing style with Bibdesk
James,
I don't know about the Harvard style ( I use Oxford), but the
Mac/Lyx +
BibDesk combination is exactly what I use and it works fine.
Assuming
you're asking for help on the interaction between the two, here it
goes.
BibDesk is a reference manager: you use it to enter and update your
references and save to save them to a .bib file.  All the editing
(and
only the editing) of references is done in BibDesk.
In Lyx, you need to insert the file containing the references
(which
you have edited in BibDesk) somewhere in the document--usually at
the
end. The command is Insert>Lists & Toc> BibTex Reference. In the
dialog
box that pops up you select the file and the biblio style. Once you
have selected the .bib file, you'll have all your references
available.
When you need to insert one in your text, the command is Insert>
Citation reference.
Someone else will have to help you with the Harvard style, I am
afraid.
Cheers,
Stefano
On Feb 9, 2005, at 6:26 PM, James Bennett wrote:
I can't work out how to get my references in LyX into the style I
want> (Harvard - (Author, Date)).  I'm using LyX on Mac OSX
(v10.3.7) with
the
BibTeX-based referencing program bibdesk (v0.97.8).  As I am
painfully> ignorant, I am not even certain whether I need to
change/insert things
in LyX or in Bibdesk.  Can anyone help?
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 

__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Annoying problem with Babel

2005-02-09 Thread Herbert Voss
Stefano Franchi wrote:
unfortunately the suggested fix does not help. I installed the file 
(it was not on my distro: fink on MacOs 10.3), rehashed TeX and 
reconfigured LyX, but I still get the same error message.

LaTeX Error: File `iso-8859-7.def' not found.
 \endinput
   ^^M
*** (cannot \read from terminal in nonstop modes)
there is a package which wants to read something from
the console, which is not possible with LyX, which runs
in batchmode (nonstop mode)
give an example file
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Harvard referencing style with Bibdesk

2005-02-09 Thread James Bennett
Thanks Stephano - I've got LyX and Bibdesk talking to each other okay
(in the manner you described), but I can't get it to produce the
referencing style I'm after: I  should have made myself clearer.

Basically my problem is that I can't find the style I'm after in the

Insert>Lists & Toc> BibTex Reference
 
dialogue box (after I have selected my .bib file). I want to add the
Harvard referencing style to this box, but I have no idea how to do
this, or whether I can even do this in LyX.

If anyone is nifty with this sort of thing, I'd greatly appreciate any
advice.

Cheers,

James
- Original Message -
From: Stefano Franchi <[EMAIL PROTECTED]>
Date: Thursday, February 10, 2005 3:40 pm
Subject: Re: Harvard referencing style with Bibdesk

> James,
> 
> I don't know about the Harvard style ( I use Oxford), but the 
> Mac/Lyx + 
> BibDesk combination is exactly what I use and it works fine. 
> Assuming 
> you're asking for help on the interaction between the two, here it 
> goes.
> BibDesk is a reference manager: you use it to enter and update your 
> references and save to save them to a .bib file.  All the editing 
> (and 
> only the editing) of references is done in BibDesk.
> In Lyx, you need to insert the file containing the references 
> (which 
> you have edited in BibDesk) somewhere in the document--usually at 
> the 
> end. The command is Insert>Lists & Toc> BibTex Reference. In the 
> dialog 
> box that pops up you select the file and the biblio style. Once you 
> have selected the .bib file, you'll have all your references 
> available. 
> When you need to insert one in your text, the command is Insert> 
> Citation reference.
> 
> Someone else will have to help you with the Harvard style, I am 
> afraid.
> 
> Cheers,
> 
> Stefano
> 
> 
> On Feb 9, 2005, at 6:26 PM, James Bennett wrote:
> 
> > I can't work out how to get my references in LyX into the style I 
> want> (Harvard - (Author, Date)).  I'm using LyX on Mac OSX 
> (v10.3.7) with 
> > the
> > BibTeX-based referencing program bibdesk (v0.97.8).  As I am 
> painfully> ignorant, I am not even certain whether I need to 
> change/insert things
> > in LyX or in Bibdesk.  Can anyone help?
> >
> __
> Stefano Franchi
> Department of Philosophy  Ph:  (64) 9 373-7599 x83940
> University Of AucklandFax: (64) 9 373-7408
> Private Bag 92019 [EMAIL PROTECTED]
> Auckland
> New Zealand   
> 
> 


Re: Harvard referencing style with Bibdesk

2005-02-09 Thread Stefano Franchi
James,
I don't know about the Harvard style ( I use Oxford), but the Mac/Lyx + 
BibDesk combination is exactly what I use and it works fine. Assuming 
you're asking for help on the interaction between the two, here it 
goes.
BibDesk is a reference manager: you use it to enter and update your 
references and save to save them to a .bib file.  All the editing (and 
only the editing) of references is done in BibDesk.
In Lyx, you need to insert the file containing the references (which 
you have edited in BibDesk) somewhere in the document--usually at the 
end. The command is Insert>Lists & Toc> BibTex Reference. In the dialog 
box that pops up you select the file and the biblio style. Once you 
have selected the .bib file, you'll have all your references available. 
When you need to insert one in your text, the command is Insert> 
Citation reference.

Someone else will have to help you with the Harvard style, I am afraid.
Cheers,
Stefano
On Feb 9, 2005, at 6:26 PM, James Bennett wrote:
I can't work out how to get my references in LyX into the style I want
(Harvard - (Author, Date)).  I'm using LyX on Mac OSX (v10.3.7) with 
the
BibTeX-based referencing program bibdesk (v0.97.8).  As I am painfully
ignorant, I am not even certain whether I need to change/insert things
in LyX or in Bibdesk.  Can anyone help?

__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: Definition float?

2005-02-09 Thread Uwe Stöhr
Steve Litt wrote:
What caption do you want?
Probably Definition of instead of Algorithm
Then add the line
\floatname{algorithm}{Definition}
to the preamble.
(You should also have a look to the book "The LaTeX Companion Second
Edition".)
Who's it by?, who is the author?
by Frank Mittelbach, Michel Goossens, Johannes Braams, David Carlisle, 
Chris Rowley, see

http://www.amazon.com/exec/obidos/ASIN/0201362996/qid=1108004163/sr=2-1/ref=pd_ka_b_2_1/002-7994822-6004841
Are there other LaTeX books that are good?
Of course there are some other good books, but you should go to a book 
store to form your own opinion about their quality.
I like the LaTeX companion, because it also describes the LaTeX-packages 
that make live easier.

regards Uwe


Re: How to create keybindings for ERT

2005-02-09 Thread samar j. singh


> Johan Ingvast wrote:
>
> > Hi
> >
> > On Wed, 9 Feb 2005, samar j. singh wrote:
> >
>
> >>2. In beamer is it possible to create macros that insert ERT with a
specific
> >>keypress?
> >
> > I guess that you mean in the beamer class. Right?
> > Lyx lacks the possibility to have class sensitive key-bindings. But you
> > can always make a binding that inserts something, but then the binding
will be
> > valid in all documents.
> > This is what I have in my personal bind-file to create an ERT
> > \bind M-r "command-sequence ert-insert; self-insert \\rb{} ;
inset-toggle"
> > So by pressing M-r the macro creates a ERT put \rb{} into it and closes
it.
> >
>
> There's a work-around if you want, for instance, bindings unique to the
> beamer class.  Create a separated document home directory for beamer
> presentations.  The first time you start LyX in that directory, it
> should create another copy of the local file tree.  (If you've edited
> preferences, you'll either need to do so again here, or copy the
> preferences file from your usual document home.)  Now copy your key
> bindings file into the ./bind folder of the new directory and edit that
> copy to contain beamer-specific bindings.

Hi Paul

Yes, that sounds neat. However, as beamer has become my default presentaiton
maker
these documents are all over  the place, so it may have a lot of value for
someone who
actually has a presentations directory. However, I appreciate the
suggestion.

samar



Re: Definition float?

2005-02-09 Thread Steve Litt
On Wednesday 09 February 2005 03:07 pm, Uwe Stöhr wrote:
> Steve Litt wrote:
> > I'd like a definition float so I can have a list of definitions at the
> > front of my book. However, when I tried to use an algorithm float for the
> > purpose:
> >
> > 1) The caption said "Algorithm"
>
> What caption do you want?

Probably Definition of instead of Algorithm:

>
> > 2) On some of the floats I got wierd errors, and when I looked at the LyX
> > code in Vim, I could see no differences between the floats that errored
> > out and those that didn't.
>
> Wee need an example files with the erroneous floats.
>
> > Any ideas on how to make a definition float
>
> It depends on the properties of the float that you need.
> A good starting point is the LaTeX-package "float".
> (You should also have a look to the book "The LaTeX Companion Second
> Edition".)

Who's it by?, who is the author? Are there other LaTex books that are good? 
It's time for me to byte the bullet and become a LaTeX experts.

SteveT

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

(Legal Disclaimer) Follow these suggestions at your own risk.


Harvard referencing style with Bibdesk

2005-02-09 Thread James Bennett
I can't work out how to get my references in LyX into the style I want
(Harvard - (Author, Date)).  I'm using LyX on Mac OSX (v10.3.7) with the
BibTeX-based referencing program bibdesk (v0.97.8).  As I am painfully
ignorant, I am not even certain whether I need to change/insert things
in LyX or in Bibdesk.  Can anyone help?


Re: XML data formatting

2005-02-09 Thread Robert Orr
Have a look here.
http://texnik.de/listings/listings.phtml#title

--- lamikr <[EMAIL PROTECTED]> wrote:

> Robert Orr wrote:
> 
> >You might want to have a look at the "listings"
> >package.
> >  
> >
> Hi Robert
> 
> Do you mean that I should hilight the XML and select
> "listing" from the 
> lyx combobox in the left? I tried that and I was
> able to indent lines 
> more left so it kind of worked.
> It however put "-" marks in the beginning of every
> line so I instead 
> desired to use
> "lyx code element" instead of "list".
> 
> And I was actually trying to find more automatic
> feature which would 
> take care from
> the details how to indent xml elements on behalf of
> me. (I would just 
> copy/paste the XML, hilight it and mark it to be
> xml-package".
> 
> Mika
> 


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


Graphics that takes up a whole page.

2005-02-09 Thread Bernard Hurley
I am preparing LyX document and I want to insert a graphics file that
takes up precisely one page. Whatever I do I always seem to be left with
a small margin on the left hand side.  What can I do about this?

Thanks in advance,

Bernard


-- 
Bernard Hurley <[EMAIL PROTECTED]>


Re: Annoying problem with Babel

2005-02-09 Thread Stefano Franchi
Hi Uwe and Herbert,
	unfortunately the suggested fix does not help. I installed the file 
(it was not on my distro: fink on MacOs 10.3), rehashed TeX and 
reconfigured LyX, but I still get the same error message.

Best,
Stefano
On Feb 9, 2005, at 1:19 PM, Herbert Voss wrote:
Uwe Stöhr wrote:
Stefano Franchi wrote:
LaTeX Error: File `iso-8859-7.def' not found.
 \endinput
   ^^M
*** (cannot \read from terminal in nonstop modes)
This is interesting. I also don't have this file. Seems that new 
versions of babel changed. But what happens if you downlod the file 
from
[EMAIL PROTECTED]:~> kpsewhich iso-8859-7.def
/opt/texlive8/texmf-dist/tex/latex/greek/iso-8859-7.def
it is on every TeXlive
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


Re: XML data formatting

2005-02-09 Thread lamikr
Robert Orr wrote:
You might want to have a look at the "listings"
package.
 

Hi Robert
Do you mean that I should hilight the XML and select "listing" from the 
lyx combobox in the left? I tried that and I was able to indent lines 
more left so it kind of worked.
It however put "-" marks in the beginning of every line so I instead 
desired to use
"lyx code element" instead of "list".

And I was actually trying to find more automatic feature which would 
take care from
the details how to indent xml elements on behalf of me. (I would just 
copy/paste the XML, hilight it and mark it to be xml-package".

Mika


Re: XML data formatting

2005-02-09 Thread lamikr










Mika,
Highlight the block then select the Lyx-code environment from the
pull-down list on the extreme left.
Thanks, that helped a bit. Now I can use "->" character for indenting 
sub-elements to left. I am just wondering that could there be even more 
automatic feature in lyx which could do the indenting automatically for 
the sub-elements. So that I could just copy paste the text, mark it as a 
XML block and lyx/latex would take care from the rest of the formatting.

Mika



RE: How to add new fonts to LyX, esp. in Win32 port

2005-02-09 Thread David.Ventimiglia
Thanks!

I was referring to the Document Settings since the font chosen there affects 
the printed output.  I'm not so concerned about the on-screen fonts.

I used MikTeX to install new font packages, and ran LyX Edit-->Reconfigure, 
with no discernible affect.  Oh well, I guess it's probably a MikTeX issue.  
I'll figure it out somehow.  Thanks again.

Cheers,
David

-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Paul A. Rubin
Sent: Wednesday, February 09, 2005 1:11 PM
To: lyx-users@lists.lyx.org
Subject: Re: How to add new fonts to LyX, esp. in Win32 port


[EMAIL PROTECTED] wrote:

> Hello,
> 
> How do I add new fonts to LyX, so that they become available in the
> "Font & size:" listbox in the "Document Settings" dialog box (reached
> from the menu via Layout-->Document)?
> 
> The User Guide says this about fonts, in Subsection 3.5.2:  "The
> possible options under Fonts include 'default' and a list of fonts
> available on your system."  What is meant by "fonts available on your
> system", especially w.r.t. the Win32 port?  In Windows, under
> Settings-->Control Panel-->Fonts, there are a great many more fonts
> than appear in the LyX listbox.  Is there a configuration setting or
> file that governs what fonts are available in LyX?
> 
> Thanks! Cheers, David
> 
We need to distinguish between the fonts LyX uses to display your
document in the GUI and the fonts used to produce the final product
(DVI, PDF, whatever).  The fonts used for the GUI need to be installed
as Windows fonts, and will be a (small) subset of the fonts you see in 
the Windows fonts applet.  The fonts in the document settings menu (and 
those referred to in the User Guide) are the fonts used by LaTeX to 
render the document.

The latter fonts must be supplied as TeX/LaTeX packages and properly 
installed in your TeX distribution, so that TeX can find the appropriate 
metric files etc.  (We're approaching the limits of what I know about 
TeX fonts, so I'm going to stop before I insert my foot in my mouth.) 
If your distribution is MiKTeX, use the MiKTeX package manager to 
install additional TeX fonts as desired.  That done, you may need to run 
Edit->Reconfigure from LyX to get LyX to see them.  (I'm not sure if 
that's necessary or not.)

HTH,

Paul



Re: Annoying problem with Babel

2005-02-09 Thread Herbert Voss
Uwe Stöhr wrote:
Stefano Franchi wrote:
LaTeX Error: File `iso-8859-7.def' not found.
 \endinput
   ^^M
*** (cannot \read from terminal in nonstop modes)

This is interesting. I also don't have this file. Seems that new 
versions of babel changed. But what happens if you downlod the file from
[EMAIL PROTECTED]:~> kpsewhich iso-8859-7.def
/opt/texlive8/texmf-dist/tex/latex/greek/iso-8859-7.def
it is on every TeXlive
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Annoying problem with Babel

2005-02-09 Thread Uwe Stöhr
Stefano Franchi wrote:
LaTeX Error: File `iso-8859-7.def' not found.
 \endinput
   ^^M
*** (cannot \read from terminal in nonstop modes)
This is interesting. I also don't have this file. Seems that new 
versions of babel changed. But what happens if you downlod the file from

ftp://ftp.dante.de/tex-archive/fonts/greek/package-babel/encodings/
copy it to the folder /tex/generic/babel and then refresh LaTeX's file 
name database (for MikTeX) or run texhash (for teTeX)?

regards Uwe


Re: How to add new fonts to LyX, esp. in Win32 port

2005-02-09 Thread Paul A. Rubin
[EMAIL PROTECTED] wrote:
Hello,
How do I add new fonts to LyX, so that they become available in the
"Font & size:" listbox in the "Document Settings" dialog box (reached
from the menu via Layout-->Document)?
The User Guide says this about fonts, in Subsection 3.5.2:  "The
possible options under Fonts include 'default' and a list of fonts
available on your system."  What is meant by "fonts available on your
system", especially w.r.t. the Win32 port?  In Windows, under
Settings-->Control Panel-->Fonts, there are a great many more fonts
than appear in the LyX listbox.  Is there a configuration setting or
file that governs what fonts are available in LyX?
Thanks! Cheers, David
We need to distinguish between the fonts LyX uses to display your
document in the GUI and the fonts used to produce the final product
(DVI, PDF, whatever).  The fonts used for the GUI need to be installed
as Windows fonts, and will be a (small) subset of the fonts you see in 
the Windows fonts applet.  The fonts in the document settings menu (and 
those referred to in the User Guide) are the fonts used by LaTeX to 
render the document.

The latter fonts must be supplied as TeX/LaTeX packages and properly 
installed in your TeX distribution, so that TeX can find the appropriate 
metric files etc.  (We're approaching the limits of what I know about 
TeX fonts, so I'm going to stop before I insert my foot in my mouth.) 
If your distribution is MiKTeX, use the MiKTeX package manager to 
install additional TeX fonts as desired.  That done, you may need to run 
Edit->Reconfigure from LyX to get LyX to see them.  (I'm not sure if 
that's necessary or not.)

HTH,
Paul


Re: How to create crop marks

2005-02-09 Thread Paul A. Rubin
Johan Ingvast wrote:
Hi
On Wed, 9 Feb 2005, samar j. singh wrote:

2. In beamer is it possible to create macros that insert ERT with a specific
keypress?
I guess that you mean in the beamer class. Right?
Lyx lacks the possibility to have class sensitive key-bindings. But you
can always make a binding that inserts something, but then the binding will be
valid in all documents.
This is what I have in my personal bind-file to create an ERT
\bind M-r "command-sequence ert-insert; self-insert \\rb{} ; inset-toggle"
So by pressing M-r the macro creates a ERT put \rb{} into it and closes it.
There's a work-around if you want, for instance, bindings unique to the 
beamer class.  Create a separated document home directory for beamer 
presentations.  The first time you start LyX in that directory, it 
should create another copy of the local file tree.  (If you've edited 
preferences, you'll either need to do so again here, or copy the 
preferences file from your usual document home.)  Now copy your key 
bindings file into the ./bind folder of the new directory and edit that 
copy to contain beamer-specific bindings.

I think.  (Haven't actually done this myself.)
-- Paul


Re: Export (Windows XP/ LyX 1.3.5)

2005-02-09 Thread Paul A. Rubin
[EMAIL PROTECTED] wrote:
Hi Paul,
I have just upgraded LyX to v 1.3.5 on a Windows XP machine. Works 
well except for the export function. I cannot even export latex. Can 
anyone suggest what I need to do?

I take "works well" to mean you can view documents in DVI form?  If 
so, it sounds like a path or permission problem.

Correct.
Open a command window (in the LyX bin directory if it's not on your 
command path, or any directory if it is) and start LyX in debug mode:

lyx -dbg 262144 -userdir 

Then open a document and try to export to LaTeX.  (I'm assuming that 
the File->Export->LaTeX option exists and is not grayed out on the 
File menu.) What does the command window show in the way of debugging 
messages?

When I followed this prescription, the export function worked correctly.
So I shut down LyX and tried again by clicking on my file. Now the 
export fails.
That's pretty much a given in the Windows version.  I don't know why it 
happens, but when you invoke a file by double-clicking on the file, LyX 
inserts path information into the file name, with separators replaced by 
underscores.  I see from one of your recent posts that you encountered 
this.  The path and file names are correct, but apparently some portion 
of LyX chokes on them.  Among other things, if you open a file this way, 
View->DVI works, but if you then modify the document and try to update 
the DVI view, updating fails.

The pdf is produced I think (latex runs twice and there is 
a buffer export according to the commentary on the bottom left of the 
LyX window), but then vanishes into the ether.

I am beginning to suspect that there is a problem with a configuration 
file. Can I return to default settings somehow?
You can, but I doubt this is the culprit.  When you run LyX, it will 
create a directory tree under whatever folder you start in, or whatever 
folder you declare to be your home directory.  Any customization you do 
is stored in this tree; the default "out of the box" setup information 
is preserved in the LyX ...\share\lyx\... tree.  There's a file named 
"preferences" (no extension) in the home directory.  Delete that and LyX 
should restart using the default preferences.  If that's not sufficient, 
delete all the files and folders LyX created in your home directory, and 
then restart LyX.  I'm pretty sure this is overkill, though.

Is the Windows registry used?
No.  That's one virtue of this being a Unix port -- Unix has no 
registry, so unless Ruurd goes out of his way, his LyX port won't use 
the Windows registry.

Looking at your recent posts raises a question.  If you open LyX first, 
then use the File->Open command to open a document, view it 
(successfully) and try to export it (unsuccessfully), does the copy of 
the file in the temp directory have an unqualified file name and 
extension, or are there underscores and path information?  The latter 
should occur only when you open the file by double-clicking.  (Well, it 
shouldn't happen at all, but at worst it should only happen with the 
double-click approach.)

One other thing, which may or may not be relevant to your setup:  Unix 
does not allow spaces in path names, and so portions of LyX and/or parts 
of your LaTeX distribution will choke on spaces.  In particular, if you 
open a document living in a directory whose path contains spaces, bad 
things will happen.  I've been assuming this is not the case for you, 
because typically you get a message that latex.exe cannot process the 
file, but I should confirm this with you.

-- Paul
Andrew
.  *--*
 Andrew Horsfield 
[EMAIL PROTECTED]
   Department of Physics and Astronomy,
University College London,
   Gower Street, London WC1E 6BT, United Kingdom
 Phone:+44-(0)20-7679-7701  FAX:+44-(0)20-7679-1360
*--*


--
**
Paul A. RubinPhone: 
   (517) 432-3509
Department of ManagementFax:  (517) 
432-
The Eli Broad Graduate School of ManagementE-mail:   [EMAIL PROTECTED]
Michigan State University 
http://www.msu.edu/~rubin/
East Lansing, MI  48824-1122  (USA)
**
Mathematicians are like Frenchmen:  whenever you say something to them,
they translate it into their own language, and at once it is something
entirely different.J. W. v. GOETHE



Re: Annoying problem with Babel

2005-02-09 Thread Uwe Stöhr
Stefano Franchi wrote:
I am having troubles convincing Babel to use English for "Chapter" 
"References" etc.

In the LyX preamble of my chapter I have
\usepackage{greek, french, italian, german, english]{babel}
The correect one would be
\usepackage[greek, french, italian, german, english]{babel}
(note the first bracket)
But why are you using this command? I assume you want to write a 
multilanguage document. To get rid of the babel command, choose a 
standard language in which all section headings should appear in the 
menu Layout -> Document -> Language. Mark the text parts that should be 
in another language and use the menu Layout -> Character -> Language to 
set the text to the language you want. The text in non-standard language 
will be be underlined blue inside LyX to make the difference visible.
LyX will now insert the correct babel commands in the background to 
switch between the languages inside your document.

regards Uwe


Re: updating dvi's and using package

2005-02-09 Thread Uwe Stöhr
Jose Capco wrote:
Arigatou! .. Oh, it also doesn't work when you try
opening a file from the history in the file menu.
Please try that too, and if it's the same for you then
probably add this to the wiki too.
I can't reproduce this, it works for me. (Possibly you have the file 
opened from the file explorer in the history.

regards Uwe


Re: Definition float?

2005-02-09 Thread Uwe Stöhr
Steve Litt wrote:
I'd like a definition float so I can have a list of definitions at the front 
of my book. However, when I tried to use an algorithm float for the purpose:

1) The caption said "Algorithm"
What caption do you want?
2) On some of the floats I got wierd errors, and when I looked at the LyX code 
in Vim, I could see no differences between the floats that errored out and 
those that didn't.
Wee need an example files with the erroneous floats.
Any ideas on how to make a definition float
It depends on the properties of the float that you need.
A good starting point is the LaTeX-package "float".
(You should also have a look to the book "The LaTeX Companion Second 
Edition".)

regards Uwe


Re: Export (Windows XP)

2005-02-09 Thread Uwe Stöhr
[EMAIL PROTECTED] wrote:
2) When I exit LyX after trying to export a PDF, it clearly removes it
from the tmp space, so it has been generated correctly (I can view it
also). So the problem is the copying to the user directory.
Seems to be a write permission problem.
Assure that LyX's install AND working/user directory (with all 
subdirectories and files) have write permissions for "everybody".
(This assumes that you've set a user directory in LyX's preferences.)

I hope this helps.
regards Uwe


Annoying problem with Babel

2005-02-09 Thread Stefano Franchi
Hi all,
	I am having troubles convincing Babel to use English for "Chapter" 
"References" etc.

In the LyX preamble of my chapter I have
\usepackage{greek, french, italian, german, english]{babel}
Babel should use the last language (i.e. English) for chapter, etc.. 
However, I do get "Kapitel" "Literaturverzeichnis" etc. If I try to 
switch the options around, things do not improve: Babel seems to always 
 get always the last language __that is not English__(i.e. If I put  
"italian" as last or next to last option, I get "capitolo" "Riferimenti 
bibliografici" etc,).

Any idea?
Best,
Stefano
__
Stefano Franchi
Department of Philosophy  Ph:  (64) 9 373-7599 x83940
University Of Auckland  Fax: (64) 9 373-7408
Private Bag 92019   [EMAIL PROTECTED]
Auckland
New Zealand 


How to add new fonts to LyX, esp. in Win32 port

2005-02-09 Thread David.Ventimiglia
Hello,

How do I add new fonts to LyX, so that they become available in the "Font & 
size:" listbox in the "Document Settings" dialog box (reached from the menu via 
Layout-->Document)?

The User Guide says this about fonts, in Subsection 3.5.2:  "The possible 
options under Fonts include 'default' and a list of fonts available on your 
system."  What is meant by "fonts available on your system", especially w.r.t. 
the Win32 port?  In Windows, under Settings-->Control Panel-->Fonts, there are 
a great many more fonts than appear in the LyX listbox.  Is there a 
configuration setting or file that governs what fonts are available in LyX?

Thanks!
Cheers,
David


key-binding numbers

2005-02-09 Thread Vaclav Smidl
Hi all,
I am trying to modify some key binding files to get the following:

if I press regular "1" insert "x" (for example)
if I press numeric "1" insert "1" 

I am struggling with the following:
If I use \kmap:
it does not distinguish regular and numeric "1".

If I use:
\bind "1"   "self-insert x"
\bind "KP_1"   "self-insert 1"
I am getting always 1,

If I use:
\bind "KP_1"   "self-insert 1"
\bind "1"   "self-insert x"
I am getting always x.

Any thoughts, workarounds?

Thanks,

Vasek



-- 
-
Ing. Vaclav Smidl, Ph.D.tel: +420 26605 2420
AS department,  Institute   web: http://www.utia.cas.cz/AS/smidl/
of Information Theory and Automation,   fax: +420 26605 2068
Prague, Czech Republic


Definition float?

2005-02-09 Thread Steve Litt
Hi all,

I'd like a definition float so I can have a list of definitions at the front 
of my book. However, when I tried to use an algorithm float for the purpose:

1) The caption said "Algorithm"
2) On some of the floats I got wierd errors, and when I looked at the LyX code 
in Vim, I could see no differences between the floats that errored out and 
those that didn't.

Any ideas on how to make a definition float, or is there a better way to count 
and table the book's definitions?

Thanks

SteveT

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


an input bug

2005-02-09 Thread Herbert Voss
LyX 1.3.5
-> insert->include a file in input mode
-> choose a file in the same dir as the doc
-> LyX chooses not the doc dir for this file
   when it runs the tex file in the temp dir
   example: \input{rot.tex} -> I'll get
   an error.
a solution is to choose always an absolute path,
or to copy the file into the temp dir.
Herbert
--
http://TeXnik.de/
http://PSTricks.de/
ftp://ftp.dante.de/tex-archive/info/math/voss/Voss-Mathmode.pdf
http://www.dante.de/faq/de-tex-faq/
http://www.tex.ac.uk/cgi-bin/texfaq2html?introduction=yes


Re: Tex to Lyx

2005-02-09 Thread Charles de Miramon
Bruce Pourciau wrote:

> A colleague sent me a .tex file as an attachment to an email. How do I
> go about importing this into a LyX document? I saved the attachment as
> a text only file, but Import > LateX doesn't see it.
> 
> Bruce

The extension should be .tex

Cheers,
Charles
-- 
http://www.kde-france.org



Re: Export (Windows XP)

2005-02-09 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:
I have just noticed that the name of the exported file in the tmp 
directory is different when it is copied from when it is not. When it 
_is_ copied, it just has the name it appears with in the working 
directory. When it _fails_ to be copied it has a full path to the 
working directory attached to it with \ replaced by _
This is exactly what I get after launching files directly and is the 
known path issue on win (I think). You wrote about using the command 
line and launching files; what happens if you just launch lyx by 
double-click and from within lyx open your file?


Re: Using Pstricks Within LyX

2005-02-09 Thread Paul Smith
On Wed, 9 Feb 2005 16:03:50 +, Paul Smith <[EMAIL PROTECTED]> wrote:
> > > I can send you an example of a LyX file with a PSTricks figure, in case
> > > you want it.
> >
> > How about putting the example .lyx-file on the wiki? I've prepared a
> > page with an 'attach'-link, so you can just upload it here
> >
> > http://wiki.lyx.org/Examples/PSTricks
> 
> I will do it very soon, Christian.

Done!

Paul


Re: Export (Windows XP)

2005-02-09 Thread a . horsfield
Hi,
Am I allowed to respond to my own posting?
2) When I exit LyX after trying to export a PDF, it clearly removes it
   from the tmp space, so it has been generated correctly (I can view it
   also). So the problem is the copying to the user directory.
I have just noticed that the name of the exported file in the tmp 
directory is different when it is copied from when it is not. When it _is_ 
copied, it just has the name it appears with in the working directory. 
When it _fails_ to be copied it has a full path to the working directory 
attached to it with \ replaced by _

Any help?
Andrew
.  *--*
 Andrew Horsfield [EMAIL PROTECTED]
   Department of Physics and Astronomy,
University College London,
   Gower Street, London WC1E 6BT, United Kingdom
 Phone:+44-(0)20-7679-7701  FAX:+44-(0)20-7679-1360
*--*


Re: Export (Windows XP)

2005-02-09 Thread a . horsfield
Hi Sven,
1) lyx.exe
   This picks up my preferences correctly, but will not export anything.
2) lyx.exe -userdir C:\
   This fails to pick up my preferences, but will export files.
Clicking on files operates like 1).
Since afaik clicking on files is known not to work correctly on win, 
maybe you should concentrate on the preference issue and provide more 
information (account permissions, any error messages, where do you think 
your prefs are stored, where they're really stored ;-) etc. )
1) I now understand why I was not picking up prefereneces. The -userdir
was pointing to the wrong place. My apologies. So only export is a
problem. But from this we learn that being able to access the .lyx
directory causes the problem with export.
2) When I exit LyX after trying to export a PDF, it clearly removes it
from the tmp space, so it has been generated correctly (I can view it
also). So the problem is the copying to the user directory.
Andrew
.  *--*
 Andrew Horsfield [EMAIL PROTECTED]
   Department of Physics and Astronomy,
University College London,
   Gower Street, London WC1E 6BT, United Kingdom
 Phone:+44-(0)20-7679-7701  FAX:+44-(0)20-7679-1360
*--*


Re: Using Pstricks Within LyX

2005-02-09 Thread Paul Smith
On Wed, 9 Feb 2005 10:53:43 +0100, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > I can send you an example of a LyX file with a PSTricks figure, in case
> > you want it.
> 
> How about putting the example .lyx-file on the wiki? I've prepared a
> page with an 'attach'-link, so you can just upload it here
> 
> http://wiki.lyx.org/Examples/PSTricks

I will do it very soon, Christian.

Paul


Re: Export (Windows XP)

2005-02-09 Thread Sven Schreiber
[EMAIL PROTECTED] wrote:
1) lyx.exe
   This picks up my preferences correctly, but will not export anything.
2) lyx.exe -userdir C:\
   This fails to pick up my preferences, but will export files.
Clicking on files operates like 1).
Since afaik clicking on files is known not to work correctly on win, 
maybe you should concentrate on the preference issue and provide more 
information (account permissions, any error messages, where do you think 
your prefs are stored, where they're really stored ;-) etc. )


Export (Windows XP)

2005-02-09 Thread a . horsfield
Hi,
I have tried running LyX from the command prompt in two different ways, 
and obtain different behaviours.

1) lyx.exe
   This picks up my preferences correctly, but will not export anything.
2) lyx.exe -userdir C:\
   This fails to pick up my preferences, but will export files.
Clicking on files operates like 1).
Any suggestions as to what I might be doing wrong. I use LyX for a great 
deal of my work, so all suggestions very gratefully received.

Andrew
.  *--*
Andrew Horsfield [EMAIL PROTECTED]
  Department of Physics and Astronomy,
   University College London,
  Gower Street, London WC1E 6BT, United Kingdom
Phone:+44-(0)20-7679-7701  FAX:+44-(0)20-7679-1360
   *--*


Re: Export (Windows XP/ LyX 1.3.5)

2005-02-09 Thread a . horsfield
Hi Paul,
I have just upgraded LyX to v 1.3.5 on a Windows XP machine. Works well 
except for the export function. I cannot even export latex. Can anyone 
suggest what I need to do?
I take "works well" to mean you can view documents in DVI form?  If so, it 
sounds like a path or permission problem.
Correct.
Open a command window (in the LyX bin directory if it's not on your 
command path, or any directory if it is) and start LyX in debug mode:

lyx -dbg 262144 -userdir 
Then open a document and try to export to LaTeX.  (I'm assuming that the 
File->Export->LaTeX option exists and is not grayed out on the File 
menu.) What does the command window show in the way of debugging 
messages?
When I followed this prescription, the export function worked correctly.
So I shut down LyX and tried again by clicking on my file. Now the export 
fails. The pdf is produced I think (latex runs twice and there is a buffer 
export according to the commentary on the bottom left of the LyX window), 
but then vanishes into the ether.

I am beginning to suspect that there is a problem with a configuration 
file. Can I return to default settings somehow?

Is the Windows registry used?
Andrew
.  *--*
 Andrew Horsfield [EMAIL PROTECTED]
   Department of Physics and Astronomy,
University College London,
   Gower Street, London WC1E 6BT, United Kingdom
 Phone:+44-(0)20-7679-7701  FAX:+44-(0)20-7679-1360
*--*


Re: Using Pstricks Within LyX

2005-02-09 Thread chr
On Wed, 9 Feb 2005, Paul Smith wrote:

> I can send you an example of a LyX file with a PSTricks figure, in case
> you want it.

How about putting the example .lyx-file on the wiki? I've prepared a 
page with an 'attach'-link, so you can just upload it here

http://wiki.lyx.org/Examples/PSTricks



/Christian

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




Re: Using Pstricks Within LyX

2005-02-09 Thread Paul Smith
On Wed, 9 Feb 2005 10:15:37 +0100 (MET), Jean-Pierre Chretien
<[EMAIL PROTECTED]> wrote:
> >>>From reading the pstricks manual I learn that it will do a great job of
> >>> creating figures and plots for use in LaTeX documents and beamer
> >>> presentations. Can it be used within LyX? Is there a HOWTO I could read?
> >>
> >>Indeed, PSTricks can be used within LyX and PSTricks is very powerful
> >>with creating figures and plots for use in LaTeX documents and beamer.
> 
> I compile beamer with pdflatex (much faster than latex+ps2pdf).
> Does pdftricks provide similar functionalities ?

Jean-Pierre,

To get pdf output, the best solution seems to be using ps4pdf (please,
notice that I wrote ps4pdf and not ps2pdf). You can get more
information at:

http://www.pstricks.de/pdf/pdfoutput.phtml#ps4pdf

Regards,

Paul


Re: Using Pstricks Within LyX

2005-02-09 Thread Jean-Pierre Chretien

>>Date: Wed, 9 Feb 2005 08:58:40 +
>>From: Paul Smith <[EMAIL PROTECTED]>
>>To: lyx-users@lists.lyx.org
>>Subject: Re: Using Pstricks Within LyX
>>
>>On Tue, 8 Feb 2005 16:45:37 -0800 (PST), Rich Shepard
>><[EMAIL PROTECTED]> wrote:
>>>From reading the pstricks manual I learn that it will do a great job of
>>> creating figures and plots for use in LaTeX documents and beamer
>>> presentations. Can it be used within LyX? Is there a HOWTO I could read?
>>
>>Rich,
>>
>>Indeed, PSTricks can be used within LyX and PSTricks is very powerful
>>with creating figures and plots for use in LaTeX documents and beamer.

I compile beamer with pdflatex (much faster than latex+ps2pdf).
Does pdftricks provide similar functionalities ?

I know I can read the fine manual, but if anyone can give feedback...

-- 
Jean-Pierre



Re: Using Pstricks Within LyX

2005-02-09 Thread Paul Smith
On Tue, 8 Feb 2005 16:45:37 -0800 (PST), Rich Shepard
<[EMAIL PROTECTED]> wrote:
>From reading the pstricks manual I learn that it will do a great job of
> creating figures and plots for use in LaTeX documents and beamer
> presentations. Can it be used within LyX? Is there a HOWTO I could read?

Rich,

Indeed, PSTricks can be used within LyX and PSTricks is very powerful
with creating figures and plots for use in LaTeX documents and beamer.
I do not know about any HOWTO for LyX users, but the following site
has quite a lot of examples:

http://www.pstricks.de/

Try to start off with implementing one of the simplest examples there
with LyX and you will end up, after a short time, able to use PSTricks
within LyX. There is also a mailing list for PSTricks. I can send you
an example of a LyX file with a PSTricks figure, in case you want it.

Regards,

Paul


Re: updating dvi's and using package

2005-02-09 Thread Jose Capco
--- Uwe Stöhr <[EMAIL PROTECTED]> wrote:

> I use Ruurd's port and clicking on a LyX-file within
> the file explorer 
> doesn't work. This a well known bug of all LyXWin
> versions.
> (LyX uses internally the "/" character as folder
> separator, but when you 
> doublecklick on a LyX-file it uses the "\"
> character.)
> I'll add this to the LyX wiki.
> 
> regards Uwe
> 

Arigatou! .. Oh, it also doesn't work when you try
opening a file from the history in the file menu.
Please try that too, and if it's the same for you then
probably add this to the wiki too. 

Yours,
Jose Capco




__ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail


Re: How to create crop marks

2005-02-09 Thread samar j. singh
> On Wed, 9 Feb 2005, samar j. singh wrote:
> > 1. In the "Insert Graphics" is it possible to change the defaults in the
> > fields that come up. For instance,
> > I invariably prefer to have the   "Output Width" occupy 100 per cent of
the
> > "col%". At the moment it comes up with "scale%".
>
> I rarely scale my figures and instead tries to make them the right size
> from beginning, so I don't think col% should be default.
> But I agree there should be a possibility to change the default values by
> some settings.

I agree that in the perfect world of a graduate school setting this is a
good philosophy.
Regrettably the world outside forces compromises. Point taken about good
practice, though.

>
> > 2. In beamer is it possible to create macros that insert ERT with a
specific
> > keypress?
> I guess that you mean in the beamer class. Right?
> Lyx lacks the possibility to have class sensitive key-bindings. But you
> can always make a binding that inserts something, but then the binding
will be
> valid in all documents.
> This is what I have in my personal bind-file to create an ERT
> \bind M-r "command-sequence ert-insert; self-insert \\rb{} ;
inset-toggle"
> So by pressing M-r the macro creates a ERT put \rb{} into it and closes
it.
> Johan Ingvast, PhD student http://www.md.kth.se/~ingvast
> Department of Machine Design, Royal Institute of Technology, Sweden
> http://www.md.kth.se, http://www.md.kth.se/~cas <--- Walking robot proj
> tel +46 (0)8 790 95 36 mob. +46 (0)70 34 34 498

Thank you Johan. This is what I was looking for and its not a problem with
it being true of all documents.
The little example you have given is of great practical help. Never quite
figured out these bind files though
I understand the concept - I think.

samar