Re: Physical units

2007-06-01 Thread Miki Dovrat
Hi,

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?

Miki

Uwe Stöhr [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Steed, Robert J schrieb:

 I'm starting to write my thesis in Lyx and it so happens that I need to 
 use microns(?) in my physical units alot. But I can't get a non-italic ? 
 in math mode. Unicode doesn't seem to work either I get error messages:

 Package inputenc Error: Unicode char \u8:μ not set up for use with 
 LaTeX.

 As you are using LyX 1.5 you can enter it directly via the keyboard. The 
 only thing you have to do
 is to use the default encoding for English in your case. Attached is a 
 LyX-file showing this.

 You can alternatively use the ERT-command
 \textmu
 when you add this to your document preamble:
 \usepackage{textcomp}

 Concerning units, don't forget that there is only a hlaf space between 
 number and units. A half
 space is produced in LyX with the shortcut Ctrl-Shift Space (menu 
 Insert- Formatting - Thin
 space), see also the attached example.

 regards Uwe
 





Re: A few problems with Lyx 1.5 beta3

2007-06-01 Thread Jean Kaplan

I am on PPC Mac
Jean
Le 31 mai 07 à 14:41, Bennett Helm a écrit :


On May 31, 2007, at 4:48 AM, Jean Kaplan wrote:


Right, I forgot to say that I work on Mac OS 10.4.9,
Jean
Le 30 mai 07 à 13:56, Jean-Marc Lasgouttes a écrit :


Jean == Jean Kaplan [EMAIL PROTECTED] writes:


Jean I have installed lyx 1.5 beta 3 version (I used 1.4.4), and I
Jean have a few problems 1) Crashes are frequent, for reasons which
Jean remain obscure to me.


I have not encountered frequent crashes. The only one I've noted is  
a crash on log in when LyX is in the Startup items. If you can,  
please provide more details.


By the way, are you on Intel or PPC Mac?




Re: beta 3 and lyx2lyx

2007-06-01 Thread Anders Ekberg

Marcelo Acuña
Wed, 30 May 2007 14:03:06 -0700

 Then, can you manually convert your file? I mean,
 under a command prompt, run

 python -tt
 /usr/local/share/lyx-1.5.0b3/lyx2lyx/lyx2lyx -t 221
 yourfile.lyx  newfile.lyx

 Bo

 With this command I can run lyx2lyx but I get several
errors and I can´t get a file correctly exported.
 I get this message:

 UnicodeEncodeError: latin-1 codec can´t encode
character u\u0301 in position 0: ordinal not in
range(256)
 When in the file I deleted the character that produce
error and re run lyx2lyx I get a new error with
u\u2044 character and so on.
 When I deleted all character with problem, lyx2lyx
export 99% of my file and become crazy:
 At the end of file lyx2lyx get error with all
accented character.

It sounds like:
http://bugzilla.lyx.org/show_bug.cgi?id=3313

If you are in a hurry, there's a patch at
http://www.mail-archive.com/[EMAIL PROTECTED]/msg119311.html
Note that it has not been included in the official source, but it  
converts many of the unicode characters.


Or you can replace the unicode characters by hand using the list on
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/unicodesymbols

Not that you may need to specify a latex package in the preamble  
using \usepackage{bla}. This is the case if you get an error message  
when exporting to pdf (i.e. not when converting). In your case there  
seems to be a lot of unicode symbols, so all of them may not be  
covered by the symbols list. You need to delete those characters  
manually.


Anders




Re: Lyx-1.5 beta3 and letter class

2007-06-01 Thread Jürgen Spitzmüller
Deane Harder wrote:
 I use lyx 1.5 beta3 on Mac. When I opened a New file from template and
 chose letter (g-brief-de) and tried to PDF it, I got the following error
 message: LaTeX Error: Command \Telefon already defined. The same happens
 when I open existing lyx letter documents that I wrote with lyx 1.4. Any
 ideas?

http://marc.info/?l=lyx-usersm=117035689918759w=2

Jürgen


Re: Force document regeneration

2007-06-01 Thread Jürgen Spitzmüller
Phil wrote:
 Lyx cannot know about all possible changes that require a rerun of
 Latex.

Theoretically, it should.

Jürgen


Re: Physical units

2007-06-01 Thread Uwe Stöhr

Miki Dovrat schrieb:

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?


You already know the answer, see the bottom of the email you sent:

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half
space is produced in LyX with the shortcut Ctrl-Shift Space (menu 
Insert- Formatting - Thin

space), see also the attached example.



Uwe


Re: Physical units

2007-06-01 Thread Dov Feldstern

Miki Dovrat wrote:

Hi,

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?


Miki


Well, if you put it inside an equation, then the thin space itself *is* 
protected. BTW, inside an equation you can also type in the thin space 
as \, .


I created a math macro for myself called units which does the following:

#1\,\mathrm{#2}

Then, to type in units you just have to Ctrl-m (enter math mode) \units 
 space (enter the value) RIGHT (or LEFT in an RTL paragraph) (enter the 
units) space space. The result has a protected thin space, with the 
units in roman letters, as they should be.


Dov



Uwe Stöhr [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

Steed, Robert J schrieb:

I'm starting to write my thesis in Lyx and it so happens that I need to 
use microns(?) in my physical units alot. But I can't get a non-italic ? 
in math mode. Unicode doesn't seem to work either I get error messages:


Package inputenc Error: Unicode char \u8:μ not set up for use with 
LaTeX.
As you are using LyX 1.5 you can enter it directly via the keyboard. The 
only thing you have to do
is to use the default encoding for English in your case. Attached is a 
LyX-file showing this.


You can alternatively use the ERT-command
\textmu
when you add this to your document preamble:
\usepackage{textcomp}

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half
space is produced in LyX with the shortcut Ctrl-Shift Space (menu 
Insert- Formatting - Thin

space), see also the attached example.

regards Uwe








Re: Physical units

2007-06-01 Thread Uwe Stöhr

Dov Feldstern schrieb:


BTW, inside an equation you can also type in the thin space as \,


You can also use Ctrl-Space and then press Space several times to select the space you need. 
Ctrl-Space is equal to \,


regards Uwe


LyX version 1.5.0 (release candidate 1) is released

2007-06-01 Thread José Matos
Public release of LyX version 1.5.0 (release candidate 1)
===

We are glad to announce the release of LyX 1.5.0 (release candidate 1).

We encourage users to try this release candidate and report
any feedback or problems to lyx-devel at lists.lyx.org.

The difference to the last beta release is due to bug fixes only,
no new features are allowed at this stage of development. The only
exception to this rule is the addition of Farsi as a supported language
since the available patch was not integrated in the previous release.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and the
   Macintosh and modern Windows platforms. 

You can download LyX 1.5.0rc1 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc1.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc1.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.devel.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0rc1, you may either
e-mail the LyX developers' mailing list (lyx-devel @ lists.lyx.org), or open
a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (release candidate 1)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then please report it to the lyx-devel
mailing list.

* Integrated CJK support

The very first result of the Unicode transition is that we have finally
merged in the externally maintained CJK-LyX branch.
The languages Chinese, Japanese, and Korean are now supported in
the user interface.
Note that from now on, former encoding settings for these languages
done via ERT or the document preamble will lead to LaTeX-errors!

* Multiple views of the same buffer

LyX can now display multiple views of the same buffer. I.e., you can
now open a single document in multiple windows and work on different
parts of it synchronously.

* Outliner and embedded TOC

LyX has another long-awaited feature: a basic outliner mode, in which
you can move chapters and sections around in the Table of Contents
dialog. (The outliner has been backported and was released with LyX

accented characters

2007-06-01 Thread pol
Hi, 

The command \jobname  in the preamble does not print accented 
characters of the file name.

how to fix?


thank you 

--
Pol



LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm
A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg

The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also religiously  
make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such as  
Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you run  
the installer. Then run LyX and check the View menu to make sure  
options like PDF (pdflatex) appear. If the menu is mostly empty,  
you'll probably be able to fix it by reconfiguring LyX (LyX   
Reconfigure) and then restarting. If you have this problem, please  
report it to the list along with details concerning your setup: Intel  
or PPC Mac as well as how you installed LaTeX (i-Installer, MacTeX,  
fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we move  
to a final release. I urge you to try it and report your experiences  
with it to the list.


Thanks.

Bennett



Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says that  
LyX-1.5.0rc1-Mac.dmg has not been recognized)inline: lyx-failure.tiff
.
Jean
Le 1 juin 07 à 17:27, Bennett Helm a écrit :

A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg

The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also  
religiously make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such  
as Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you  
run the installer. Then run LyX and check the View menu to make  
sure options like PDF (pdflatex) appear. If the menu is mostly  
empty, you'll probably be able to fix it by reconfiguring LyX (LyX  
 Reconfigure) and then restarting. If you have this problem,  
please report it to the list along with details concerning your  
setup: Intel or PPC Mac as well as how you installed LaTeX (i- 
Installer, MacTeX, fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we  
move to a final release. I urge you to try it and report your  
experiences with it to the list.


Thanks.

Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue in  
transferring the file to the server. Unfortunately, the server isn't  
letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There are  
too many connected users).


Jean-Marc: can you try uploading again?

Bennett


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

I have apparently this problem with 1.50beta3 :
In the view menu, after reconfiguring, only the items pdf (dvipdfm)  
and plain text (ps2ascii) appear, however the new side buttons on the  
window work (and are extremely handy).
Configuration: PPC mac with mac os 10.4.9, Latex installed with i- 
Installer.

Jean
Le 1 juin 07 à 17:27, Bennett Helm a écrit :

The second concerns typesetting. Before you run LyX for the first  
time, make sure you run the installer. Then run LyX and check the  
View menu to make sure options like PDF (pdflatex) appear. If the  
menu is mostly empty, you'll probably be able to fix it by  
reconfiguring LyX (LyX  Reconfigure) and then restarting. If you  
have this problem, please report it to the list along with details  
concerning your setup: Intel or PPC Mac as well as how you  
installed LaTeX (i-Installer, MacTeX, fink, macports, etc.).




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

I did try uploading twice, with the same result.
Jean
Le 1 juin 07 à 18:08, Bennett Helm a écrit :


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There  
are too many connected users).


Jean-Marc: can you try uploading again?

Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 12:08 PM, Bennett Helm wrote:


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There  
are too many connected users).


Jean-Marc: can you try uploading again?


I finally did get through. It works for me. Is anyone else  
experiencing this problem?


Bennett


how to use custom character styles

2007-06-01 Thread Jeremy C. Reed
I have a 180+ page book with many (probably over 500) character 
formattings.

I want to have styles defined for:

filenames
command names
command line options
configuration options
command output (I just use lyxcode for that)
command input
etc..

Currently I am just using stuff like typewriter, italics (or emphasis), 
bold, ... but whenever I want to try something different I will have to 
change hundreds of things. So I want to be able to identify something as a 
filename or command for example.

Any examples?

I am using 1.4.3 and the User's Guide says: The LyX Team has at last (as 
of LyX version 1.4) introduced true character styles, but currently these 
must be defined explicitly in the document layout file. There's currently 
no GUI support to define new, or tweak existing, character styles to allow 
you, the user, to customize which font changes correspond to what styles.

Can someone share examples for this?

I see that http://wiki.lyx.org/Playground/CharacterStyles
mentions some examples. How can I use these?

Also email from Steve L at 
http://wiki.lyx.org/Tips/KeyboardShortcutForCharacterStyles says:

- Insert
- Character Style
- Pick which character style 

But I don't see that anywhere. (Not on my Insert menu.) Can someone 
explain this?

  Jeremy C. Reed

p.s. Why doesn't the website have the LyX documentation? If it does, I 
overlooked it -- where is it linked from?

p.p.s. Why are there both http://wiki.lyx.org/Playground/CharacterStyles 
and http://wiki.lyx.org/Category/CharacterStyle wiki pages?

Or why does Google have Playground indexed if it is a practice sandbox?


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan
I tried again this time using safari instead of firefox. I get the  
following diagnostic:
Safari ne parvient pas à ouvrir la page “ftp://ftp.devel.lyx.org/pub/ 
lyx/LyX-1.5.0rc1-Mac.dmg” car aucune donnée n’a pu être chargée  
depuis cette adresse.


in english : Safari cannot open the page ... because no data could  
be downloaded from this address


I also tried using plain anonymous ftp. I could reach the directory / 
pub/lyx/ but I could not see the file LyX-1.5.0rc1-Mac.dmg.


Jean




Le 1 juin 07 à 18:22, Bennett Helm a écrit :


On Jun 1, 2007, at 12:08 PM, Bennett Helm wrote:


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There  
are too many connected users).


Jean-Marc: can you try uploading again?


I finally did get through. It works for me. Is anyone else  
experiencing this problem?


Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 11:27 AM, Bennett Helm wrote:

A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg


Oops! -- Make that:

ftp://ftp.devel.lyx.org/pub/lyx/devel/LyX-1.5.0rc1-Mac.dmg

Sorry.

Bennett



The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also  
religiously make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such  
as Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you  
run the installer. Then run LyX and check the View menu to make  
sure options like PDF (pdflatex) appear. If the menu is mostly  
empty, you'll probably be able to fix it by reconfiguring LyX (LyX  
 Reconfigure) and then restarting. If you have this problem,  
please report it to the list along with details concerning your  
setup: Intel or PPC Mac as well as how you installed LaTeX (i- 
Installer, MacTeX, fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we  
move to a final release. I urge you to try it and report your  
experiences with it to the list.


Thanks.

Bennett





--

Bennett W. Helm
Chair, Program in Scientific and Philosophical Studies of Mind
Department of Philosophy
Franklin  Marshall College
Lancaster, PA 17604-3003
Office: 717-291-4392
FAX: 717-291-4369
Web: http://www.fandm.edu/x11323.xml




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan
Yes I used this last address from the last message by Jean-Marc  
Lasgouttes and it worked.


Concerning the issues you mention
1) Times font does not work properly, but times-roman does.
2) I have the second problem you mention, even after recombination (I  
only see latexpdfm and ps2ascii in the view menu), but the new  
buttons allow to make dvi and pdf files  and it says it uses pdflatex.

3) The problem I had with previews not working seems solved
4) The previews are still far too big.
I work on a mac PPC, mac os 10.4.9, latex installed with i-installer
Jean
Le 1 juin 07 à 19:52, Bennett Helm a écrit :


On Jun 1, 2007, at 11:27 AM, Bennett Helm wrote:

A binary has now been posted for LyX/Mac 1.5.0 release candidate  
1, available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg


Oops! -- Make that:

ftp://ftp.devel.lyx.org/pub/lyx/devel/LyX-1.5.0rc1-Mac.dmg

Sorry.

Bennett



The usual cautions apply: this is beta software, and is apt to  
have some bugs leading to crashes. While I don't expect there to  
be any major problems, and while I have been using developmental  
versions LyX-1.5.0 on my own documents without any trouble, I also  
religiously make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such  
as Times) do not display properly on screen; Helvetica is  
displayed instead. This will not affect typeset output. The second  
concerns typesetting. Before you run LyX for the first time, make  
sure you run the installer. Then run LyX and check the View menu  
to make sure options like PDF (pdflatex) appear. If the menu is  
mostly empty, you'll probably be able to fix it by reconfiguring  
LyX (LyX  Reconfigure) and then restarting. If you have this  
problem, please report it to the list along with details  
concerning your setup: Intel or PPC Mac as well as how you  
installed LaTeX (i-Installer, MacTeX, fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we  
move to a final release. I urge you to try it and report your  
experiences with it to the list.


Thanks.

Bennett





--

Bennett W. Helm
Chair, Program in Scientific and Philosophical Studies of Mind
Department of Philosophy
Franklin  Marshall College
Lancaster, PA 17604-3003
Office: 717-291-4392
FAX: 717-291-4369
Web: http://www.fandm.edu/x11323.xml





Re: how to use custom character styles

2007-06-01 Thread Richard Heck

Jeremy C. Reed wrote:
I have a 180+ page book with many (probably over 500) character 
formattings.


I want to have styles defined for:

filenames
command names
command line options
configuration options
command output (I just use lyxcode for that)
command input
etc..

Currently I am just using stuff like typewriter, italics (or emphasis), 
bold, ... but whenever I want to try something different I will have to 
change hundreds of things. So I want to be able to identify something as a 
filename or command for example.


Any examples?
  
Look at the stdcharstyles.inc file, which you'll find in e.g. 
/usr/share/lyx/. You'll need to define yours in a similar way (or use 
this one), and then include the file in a custom layout file. This can 
be as simple as:

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article.cls]{article (mine)}
Input article.cls
Input mycharstyles.inc
Put this in your user layout directory (e.g., /home/you/.lyx/layouts/), 
reconfigure LyX, choose it, and you're off.



Or why does Google have Playground indexed if it is a practice sandbox?

Because Google's search bots aren't yet perfect.

Richard

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



Re: RC1 is great!

2007-06-01 Thread Bo Peng

1000 Thanks (Italians would say 'MILLE Grazie') for your great work on
this wonderful peace of software.


Thanks taken, but be warned to save your file often because it still
crashes from time to time.

Bo


RC1 is great!

2007-06-01 Thread Hellmut Weber

Hi
this afternoon i downloaded lyx-1.5.0rc1 on my machine (gentoo linux, 
kde-3.5.7, tetex-3.0).


I'm very enthusiastic about the progress with this reease candidate.
All the little problems I had so far seem to be gone and the new 
features I have tried are absolutely great.


Especially the TOC with the outline functionality is very convincing.
Steve, I have to admit that I tried a bit quite some time ago your vim 
outliner, but I never got used to it. Now the situation has changed, I'm 
sure I will use this feature very often.


1000 Thanks (Italians would say 'MILLE Grazie') for your great work on 
this wonderful peace of software.


Greetings from Munich

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: how to use custom character styles

2007-06-01 Thread Steve Litt
On Friday 01 June 2007 13:34, Jeremy C. Reed wrote:
 I have a 180+ page book with many (probably over 500) character
 formattings.

 I want to have styles defined for:

 filenames
 command names
 command line options
 configuration options
 command output (I just use lyxcode for that)
 command input
 etc..

 Currently I am just using stuff like typewriter, italics (or emphasis),
 bold, ... but whenever I want to try something different I will have to
 change hundreds of things. So I want to be able to identify something as a
 filename or command for example.

Hi Jeremy,

You're right that things like filenames and command names should never be 
formatted with generic stuff like typewriter, emphesis and bold. You're right 
that the correct way is to use character styles. I'm going to tell you the 
generics of character styles first.

I defined something like your command line options character style. It's 
typewriter font representing any kind of source code. I called it CharCode. 
Here's the LyX portion of the character style:

CharStyle Charcode
Font
Family  Typewriter
EndFont
LatexName   charcode
LatexType   Command
End

The stuff between Font and EndFont determines how it looks from within LyX. 
You'll notice that the LatexType is Command. That's important -- character 
styles must have a LatexType of Command, never of Environment or anything 
else (as far as I know). The LatexName is charcode. That's the LaTeX command 
that gets run, using the text to which the character style is applied as an 
argument. The following is the LaTeX definition of charcode:

% ### Character style -- monotype for code in paragraph
\newcommand{\charcode}[1]{\texttt{#1}}%

In other words, you make a LaTeX command to format the output the way you want 
it, and then you make a LyX CharStyle to format it within the LyX editor and 
also to call the command.

The only trouble I see your having is if you absolutely must have all the 
different character styles look differently, which I believe usually isn't 
the case in technical books. IIRC Sams Publishing told me to use bold 
monofont for text I typed at the command prompt, and regular monofont for 
what the program output. IIRC Sams told me to use regular monofont to 
represent source code and configuration files. However, you're doing it right 
by making different character styles for all of these things, because if you 
ever DO want to differentiate them, it's as simple as changing the LaTeX 
command.


 Also email from Steve L at
 http://wiki.lyx.org/Tips/KeyboardShortcutForCharacterStyles says:

 - Insert
 - Character Style
 - Pick which character style

 But I don't see that anywhere. (Not on my Insert menu.) Can someone
 explain this?

I can. LyX is smart enough that it doesn't offer that option in the Insert 
menu until you've created at least one character style. The minute you 
successfully create a character style, Character Style will appear as an 
option on your Insert submenu.

If I were in your shoes, I'd create a tiny LyX test document and a tiny layout 
file, and experiment.

Hope this helps.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: how to use custom character styles

2007-06-01 Thread Jeremy C. Reed
On Fri, 1 Jun 2007, Richard Heck wrote:

 Look at the stdcharstyles.inc file, which you'll find in e.g. /usr/share/lyx/.
 You'll need to define yours in a similar way (or use this one), and then
 include the file in a custom layout file. This can be as simple as:
 #% Do not delete the line below; configure depends on this
 # \DeclareLaTeXClass[article.cls]{article (mine)}
 Input article.cls
 Input mycharstyles.inc
 Put this in your user layout directory (e.g., /home/you/.lyx/layouts/),
 reconfigure LyX, choose it, and you're off.

That had errors, so I just copied scrbook.layout to my ~/.lyx/layouts/ and 
added the line:

Input mycharstyles.inc

Is there any file that corresponds to stdcharstyles.inc that defines 
\newcommand{} for \filename and the others in that file? Or do I have to 
define all these myself?


  Jeremy C. Reed


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Anders Ekberg

4) The previews are still far too big.


What do you mean?
Is the file size much bigger than the sum of your included image  
files? Try PDF- Compress PDF from the print dialogue.
Or do you mean the size of the preview figures? Try Ctrl-click and  
set a scale factor in the LaTex and LyX-options dialogue. (But I  
agree it would be nice if the picture size was defaulted to say 75%  
of the window size).


/Anders



Re: RC1 is great!

2007-06-01 Thread Mukhtar Ullah
Bo Peng [EMAIL PROTECTED] writes:

 
  1000 Thanks (Italians would say 'MILLE Grazie') for your great work on
  this wonderful peace of software.
 
 Thanks taken, but be warned to save your file often because it still
 crashes from time to time.
 
 Bo
 
 


I have been working in LyX 15 beta 2,3 since they were released and I never
experienced a crash so far. I did not feel that I was working with a beta
version. I am sure this RC1 will be even better. Great work! 

Mukhtar



Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 5:34 PM, Anders Ekberg wrote:


4) The previews are still far too big.


What do you mean?
Is the file size much bigger than the sum of your included image  
files? Try PDF- Compress PDF from the print dialogue.
Or do you mean the size of the preview figures? Try Ctrl-click and  
set a scale factor in the LaTex and LyX-options dialogue. (But I  
agree it would be nice if the picture size was defaulted to say 75%  
of the window size).


I believe Jean means math previews.

http://bugzilla.lyx.org/show_bug.cgi?id=3784

Bennett


RC1 - more remarks

2007-06-01 Thread Hellmut Weber

Hi,
two remarks:

1) When i start lyx-rc1 from the command line i get 11 messages:
'Menu warning: menu entries Stichwort|w and Zweig|w share the same 
shortcut.'


I couldn't find the place where these menu entries are defined, to 
correct the ambiguity.


2) It sems that lyx-rc1 is sometimes much slower than other times.
I had the impression that this was the case when i called it the very 
first time after the installation both as normal user and as root.

Is that due to the generation of the directory '~/.lyx' ?

But then i had another file on which it worked much slower than before 
and i don't see any reason for that.

Has anybody else similar effects?

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq




Re: how to use custom character styles

2007-06-01 Thread Hellmut Weber

Hi Steve,

I can. LyX is smart enough that it doesn't offer that option in the Insert 
menu until you've created at least one character style. The minute you 
successfully create a character style, Character Style will appear asan 
option on your Insert submenu.

I'm surprised because in my installation (gentoo-linux, kde-3.5.7,
tetex-3.0, lyx-1.5.0rc1) it appears here:

Edit TextStyle 

then there appears a submenu:

Customized...

Capitalize
Uppercase
Lowercase

And since the moment my Char Style 'Fboxed' is active, it appears above
the line with 'Customized...'

BTW I agree with your considerations on the use of Char Styles ;-)

Greetings

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq








Re: how to use custom character styles

2007-06-01 Thread Hellmut Weber

Hi Jeremy,


I want to have styles defined for:

filenames

...


etc..

...


Can someone share examples for this?

Here comes a modest example (charstyle.layout), it defines a char style
to put some piece of a running text into a framed box.
Note the second line which defines the 'Label' of the Document class!

How to proceed:

1) Put your layout file with the char style definition(s) in your local
folder $HOME/.lyx/layouts
(Suppose you put my example 'charstyle.layout' there)

2) start lyx and reconfigure
(Steve Litt indicateed recently how to do so from the command line, but
i don't remember exactly how)

4) $ lyx test_char_style.lyx

5) Create a new document (ctrl+N), put some text in, select a piece of text

6) Document Settings Document Class

7) Open the associated pull down list 'Document class' and choose the
document class 'article (Char Style Test)', click OK (or quicker: alt+O)

Now the marked part of the text will be shown inside of some sort of
blue brackets, labelled 'Fboxed'

8) Compile to PDF (alt+V, f) and your pdf-viewer should pop up showing
you the result.

To define char styles you will need some LaTeX knowledge. Once you got
the general idea it's not that difficult.

BTW This afternoon i installed lyx-1.5.0rc1, it's great!
What i described above works with 1.5.0!

I'm working on an IBM Lenovo T60 witrh gentoo-linux, kde-3.5.7, tetex-3.0

HTH + Happy LyXing!

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq

#LyX 1.5.0rc1 created this file. For more info see http://www.lyx.org/
\lyxformat 271
\begin_document
\begin_header
\textclass charstyle
\language ngerman
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author leo 
\end_header

\begin_body

\begin_layout Standard
asdf
\end_layout

\begin_layout Standard
asdf 
\begin_inset CharStyle Fboxed
show_label true
status inlined

\begin_layout Standard
qewrf
\end_layout

\end_inset

 asdf
\end_layout

\begin_layout Standard
adsf 
\begin_inset CharStyle Fboxed
show_label false
status inlined

\begin_layout Standard
qewrrf
\end_layout

\end_inset

 asdf2345 ycxv
\end_layout

\begin_layout Standard
asddf098u
\end_layout

\end_body
\end_document



newfile2.pdf
Description: Adobe PDF document
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrartcl]{article (Char Style Test)}
#
# Char Style definition file for HWWTest documents
# Hellmut Weber [EMAIL PROTECTED], 2007-06-01 
#
# based on /usr/share/lyx/layouts/scrartcl.layout
# Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11.

Preamble 
  %
  % === Preamble part from charstyle.layout ===
  %
  \RequirePackage{setspace}
  \RequirePackage{pifont}
  %
  \renewcommand{\familydefault}{cmss}
  %
  \renewcommand{\theenumi}  {\Alph{enumi}}
  \renewcommand{\labelenumi}{\theenumi.}
  \renewcommand{\theenumii} {\Roman{enumii}}
  \renewcommand{\labelenumii}   {\theenumii.}
  \renewcommand{\theenumiii}{\arabic{enumiii}}
  \renewcommand{\labelenumiii}  {\theenumiii.}
  \renewcommand{\theenumiv} {\alph{enumiv}}
  \renewcommand{\labelenumiv}   {\theenumiv)}
  %
  % === End preamble part from charstyle.layout ===
  %
  EndPreamble

# General textclass parameters
Input /usr/share/lyx/layouts/scrartcl.layout

# 2007-04-29 Hw, frame-boxed code-parts
# Jürgen Spitzmüller's answer to my question
# CharStyle Fboxed_Code, ,-( # Here no underscore!
CharStyle Fboxed
  LatexType Command
  LatexName fboxedcode
  LabelFont
Family  Roman
Color   blue
EndFont
  Preamble
% === Start preamble part of Char style fboxed ===
\newcommand{\fboxedcode}[1]{%
  \fbox{\texttt{\small%
#1%
}}% texttt fbox
  }%
% === End   preamble part of Char style fboxed ===
EndPreamble
  End




Re: how to use custom character styles

2007-06-01 Thread Steve Litt
On Friday 01 June 2007 19:11, Hellmut Weber wrote:
 Hi Steve,

  I can. LyX is smart enough that it doesn't offer that option in the
  Insert menu until you've created at least one character style. The minute
  you successfully create a character style, Character Style will appear
  asan option on your Insert submenu.

 I'm surprised because in my installation (gentoo-linux, kde-3.5.7,

 tetex-3.0, lyx-1.5.0rc1) it appears here:
  Edit TextStyle 

 then there appears a submenu:

 Customized...
 
 Capitalize
 Uppercase
 Lowercase

Thanks Hellmut,

Jeremy and I are using 1.4.x. Sounds like 1.5.x is better and more 
sophisticated. Something to look forward to.

I hope with 1.5.x I can still do it the way I do it in 1.4.x, because the way 
I've been doing it can create almost any conceivable text appearance. In my 
new book Learn Vim Tonight: Use the Worlds Most Productive Editor Tomorrow 
I had a text style called ex, which I used only on the word ex (the line 
editor part of vi) so that it stood out, looked funky, and was immediately 
recognizable as a special word.

Thanks

SteveT


Re: how to use custom character styles

2007-06-01 Thread Hellmut Weber

Hi Steve,
i don't have much experience so far with Char Styles, but i'm pretty 
sure you can do everything you want, i.e. possible with a latex command.


Jeremy and I are using 1.4.x. Sounds like 1.5.x is better and more 
sophisticated. Something to look forward to.
I suppose we will get very quickly used to the new menus. For me LyX is 
probably the most used too of all.


Good Luck with your books

Hellmut


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: RC1 - more remarks

2007-06-01 Thread Marcelo Acuña

--- Hellmut Weber [EMAIL PROTECTED] escribió:

 Hi,
 two remarks:
 
 1) When i start lyx-rc1 from the command line i get
 11 messages:
 'Menu warning: menu entries Stichwort|w and
 Zweig|w share the same 
 shortcut.'
 

 I have same problem.
 Marcelo



  __ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Michael Anderson
An odd little thing happened when I started up the RC1.  In addition  
to only having dvipdfm available for preview, I don't have a single  
menu or tool bar.  The submenus for the toolbars are blank as are a  
number of other submenus.  I'm running an intel mac using i- 
installer, all aspects of which have been recently updated.  Anybody  
else seen this?


Mike Anderson




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bo Peng

On 6/1/07, Michael Anderson [EMAIL PROTECTED] wrote:

An odd little thing happened when I started up the RC1.  In addition
to only having dvipdfm available for preview, I don't have a single
menu or tool bar.  The submenus for the toolbars are blank as are a
number of other submenus.  I'm running an intel mac using i-
installer, all aspects of which have been recently updated.  Anybody
else seen this?


No idea, but have you tried to move away your old .lyx directory?

Bo


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Michael Anderson

how do you mean?

Mike Anderson


On Jun 1, 2007, at 7:14 PM, Bo Peng wrote:


On 6/1/07, Michael Anderson [EMAIL PROTECTED] wrote:

An odd little thing happened when I started up the RC1.  In addition
to only having dvipdfm available for preview, I don't have a single
menu or tool bar.  The submenus for the toolbars are blank as are a
number of other submenus.  I'm running an intel mac using i-
installer, all aspects of which have been recently updated.  Anybody
else seen this?


No idea, but have you tried to move away your old .lyx directory?

Bo





Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bo Peng

On 6/1/07, Michael Anderson [EMAIL PROTECTED] wrote:

how do you mean?


Lyx uses a $HOME/.lyx to save all sorts of settings. Although I have
never experienced your problem, it is possible that these old settings
conflict with the new ones. You can mv .lyx .lyx1 and restart lyx and
see what happens.

Bo


Beamer Class Unknown

2007-06-01 Thread Lucas Amorim
Hello, 

I am using Debian GNU/Linux testing (lenny). I have installed
latex-beamer and then lyx. When trying to open a beamer template file
included in lyx i get this error message: Unknown document class:
Using the default document class, because the class beamer is unknown.

And then it opens the file but does not look like it should be... How do
I solve this problem? Please help me, I've been trying to do this for a
month and no one knows how to solve it :(

Thank you very much!
Lucas Amorim




___ 
Yahoo! Mail - Sempre a melhor opção para você! 
Experimente já e veja as novidades. 
http://br.yahoo.com/mailbeta/tudonovo/
 




Re: Beamer Class Unknown

2007-06-01 Thread Jürgen Spitzmüller
Lucas Amorim wrote:
 I am using Debian GNU/Linux testing (lenny). I have installed
 latex-beamer and then lyx. When trying to open a beamer template file
 included in lyx i get this error message: Unknown document class:
 Using the default document class, because the class beamer is unknown.

Did you install the beamer class in the correct directory? Did you 
run texthash (in the console) after installing it? Did you run 
Edit-Reconfigure in LyX?

Jürgen


Re: RC1 - more remarks

2007-06-01 Thread Jürgen Spitzmüller
Hellmut Weber wrote:
 1) When i start lyx-rc1 from the command line i get 11 messages:
 'Menu warning: menu entries Stichwort|w and Zweig|w share the same
 shortcut.'

 I couldn't find the place where these menu entries are defined, to
 correct the ambiguity.

This is defined in the German localization file (de.po). The translation for 
1.5.0 is still work in progress, but I'm sure Michael Gerz fix this soon.

 2) It sems that lyx-rc1 is sometimes much slower than other times.
 I had the impression that this was the case when i called it the very
 first time after the installation both as normal user and as root.
 Is that due to the generation of the directory '~/.lyx' ?

Maybe this, maybe reconfigure has been called.

 But then i had another file on which it worked much slower than before
 and i don't see any reason for that.
 Has anybody else similar effects?

There have been some quite extensive (yet necessary) rewrite of LyX's cursor 
handling recently which still might slow down LyX sometimes. If you can track 
down the slowdown to some specific case, please report.

Jürgen


Re: Physical units

2007-06-01 Thread Miki Dovrat
Hi,

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?

Miki

Uwe Stöhr [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]
 Steed, Robert J schrieb:

 I'm starting to write my thesis in Lyx and it so happens that I need to 
 use microns(?) in my physical units alot. But I can't get a non-italic ? 
 in math mode. Unicode doesn't seem to work either I get error messages:

 Package inputenc Error: Unicode char \u8:μ not set up for use with 
 LaTeX.

 As you are using LyX 1.5 you can enter it directly via the keyboard. The 
 only thing you have to do
 is to use the default encoding for English in your case. Attached is a 
 LyX-file showing this.

 You can alternatively use the ERT-command
 \textmu
 when you add this to your document preamble:
 \usepackage{textcomp}

 Concerning units, don't forget that there is only a hlaf space between 
 number and units. A half
 space is produced in LyX with the shortcut Ctrl-Shift Space (menu 
 Insert- Formatting - Thin
 space), see also the attached example.

 regards Uwe
 





Re: A few problems with Lyx 1.5 beta3

2007-06-01 Thread Jean Kaplan

I am on PPC Mac
Jean
Le 31 mai 07 à 14:41, Bennett Helm a écrit :


On May 31, 2007, at 4:48 AM, Jean Kaplan wrote:


Right, I forgot to say that I work on Mac OS 10.4.9,
Jean
Le 30 mai 07 à 13:56, Jean-Marc Lasgouttes a écrit :


Jean == Jean Kaplan [EMAIL PROTECTED] writes:


Jean I have installed lyx 1.5 beta 3 version (I used 1.4.4), and I
Jean have a few problems 1) Crashes are frequent, for reasons which
Jean remain obscure to me.


I have not encountered frequent crashes. The only one I've noted is  
a crash on log in when LyX is in the Startup items. If you can,  
please provide more details.


By the way, are you on Intel or PPC Mac?




Re: beta 3 and lyx2lyx

2007-06-01 Thread Anders Ekberg

Marcelo Acuña
Wed, 30 May 2007 14:03:06 -0700

 Then, can you manually convert your file? I mean,
 under a command prompt, run

 python -tt
 /usr/local/share/lyx-1.5.0b3/lyx2lyx/lyx2lyx -t 221
 yourfile.lyx  newfile.lyx

 Bo

 With this command I can run lyx2lyx but I get several
errors and I can´t get a file correctly exported.
 I get this message:

 UnicodeEncodeError: latin-1 codec can´t encode
character u\u0301 in position 0: ordinal not in
range(256)
 When in the file I deleted the character that produce
error and re run lyx2lyx I get a new error with
u\u2044 character and so on.
 When I deleted all character with problem, lyx2lyx
export 99% of my file and become crazy:
 At the end of file lyx2lyx get error with all
accented character.

It sounds like:
http://bugzilla.lyx.org/show_bug.cgi?id=3313

If you are in a hurry, there's a patch at
http://www.mail-archive.com/[EMAIL PROTECTED]/msg119311.html
Note that it has not been included in the official source, but it  
converts many of the unicode characters.


Or you can replace the unicode characters by hand using the list on
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/unicodesymbols

Not that you may need to specify a latex package in the preamble  
using \usepackage{bla}. This is the case if you get an error message  
when exporting to pdf (i.e. not when converting). In your case there  
seems to be a lot of unicode symbols, so all of them may not be  
covered by the symbols list. You need to delete those characters  
manually.


Anders




Re: Lyx-1.5 beta3 and letter class

2007-06-01 Thread Jürgen Spitzmüller
Deane Harder wrote:
 I use lyx 1.5 beta3 on Mac. When I opened a New file from template and
 chose letter (g-brief-de) and tried to PDF it, I got the following error
 message: LaTeX Error: Command \Telefon already defined. The same happens
 when I open existing lyx letter documents that I wrote with lyx 1.4. Any
 ideas?

http://marc.info/?l=lyx-usersm=117035689918759w=2

Jürgen


Re: Force document regeneration

2007-06-01 Thread Jürgen Spitzmüller
Phil wrote:
 Lyx cannot know about all possible changes that require a rerun of
 Latex.

Theoretically, it should.

Jürgen


Re: Physical units

2007-06-01 Thread Uwe Stöhr

Miki Dovrat schrieb:

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?


You already know the answer, see the bottom of the email you sent:

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half
space is produced in LyX with the shortcut Ctrl-Shift Space (menu 
Insert- Formatting - Thin

space), see also the attached example.



Uwe


Re: Physical units

2007-06-01 Thread Dov Feldstern

Miki Dovrat wrote:

Hi,

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?


Miki


Well, if you put it inside an equation, then the thin space itself *is* 
protected. BTW, inside an equation you can also type in the thin space 
as \, .


I created a math macro for myself called units which does the following:

#1\,\mathrm{#2}

Then, to type in units you just have to Ctrl-m (enter math mode) \units 
 space (enter the value) RIGHT (or LEFT in an RTL paragraph) (enter the 
units) space space. The result has a protected thin space, with the 
units in roman letters, as they should be.


Dov



Uwe Stöhr [EMAIL PROTECTED] wrote in message 
news:[EMAIL PROTECTED]

Steed, Robert J schrieb:

I'm starting to write my thesis in Lyx and it so happens that I need to 
use microns(?) in my physical units alot. But I can't get a non-italic ? 
in math mode. Unicode doesn't seem to work either I get error messages:


Package inputenc Error: Unicode char \u8:μ not set up for use with 
LaTeX.
As you are using LyX 1.5 you can enter it directly via the keyboard. The 
only thing you have to do
is to use the default encoding for English in your case. Attached is a 
LyX-file showing this.


You can alternatively use the ERT-command
\textmu
when you add this to your document preamble:
\usepackage{textcomp}

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half
space is produced in LyX with the shortcut Ctrl-Shift Space (menu 
Insert- Formatting - Thin

space), see also the attached example.

regards Uwe








Re: Physical units

2007-06-01 Thread Uwe Stöhr

Dov Feldstern schrieb:


BTW, inside an equation you can also type in the thin space as \,


You can also use Ctrl-Space and then press Space several times to select the space you need. 
Ctrl-Space is equal to \,


regards Uwe


LyX version 1.5.0 (release candidate 1) is released

2007-06-01 Thread José Matos
Public release of LyX version 1.5.0 (release candidate 1)
===

We are glad to announce the release of LyX 1.5.0 (release candidate 1).

We encourage users to try this release candidate and report
any feedback or problems to lyx-devel at lists.lyx.org.

The difference to the last beta release is due to bug fixes only,
no new features are allowed at this stage of development. The only
exception to this rule is the addition of Farsi as a supported language
since the available patch was not integrated in the previous release.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and the
   Macintosh and modern Windows platforms. 

You can download LyX 1.5.0rc1 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc1.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc1.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.devel.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0rc1, you may either
e-mail the LyX developers' mailing list (lyx-devel @ lists.lyx.org), or open
a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (release candidate 1)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then please report it to the lyx-devel
mailing list.

* Integrated CJK support

The very first result of the Unicode transition is that we have finally
merged in the externally maintained CJK-LyX branch.
The languages Chinese, Japanese, and Korean are now supported in
the user interface.
Note that from now on, former encoding settings for these languages
done via ERT or the document preamble will lead to LaTeX-errors!

* Multiple views of the same buffer

LyX can now display multiple views of the same buffer. I.e., you can
now open a single document in multiple windows and work on different
parts of it synchronously.

* Outliner and embedded TOC

LyX has another long-awaited feature: a basic outliner mode, in which
you can move chapters and sections around in the Table of Contents
dialog. (The outliner has been backported and was released with LyX

accented characters

2007-06-01 Thread pol
Hi, 

The command \jobname  in the preamble does not print accented 
characters of the file name.

how to fix?


thank you 

--
Pol



LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm
A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg

The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also religiously  
make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such as  
Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you run  
the installer. Then run LyX and check the View menu to make sure  
options like PDF (pdflatex) appear. If the menu is mostly empty,  
you'll probably be able to fix it by reconfiguring LyX (LyX   
Reconfigure) and then restarting. If you have this problem, please  
report it to the list along with details concerning your setup: Intel  
or PPC Mac as well as how you installed LaTeX (i-Installer, MacTeX,  
fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we move  
to a final release. I urge you to try it and report your experiences  
with it to the list.


Thanks.

Bennett



Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says that  
LyX-1.5.0rc1-Mac.dmg has not been recognized)inline: lyx-failure.tiff
.
Jean
Le 1 juin 07 à 17:27, Bennett Helm a écrit :

A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg

The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also  
religiously make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such  
as Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you  
run the installer. Then run LyX and check the View menu to make  
sure options like PDF (pdflatex) appear. If the menu is mostly  
empty, you'll probably be able to fix it by reconfiguring LyX (LyX  
 Reconfigure) and then restarting. If you have this problem,  
please report it to the list along with details concerning your  
setup: Intel or PPC Mac as well as how you installed LaTeX (i- 
Installer, MacTeX, fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we  
move to a final release. I urge you to try it and report your  
experiences with it to the list.


Thanks.

Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue in  
transferring the file to the server. Unfortunately, the server isn't  
letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There are  
too many connected users).


Jean-Marc: can you try uploading again?

Bennett


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

I have apparently this problem with 1.50beta3 :
In the view menu, after reconfiguring, only the items pdf (dvipdfm)  
and plain text (ps2ascii) appear, however the new side buttons on the  
window work (and are extremely handy).
Configuration: PPC mac with mac os 10.4.9, Latex installed with i- 
Installer.

Jean
Le 1 juin 07 à 17:27, Bennett Helm a écrit :

The second concerns typesetting. Before you run LyX for the first  
time, make sure you run the installer. Then run LyX and check the  
View menu to make sure options like PDF (pdflatex) appear. If the  
menu is mostly empty, you'll probably be able to fix it by  
reconfiguring LyX (LyX  Reconfigure) and then restarting. If you  
have this problem, please report it to the list along with details  
concerning your setup: Intel or PPC Mac as well as how you  
installed LaTeX (i-Installer, MacTeX, fink, macports, etc.).




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

I did try uploading twice, with the same result.
Jean
Le 1 juin 07 à 18:08, Bennett Helm a écrit :


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There  
are too many connected users).


Jean-Marc: can you try uploading again?

Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 12:08 PM, Bennett Helm wrote:


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There  
are too many connected users).


Jean-Marc: can you try uploading again?


I finally did get through. It works for me. Is anyone else  
experiencing this problem?


Bennett


how to use custom character styles

2007-06-01 Thread Jeremy C. Reed
I have a 180+ page book with many (probably over 500) character 
formattings.

I want to have styles defined for:

filenames
command names
command line options
configuration options
command output (I just use lyxcode for that)
command input
etc..

Currently I am just using stuff like typewriter, italics (or emphasis), 
bold, ... but whenever I want to try something different I will have to 
change hundreds of things. So I want to be able to identify something as a 
filename or command for example.

Any examples?

I am using 1.4.3 and the User's Guide says: The LyX Team has at last (as 
of LyX version 1.4) introduced true character styles, but currently these 
must be defined explicitly in the document layout file. There's currently 
no GUI support to define new, or tweak existing, character styles to allow 
you, the user, to customize which font changes correspond to what styles.

Can someone share examples for this?

I see that http://wiki.lyx.org/Playground/CharacterStyles
mentions some examples. How can I use these?

Also email from Steve L at 
http://wiki.lyx.org/Tips/KeyboardShortcutForCharacterStyles says:

- Insert
- Character Style
- Pick which character style 

But I don't see that anywhere. (Not on my Insert menu.) Can someone 
explain this?

  Jeremy C. Reed

p.s. Why doesn't the website have the LyX documentation? If it does, I 
overlooked it -- where is it linked from?

p.p.s. Why are there both http://wiki.lyx.org/Playground/CharacterStyles 
and http://wiki.lyx.org/Category/CharacterStyle wiki pages?

Or why does Google have Playground indexed if it is a practice sandbox?


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan
I tried again this time using safari instead of firefox. I get the  
following diagnostic:
Safari ne parvient pas à ouvrir la page “ftp://ftp.devel.lyx.org/pub/ 
lyx/LyX-1.5.0rc1-Mac.dmg” car aucune donnée n’a pu être chargée  
depuis cette adresse.


in english : Safari cannot open the page ... because no data could  
be downloaded from this address


I also tried using plain anonymous ftp. I could reach the directory / 
pub/lyx/ but I could not see the file LyX-1.5.0rc1-Mac.dmg.


Jean




Le 1 juin 07 à 18:22, Bennett Helm a écrit :


On Jun 1, 2007, at 12:08 PM, Bennett Helm wrote:


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)

lyx-failure.tiff


Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: 550 Failed to change directory or 421 There  
are too many connected users).


Jean-Marc: can you try uploading again?


I finally did get through. It works for me. Is anyone else  
experiencing this problem?


Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 11:27 AM, Bennett Helm wrote:

A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg


Oops! -- Make that:

ftp://ftp.devel.lyx.org/pub/lyx/devel/LyX-1.5.0rc1-Mac.dmg

Sorry.

Bennett



The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also  
religiously make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such  
as Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you  
run the installer. Then run LyX and check the View menu to make  
sure options like PDF (pdflatex) appear. If the menu is mostly  
empty, you'll probably be able to fix it by reconfiguring LyX (LyX  
 Reconfigure) and then restarting. If you have this problem,  
please report it to the list along with details concerning your  
setup: Intel or PPC Mac as well as how you installed LaTeX (i- 
Installer, MacTeX, fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we  
move to a final release. I urge you to try it and report your  
experiences with it to the list.


Thanks.

Bennett





--

Bennett W. Helm
Chair, Program in Scientific and Philosophical Studies of Mind
Department of Philosophy
Franklin  Marshall College
Lancaster, PA 17604-3003
Office: 717-291-4392
FAX: 717-291-4369
Web: http://www.fandm.edu/x11323.xml




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan
Yes I used this last address from the last message by Jean-Marc  
Lasgouttes and it worked.


Concerning the issues you mention
1) Times font does not work properly, but times-roman does.
2) I have the second problem you mention, even after recombination (I  
only see latexpdfm and ps2ascii in the view menu), but the new  
buttons allow to make dvi and pdf files  and it says it uses pdflatex.

3) The problem I had with previews not working seems solved
4) The previews are still far too big.
I work on a mac PPC, mac os 10.4.9, latex installed with i-installer
Jean
Le 1 juin 07 à 19:52, Bennett Helm a écrit :


On Jun 1, 2007, at 11:27 AM, Bennett Helm wrote:

A binary has now been posted for LyX/Mac 1.5.0 release candidate  
1, available here:


ftp://ftp.devel.lyx.org/pub/lyx/LyX-1.5.0rc1-Mac.dmg


Oops! -- Make that:

ftp://ftp.devel.lyx.org/pub/lyx/devel/LyX-1.5.0rc1-Mac.dmg

Sorry.

Bennett



The usual cautions apply: this is beta software, and is apt to  
have some bugs leading to crashes. While I don't expect there to  
be any major problems, and while I have been using developmental  
versions LyX-1.5.0 on my own documents without any trouble, I also  
religiously make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX  Preferences  Screen fonts). Some fonts (such  
as Times) do not display properly on screen; Helvetica is  
displayed instead. This will not affect typeset output. The second  
concerns typesetting. Before you run LyX for the first time, make  
sure you run the installer. Then run LyX and check the View menu  
to make sure options like PDF (pdflatex) appear. If the menu is  
mostly empty, you'll probably be able to fix it by reconfiguring  
LyX (LyX  Reconfigure) and then restarting. If you have this  
problem, please report it to the list along with details  
concerning your setup: Intel or PPC Mac as well as how you  
installed LaTeX (i-Installer, MacTeX, fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we  
move to a final release. I urge you to try it and report your  
experiences with it to the list.


Thanks.

Bennett





--

Bennett W. Helm
Chair, Program in Scientific and Philosophical Studies of Mind
Department of Philosophy
Franklin  Marshall College
Lancaster, PA 17604-3003
Office: 717-291-4392
FAX: 717-291-4369
Web: http://www.fandm.edu/x11323.xml





Re: how to use custom character styles

2007-06-01 Thread Richard Heck

Jeremy C. Reed wrote:
I have a 180+ page book with many (probably over 500) character 
formattings.


I want to have styles defined for:

filenames
command names
command line options
configuration options
command output (I just use lyxcode for that)
command input
etc..

Currently I am just using stuff like typewriter, italics (or emphasis), 
bold, ... but whenever I want to try something different I will have to 
change hundreds of things. So I want to be able to identify something as a 
filename or command for example.


Any examples?
  
Look at the stdcharstyles.inc file, which you'll find in e.g. 
/usr/share/lyx/. You'll need to define yours in a similar way (or use 
this one), and then include the file in a custom layout file. This can 
be as simple as:

#% Do not delete the line below; configure depends on this
# \DeclareLaTeXClass[article.cls]{article (mine)}
Input article.cls
Input mycharstyles.inc
Put this in your user layout directory (e.g., /home/you/.lyx/layouts/), 
reconfigure LyX, choose it, and you're off.



Or why does Google have Playground indexed if it is a practice sandbox?

Because Google's search bots aren't yet perfect.

Richard

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



Re: RC1 is great!

2007-06-01 Thread Bo Peng

1000 Thanks (Italians would say 'MILLE Grazie') for your great work on
this wonderful peace of software.


Thanks taken, but be warned to save your file often because it still
crashes from time to time.

Bo


RC1 is great!

2007-06-01 Thread Hellmut Weber

Hi
this afternoon i downloaded lyx-1.5.0rc1 on my machine (gentoo linux, 
kde-3.5.7, tetex-3.0).


I'm very enthusiastic about the progress with this reease candidate.
All the little problems I had so far seem to be gone and the new 
features I have tried are absolutely great.


Especially the TOC with the outline functionality is very convincing.
Steve, I have to admit that I tried a bit quite some time ago your vim 
outliner, but I never got used to it. Now the situation has changed, I'm 
sure I will use this feature very often.


1000 Thanks (Italians would say 'MILLE Grazie') for your great work on 
this wonderful peace of software.


Greetings from Munich

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: how to use custom character styles

2007-06-01 Thread Steve Litt
On Friday 01 June 2007 13:34, Jeremy C. Reed wrote:
 I have a 180+ page book with many (probably over 500) character
 formattings.

 I want to have styles defined for:

 filenames
 command names
 command line options
 configuration options
 command output (I just use lyxcode for that)
 command input
 etc..

 Currently I am just using stuff like typewriter, italics (or emphasis),
 bold, ... but whenever I want to try something different I will have to
 change hundreds of things. So I want to be able to identify something as a
 filename or command for example.

Hi Jeremy,

You're right that things like filenames and command names should never be 
formatted with generic stuff like typewriter, emphesis and bold. You're right 
that the correct way is to use character styles. I'm going to tell you the 
generics of character styles first.

I defined something like your command line options character style. It's 
typewriter font representing any kind of source code. I called it CharCode. 
Here's the LyX portion of the character style:

CharStyle Charcode
Font
Family  Typewriter
EndFont
LatexName   charcode
LatexType   Command
End

The stuff between Font and EndFont determines how it looks from within LyX. 
You'll notice that the LatexType is Command. That's important -- character 
styles must have a LatexType of Command, never of Environment or anything 
else (as far as I know). The LatexName is charcode. That's the LaTeX command 
that gets run, using the text to which the character style is applied as an 
argument. The following is the LaTeX definition of charcode:

% ### Character style -- monotype for code in paragraph
\newcommand{\charcode}[1]{\texttt{#1}}%

In other words, you make a LaTeX command to format the output the way you want 
it, and then you make a LyX CharStyle to format it within the LyX editor and 
also to call the command.

The only trouble I see your having is if you absolutely must have all the 
different character styles look differently, which I believe usually isn't 
the case in technical books. IIRC Sams Publishing told me to use bold 
monofont for text I typed at the command prompt, and regular monofont for 
what the program output. IIRC Sams told me to use regular monofont to 
represent source code and configuration files. However, you're doing it right 
by making different character styles for all of these things, because if you 
ever DO want to differentiate them, it's as simple as changing the LaTeX 
command.


 Also email from Steve L at
 http://wiki.lyx.org/Tips/KeyboardShortcutForCharacterStyles says:

 - Insert
 - Character Style
 - Pick which character style

 But I don't see that anywhere. (Not on my Insert menu.) Can someone
 explain this?

I can. LyX is smart enough that it doesn't offer that option in the Insert 
menu until you've created at least one character style. The minute you 
successfully create a character style, Character Style will appear as an 
option on your Insert submenu.

If I were in your shoes, I'd create a tiny LyX test document and a tiny layout 
file, and experiment.

Hope this helps.

SteveT

Steve Litt
Author: Universal Troubleshooting Process books and courseware
http://www.troubleshooters.com/


Re: how to use custom character styles

2007-06-01 Thread Jeremy C. Reed
On Fri, 1 Jun 2007, Richard Heck wrote:

 Look at the stdcharstyles.inc file, which you'll find in e.g. /usr/share/lyx/.
 You'll need to define yours in a similar way (or use this one), and then
 include the file in a custom layout file. This can be as simple as:
 #% Do not delete the line below; configure depends on this
 # \DeclareLaTeXClass[article.cls]{article (mine)}
 Input article.cls
 Input mycharstyles.inc
 Put this in your user layout directory (e.g., /home/you/.lyx/layouts/),
 reconfigure LyX, choose it, and you're off.

That had errors, so I just copied scrbook.layout to my ~/.lyx/layouts/ and 
added the line:

Input mycharstyles.inc

Is there any file that corresponds to stdcharstyles.inc that defines 
\newcommand{} for \filename and the others in that file? Or do I have to 
define all these myself?


  Jeremy C. Reed


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Anders Ekberg

4) The previews are still far too big.


What do you mean?
Is the file size much bigger than the sum of your included image  
files? Try PDF- Compress PDF from the print dialogue.
Or do you mean the size of the preview figures? Try Ctrl-click and  
set a scale factor in the LaTex and LyX-options dialogue. (But I  
agree it would be nice if the picture size was defaulted to say 75%  
of the window size).


/Anders



Re: RC1 is great!

2007-06-01 Thread Mukhtar Ullah
Bo Peng [EMAIL PROTECTED] writes:

 
  1000 Thanks (Italians would say 'MILLE Grazie') for your great work on
  this wonderful peace of software.
 
 Thanks taken, but be warned to save your file often because it still
 crashes from time to time.
 
 Bo
 
 


I have been working in LyX 15 beta 2,3 since they were released and I never
experienced a crash so far. I did not feel that I was working with a beta
version. I am sure this RC1 will be even better. Great work! 

Mukhtar



Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 5:34 PM, Anders Ekberg wrote:


4) The previews are still far too big.


What do you mean?
Is the file size much bigger than the sum of your included image  
files? Try PDF- Compress PDF from the print dialogue.
Or do you mean the size of the preview figures? Try Ctrl-click and  
set a scale factor in the LaTex and LyX-options dialogue. (But I  
agree it would be nice if the picture size was defaulted to say 75%  
of the window size).


I believe Jean means math previews.

http://bugzilla.lyx.org/show_bug.cgi?id=3784

Bennett


RC1 - more remarks

2007-06-01 Thread Hellmut Weber

Hi,
two remarks:

1) When i start lyx-rc1 from the command line i get 11 messages:
'Menu warning: menu entries Stichwort|w and Zweig|w share the same 
shortcut.'


I couldn't find the place where these menu entries are defined, to 
correct the ambiguity.


2) It sems that lyx-rc1 is sometimes much slower than other times.
I had the impression that this was the case when i called it the very 
first time after the installation both as normal user and as root.

Is that due to the generation of the directory '~/.lyx' ?

But then i had another file on which it worked much slower than before 
and i don't see any reason for that.

Has anybody else similar effects?

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq




Re: how to use custom character styles

2007-06-01 Thread Hellmut Weber

Hi Steve,

I can. LyX is smart enough that it doesn't offer that option in the Insert 
menu until you've created at least one character style. The minute you 
successfully create a character style, Character Style will appear asan 
option on your Insert submenu.

I'm surprised because in my installation (gentoo-linux, kde-3.5.7,
tetex-3.0, lyx-1.5.0rc1) it appears here:

Edit TextStyle 

then there appears a submenu:

Customized...

Capitalize
Uppercase
Lowercase

And since the moment my Char Style 'Fboxed' is active, it appears above
the line with 'Customized...'

BTW I agree with your considerations on the use of Char Styles ;-)

Greetings

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq








Re: how to use custom character styles

2007-06-01 Thread Hellmut Weber

Hi Jeremy,


I want to have styles defined for:

filenames

...


etc..

...


Can someone share examples for this?

Here comes a modest example (charstyle.layout), it defines a char style
to put some piece of a running text into a framed box.
Note the second line which defines the 'Label' of the Document class!

How to proceed:

1) Put your layout file with the char style definition(s) in your local
folder $HOME/.lyx/layouts
(Suppose you put my example 'charstyle.layout' there)

2) start lyx and reconfigure
(Steve Litt indicateed recently how to do so from the command line, but
i don't remember exactly how)

4) $ lyx test_char_style.lyx

5) Create a new document (ctrl+N), put some text in, select a piece of text

6) Document Settings Document Class

7) Open the associated pull down list 'Document class' and choose the
document class 'article (Char Style Test)', click OK (or quicker: alt+O)

Now the marked part of the text will be shown inside of some sort of
blue brackets, labelled 'Fboxed'

8) Compile to PDF (alt+V, f) and your pdf-viewer should pop up showing
you the result.

To define char styles you will need some LaTeX knowledge. Once you got
the general idea it's not that difficult.

BTW This afternoon i installed lyx-1.5.0rc1, it's great!
What i described above works with 1.5.0!

I'm working on an IBM Lenovo T60 witrh gentoo-linux, kde-3.5.7, tetex-3.0

HTH + Happy LyXing!

Hellmut

--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq

#LyX 1.5.0rc1 created this file. For more info see http://www.lyx.org/
\lyxformat 271
\begin_document
\begin_header
\textclass charstyle
\language ngerman
\inputencoding auto
\font_roman default
\font_sans default
\font_typewriter default
\font_default_family default
\font_sc false
\font_osf false
\font_sf_scale 100
\font_tt_scale 100
\graphics default
\paperfontsize default
\spacing single
\papersize default
\use_geometry false
\use_amsmath 1
\use_esint 1
\cite_engine basic
\use_bibtopic false
\paperorientation portrait
\secnumdepth 3
\tocdepth 3
\paragraph_separation indent
\defskip medskip
\quotes_language english
\papercolumns 1
\papersides 1
\paperpagestyle default
\tracking_changes false
\output_changes false
\author leo 
\end_header

\begin_body

\begin_layout Standard
asdf
\end_layout

\begin_layout Standard
asdf 
\begin_inset CharStyle Fboxed
show_label true
status inlined

\begin_layout Standard
qewrf
\end_layout

\end_inset

 asdf
\end_layout

\begin_layout Standard
adsf 
\begin_inset CharStyle Fboxed
show_label false
status inlined

\begin_layout Standard
qewrrf
\end_layout

\end_inset

 asdf2345 ycxv
\end_layout

\begin_layout Standard
asddf098u
\end_layout

\end_body
\end_document



newfile2.pdf
Description: Adobe PDF document
#% Do not delete the line below; configure depends on this
#  \DeclareLaTeXClass[scrartcl]{article (Char Style Test)}
#
# Char Style definition file for HWWTest documents
# Hellmut Weber [EMAIL PROTECTED], 2007-06-01 
#
# based on /usr/share/lyx/layouts/scrartcl.layout
# Bernd Rellermeyer [EMAIL PROTECTED], 1998/7/11.

Preamble 
  %
  % === Preamble part from charstyle.layout ===
  %
  \RequirePackage{setspace}
  \RequirePackage{pifont}
  %
  \renewcommand{\familydefault}{cmss}
  %
  \renewcommand{\theenumi}  {\Alph{enumi}}
  \renewcommand{\labelenumi}{\theenumi.}
  \renewcommand{\theenumii} {\Roman{enumii}}
  \renewcommand{\labelenumii}   {\theenumii.}
  \renewcommand{\theenumiii}{\arabic{enumiii}}
  \renewcommand{\labelenumiii}  {\theenumiii.}
  \renewcommand{\theenumiv} {\alph{enumiv}}
  \renewcommand{\labelenumiv}   {\theenumiv)}
  %
  % === End preamble part from charstyle.layout ===
  %
  EndPreamble

# General textclass parameters
Input /usr/share/lyx/layouts/scrartcl.layout

# 2007-04-29 Hw, frame-boxed code-parts
# Jürgen Spitzmüller's answer to my question
# CharStyle Fboxed_Code, ,-( # Here no underscore!
CharStyle Fboxed
  LatexType Command
  LatexName fboxedcode
  LabelFont
Family  Roman
Color   blue
EndFont
  Preamble
% === Start preamble part of Char style fboxed ===
\newcommand{\fboxedcode}[1]{%
  \fbox{\texttt{\small%
#1%
}}% texttt fbox
  }%
% === End   preamble part of Char style fboxed ===
EndPreamble
  End




Re: how to use custom character styles

2007-06-01 Thread Steve Litt
On Friday 01 June 2007 19:11, Hellmut Weber wrote:
 Hi Steve,

  I can. LyX is smart enough that it doesn't offer that option in the
  Insert menu until you've created at least one character style. The minute
  you successfully create a character style, Character Style will appear
  asan option on your Insert submenu.

 I'm surprised because in my installation (gentoo-linux, kde-3.5.7,

 tetex-3.0, lyx-1.5.0rc1) it appears here:
  Edit TextStyle 

 then there appears a submenu:

 Customized...
 
 Capitalize
 Uppercase
 Lowercase

Thanks Hellmut,

Jeremy and I are using 1.4.x. Sounds like 1.5.x is better and more 
sophisticated. Something to look forward to.

I hope with 1.5.x I can still do it the way I do it in 1.4.x, because the way 
I've been doing it can create almost any conceivable text appearance. In my 
new book Learn Vim Tonight: Use the Worlds Most Productive Editor Tomorrow 
I had a text style called ex, which I used only on the word ex (the line 
editor part of vi) so that it stood out, looked funky, and was immediately 
recognizable as a special word.

Thanks

SteveT


Re: how to use custom character styles

2007-06-01 Thread Hellmut Weber

Hi Steve,
i don't have much experience so far with Char Styles, but i'm pretty 
sure you can do everything you want, i.e. possible with a latex command.


Jeremy and I are using 1.4.x. Sounds like 1.5.x is better and more 
sophisticated. Something to look forward to.
I suppose we will get very quickly used to the new menus. For me LyX is 
probably the most used too of all.


Good Luck with your books

Hellmut


--
Dr. Hellmut Weber [EMAIL PROTECTED]
Degenfeldstraße 2 tel   +49-89-3081172
D-80803 München-Schwabing mobil +49-172-8450321
please: No DOCs, no PPTs. why: tinyurl.com/cbgq



Re: RC1 - more remarks

2007-06-01 Thread Marcelo Acuña

--- Hellmut Weber [EMAIL PROTECTED] escribió:

 Hi,
 two remarks:
 
 1) When i start lyx-rc1 from the command line i get
 11 messages:
 'Menu warning: menu entries Stichwort|w and
 Zweig|w share the same 
 shortcut.'
 

 I have same problem.
 Marcelo



  __ 
Preguntá. Respondé. Descubrí. 
Todo lo que querías saber, y lo que ni imaginabas,
está en Yahoo! Respuestas (Beta). 
¡Probalo ya! 
http://www.yahoo.com.ar/respuestas 



LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Michael Anderson
An odd little thing happened when I started up the RC1.  In addition  
to only having dvipdfm available for preview, I don't have a single  
menu or tool bar.  The submenus for the toolbars are blank as are a  
number of other submenus.  I'm running an intel mac using i- 
installer, all aspects of which have been recently updated.  Anybody  
else seen this?


Mike Anderson




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bo Peng

On 6/1/07, Michael Anderson [EMAIL PROTECTED] wrote:

An odd little thing happened when I started up the RC1.  In addition
to only having dvipdfm available for preview, I don't have a single
menu or tool bar.  The submenus for the toolbars are blank as are a
number of other submenus.  I'm running an intel mac using i-
installer, all aspects of which have been recently updated.  Anybody
else seen this?


No idea, but have you tried to move away your old .lyx directory?

Bo


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Michael Anderson

how do you mean?

Mike Anderson


On Jun 1, 2007, at 7:14 PM, Bo Peng wrote:


On 6/1/07, Michael Anderson [EMAIL PROTECTED] wrote:

An odd little thing happened when I started up the RC1.  In addition
to only having dvipdfm available for preview, I don't have a single
menu or tool bar.  The submenus for the toolbars are blank as are a
number of other submenus.  I'm running an intel mac using i-
installer, all aspects of which have been recently updated.  Anybody
else seen this?


No idea, but have you tried to move away your old .lyx directory?

Bo





Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bo Peng

On 6/1/07, Michael Anderson [EMAIL PROTECTED] wrote:

how do you mean?


Lyx uses a $HOME/.lyx to save all sorts of settings. Although I have
never experienced your problem, it is possible that these old settings
conflict with the new ones. You can mv .lyx .lyx1 and restart lyx and
see what happens.

Bo


Beamer Class Unknown

2007-06-01 Thread Lucas Amorim
Hello, 

I am using Debian GNU/Linux testing (lenny). I have installed
latex-beamer and then lyx. When trying to open a beamer template file
included in lyx i get this error message: Unknown document class:
Using the default document class, because the class beamer is unknown.

And then it opens the file but does not look like it should be... How do
I solve this problem? Please help me, I've been trying to do this for a
month and no one knows how to solve it :(

Thank you very much!
Lucas Amorim




___ 
Yahoo! Mail - Sempre a melhor opção para você! 
Experimente já e veja as novidades. 
http://br.yahoo.com/mailbeta/tudonovo/
 




Re: Beamer Class Unknown

2007-06-01 Thread Jürgen Spitzmüller
Lucas Amorim wrote:
 I am using Debian GNU/Linux testing (lenny). I have installed
 latex-beamer and then lyx. When trying to open a beamer template file
 included in lyx i get this error message: Unknown document class:
 Using the default document class, because the class beamer is unknown.

Did you install the beamer class in the correct directory? Did you 
run texthash (in the console) after installing it? Did you run 
Edit-Reconfigure in LyX?

Jürgen


Re: RC1 - more remarks

2007-06-01 Thread Jürgen Spitzmüller
Hellmut Weber wrote:
 1) When i start lyx-rc1 from the command line i get 11 messages:
 'Menu warning: menu entries Stichwort|w and Zweig|w share the same
 shortcut.'

 I couldn't find the place where these menu entries are defined, to
 correct the ambiguity.

This is defined in the German localization file (de.po). The translation for 
1.5.0 is still work in progress, but I'm sure Michael Gerz fix this soon.

 2) It sems that lyx-rc1 is sometimes much slower than other times.
 I had the impression that this was the case when i called it the very
 first time after the installation both as normal user and as root.
 Is that due to the generation of the directory '~/.lyx' ?

Maybe this, maybe reconfigure has been called.

 But then i had another file on which it worked much slower than before
 and i don't see any reason for that.
 Has anybody else similar effects?

There have been some quite extensive (yet necessary) rewrite of LyX's cursor 
handling recently which still might slow down LyX sometimes. If you can track 
down the slowdown to some specific case, please report.

Jürgen


Re: Physical units

2007-06-01 Thread Miki Dovrat
Hi,

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?

Miki

"Uwe Stöhr" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Steed, Robert J schrieb:
>
>> I'm starting to write my thesis in Lyx and it so happens that I need to 
>> use microns(?) in my physical units alot. But I can't get a non-italic ? 
>> in math mode. Unicode doesn't seem to work either I get error messages:
>>
>> Package inputenc Error: Unicode char \u8:μ not set up for use with 
>> LaTeX.
>
> As you are using LyX 1.5 you can enter it directly via the keyboard. The 
> only thing you have to do
> is to use the default encoding for English in your case. Attached is a 
> LyX-file showing this.
>
> You can alternatively use the ERT-command
> \textmu
> when you add this to your document preamble:
> \usepackage{textcomp}
>
> Concerning units, don't forget that there is only a hlaf space between 
> number and units. A half
> space is produced in LyX with the shortcut "Ctrl-Shift Space" (menu 
> Insert-> Formatting -> Thin
> space), see also the attached example.
>
> regards Uwe
> 





Re: A few problems with Lyx 1.5 beta3

2007-06-01 Thread Jean Kaplan

I am on PPC Mac
Jean
Le 31 mai 07 à 14:41, Bennett Helm a écrit :


On May 31, 2007, at 4:48 AM, Jean Kaplan wrote:


Right, I forgot to say that I work on Mac OS 10.4.9,
Jean
Le 30 mai 07 à 13:56, Jean-Marc Lasgouttes a écrit :


"Jean" == Jean Kaplan <[EMAIL PROTECTED]> writes:


Jean> I have installed lyx 1.5 beta 3 version (I used 1.4.4), and I
Jean> have a few problems 1) Crashes are frequent, for reasons which
Jean> remain obscure to me.


I have not encountered frequent crashes. The only one I've noted is  
a crash on log in when LyX is in the Startup items. If you can,  
please provide more details.


By the way, are you on Intel or PPC Mac?




Re: beta 3 and lyx2lyx

2007-06-01 Thread Anders Ekberg

Marcelo Acuña
Wed, 30 May 2007 14:03:06 -0700

> Then, can you manually convert your file? I mean,
> under a command prompt, run
>
> python -tt
> /usr/local/share/lyx-1.5.0b3/lyx2lyx/lyx2lyx -t 221
> yourfile.lyx > newfile.lyx
>
> Bo

 With this command I can run lyx2lyx but I get several
errors and I can´t get a file correctly exported.
 I get this message:

 UnicodeEncodeError: "latin-1" codec can´t encode
character u"\u0301" in position 0: ordinal not in
range(256)
 When in the file I deleted the character that produce
error and re run lyx2lyx I get a new error with
u"\u2044" character and so on.
 When I deleted all character with problem, lyx2lyx
export 99% of my file and become crazy:
 At the end of file lyx2lyx get error with all
accented character.

It sounds like:
http://bugzilla.lyx.org/show_bug.cgi?id=3313

If you are in a hurry, there's a patch at
http://www.mail-archive.com/[EMAIL PROTECTED]/msg119311.html
Note that it has not been included in the official source, but it  
converts many of the unicode characters.


Or you can replace the unicode characters by hand using the list on
http://www.lyx.org/trac/browser/lyx-devel/trunk/lib/unicodesymbols

Not that you may need to specify a latex package in the preamble  
using \usepackage{bla}. This is the case if you get an error message  
when exporting to pdf (i.e. not when converting). In your case there  
seems to be a lot of unicode symbols, so all of them may not be  
covered by the symbols list. You need to delete those characters  
manually.


Anders




Re: Lyx-1.5 beta3 and letter class

2007-06-01 Thread Jürgen Spitzmüller
Deane Harder wrote:
> I use lyx 1.5 beta3 on Mac. When I opened a "New file from template" and
> chose letter (g-brief-de) and tried to PDF it, I got the following error
> message: LaTeX Error: Command \Telefon already defined. The same happens
> when I open existing lyx letter documents that I wrote with lyx 1.4. Any
> ideas?

http://marc.info/?l=lyx-users=117035689918759=2

Jürgen


Re: Force document regeneration

2007-06-01 Thread Jürgen Spitzmüller
Phil wrote:
> Lyx cannot know about all possible changes that require a rerun of
> Latex.

Theoretically, it should.

Jürgen


Re: Physical units

2007-06-01 Thread Uwe Stöhr

Miki Dovrat schrieb:

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?


You already know the answer, see the bottom of the email you sent:

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half
space is produced in LyX with the shortcut "Ctrl-Shift Space" (menu 
Insert-> Formatting -> Thin

space), see also the attached example.



Uwe


Re: Physical units

2007-06-01 Thread Dov Feldstern

Miki Dovrat wrote:

Hi,

Do you know how to make a protected half space, so the units don't come out 
on a different line than the number?


Miki


Well, if you put it inside an equation, then the thin space itself *is* 
protected. BTW, inside an equation you can also type in the thin space 
as \, .


I created a math macro for myself called units which does the following:

#1\,\mathrm{#2}

Then, to type in units you just have to Ctrl-m (enter math mode) \units 
 space (enter the value) RIGHT (or LEFT in an RTL paragraph) (enter the 
units) space space. The result has a protected thin space, with the 
units in roman letters, as they should be.


Dov



"Uwe Stöhr" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

Steed, Robert J schrieb:

I'm starting to write my thesis in Lyx and it so happens that I need to 
use microns(?) in my physical units alot. But I can't get a non-italic ? 
in math mode. Unicode doesn't seem to work either I get error messages:


Package inputenc Error: Unicode char \u8:μ not set up for use with 
LaTeX.
As you are using LyX 1.5 you can enter it directly via the keyboard. The 
only thing you have to do
is to use the default encoding for English in your case. Attached is a 
LyX-file showing this.


You can alternatively use the ERT-command
\textmu
when you add this to your document preamble:
\usepackage{textcomp}

Concerning units, don't forget that there is only a hlaf space between 
number and units. A half
space is produced in LyX with the shortcut "Ctrl-Shift Space" (menu 
Insert-> Formatting -> Thin

space), see also the attached example.

regards Uwe








Re: Physical units

2007-06-01 Thread Uwe Stöhr

Dov Feldstern schrieb:


BTW, inside an equation you can also type in the thin space as \,


You can also use Ctrl-Space and then press Space several times to select the space you need. 
Ctrl-Space is equal to \,


regards Uwe


LyX version 1.5.0 (release candidate 1) is released

2007-06-01 Thread José Matos
Public release of LyX version 1.5.0 (release candidate 1)
===

We are glad to announce the release of LyX 1.5.0 (release candidate 1).

We encourage users to try this release candidate and report
any feedback or problems to lyx-devel at lists.lyx.org.

The difference to the last beta release is due to bug fixes only,
no new features are allowed at this stage of development. The only
exception to this rule is the addition of Farsi as a supported language
since the available patch was not integrated in the previous release.

Compared with the latest stable release, this is the culmination of
one year of hard work, and we sincerely hope you will enjoy the
results. The changes are too numerous to summarize in a few words,
with initial unicode support being the flagship among the new
features, see the end of this announcement for details.

As usual with a major release, a lot of work that is not directly
visible has taken place. The core of LyX has seen more cleanups and
some of the new features are the direct results of this work.

The file RELEASE-NOTES lists some known issues with this release
compared to the latest stable release (LyX 1.4.4). An updated list of
issues might later be found at http://wiki.lyx.org/LyX/ReleaseNotes


In case you are wondering what LyX is, here is what
http://www.lyx.org/ has to say on the subject:

   LyX is a document processor that encourages an approach to writing
   based on the structure of your documents, not their appearance. It
   is released under a Free Software / Open Source license.

   LyX is for people that write and want their writing to look great,
   right out of the box. No more endless tinkering with formatting
   details, 'finger painting' font attributes or futzing around with page
   boundaries. You just write. In the background, Prof. Knuth's legendary
   TeX typesetting engine makes you look good.

   On screen, LyX looks like any word processor; its printed output -- or
   richly cross-referenced PDF, just as readily produced -- looks like
   nothing else. Gone are the days of industrially bland .docs, all
   looking similarly not-quite-right, yet coming out unpredictably
   different on different printer drivers. Gone are the crashes 'eating'
   your dissertation the evening before going to press.

   LyX is stable and fully featured. It is a multi-platform, fully
   internationalized application running natively on Unix/Linux and the
   Macintosh and modern Windows platforms. 

You can download LyX 1.5.0rc1 here (the .bz2 are compressed with
bzip2, which yields smaller files):

ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc1.tar.gz
ftp://ftp.devel.lyx.org/pub/lyx/devel/lyx-1.5.0rc1.tar.bz2

Note that due to the amount of changes no patch is provided to upgrade
from version 1.4.4.

Prebuilt binaries (rpms for linux distributions, Mac OS X and Windows
installers) should soon be available at
ftp://ftp.devel.lyx.org/pub/lyx/devel/


If you find what you think is a bug in LyX 1.5.0rc1, you may either
e-mail the LyX developers' mailing list (lyx-devel @ lists.lyx.org), or open
a bug report at http://bugzilla.lyx.org

If you're having trouble using the new version of LyX, or have a question,
first check out http://www.lyx.org/help/. If you can't find the answer there,
e-mail the LyX users' list (lyx-users @ lists.lyx.org).

Enjoy!

The LyX team.


What's new in version 1.5.0 (release candidate 1)?


* Unicode

LyX 1.5's big goal was to use unicode internally and so resolve a slew
of existing problems with special characters and non-alphabetic
languages. LyX 1.5 is able to output unicode (in addition to
encodings current available), so that you can use LaTeX's new utf8
encoding or such brand new typesetting systems as XeTeX.
Since the change to unicode touched much of the code base and some
areas still need a cleanup it is very likely that some bugs related to
the unicode transition still exist. Please have a look at the Known
bugs in LyX 1.5 page if you encounter a bug that seems to be related
to unicode. If it's not there, then please report it to the lyx-devel
mailing list.

* Integrated CJK support

The very first result of the Unicode transition is that we have finally
merged in the externally maintained CJK-LyX branch.
The languages Chinese, Japanese, and Korean are now supported in
the user interface.
Note that from now on, former encoding settings for these languages
done via ERT or the document preamble will lead to LaTeX-errors!

* Multiple views of the same buffer

LyX can now display multiple views of the same buffer. I.e., you can
now open a single document in multiple windows and work on different
parts of it synchronously.

* Outliner and embedded TOC

LyX has another long-awaited feature: a basic outliner mode, in which
you can move chapters and sections around in the Table of Contents
dialog. (The outliner has been backported and was released with LyX

accented characters

2007-06-01 Thread pol
Hi, 

The command \jobname  in the preamble does not print accented 
characters of the file name.

how to fix?


thank you 

--
Pol



LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm
A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:




The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also religiously  
make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX > Preferences > Screen fonts). Some fonts (such as  
Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you run  
the installer. Then run LyX and check the View menu to make sure  
options like PDF (pdflatex) appear. If the menu is mostly empty,  
you'll probably be able to fix it by reconfiguring LyX (LyX >  
Reconfigure) and then restarting. If you have this problem, please  
report it to the list along with details concerning your setup: Intel  
or PPC Mac as well as how you installed LaTeX (i-Installer, MacTeX,  
fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we move  
to a final release. I urge you to try it and report your experiences  
with it to the list.


Thanks.

Bennett



Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says that  
LyX-1.5.0rc1-Mac.dmg has not been recognized)<>
.
Jean
Le 1 juin 07 à 17:27, Bennett Helm a écrit :

A binary has now been posted for LyX/Mac 1.5.0 release candidate 1,  
available here:




The usual cautions apply: this is beta software, and is apt to have  
some bugs leading to crashes. While I don't expect there to be any  
major problems, and while I have been using developmental versions  
LyX-1.5.0 on my own documents without any trouble, I also  
religiously make backups.


Two issues for Mac deserve special mention. The first concerns the  
display fonts (LyX > Preferences > Screen fonts). Some fonts (such  
as Times) do not display properly on screen; Helvetica is displayed  
instead. This will not affect typeset output. The second concerns  
typesetting. Before you run LyX for the first time, make sure you  
run the installer. Then run LyX and check the View menu to make  
sure options like PDF (pdflatex) appear. If the menu is mostly  
empty, you'll probably be able to fix it by reconfiguring LyX (LyX  
> Reconfigure) and then restarting. If you have this problem,  
please report it to the list along with details concerning your  
setup: Intel or PPC Mac as well as how you installed LaTeX (i- 
Installer, MacTeX, fink, macports, etc.).


LyX-1.5.0 has been gaining increasing polish and stability as we  
move to a final release. I urge you to try it and report your  
experiences with it to the list.


Thanks.

Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)




Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue in  
transferring the file to the server. Unfortunately, the server isn't  
letting me download it now (Firefox alternately gives me the  
following errors: "550 Failed to change directory" or "421 There are  
too many connected users").


Jean-Marc: can you try uploading again?

Bennett


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

I have apparently this problem with 1.50beta3 :
In the view menu, after reconfiguring, only the items pdf (dvipdfm)  
and plain text (ps2ascii) appear, however the new side buttons on the  
window work (and are extremely handy).
Configuration: PPC mac with mac os 10.4.9, Latex installed with i- 
Installer.

Jean
Le 1 juin 07 à 17:27, Bennett Helm a écrit :

The second concerns typesetting. Before you run LyX for the first  
time, make sure you run the installer. Then run LyX and check the  
View menu to make sure options like PDF (pdflatex) appear. If the  
menu is mostly empty, you'll probably be able to fix it by  
reconfiguring LyX (LyX > Reconfigure) and then restarting. If you  
have this problem, please report it to the list along with details  
concerning your setup: Intel or PPC Mac as well as how you  
installed LaTeX (i-Installer, MacTeX, fink, macports, etc.).




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan

I did try uploading twice, with the same result.
Jean
Le 1 juin 07 à 18:08, Bennett Helm a écrit :


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)




Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: "550 Failed to change directory" or "421 There  
are too many connected users").


Jean-Marc: can you try uploading again?

Bennett




Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Bennett Helm

On Jun 1, 2007, at 12:08 PM, Bennett Helm wrote:


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)




Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: "550 Failed to change directory" or "421 There  
are too many connected users").


Jean-Marc: can you try uploading again?


I finally did get through. It works for me. Is anyone else  
experiencing this problem?


Bennett


how to use custom character styles

2007-06-01 Thread Jeremy C. Reed
I have a 180+ page book with many (probably over 500) character 
formattings.

I want to have styles defined for:

filenames
command names
command line options
configuration options
command output (I just use lyxcode for that)
command input
etc..

Currently I am just using stuff like typewriter, italics (or emphasis), 
bold, ... but whenever I want to try something different I will have to 
change hundreds of things. So I want to be able to identify something as a 
"filename" or "command" for example.

Any examples?

I am using 1.4.3 and the User's Guide says: "The LyX Team has at last (as 
of LyX version 1.4) introduced true character styles, but currently these 
must be defined explicitly in the document layout file. There's currently 
no GUI support to define new, or tweak existing, character styles to allow 
you, the user, to customize which font changes correspond to what styles."

Can someone share examples for this?

I see that http://wiki.lyx.org/Playground/CharacterStyles
mentions some examples. How can I use these?

Also email from Steve L at 
http://wiki.lyx.org/Tips/KeyboardShortcutForCharacterStyles says:

- Insert
- Character Style
- Pick which character style 

But I don't see that anywhere. (Not on my Insert menu.) Can someone 
explain this?

  Jeremy C. Reed

p.s. Why doesn't the website have the LyX documentation? If it does, I 
overlooked it -- where is it linked from?

p.p.s. Why are there both http://wiki.lyx.org/Playground/CharacterStyles 
and http://wiki.lyx.org/Category/CharacterStyle wiki pages?

Or why does Google have Playground indexed if it is a practice sandbox?


Re: LyX/Mac 1.5.0 release candidate 1 posted

2007-06-01 Thread Jean Kaplan
I tried again this time using safari instead of firefox. I get the  
following diagnostic:
"Safari ne parvient pas à ouvrir la page “ftp://ftp.devel.lyx.org/pub/ 
lyx/LyX-1.5.0rc1-Mac.dmg” car aucune donnée n’a pu être chargée  
depuis cette adresse."


in english : Safari cannot open the page "..." because no data could  
be downloaded from this address


I also tried using plain anonymous ftp. I could reach the directory / 
pub/lyx/ but I could not see the file LyX-1.5.0rc1-Mac.dmg.


Jean




Le 1 juin 07 à 18:22, Bennett Helm a écrit :


On Jun 1, 2007, at 12:08 PM, Bennett Helm wrote:


On Jun 1, 2007, at 11:46 AM, Jean Kaplan wrote:


Thanks for the new release, but

On my Mac PPC, with mac os X 10.4.9, the disk image does not get  
mounted (see the diagnostic window attached, in french , it says  
that LyX-1.5.0rc1-Mac.dmg has not been recognized)




Hmmm Everything works fine on my end with the original .dmg on  
both PPC and Intel Macs, so I suspect it's a file corruption issue  
in transferring the file to the server. Unfortunately, the server  
isn't letting me download it now (Firefox alternately gives me the  
following errors: "550 Failed to change directory" or "421 There  
are too many connected users").


Jean-Marc: can you try uploading again?


I finally did get through. It works for me. Is anyone else  
experiencing this problem?


Bennett




  1   2   >