Re: Accessing style menu from keyboard

2007-01-15 Thread Sven Schreiber
Neil McLeod schrieb:
 Hello,
 
 Is there any way to select the style drop-down menu with a keyboard
 shortcut, just as one would access the File menu with Alt-F? I know there
 are individual keybindings for the various styles, but I'd love to be able
 to select the drop-down menu with a keyboard shortcut and then type in the
 first few letters of the style I want to type, and press enter. (This
 second
 step seems to work already.)
 
 Neil
 

Check out
Changing the paragraph environment on
http://wiki.lyx.org/Tips/FrequentlyUsedShortcuts

Is that what you want?

BTW, the letter p in there seems to be locale-specific, IIRC. (In
German I think it's a for Absatz.) I should update the wiki page...

-Sven


Re: Accessing style menu from keyboard

2007-01-15 Thread Jean-Marc Lasgouttes
 Neil == Neil McLeod [EMAIL PROTECTED] writes:

Neil Hello, Is there any way to select the style drop-down menu with
Neil a keyboard shortcut, just as one would access the File menu
Neil with Alt-F? I know there are individual keybindings for the
Neil various styles, but I'd love to be able to select the drop-down
Neil menu with a keyboard shortcut and then type in the first few
Neil letters of the style I want to type, and press enter. (This
Neil second step seems to work already.)

Alt-P space

JMarc


Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-15 Thread Helge Hafting

Joe(theWordy)Philbrook wrote:

That makes sense I guess. But all I want to do is to learn to use LyX
instead of Ooffice for most of my writing. I'm not really planing on
becoming a LaTeX expert. Still I suppose I might use google to find an
online manual I could look at for clues now and then.
  

No need to become an expert.  A manual will contain
the easy stuff too - feel free to skip the hard parts.
Often-used stuff, like page number, chapter number/name
and so on tends to be easy enough.  If you don't
find a handy list anywhere, make your own as you collect tips. :-)

Now, if you want some specific thing in your header, such as
date, filename, or the page number in roman numerals - just ask.



Actually I wanted the list of possibles to see if it gave me any ideas.
  

Well - anything goes.  Some things may be harder than
others, buit there are few limits on what you _can_ get somehow.
Anything you can refer to, anything that is automatically numbered
or named can be brought out in the headers if you wish.
That's why I suggest that you ask - if you miss something
your previous word processor could put in the header for you.

Speaking of which you just gave me one. At least I think you did grin.
When you say filename, do you mean the full pathname of the .lyx file 
such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx???


Wait let me guess, there is probably a latex command form for both the
simple filename and the pathname, right? 
  

Unfortunately, you can only get the name of the latex file.
Now, this is the same as the name of the lyx file, except
that it ends in .tex instead of .lyx.  So it is still useful.

The way lyx manages files means that the path only
is the path to the temporary directory lyx uses for
conversions and processing.  It is done this way
because latex makes tons of little files while running -
it is nice not having to clean up all of them in a careful
way.  The entire temporary directory is deleted when
you close lyx, which is easier to do.

Adding a filename reference to lyx might be useful - but it
can't happen until 1.6 as version 1.5 is in feature freeze
right now.

Helge Hafting


Re: texlive as support for lyx

2007-01-15 Thread Helge Hafting

abdelkader belahcene wrote:

Hi,
since the new available latex on linux, will be texlive instead of
tetex, I think it 's  time  to support the texlive instead of tetex.
[ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??

I have been using LyX with texlive for half a year now.
This works fine.  The only minor problems I have seen
is when the debian-packaged texlive lacks some package
I want, that was distributed with debian's tetex.  This have only
happened a couple of times, and of course the missing stuff
worked when I added it to /usr/local.

Helge Hafting


Fonts and math fonts

2007-01-15 Thread John Hughes
I am a little confused over which is best method for changing the document 
font and the font used in mathematical equations. I don't want any 
particularly unusual fonts: Times, Helvetica and Courier and about all I 
need really. Can anyone let me know what the easiest method of changing the 
font for both text and equations is?


_
Be the first to hear what's new at MSN - sign up to our free newsletters!  
http://www.msn.co.uk/newsletters




Re: Fonts and math fonts

2007-01-15 Thread Jürgen Spitzmüller
John Hughes wrote:
 I am a little confused over which is best method for changing the document
 font and the font used in mathematical equations. I don't want any
 particularly unusual fonts: Times, Helvetica and Courier and about all I
 need really. Can anyone let me know what the easiest method of changing the
 font for both text and equations is?

\usepackage{mathptmx}
in preamble.

Jürgen


Re: texlive as support for lyx

2007-01-15 Thread David L. Johnson
On Mon, 15 Jan 2007 11:59:57 +0100
Helge Hafting [EMAIL PROTECTED] wrote:

 abdelkader belahcene wrote:
  Hi,
  since the new available latex on linux, will be texlive instead of
  tetex, I think it 's  time  to support the texlive instead of tetex.
  [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
 I have been using LyX with texlive for half a year now.
 This works fine.  The only minor problems I have seen
 is when the debian-packaged texlive lacks some package
 I want, that was distributed with debian's tetex.  This have only
 happened a couple of times, and of course the missing stuff
 worked when I added it to /usr/local.

Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
went to texlive as suggested here about 6 months ago to get rid of a tetex
bug (as packaged in debian etch, at least).  Absolutely no issues with
texlive and lyx.  In what sense is tetex required for lyx?

-- 

David L. Johnson

   __o   | Do not worry about your difficulties in mathematics, I can
 _`\(,_  | assure you that mine are all greater.  -- A. Einstein  
(_)/ (_) | 
   


Re: texlive as support for lyx

2007-01-15 Thread Helge Hafting

David L. Johnson wrote:

On Mon, 15 Jan 2007 11:59:57 +0100
Helge Hafting [EMAIL PROTECTED] wrote:

  

abdelkader belahcene wrote:


Hi,
since the new available latex on linux, will be texlive instead of
tetex, I think it 's  time  to support the texlive instead of tetex.
[ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
  

I have been using LyX with texlive for half a year now.
This works fine.  The only minor problems I have seen
is when the debian-packaged texlive lacks some package
I want, that was distributed with debian's tetex.  This have only
happened a couple of times, and of course the missing stuff
worked when I added it to /usr/local.



Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
went to texlive as suggested here about 6 months ago to get rid of a tetex
bug (as packaged in debian etch, at least).  Absolutely no issues with
texlive and lyx.  In what sense is tetex required for lyx?
  

Tetex is not required in any way, and never was required.
LyX needs latex - no matter how it is provided.

Linux distro packagings of lyx may have used a dependency on
tetex, on distros where tetex was the main way of distributing latex.
This don't mean that lyx has a preference for tetex.

Also, tetex and texlive doesn't come with exactly the same set of
latex packages.  texlive generally has much more, but there
are a few thing in tetex that isn't in texlive too. If you don't happen
to use such packages already, then you won't see a problem.

I believe all latex features used directly by lyx is supported in texlive,
problems will only happen if you add your own latex code in a lyx document
and that code uses some package that isn't in texlive.

Helge Hafting


Re: Consecutive math environments

2007-01-15 Thread Richard Heck
Marc Vinyals wrote:
 Hi,

 I want to have two instances of the same math environment without
 separation. Eg:

 Definition 1.3 (foo)
 Definition 1.4 (foo2)

 However, the two definitions merge into a single one. This can be very
 handy in some situations, but it's not what I'm looking for. I googled
 and found this was already a problem in LyX 1.1's days, and it can be
 solved by inserting some dummy environment (LyX-Note) between.

 Has any better solution been developed?
I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/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



Missing report and slides

2007-01-15 Thread John Hughes
Under Document class, I can choose article, book and letter but report and 
slides are missing. How do I get them to appear there?


John

_
Find Love This New Year With match.com! http://msnuk.match.com



Re: Consecutive math environments

2007-01-15 Thread A S Hodel
This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.


Yours,

A S Hodel

On Jan 15, 2007, at 10:09 AM, Richard Heck wrote:


Marc Vinyals wrote:

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be  
very
handy in some situations, but it's not what I'm looking for. I  
googled

and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/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: texlive as support for lyx

2007-01-15 Thread Kenward Vaughan
On Mon, 2007-01-15 at 17:05 +0100, Helge Hafting wrote:
 David L. Johnson wrote:
  On Mon, 15 Jan 2007 11:59:57 +0100
  Helge Hafting [EMAIL PROTECTED] wrote:
 

  abdelkader belahcene wrote:
  
  Hi,
  since the new available latex on linux, will be texlive instead of
  tetex, I think it 's  time  to support the texlive instead of tetex.
  [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??

  I have been using LyX with texlive for half a year now.
  This works fine.  The only minor problems I have seen
  is when the debian-packaged texlive lacks some package
  I want, that was distributed with debian's tetex.  This have only
  happened a couple of times, and of course the missing stuff
  worked when I added it to /usr/local.
  
 
  Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
  went to texlive as suggested here about 6 months ago to get rid of a tetex
  bug (as packaged in debian etch, at least).  Absolutely no issues with
  texlive and lyx.  In what sense is tetex required for lyx?

 Tetex is not required in any way, and never was required.
 LyX needs latex - no matter how it is provided.
 
 Linux distro packagings of lyx may have used a dependency on
 tetex, on distros where tetex was the main way of distributing latex.
 This don't mean that lyx has a preference for tetex.
 
 Also, tetex and texlive doesn't come with exactly the same set of
 latex packages.  texlive generally has much more, but there
 are a few thing in tetex that isn't in texlive too. If you don't happen
 to use such packages already, then you won't see a problem.
 
 I believe all latex features used directly by lyx is supported in texlive,
 problems will only happen if you add your own latex code in a lyx document
 and that code uses some package that isn't in texlive.

What is the difference between the two for most of us users out here,
and is there a reason to switch outside of a package's dependency (which
I saw for one I was interested in, FWIW)?  It doesn't sound like any
from the above.

David--what was the switch like under Debian?  Do you recall any
issues/problems?  I thought about switching for that package, but was
uncertain about what havoc I might create on my system... :-)


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-15 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 15, Helge Hafting did say:

 Joe(theWordy)Philbrook wrote:
  Wait let me guess, there is probably a latex command form for both the
  simple filename and the pathname, right?   
 Unfortunately, you can only get the name of the latex file.
 Now, this is the same as the name of the lyx file, except
 that it ends in .tex instead of .lyx.  So it is still useful.

Well for the simple file name WhatEver.tex is just as good as
WhatEver.lyx... And I suppose that if I really want a file's actual
pathname to print I could just manually insert it between the curly-braces
of something like \lhead{}. I'd just have to remember to update it if I
moved the file.

   #
   ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFq8fwRZ/61mwhY94RAowZAJ47LIezlLnjsyr8JYcP8CsbCT/g6ACfWIAP
92sq3NVD1ASpR5FMYKhAUwQ=
=5m2Q
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



Re: Consecutive math environments

2007-01-15 Thread Paul A. Rubin

A S Hodel wrote:
One workaround: put a \par command in ERT in a Standard environment 
between the two definitions.  I don't know how that will change spacing 
between the environments in the printed document, but it should achieve 
the desired effect.




If you leave the ERT box empty, you get the separation effect without 
changing spacing.


/Paul



Re: Accessing style menu from keyboard

2007-01-15 Thread Paul A. Rubin

Neil McLeod wrote:

Hello,

Is there any way to select the style drop-down menu with a keyboard
shortcut, just as one would access the File menu with Alt-F? I know there
are individual keybindings for the various styles, but I'd love to be able
to select the drop-down menu with a keyboard shortcut and then type in the
first few letters of the style I want to type, and press enter. (This 
second

step seems to work already.)

Neil



If by style menu you mean the list of environments (Standard, Title, 
...), then yes.  I'm not trying to be picky here; I just want to be sure 
you are referring to environments rather than text styles (italic etc.).


Alt-p followed by an appropriate character or characters selects a 
particular environment.  For instance, Alt-p *3 gets you an unnumbered 
subsection (assuming your document class supports that environment).


Alt-p followed by a space opens the drop-down list, after which, as you 
note, typing a few letters of your environment works (or typing the 
first letter repeatedly cycles through environments beginning with that 
letter).


Cheers,
/Paul



Re: Missing report and slides

2007-01-15 Thread Paul A. Rubin

John Hughes wrote:
Under Document class, I can choose article, book and letter but report 
and slides are missing. How do I get them to appear there?




Either LyX does not see the layout files for them or LyX cannot find the 
LaTeX document classes for them.  Since layouts for report and a few 
variants of slides come with LyX, my money is on the latter.  Do you 
have the necessary classes installed?


/Paul



Re: Fonts and math fonts

2007-01-15 Thread Paul A. Rubin

John Hughes wrote:
I am a little confused over which is best method for changing the 
document font and the font used in mathematical equations. I don't want 
any particularly unusual fonts: Times, Helvetica and Courier and about 
all I need really. Can anyone let me know what the easiest method of 
changing the font for both text and equations is?




Recommended reading: http://wiki.lyx.org/LyX/Fonts.  I have to admit 
though that I don't understand exactly what is wrong with LyX's font 
selection mechanism.  I routinely use Document-Settings...-Text 
layout-Document font to change font and size, and it seems to work ok 
for me.  (I usually restrict myself to ae or pslatex, and I don't lose 
any sleep over the precise font used for math insets, so maybe I've just 
led a charmed life so far.)  To switch the math font, you'll want to 
load an appropriate package in the preamble (as demonstrated in the wiki 
citation above).


/Paul



Re: texlive as support for lyx

2007-01-15 Thread David L. Johnson
On Mon, 15 Jan 2007 09:58:13 -0800
Kenward Vaughan [EMAIL PROTECTED] wrote:

 What is the difference between the two for most of us users out here,
 and is there a reason to switch outside of a package's dependency (which
 I saw for one I was interested in, FWIW)?  It doesn't sound like any
 from the above.

The reason I switched was (as I discussed here some time ago) that I kept
getting the documnent language name (I seem to be bilingual in english and
american) prepended to the running header in AMS-* documents.  It was
Jean-Marc, I think, who explained to me that this came from a version
mismatch between the babel and latex packages that were included in debian
etch.  It had been this way for over a year, through various updates of the
OS.  I could produce acceptable output by commenting out the babel package in
the tex file, but the problem was unaffected by simply unchecking the babel
option in LyX.  

After the suggestion that I switch to texlive, the problem went away.  Also,
texlive certainly was faster than tetex in compiling dvi files, possibly
because more of the fonts were pre-built (this is a guess.  I am not certain
why it is faster, but it definitely is).   Other than that there was no
noticable difference.
 
 David--what was the switch like under Debian?  Do you recall any
 issues/problems?  I thought about switching for that package, but was
 uncertain about what havoc I might create on my system... :-)

Well, for me it was simply a matter of removing the tetex package and
installing the texlive package.  Everything worked perfectly after that.  I
don't recall whether I had to remove/reinstall any other packages, but if I
did, it was nothing that caused any pain.  I did not even have to reconfigure
LyX, as I recall, though maybe I did that as a precaution.  This, by the way,
was with debian etch.  I have since upgraded the distribution several times,
with no problem appearing.

-- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


Re: Accessing style menu from keyboard

2007-01-15 Thread Neil McLeod

Alt+P space is exactly what I was looking for. Thanks for the helpful
replies!
Neil

On 1/15/07, Paul A. Rubin [EMAIL PROTECTED] wrote:


Neil McLeod wrote:
 Hello,

 Is there any way to select the style drop-down menu with a keyboard
 shortcut, just as one would access the File menu with Alt-F? I know
there
 are individual keybindings for the various styles, but I'd love to be
able
 to select the drop-down menu with a keyboard shortcut and then type in
the
 first few letters of the style I want to type, and press enter. (This
 second
 step seems to work already.)

 Neil


If by style menu you mean the list of environments (Standard, Title,
...), then yes.  I'm not trying to be picky here; I just want to be sure
you are referring to environments rather than text styles (italic etc.).

Alt-p followed by an appropriate character or characters selects a
particular environment.  For instance, Alt-p *3 gets you an unnumbered
subsection (assuming your document class supports that environment).

Alt-p followed by a space opens the drop-down list, after which, as you
note, typing a few letters of your environment works (or typing the
first letter repeatedly cycles through environments beginning with that
letter).

Cheers,
/Paul





--
Ubuntu Linux 6.06 (Dapper Drake)


Figure float wrapfig caption

2007-01-15 Thread Curtis Osterhoudt
Cheers, all,This is an almost purely theoretical question, so feel free to 
ignore.In my preamble, I have a command to change the font for figures and 
tables. It works fine on regular floats (the captions are of smaller font and 
single-spaced, whereas the regular text is double-spaced). However, on floating 
wrapped figures, although their font is smaller than the regular text, their 
captions are not single-spaced. Is there an easy way to fix this? ( I 
understand that wrapped floats are tricky, and often recommended against. 
That's why this is a theoretical question.)   Thanks!   C.O.
_
Get the Live.com Holiday Page for recipes, gift-giving ideas, and more.
www.live.com/?addtemplate=holiday

Wiki: New notification function enabled

2007-01-15 Thread christian . ridderstrom
I've enabled a recipe so that normal users can setup the wiki so that they 
are notified via email when a certain page, or a page in a group, is 
modified.


It's not trivial, but it's not that hard either. If you for instance are 
interested in being notified when a page in the group Windows/ is changed,

you could add this line

[EMAIL PROTECTED]  group=Windows

(no spaces before 'notiy...' though). The line should be added to this 
page:


http://wiki.lyx.org/Site/NotifyList

See
http://pmwiki.org/wiki/PmWiki/Notify

for more details about this functionality.

best regards
/Christian

PS. To avoid abuse, that page requires a password to edit it. The password 
is the same as for uploading files to the wiki. Just ask me for the 
password and I'll give it to you.


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

Re: Consecutive math environments

2007-01-15 Thread Jean-Pierre Chretien

Cc: lyx-users@lists.lyx.org
From: A S Hodel [EMAIL PROTECTED]
Subject: Re: Consecutive math environments
Date: Mon, 15 Jan 2007 11:28:51 -0600
To: [EMAIL PROTECTED]
X-Brightmail-Tracker: AA==
X-Brightmail-scanned: yes

This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.

As far as I understand the layout dialect, it offers exactly the workaround 
below:

cite
# Separator style definition
Style Separator
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Left
  AlignPossible Block, Left, Right, Center
  MarginFirst_Dynamic
  TopSep0
  BottomSep 0
  ParSep0
  LabelType Static
  LabelBottomSep0
  LabelString   ___
  KeepEmpty 1

  LabelFont 
Series  Medium
SizeNormal
Color   latex
  EndFont
End
/cite


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.

Could be added to the basic styles, until this separation problem is
solved (1.5 ?)

-- 
Jean-Pierre



Re: Accessing style menu from keyboard

2007-01-15 Thread Sven Schreiber
Neil McLeod schrieb:
 Hello,
 
 Is there any way to select the style drop-down menu with a keyboard
 shortcut, just as one would access the File menu with Alt-F? I know there
 are individual keybindings for the various styles, but I'd love to be able
 to select the drop-down menu with a keyboard shortcut and then type in the
 first few letters of the style I want to type, and press enter. (This
 second
 step seems to work already.)
 
 Neil
 

Check out
Changing the paragraph environment on
http://wiki.lyx.org/Tips/FrequentlyUsedShortcuts

Is that what you want?

BTW, the letter p in there seems to be locale-specific, IIRC. (In
German I think it's a for Absatz.) I should update the wiki page...

-Sven


Re: Accessing style menu from keyboard

2007-01-15 Thread Jean-Marc Lasgouttes
 Neil == Neil McLeod [EMAIL PROTECTED] writes:

Neil Hello, Is there any way to select the style drop-down menu with
Neil a keyboard shortcut, just as one would access the File menu
Neil with Alt-F? I know there are individual keybindings for the
Neil various styles, but I'd love to be able to select the drop-down
Neil menu with a keyboard shortcut and then type in the first few
Neil letters of the style I want to type, and press enter. (This
Neil second step seems to work already.)

Alt-P space

JMarc


Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-15 Thread Helge Hafting

Joe(theWordy)Philbrook wrote:

That makes sense I guess. But all I want to do is to learn to use LyX
instead of Ooffice for most of my writing. I'm not really planing on
becoming a LaTeX expert. Still I suppose I might use google to find an
online manual I could look at for clues now and then.
  

No need to become an expert.  A manual will contain
the easy stuff too - feel free to skip the hard parts.
Often-used stuff, like page number, chapter number/name
and so on tends to be easy enough.  If you don't
find a handy list anywhere, make your own as you collect tips. :-)

Now, if you want some specific thing in your header, such as
date, filename, or the page number in roman numerals - just ask.



Actually I wanted the list of possibles to see if it gave me any ideas.
  

Well - anything goes.  Some things may be harder than
others, buit there are few limits on what you _can_ get somehow.
Anything you can refer to, anything that is automatically numbered
or named can be brought out in the headers if you wish.
That's why I suggest that you ask - if you miss something
your previous word processor could put in the header for you.

Speaking of which you just gave me one. At least I think you did grin.
When you say filename, do you mean the full pathname of the .lyx file 
such as /home/jtwdyp/com/lyxSTUFF/ToJim.lyx or just ToJim.lyx???


Wait let me guess, there is probably a latex command form for both the
simple filename and the pathname, right? 
  

Unfortunately, you can only get the name of the latex file.
Now, this is the same as the name of the lyx file, except
that it ends in .tex instead of .lyx.  So it is still useful.

The way lyx manages files means that the path only
is the path to the temporary directory lyx uses for
conversions and processing.  It is done this way
because latex makes tons of little files while running -
it is nice not having to clean up all of them in a careful
way.  The entire temporary directory is deleted when
you close lyx, which is easier to do.

Adding a filename reference to lyx might be useful - but it
can't happen until 1.6 as version 1.5 is in feature freeze
right now.

Helge Hafting


Re: texlive as support for lyx

2007-01-15 Thread Helge Hafting

abdelkader belahcene wrote:

Hi,
since the new available latex on linux, will be texlive instead of
tetex, I think it 's  time  to support the texlive instead of tetex.
[ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??

I have been using LyX with texlive for half a year now.
This works fine.  The only minor problems I have seen
is when the debian-packaged texlive lacks some package
I want, that was distributed with debian's tetex.  This have only
happened a couple of times, and of course the missing stuff
worked when I added it to /usr/local.

Helge Hafting


Fonts and math fonts

2007-01-15 Thread John Hughes
I am a little confused over which is best method for changing the document 
font and the font used in mathematical equations. I don't want any 
particularly unusual fonts: Times, Helvetica and Courier and about all I 
need really. Can anyone let me know what the easiest method of changing the 
font for both text and equations is?


_
Be the first to hear what's new at MSN - sign up to our free newsletters!  
http://www.msn.co.uk/newsletters




Re: Fonts and math fonts

2007-01-15 Thread Jürgen Spitzmüller
John Hughes wrote:
 I am a little confused over which is best method for changing the document
 font and the font used in mathematical equations. I don't want any
 particularly unusual fonts: Times, Helvetica and Courier and about all I
 need really. Can anyone let me know what the easiest method of changing the
 font for both text and equations is?

\usepackage{mathptmx}
in preamble.

Jürgen


Re: texlive as support for lyx

2007-01-15 Thread David L. Johnson
On Mon, 15 Jan 2007 11:59:57 +0100
Helge Hafting [EMAIL PROTECTED] wrote:

 abdelkader belahcene wrote:
  Hi,
  since the new available latex on linux, will be texlive instead of
  tetex, I think it 's  time  to support the texlive instead of tetex.
  [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
 I have been using LyX with texlive for half a year now.
 This works fine.  The only minor problems I have seen
 is when the debian-packaged texlive lacks some package
 I want, that was distributed with debian's tetex.  This have only
 happened a couple of times, and of course the missing stuff
 worked when I added it to /usr/local.

Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
went to texlive as suggested here about 6 months ago to get rid of a tetex
bug (as packaged in debian etch, at least).  Absolutely no issues with
texlive and lyx.  In what sense is tetex required for lyx?

-- 

David L. Johnson

   __o   | Do not worry about your difficulties in mathematics, I can
 _`\(,_  | assure you that mine are all greater.  -- A. Einstein  
(_)/ (_) | 
   


Re: texlive as support for lyx

2007-01-15 Thread Helge Hafting

David L. Johnson wrote:

On Mon, 15 Jan 2007 11:59:57 +0100
Helge Hafting [EMAIL PROTECTED] wrote:

  

abdelkader belahcene wrote:


Hi,
since the new available latex on linux, will be texlive instead of
tetex, I think it 's  time  to support the texlive instead of tetex.
[ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
  

I have been using LyX with texlive for half a year now.
This works fine.  The only minor problems I have seen
is when the debian-packaged texlive lacks some package
I want, that was distributed with debian's tetex.  This have only
happened a couple of times, and of course the missing stuff
worked when I added it to /usr/local.



Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
went to texlive as suggested here about 6 months ago to get rid of a tetex
bug (as packaged in debian etch, at least).  Absolutely no issues with
texlive and lyx.  In what sense is tetex required for lyx?
  

Tetex is not required in any way, and never was required.
LyX needs latex - no matter how it is provided.

Linux distro packagings of lyx may have used a dependency on
tetex, on distros where tetex was the main way of distributing latex.
This don't mean that lyx has a preference for tetex.

Also, tetex and texlive doesn't come with exactly the same set of
latex packages.  texlive generally has much more, but there
are a few thing in tetex that isn't in texlive too. If you don't happen
to use such packages already, then you won't see a problem.

I believe all latex features used directly by lyx is supported in texlive,
problems will only happen if you add your own latex code in a lyx document
and that code uses some package that isn't in texlive.

Helge Hafting


Re: Consecutive math environments

2007-01-15 Thread Richard Heck
Marc Vinyals wrote:
 Hi,

 I want to have two instances of the same math environment without
 separation. Eg:

 Definition 1.3 (foo)
 Definition 1.4 (foo2)

 However, the two definitions merge into a single one. This can be very
 handy in some situations, but it's not what I'm looking for. I googled
 and found this was already a problem in LyX 1.1's days, and it can be
 solved by inserting some dummy environment (LyX-Note) between.

 Has any better solution been developed?
I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/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



Missing report and slides

2007-01-15 Thread John Hughes
Under Document class, I can choose article, book and letter but report and 
slides are missing. How do I get them to appear there?


John

_
Find Love This New Year With match.com! http://msnuk.match.com



Re: Consecutive math environments

2007-01-15 Thread A S Hodel
This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.


Yours,

A S Hodel

On Jan 15, 2007, at 10:09 AM, Richard Heck wrote:


Marc Vinyals wrote:

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be  
very
handy in some situations, but it's not what I'm looking for. I  
googled

and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/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: texlive as support for lyx

2007-01-15 Thread Kenward Vaughan
On Mon, 2007-01-15 at 17:05 +0100, Helge Hafting wrote:
 David L. Johnson wrote:
  On Mon, 15 Jan 2007 11:59:57 +0100
  Helge Hafting [EMAIL PROTECTED] wrote:
 

  abdelkader belahcene wrote:
  
  Hi,
  since the new available latex on linux, will be texlive instead of
  tetex, I think it 's  time  to support the texlive instead of tetex.
  [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??

  I have been using LyX with texlive for half a year now.
  This works fine.  The only minor problems I have seen
  is when the debian-packaged texlive lacks some package
  I want, that was distributed with debian's tetex.  This have only
  happened a couple of times, and of course the missing stuff
  worked when I added it to /usr/local.
  
 
  Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
  went to texlive as suggested here about 6 months ago to get rid of a tetex
  bug (as packaged in debian etch, at least).  Absolutely no issues with
  texlive and lyx.  In what sense is tetex required for lyx?

 Tetex is not required in any way, and never was required.
 LyX needs latex - no matter how it is provided.
 
 Linux distro packagings of lyx may have used a dependency on
 tetex, on distros where tetex was the main way of distributing latex.
 This don't mean that lyx has a preference for tetex.
 
 Also, tetex and texlive doesn't come with exactly the same set of
 latex packages.  texlive generally has much more, but there
 are a few thing in tetex that isn't in texlive too. If you don't happen
 to use such packages already, then you won't see a problem.
 
 I believe all latex features used directly by lyx is supported in texlive,
 problems will only happen if you add your own latex code in a lyx document
 and that code uses some package that isn't in texlive.

What is the difference between the two for most of us users out here,
and is there a reason to switch outside of a package's dependency (which
I saw for one I was interested in, FWIW)?  It doesn't sound like any
from the above.

David--what was the switch like under Debian?  Do you recall any
issues/problems?  I thought about switching for that package, but was
uncertain about what havoc I might create on my system... :-)


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-15 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 15, Helge Hafting did say:

 Joe(theWordy)Philbrook wrote:
  Wait let me guess, there is probably a latex command form for both the
  simple filename and the pathname, right?   
 Unfortunately, you can only get the name of the latex file.
 Now, this is the same as the name of the lyx file, except
 that it ends in .tex instead of .lyx.  So it is still useful.

Well for the simple file name WhatEver.tex is just as good as
WhatEver.lyx... And I suppose that if I really want a file's actual
pathname to print I could just manually insert it between the curly-braces
of something like \lhead{}. I'd just have to remember to update it if I
moved the file.

   #
   ##_if_you'd_prefer_an_clearsigned_.asc_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFq8fwRZ/61mwhY94RAowZAJ47LIezlLnjsyr8JYcP8CsbCT/g6ACfWIAP
92sq3NVD1ASpR5FMYKhAUwQ=
=5m2Q
-END PGP SIGNATURE-
-- 
|   ---   ___
|   0   -  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ [EMAIL PROTECTED]



Re: Consecutive math environments

2007-01-15 Thread Paul A. Rubin

A S Hodel wrote:
One workaround: put a \par command in ERT in a Standard environment 
between the two definitions.  I don't know how that will change spacing 
between the environments in the printed document, but it should achieve 
the desired effect.




If you leave the ERT box empty, you get the separation effect without 
changing spacing.


/Paul



Re: Accessing style menu from keyboard

2007-01-15 Thread Paul A. Rubin

Neil McLeod wrote:

Hello,

Is there any way to select the style drop-down menu with a keyboard
shortcut, just as one would access the File menu with Alt-F? I know there
are individual keybindings for the various styles, but I'd love to be able
to select the drop-down menu with a keyboard shortcut and then type in the
first few letters of the style I want to type, and press enter. (This 
second

step seems to work already.)

Neil



If by style menu you mean the list of environments (Standard, Title, 
...), then yes.  I'm not trying to be picky here; I just want to be sure 
you are referring to environments rather than text styles (italic etc.).


Alt-p followed by an appropriate character or characters selects a 
particular environment.  For instance, Alt-p *3 gets you an unnumbered 
subsection (assuming your document class supports that environment).


Alt-p followed by a space opens the drop-down list, after which, as you 
note, typing a few letters of your environment works (or typing the 
first letter repeatedly cycles through environments beginning with that 
letter).


Cheers,
/Paul



Re: Missing report and slides

2007-01-15 Thread Paul A. Rubin

John Hughes wrote:
Under Document class, I can choose article, book and letter but report 
and slides are missing. How do I get them to appear there?




Either LyX does not see the layout files for them or LyX cannot find the 
LaTeX document classes for them.  Since layouts for report and a few 
variants of slides come with LyX, my money is on the latter.  Do you 
have the necessary classes installed?


/Paul



Re: Fonts and math fonts

2007-01-15 Thread Paul A. Rubin

John Hughes wrote:
I am a little confused over which is best method for changing the 
document font and the font used in mathematical equations. I don't want 
any particularly unusual fonts: Times, Helvetica and Courier and about 
all I need really. Can anyone let me know what the easiest method of 
changing the font for both text and equations is?




Recommended reading: http://wiki.lyx.org/LyX/Fonts.  I have to admit 
though that I don't understand exactly what is wrong with LyX's font 
selection mechanism.  I routinely use Document-Settings...-Text 
layout-Document font to change font and size, and it seems to work ok 
for me.  (I usually restrict myself to ae or pslatex, and I don't lose 
any sleep over the precise font used for math insets, so maybe I've just 
led a charmed life so far.)  To switch the math font, you'll want to 
load an appropriate package in the preamble (as demonstrated in the wiki 
citation above).


/Paul



Re: texlive as support for lyx

2007-01-15 Thread David L. Johnson
On Mon, 15 Jan 2007 09:58:13 -0800
Kenward Vaughan [EMAIL PROTECTED] wrote:

 What is the difference between the two for most of us users out here,
 and is there a reason to switch outside of a package's dependency (which
 I saw for one I was interested in, FWIW)?  It doesn't sound like any
 from the above.

The reason I switched was (as I discussed here some time ago) that I kept
getting the documnent language name (I seem to be bilingual in english and
american) prepended to the running header in AMS-* documents.  It was
Jean-Marc, I think, who explained to me that this came from a version
mismatch between the babel and latex packages that were included in debian
etch.  It had been this way for over a year, through various updates of the
OS.  I could produce acceptable output by commenting out the babel package in
the tex file, but the problem was unaffected by simply unchecking the babel
option in LyX.  

After the suggestion that I switch to texlive, the problem went away.  Also,
texlive certainly was faster than tetex in compiling dvi files, possibly
because more of the fonts were pre-built (this is a guess.  I am not certain
why it is faster, but it definitely is).   Other than that there was no
noticable difference.
 
 David--what was the switch like under Debian?  Do you recall any
 issues/problems?  I thought about switching for that package, but was
 uncertain about what havoc I might create on my system... :-)

Well, for me it was simply a matter of removing the tetex package and
installing the texlive package.  Everything worked perfectly after that.  I
don't recall whether I had to remove/reinstall any other packages, but if I
did, it was nothing that caused any pain.  I did not even have to reconfigure
LyX, as I recall, though maybe I did that as a precaution.  This, by the way,
was with debian etch.  I have since upgraded the distribution several times,
with no problem appearing.

-- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


Re: Accessing style menu from keyboard

2007-01-15 Thread Neil McLeod

Alt+P space is exactly what I was looking for. Thanks for the helpful
replies!
Neil

On 1/15/07, Paul A. Rubin [EMAIL PROTECTED] wrote:


Neil McLeod wrote:
 Hello,

 Is there any way to select the style drop-down menu with a keyboard
 shortcut, just as one would access the File menu with Alt-F? I know
there
 are individual keybindings for the various styles, but I'd love to be
able
 to select the drop-down menu with a keyboard shortcut and then type in
the
 first few letters of the style I want to type, and press enter. (This
 second
 step seems to work already.)

 Neil


If by style menu you mean the list of environments (Standard, Title,
...), then yes.  I'm not trying to be picky here; I just want to be sure
you are referring to environments rather than text styles (italic etc.).

Alt-p followed by an appropriate character or characters selects a
particular environment.  For instance, Alt-p *3 gets you an unnumbered
subsection (assuming your document class supports that environment).

Alt-p followed by a space opens the drop-down list, after which, as you
note, typing a few letters of your environment works (or typing the
first letter repeatedly cycles through environments beginning with that
letter).

Cheers,
/Paul





--
Ubuntu Linux 6.06 (Dapper Drake)


Figure float wrapfig caption

2007-01-15 Thread Curtis Osterhoudt
Cheers, all,This is an almost purely theoretical question, so feel free to 
ignore.In my preamble, I have a command to change the font for figures and 
tables. It works fine on regular floats (the captions are of smaller font and 
single-spaced, whereas the regular text is double-spaced). However, on floating 
wrapped figures, although their font is smaller than the regular text, their 
captions are not single-spaced. Is there an easy way to fix this? ( I 
understand that wrapped floats are tricky, and often recommended against. 
That's why this is a theoretical question.)   Thanks!   C.O.
_
Get the Live.com Holiday Page for recipes, gift-giving ideas, and more.
www.live.com/?addtemplate=holiday

Wiki: New notification function enabled

2007-01-15 Thread christian . ridderstrom
I've enabled a recipe so that normal users can setup the wiki so that they 
are notified via email when a certain page, or a page in a group, is 
modified.


It's not trivial, but it's not that hard either. If you for instance are 
interested in being notified when a page in the group Windows/ is changed,

you could add this line

[EMAIL PROTECTED]  group=Windows

(no spaces before 'notiy...' though). The line should be added to this 
page:


http://wiki.lyx.org/Site/NotifyList

See
http://pmwiki.org/wiki/PmWiki/Notify

for more details about this functionality.

best regards
/Christian

PS. To avoid abuse, that page requires a password to edit it. The password 
is the same as for uploading files to the wiki. Just ask me for the 
password and I'll give it to you.


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

Re: Consecutive math environments

2007-01-15 Thread Jean-Pierre Chretien

Cc: lyx-users@lists.lyx.org
From: A S Hodel [EMAIL PROTECTED]
Subject: Re: Consecutive math environments
Date: Mon, 15 Jan 2007 11:28:51 -0600
To: [EMAIL PROTECTED]
X-Brightmail-Tracker: AA==
X-Brightmail-scanned: yes

This is handled in the beamer class with a separator.  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.

As far as I understand the layout dialect, it offers exactly the workaround 
below:

cite
# Separator style definition
Style Separator
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Left
  AlignPossible Block, Left, Right, Center
  MarginFirst_Dynamic
  TopSep0
  BottomSep 0
  ParSep0
  LabelType Static
  LabelBottomSep0
  LabelString   ___
  KeepEmpty 1

  LabelFont 
Series  Medium
SizeNormal
Color   latex
  EndFont
End
/cite


One workaround: put a \par command in ERT in a Standard  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.

Could be added to the basic styles, until this separation problem is
solved (1.5 ?)

-- 
Jean-Pierre



Re: Accessing style menu from keyboard

2007-01-15 Thread Sven Schreiber
Neil McLeod schrieb:
> Hello,
> 
> Is there any way to select the style drop-down menu with a keyboard
> shortcut, just as one would access the "File" menu with Alt-F? I know there
> are individual keybindings for the various styles, but I'd love to be able
> to select the drop-down menu with a keyboard shortcut and then type in the
> first few letters of the style I want to type, and press enter. (This
> second
> step seems to work already.)
> 
> Neil
> 

Check out
"Changing the paragraph environment" on
http://wiki.lyx.org/Tips/FrequentlyUsedShortcuts

Is that what you want?

BTW, the letter "p" in there seems to be locale-specific, IIRC. (In
German I think it's "a" for "Absatz".) I should update the wiki page...

-Sven


Re: Accessing style menu from keyboard

2007-01-15 Thread Jean-Marc Lasgouttes
> "Neil" == Neil McLeod <[EMAIL PROTECTED]> writes:

Neil> Hello, Is there any way to select the style drop-down menu with
Neil> a keyboard shortcut, just as one would access the "File" menu
Neil> with Alt-F? I know there are individual keybindings for the
Neil> various styles, but I'd love to be able to select the drop-down
Neil> menu with a keyboard shortcut and then type in the first few
Neil> letters of the style I want to type, and press enter. (This
Neil> second step seems to work already.)

Alt-P 

JMarc


Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-15 Thread Helge Hafting

Joe(theWordy)Philbrook wrote:

That makes sense I guess. But all I want to do is to learn to use LyX
instead of Ooffice for most of my writing. I'm not really planing on
becoming a LaTeX expert. Still I suppose I might use google to find an
online manual I could look at for clues now and then.
  

No need to become an expert.  A manual will contain
the easy stuff too - feel free to skip the hard parts.
Often-used stuff, like page number, chapter number/name
and so on tends to be easy enough.  If you don't
find a handy list anywhere, make your own as you collect tips. :-)

Now, if you want some specific thing in your header, such as
date, filename, or the page number in roman numerals - just ask.



Actually I wanted the list of possibles to see if it gave me any ideas.
  

Well - anything goes.  Some things may be harder than
others, buit there are few limits on what you _can_ get somehow.
Anything you can refer to, anything that is automatically numbered
or named can be brought out in the headers if you wish.
That's why I suggest that you ask - if you miss something
your previous word processor could put in the header for you.

Speaking of which you just gave me one. At least I think you did .
When you say filename, do you mean the full pathname of the .lyx file 
such as "/home/jtwdyp/com/lyxSTUFF/ToJim.lyx" or just "ToJim.lyx"???


Wait let me guess, there is probably a latex command form for both the
simple filename and the pathname, right? 
  

Unfortunately, you can only get the name of the latex file.
Now, this is the same as the name of the lyx file, except
that it ends in .tex instead of .lyx.  So it is still useful.

The way lyx manages files means that the path only
is the path to the temporary directory lyx uses for
conversions and processing.  It is done this way
because latex makes tons of little files while running -
it is nice not having to clean up all of them in a careful
way.  The entire temporary directory is deleted when
you close lyx, which is easier to do.

Adding a filename reference to lyx might be useful - but it
can't happen until 1.6 as version 1.5 is in feature freeze
right now.

Helge Hafting


Re: texlive as support for lyx

2007-01-15 Thread Helge Hafting

abdelkader belahcene wrote:

Hi,
since the new available latex on linux, will be texlive instead of
tetex, I think it 's  time  to support the texlive instead of tetex.
[ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??

I have been using LyX with texlive for half a year now.
This works fine.  The only minor problems I have seen
is when the debian-packaged texlive lacks some package
I want, that was distributed with debian's tetex.  This have only
happened a couple of times, and of course the missing stuff
worked when I added it to /usr/local.

Helge Hafting


Fonts and math fonts

2007-01-15 Thread John Hughes
I am a little confused over which is best method for changing the document 
font and the font used in mathematical equations. I don't want any 
particularly unusual fonts: Times, Helvetica and Courier and about all I 
need really. Can anyone let me know what the easiest method of changing the 
font for both text and equations is?


_
Be the first to hear what's new at MSN - sign up to our free newsletters!  
http://www.msn.co.uk/newsletters




Re: Fonts and math fonts

2007-01-15 Thread Jürgen Spitzmüller
John Hughes wrote:
> I am a little confused over which is best method for changing the document
> font and the font used in mathematical equations. I don't want any
> particularly unusual fonts: Times, Helvetica and Courier and about all I
> need really. Can anyone let me know what the easiest method of changing the
> font for both text and equations is?

\usepackage{mathptmx}
in preamble.

Jürgen


Re: texlive as support for lyx

2007-01-15 Thread David L. Johnson
On Mon, 15 Jan 2007 11:59:57 +0100
Helge Hafting <[EMAIL PROTECTED]> wrote:

> abdelkader belahcene wrote:
> > Hi,
> > since the new available latex on linux, will be texlive instead of
> > tetex, I think it 's  time  to support the texlive instead of tetex.
> > [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
> I have been using LyX with texlive for half a year now.
> This works fine.  The only minor problems I have seen
> is when the debian-packaged texlive lacks some package
> I want, that was distributed with debian's tetex.  This have only
> happened a couple of times, and of course the missing stuff
> worked when I added it to /usr/local.

Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
went to texlive as suggested here about 6 months ago to get rid of a tetex
bug (as packaged in debian etch, at least).  Absolutely no issues with
texlive and lyx.  In what sense is tetex required for lyx?

-- 

David L. Johnson

   __o   | Do not worry about your difficulties in mathematics, I can
 _`\(,_  | assure you that mine are all greater.  -- A. Einstein  
(_)/ (_) | 
   


Re: texlive as support for lyx

2007-01-15 Thread Helge Hafting

David L. Johnson wrote:

On Mon, 15 Jan 2007 11:59:57 +0100
Helge Hafting <[EMAIL PROTECTED]> wrote:

  

abdelkader belahcene wrote:


Hi,
since the new available latex on linux, will be texlive instead of
tetex, I think it 's  time  to support the texlive instead of tetex.
[ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
  

I have been using LyX with texlive for half a year now.
This works fine.  The only minor problems I have seen
is when the debian-packaged texlive lacks some package
I want, that was distributed with debian's tetex.  This have only
happened a couple of times, and of course the missing stuff
worked when I added it to /usr/local.



Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
went to texlive as suggested here about 6 months ago to get rid of a tetex
bug (as packaged in debian etch, at least).  Absolutely no issues with
texlive and lyx.  In what sense is tetex required for lyx?
  

Tetex is not required in any way, and never was required.
LyX needs latex - no matter how it is provided.

Linux distro packagings of lyx may have used a dependency on
tetex, on distros where tetex was the main way of distributing latex.
This don't mean that lyx has a preference for tetex.

Also, tetex and texlive doesn't come with exactly the same set of
latex packages.  texlive generally has much more, but there
are a few thing in tetex that isn't in texlive too. If you don't happen
to use such packages already, then you won't see a problem.

I believe all latex features used directly by lyx is supported in texlive,
problems will only happen if you add your own latex code in a lyx document
and that code uses some package that isn't in texlive.

Helge Hafting


Re: Consecutive math environments

2007-01-15 Thread Richard Heck
Marc Vinyals wrote:
> Hi,
>
> I want to have two instances of the same math environment without
> separation. Eg:
>
> Definition 1.3 (foo)
> Definition 1.4 (foo2)
>
> However, the two definitions merge into a single one. This can be very
> handy in some situations, but it's not what I'm looking for. I googled
> and found this was already a problem in LyX 1.1's days, and it can be
> solved by inserting some dummy environment (LyX-Note) between.
>
> Has any better solution been developed?
I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

-- 
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/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



Missing report and slides

2007-01-15 Thread John Hughes
Under "Document class", I can choose article, book and letter but report and 
slides are missing. How do I get them to appear there?


John

_
Find Love This New Year With match.com! http://msnuk.match.com



Re: Consecutive math environments

2007-01-15 Thread A S Hodel
This is handled in the beamer class with a "separator."  I haven't  
looked at the structure of this command to see how it works; I ought  
to, though, because I've had the same frustration as you.


One workaround: put a "\par" command in ERT in a "Standard"  
environment between the two definitions.  I don't know how that will  
change spacing between the environments in the printed document, but  
it should achieve the desired effect.


Yours,

A S Hodel

On Jan 15, 2007, at 10:09 AM, Richard Heck wrote:


Marc Vinyals wrote:

Hi,

I want to have two instances of the same math environment without
separation. Eg:

Definition 1.3 (foo)
Definition 1.4 (foo2)

However, the two definitions merge into a single one. This can be  
very
handy in some situations, but it's not what I'm looking for. I  
googled

and found this was already a problem in LyX 1.1's days, and it can be
solved by inserting some dummy environment (LyX-Note) between.

Has any better solution been developed?

I think enhancement requests have been filed along these lines, but I
don't know their status.

Richard

--
==
Richard G Heck, Jr
Professor of Philosophy
Brown University
http://bobjweil.com/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: texlive as support for lyx

2007-01-15 Thread Kenward Vaughan
On Mon, 2007-01-15 at 17:05 +0100, Helge Hafting wrote:
> David L. Johnson wrote:
> > On Mon, 15 Jan 2007 11:59:57 +0100
> > Helge Hafting <[EMAIL PROTECTED]> wrote:
> >
> >   
> >> abdelkader belahcene wrote:
> >> 
> >>> Hi,
> >>> since the new available latex on linux, will be texlive instead of
> >>> tetex, I think it 's  time  to support the texlive instead of tetex.
> >>> [ Now the required latex for lyx 1.4.2 (is tetex) ] or I am wrong ??
> >>>   
> >> I have been using LyX with texlive for half a year now.
> >> This works fine.  The only minor problems I have seen
> >> is when the debian-packaged texlive lacks some package
> >> I want, that was distributed with debian's tetex.  This have only
> >> happened a couple of times, and of course the missing stuff
> >> worked when I added it to /usr/local.
> >> 
> >
> > Heck, I haven't even noticed that.  LyX works fine with texlive, in fact I
> > went to texlive as suggested here about 6 months ago to get rid of a tetex
> > bug (as packaged in debian etch, at least).  Absolutely no issues with
> > texlive and lyx.  In what sense is tetex required for lyx?
> >   
> Tetex is not required in any way, and never was required.
> LyX needs latex - no matter how it is provided.
> 
> Linux distro packagings of lyx may have used a dependency on
> tetex, on distros where tetex was the main way of distributing latex.
> This don't mean that lyx has a preference for tetex.
> 
> Also, tetex and texlive doesn't come with exactly the same set of
> latex packages.  texlive generally has much more, but there
> are a few thing in tetex that isn't in texlive too. If you don't happen
> to use such packages already, then you won't see a problem.
> 
> I believe all latex features used directly by lyx is supported in texlive,
> problems will only happen if you add your own latex code in a lyx document
> and that code uses some package that isn't in texlive.

What is the difference between the two for most of us users out here,
and is there a reason to switch outside of a package's dependency (which
I saw for one I was interested in, FWIW)?  It doesn't sound like any
from the above.

David--what was the switch like under Debian?  Do you recall any
issues/problems?  I thought about switching for that package, but was
uncertain about what havoc I might create on my system... :-)


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca



Re: [update] Re: fancyhdr! It's working. BUT 3 questions ...

2007-01-15 Thread Joe(theWordy)Philbrook
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

It would appear that on Jan 15, Helge Hafting did say:

> Joe(theWordy)Philbrook wrote:
> > Wait let me guess, there is probably a latex command form for both the
> > simple filename and the pathname, right?   
> Unfortunately, you can only get the name of the latex file.
> Now, this is the same as the name of the lyx file, except
> that it ends in .tex instead of .lyx.  So it is still useful.

Well for the simple file name "WhatEver.tex" is just as good as
"WhatEver.lyx"... And I suppose that if I really want a file's actual
pathname to print I could just manually insert it between the curly-braces
of something like \lhead{}. I'd just have to remember to update it if I
moved the file.

   #
   ##_if_you'd_prefer_an_clearsigned_".asc"_text_file_of_this_##
   ##message_as_an_mime_encoded_attachment,just_ask_me_while__##
   ##it's_STILL_IN_my_outbox_folder_._._._=+=+=+=+=+=+=+=+;-)_##
   #gpg sig for: Joe (theWordy) Philbrook DSA key ID 0x6C2163DE#
   # You can find my public gpg key at http://pgpkeys.mit.edu/ #
   #
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2.2 (GNU/Linux)

iD8DBQFFq8fwRZ/61mwhY94RAowZAJ47LIezlLnjsyr8JYcP8CsbCT/g6ACfWIAP
92sq3NVD1ASpR5FMYKhAUwQ=
=5m2Q
-END PGP SIGNATURE-
-- 
|   ---   ___
|   <0>   <->  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
|~\___/~ <<[EMAIL PROTECTED]>>



Re: Consecutive math environments

2007-01-15 Thread Paul A. Rubin

A S Hodel wrote:
One workaround: put a "\par" command in ERT in a "Standard" environment 
between the two definitions.  I don't know how that will change spacing 
between the environments in the printed document, but it should achieve 
the desired effect.




If you leave the ERT box empty, you get the separation effect without 
changing spacing.


/Paul



Re: Accessing style menu from keyboard

2007-01-15 Thread Paul A. Rubin

Neil McLeod wrote:

Hello,

Is there any way to select the style drop-down menu with a keyboard
shortcut, just as one would access the "File" menu with Alt-F? I know there
are individual keybindings for the various styles, but I'd love to be able
to select the drop-down menu with a keyboard shortcut and then type in the
first few letters of the style I want to type, and press enter. (This 
second

step seems to work already.)

Neil



If by "style menu" you mean the list of environments (Standard, Title, 
...), then yes.  I'm not trying to be picky here; I just want to be sure 
you are referring to environments rather than text styles (italic etc.).


Alt-p followed by an appropriate character or characters selects a 
particular environment.  For instance, Alt-p *3 gets you an unnumbered 
subsection (assuming your document class supports that environment).


Alt-p followed by a space opens the drop-down list, after which, as you 
note, typing a few letters of your environment works (or typing the 
first letter repeatedly cycles through environments beginning with that 
letter).


Cheers,
/Paul



Re: Missing report and slides

2007-01-15 Thread Paul A. Rubin

John Hughes wrote:
Under "Document class", I can choose article, book and letter but report 
and slides are missing. How do I get them to appear there?




Either LyX does not see the layout files for them or LyX cannot find the 
LaTeX document classes for them.  Since layouts for report and a few 
variants of slides come with LyX, my money is on the latter.  Do you 
have the necessary classes installed?


/Paul



Re: Fonts and math fonts

2007-01-15 Thread Paul A. Rubin

John Hughes wrote:
I am a little confused over which is best method for changing the 
document font and the font used in mathematical equations. I don't want 
any particularly unusual fonts: Times, Helvetica and Courier and about 
all I need really. Can anyone let me know what the easiest method of 
changing the font for both text and equations is?




Recommended reading: http://wiki.lyx.org/LyX/Fonts.  I have to admit 
though that I don't understand exactly what is wrong with LyX's font 
selection mechanism.  I routinely use Document->Settings...->Text 
layout->Document font to change font and size, and it seems to work ok 
for me.  (I usually restrict myself to ae or pslatex, and I don't lose 
any sleep over the precise font used for math insets, so maybe I've just 
led a charmed life so far.)  To switch the math font, you'll want to 
load an appropriate package in the preamble (as demonstrated in the wiki 
citation above).


/Paul



Re: texlive as support for lyx

2007-01-15 Thread David L. Johnson
On Mon, 15 Jan 2007 09:58:13 -0800
Kenward Vaughan <[EMAIL PROTECTED]> wrote:

> What is the difference between the two for most of us users out here,
> and is there a reason to switch outside of a package's dependency (which
> I saw for one I was interested in, FWIW)?  It doesn't sound like any
> from the above.

The reason I switched was (as I discussed here some time ago) that I kept
getting the documnent language name (I seem to be bilingual in "english" and
"american") prepended to the running header in AMS-* documents.  It was
Jean-Marc, I think, who explained to me that this came from a version
mismatch between the babel and latex packages that were included in debian
etch.  It had been this way for over a year, through various updates of the
OS.  I could produce acceptable output by commenting out the babel package in
the tex file, but the problem was unaffected by simply unchecking the babel
option in LyX.  

After the suggestion that I switch to texlive, the problem went away.  Also,
texlive certainly was faster than tetex in compiling dvi files, possibly
because more of the fonts were pre-built (this is a guess.  I am not certain
why it is faster, but it definitely is).   Other than that there was no
noticable difference.
> 
> David--what was the switch like under Debian?  Do you recall any
> issues/problems?  I thought about switching for that package, but was
> uncertain about what havoc I might create on my system... :-)

Well, for me it was simply a matter of removing the tetex package and
installing the texlive package.  Everything worked perfectly after that.  I
don't recall whether I had to remove/reinstall any other packages, but if I
did, it was nothing that caused any pain.  I did not even have to reconfigure
LyX, as I recall, though maybe I did that as a precaution.  This, by the way,
was with debian etch.  I have since upgraded the distribution several times,
with no problem appearing.

-- 

David L. Johnson

   __o   | You will say Christ saith this and the apostles say this; but
 _`\(,_  | what canst  thou say?  -- George Fox.  
(_)/ (_) | 
   


Re: Accessing style menu from keyboard

2007-01-15 Thread Neil McLeod

Alt+P  is exactly what I was looking for. Thanks for the helpful
replies!
Neil

On 1/15/07, Paul A. Rubin <[EMAIL PROTECTED]> wrote:


Neil McLeod wrote:
> Hello,
>
> Is there any way to select the style drop-down menu with a keyboard
> shortcut, just as one would access the "File" menu with Alt-F? I know
there
> are individual keybindings for the various styles, but I'd love to be
able
> to select the drop-down menu with a keyboard shortcut and then type in
the
> first few letters of the style I want to type, and press enter. (This
> second
> step seems to work already.)
>
> Neil
>

If by "style menu" you mean the list of environments (Standard, Title,
...), then yes.  I'm not trying to be picky here; I just want to be sure
you are referring to environments rather than text styles (italic etc.).

Alt-p followed by an appropriate character or characters selects a
particular environment.  For instance, Alt-p *3 gets you an unnumbered
subsection (assuming your document class supports that environment).

Alt-p followed by a space opens the drop-down list, after which, as you
note, typing a few letters of your environment works (or typing the
first letter repeatedly cycles through environments beginning with that
letter).

Cheers,
/Paul





--
Ubuntu Linux 6.06 (Dapper Drake)


Figure float wrapfig caption

2007-01-15 Thread Curtis Osterhoudt
Cheers, all,This is an almost purely theoretical question, so feel free to 
ignore.In my preamble, I have a command to change the font for figures and 
tables. It works fine on "regular" floats (the captions are of smaller font and 
single-spaced, whereas the regular text is double-spaced). However, on floating 
"wrapped" figures, although their font is smaller than the regular text, their 
captions are not single-spaced. Is there an easy way to fix this? ( I 
understand that wrapped floats are tricky, and often recommended against. 
That's why this is a "theoretical" question.)   Thanks!   C.O.
_
Get the Live.com Holiday Page for recipes, gift-giving ideas, and more.
www.live.com/?addtemplate=holiday

Wiki: New notification function enabled

2007-01-15 Thread christian . ridderstrom
I've enabled a recipe so that normal users can setup the wiki so that they 
are notified via email when a certain page, or a page in a group, is 
modified.


It's not trivial, but it's not that hard either. If you for instance are 
interested in being notified when a page in the group Windows/ is changed,

you could add this line

[EMAIL PROTECTED]  group=Windows

(no spaces before 'notiy...' though). The line should be added to this 
page:


http://wiki.lyx.org/Site/NotifyList

See
http://pmwiki.org/wiki/PmWiki/Notify

for more details about this functionality.

best regards
/Christian

PS. To avoid abuse, that page requires a password to edit it. The password 
is the same as for uploading files to the wiki. Just ask me for the 
password and I'll give it to you.


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

Re: Consecutive math environments

2007-01-15 Thread Jean-Pierre Chretien

>>Cc: lyx-users@lists.lyx.org
>>From: A S Hodel <[EMAIL PROTECTED]>
>>Subject: Re: Consecutive math environments
>>Date: Mon, 15 Jan 2007 11:28:51 -0600
>>To: [EMAIL PROTECTED]
>>X-Brightmail-Tracker: AA==
>>X-Brightmail-scanned: yes
>>
>>This is handled in the beamer class with a "separator."  I haven't  
>>looked at the structure of this command to see how it works; I ought  
>>to, though, because I've had the same frustration as you.

As far as I understand the layout dialect, it offers exactly the workaround 
below:


# Separator style definition
Style Separator
  LatexType Paragraph
  LatexName dummy
  ParIndent MM
  ParSkip   0.4
  Align Left
  AlignPossible Block, Left, Right, Center
  MarginFirst_Dynamic
  TopSep0
  BottomSep 0
  ParSep0
  LabelType Static
  LabelBottomSep0
  LabelString   "___"
  KeepEmpty 1

  LabelFont 
Series  Medium
SizeNormal
Color   latex
  EndFont
End


>>
>>One workaround: put a "\par" command in ERT in a "Standard"  
>>environment between the two definitions.  I don't know how that will  
>>change spacing between the environments in the printed document, but  
>>it should achieve the desired effect.

Could be added to the basic styles, until this separation problem is
solved (1.5 ?)

-- 
Jean-Pierre