Re: Renaming LabelString of Note Inset

2010-12-15 Thread Guenter Milde
On 2010-12-14, Richard Heck wrote:
 On 12/14/2010 03:35 AM, Lisa Andrews wrote:
 With Lyx Beta 2.0.0beta2 on Windows7, I notice that if I write in a module

 InsetLayout Note:Note
 
   LabelFont
 ColorBlue
   EndFont
 .

 a note will indeed change its label color to Blue.

 However if I try

 InsetLayout Note:Note
 
LabelString N
 

 there is no effect. I can change LabelString on a custom Flex Inset.
 Is it possible to change a Note's label text (for example to a 
 shortened version)?

 You're right: This doesn't work. I don't see why it shouldn't, though, 
 so I have fixed
 this for 2.0.

Thanks a lot.

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?

Günter



Good dictionary for Lyx

2010-12-15 Thread Frederick [FN] Noronha * फ्रेडरिक न ोरोन्या *فريدريك نورونيا
What is a good dictionary for Lyx in English please? And what's the
easiest idiot-proof way to install it :-) FN

-- 
FN +91-9822122436 P +91-832-2409490
Updated: http://goabooks.wordpress.com


Re: LyX and editors?

2010-12-15 Thread Gilles Mioni

Hi Steve,

My own experience with editors is :
1/ I send an abstract and a complete document written with lyx
and exported in PDF format.

2/ I send, if necessary, the whole text for lecture in epub format
From Lyx, I exported in HTLM format then I use XHTML software
Amaya and Calibre software to prepare an e-book usable with any
epub reader.

Hi all,

Perhaps some of you author in LyX but have editors go over your material. My 
experience is most editors don't have LyX and don't have the technical chops 
to use LyX. So how do you interface with your editors when writing a book in 
LyX?


Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt


  




Re: Renaming LabelString of Note Inset

2010-12-15 Thread Jean-Marc Lasgouttes

Le 15/12/2010 11:14, Guenter Milde a écrit :

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?


No, on text insets use Inset layouts for now (although this will change 
eventually).


The right idea would be to have icons for those insets and make them 
appear in the text. We could maybe reuse the exisiting ones?


JMarc


Re: LyX and editors?

2010-12-15 Thread ehud.kap...@gmail.com
Collaborating with non-Lyx users is a problem for me as well, because I 
often want to
use comments (like PostIt notes), but when the Lyx source is exported to 
pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would be 
a great help.


EK

On 12/15/2010 5:37 AM, Gilles Mioni wrote:

Hi Steve,

My own experience with editors is :
1/ I send an abstract and a complete document written with lyx
and exported in PDF format.

2/ I send, if necessary, the whole text for lecture in epub format
From Lyx, I exported in HTLM format then I use XHTML software
Amaya and Calibre software to prepare an e-book usable with any
epub reader.

Hi all,

Perhaps some of you author in LyX but have editors go over your 
material. My experience is most editors don't have LyX and don't have 
the technical chops to use LyX. So how do you interface with your 
editors when writing a book in LyX?


Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt






--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational  System neuroscience,/
The Friedman Brain Institute, MSSM
*Director*, The laboratory of /Visual  Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


Re: LyX and editors?

2010-12-15 Thread Liviu Andronic
On Wed, Dec 15, 2010 at 12:34 PM, ehud.kap...@gmail.com
ehud.kap...@gmail.com wrote:
 Collaborating with non-Lyx users is a problem for me as well, because I
 often want to
 use comments (like PostIt notes), but when the Lyx source is exported to
 pdf, the notes do not appear.

To complete the answer that I sent to lyx-devel, greyedout notes are a
possibility but not quite the thing. However you can do this manually
using Mendeley (cross-platform, and plays nicely on Xubuntu Linux).

Regards
Liviu



 If there were a way to make them appear in the pdf output that would be a
 great help.

 EK

 On 12/15/2010 5:37 AM, Gilles Mioni wrote:

 Hi Steve,

 My own experience with editors is :
 1/ I send an abstract and a complete document written with lyx
 and exported in PDF format.

 2/ I send, if necessary, the whole text for lecture in epub format
 From Lyx, I exported in HTLM format then I use XHTML software
 Amaya and Calibre software to prepare an e-book usable with any
 epub reader.

 Hi all,

 Perhaps some of you author in LyX but have editors go over your material. My
 experience is most editors don't have LyX and don't have the technical chops
 to use LyX. So how do you interface with your editors when writing a book in
 LyX?

 Thanks

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt




 --
 Ehud Kaplan, Ph.D.
 Jules and Doris Stein Research to Prevent Blindness Professor
 Director, Center of Excellence for Computational  System neuroscience,
 The Friedman Brain Institute, MSSM
 Director, The laboratory of Visual  Computational Neuroscience
 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
 The Mount Sinai School of Medicine
 One Gustave Levy Place
 New York, NY, 10029




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and editors?

2010-12-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/15/2010 12:34 PM, ehud.kap...@gmail.com wrote:
 Collaborating with non-Lyx users is a problem for me as well, because I
 often want to
 use comments (like PostIt notes), but when the Lyx source is exported to
 pdf, the notes do not appear. 
 If there were a way to make them appear in the pdf output that would be
 a great help.

Check out http://wiki.lyx.org/Layouts/Modules#toc2 .


Cheers,

Rainer


 
 EK
 
 On 12/15/2010 5:37 AM, Gilles Mioni wrote:
 Hi Steve,

 My own experience with editors is :
 1/ I send an abstract and a complete document written with lyx
 and exported in PDF format.

 2/ I send, if necessary, the whole text for lecture in epub format
 From Lyx, I exported in HTLM format then I use XHTML software
 Amaya and Calibre software to prepare an e-book usable with any
 epub reader.
 Hi all,

 Perhaps some of you author in LyX but have editors go over your
 material. My experience is most editors don't have LyX and don't have
 the technical chops to use LyX. So how do you interface with your
 editors when writing a book in LyX?

 Thanks

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt


   

 
 -- 
 Ehud Kaplan, Ph.D.
 Jules and Doris Stein /Research to Prevent Blindness /Professor
 *Director*, Center of Excellence for /Computational  System neuroscience,/
 The Friedman Brain Institute, MSSM
 *Director*, The laboratory of /Visual  Computational Neuroscience/
 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
 The Mount Sinai School of Medicine
 One Gustave Levy Place
 New York, NY, 10029


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0IsJkACgkQoYgNqgF2egoXEgCcCnlrLc4j+TT8gdVHxbxYRU/Z
9S8AnjZpk0plZqLbwBiBdJLR9sE4f66J
=KctH
-END PGP SIGNATURE-


Re: LyX and editors?

2010-12-15 Thread Richard Heck

On 12/15/2010 06:34 AM, ehud.kap...@gmail.com wrote:
Collaborating with non-Lyx users is a problem for me as well, because 
I often want to
use comments (like PostIt notes), but when the Lyx source is exported 
to pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would 
be a great help.



Why not use marginal notes for this?

rh



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Richard Heck

On 12/15/2010 05:14 AM, Guenter Milde wrote:

On 2010-12-14, Richard Heck wrote:
   

On 12/14/2010 03:35 AM, Lisa Andrews wrote:
 

Is it possible to change a Note's label text (for example to a
shortened version)?
   
   

You're right: This doesn't work. I don't see why it shouldn't, though,
so I have fixed
this for 2.0.
 

Thanks a lot.

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?

   
No, that's a different beast altogether. At present, layouts only work 
with text insets, and labels and refs are command insets. It also isn't 
clear how, in general, one would customize the label, ie: What's the 
syntax of that tag?


rh



System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Daron Wilson
Greetings all,

I am using LyX 2 beta 2, and I have been trying out the use of system fonts 
with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I click apply, and 
then ok.  If I exit the document and then reopen, the sans serif font and the 
typewriter font are reset to default, and the font scale is set to 10%.  Both 
engines are happy with this, and all sans serif portions of the document are 
nicely typeset at 10% scale.   As long as the documents remain open, the fonts 
and font scale I choose will stay selected, and the output is as expected.  
There seem to be no issues when I deselect XeTeX/LuaTeX in the font area of 
document settings--pdflatex has no scaling issues. I have experienced this 
problem both with documents that worked fine under older versions, and with 
documents newly created.  

Has anyone else experienced this problem, or could I get some suggestions for 
debugging?

Regards,

Daron

Block Quotations in Letter Class

2010-12-15 Thread Bruce Pourciau
Is there a simple (read simple-minded Mac user) way to get the basic  
Letter class to allow the Quote environment?


Bruce


Re: Block Quotations in Letter Class

2010-12-15 Thread Richard Heck

On 12/15/2010 09:50 AM, Bruce Pourciau wrote:
Is there a simple (read simple-minded Mac user) way to get the basic 
Letter class to allow the Quote environment?


I wonder why we don't have that? I'll fix it. For now: Find the file 
letter.layout. Copy it to your local LyX directory, open it, and add the 
following:

Input stdlayouts.inc
at the end of the series of Input commands.

Richard



Re: LyX and editors?

2010-12-15 Thread Marc J. Driftmeyer
It makes more sense, in a distributed team environment to include 
embedded forms within PDF that allow one to make their comments on what 
needs to be edited or what you would like to modify, and then in the 
post production you can strip out the JavaScript forms in the finished PDF.


- Marc

On 12/15/2010 05:44 AM, Richard Heck wrote:

On 12/15/2010 06:34 AM, ehud.kap...@gmail.com wrote:
Collaborating with non-Lyx users is a problem for me as well, because 
I often want to
use comments (like PostIt notes), but when the Lyx source is exported 
to pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would 
be a great help.



Why not use marginal notes for this?

rh



--
Marc J. Driftmeyer
Email :: m...@reanimality.com mailto:m...@reanimality.com
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
attachment: mjd.vcf

Lyx 2.0 beta Windows - A few remarks

2010-12-15 Thread Michael Scheer

Hi,



I'm pretty new to Latex, new to Lyx and I like the Xetex integration of

Lyx 2. I'm using Lyx alongside with Miktex on Win7x64.

I've installed

ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/beta2/LyX-20beta2-5-8-AltInstaller-Small.exe



A few problems and remarks:

- I like the concept of Lyx.

- DVI preview does not work since Ver. 2 on my own documents (they use

Xetex). It works on Lyx internal documents like the Shortcuts doc. Error

message for both, dvi and ps export: Error executing java -jar

html2latex.jar -input in.html -output out.tex --- I cannot see why it

tries to convert from html to tex.



- The fullscreen settings: I'd place them somewhere under the View

settings.

- Is it possible to add a show Statusbar feature to fullscreen mode? It

is very helpful for all newbies to see some info in the keyboard shortcuts.

- A Keyboard shortcut for the PDF preview would be nice.



It forgets the fonts settings in the document properties (I use Xetex!)

and tends to store 10% size. Currently, I leave it as it is and use the

Latex preamble for this.



Best regards

Michael


Re: System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Fareed Qureshi
On 12/15/2010 10:25 AM, Daron Wilson wrote:
 Greetings all,
 
 I am using LyX 2 beta 2, and I have been trying out the use of system
 fonts with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I
 click apply, and then ok.  If I exit the document and then reopen,
 the sans serif font and the typewriter font are reset to default, and
 the font scale is set to 10%.  Both engines are happy with this, and
 all sans serif portions of the document are nicely typeset at 10%
 scale.   As long as the documents remain open, the fonts and font
 scale I choose will stay selected, and the output is as expected.
 There seem to be no issues when I deselect XeTeX/LuaTeX in the font
 area of document settings--pdflatex has no scaling issues. I have
 experienced this problem both with documents that worked fine under
 older versions, and with documents newly created.
 
 Has anyone else experienced this problem, or could I get some 
 suggestions for debugging?

I have also experienced this in one document, newly created in LyX
2.0beta2, using TeX Live 2010 on Ubuntu 10.10.

In my case, I create the document, change to XeTeX in the font settings,
then select some fonts for serif, sans-serif, and typewriter families,
all at 100% scale. Proceed to write as normal, save, preview PDF
(XeTeX), all looks well. Then close document. When I reopen the
document, the font settings now look as Daron describes — XeTeX is still
selected, the serif family is still correct, but sans-serif and
typewriter are now set to default and 10% scale. However, if I preview
my document the text set in typewriter is exported normally.
Subsequently, editing the text of the document (whether that text was
set in serif or typewriter) does not change the correct scaling in the
PDF preview.

Running LyX from the command line only gives this output, when I preview
the PDF:

This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
(./test_document.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek,
ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,
czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish,
french,
 galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi,
oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk,
polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish,
swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.


Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Michael Joyner
On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sanda sa...@lyx.org wrote:

 Michael Joyner wrote:
 if i ever tried to solve such kind of task i would produce direct .tex
 files
 instead of .lyx file though...
 pavel


One of our initial goals was to try and maintain an easy to edit file format
should the internal customers need to tweak any of the outputs.

The ones who would be doing the editing are less than technically inclined.

-Mike


Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:
 On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sanda sa...@lyx.org wrote:
  Michael Joyner wrote:
  if i ever tried to solve such kind of task i would produce direct .tex
  files
  instead of .lyx file though...
  pavel
 
 One of our initial goals was to try and maintain an easy to edit file
  format should the internal customers need to tweak any of the outputs.
 
 The ones who would be doing the editing are less than technically inclined.
 
 -Mike

Mike,

I REALLY appreciate your making easy to edit file format as a goal. I'd 
estimate that half my full-length LyX projects involve editing either with Vim 
or with a Perl script. Most of my books start as a VimOutliner outline, which 
then is converted by an awk script to LyX native format so that I can handle 
my book's structure and even some text in VimOutliner, and when the 
structure's correct, move it into LyX. All these things require an easy to 
edit LyX native file format.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lyx 2.0 beta Windows - A few remarks

2010-12-15 Thread Nikos Chantziaras

On 12/15/2010 05:59 PM, Michael Scheer wrote:


- DVI preview does not work since Ver.


XeTeX renders PDF directly.  There's no DVI.  Thus, use PDF preview, not 
DVI preview.




It forgets the fonts settings in the document properties (I use Xetex!)
and tends to store 10% size. Currently, I leave it as it is and use the
Latex preamble for this.


This has been fixed after beta 2 was released.  So the fix will be in 
the next release.




Re: System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Nikos Chantziaras

On 12/15/2010 05:25 PM, Daron Wilson wrote:

Greetings all,

I am using LyX 2 beta 2, and I have been trying out the use of system fonts 
with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I click apply, and 
then ok.  If I exit the document and then reopen, the sans serif font and the 
typewriter font are reset to default, and the font scale is set to 10%.  Both 
engines are happy with this, and all sans serif portions of the document are 
nicely typeset at 10% scale.   As long as the documents remain open, the fonts 
and font scale I choose will stay selected, and the output is as expected.  
There seem to be no issues when I deselect XeTeX/LuaTeX in the font area of 
document settings--pdflatex has no scaling issues. I have experienced this 
problem both with documents that worked fine under older versions, and with 
documents newly created.


This has been fixed, but unfortunately only after beta 2 was released. 
Let's hope for a quick beta 3 or RC1 which will contain the fix.




how to make CMYK pdf file

2010-12-15 Thread Boguslaw Kluz


  
  
Hi all,

I'm completely new to LyX (and LaTeX).
I just can write and compose books.
My question is this: how can I export a pdf file in CMYK colorspace?
I know there are several options in save/export but how to make sure
it's CMYK?

best regards
Boguslaw Kluz
  



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Abdelrazak Younes

On 15/12/2010 18:59, Steve Litt wrote:

On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:

On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sandasa...@lyx.org  wrote:

Michael Joyner wrote:
if i ever tried to solve such kind of task i would produce direct .tex
files
instead of .lyx file though...
pavel


One of our initial goals was to try and maintain an easy to edit file
  format should the internal customers need to tweak any of the outputs.

The ones who would be doing the editing are less than technically inclined.

-Mike


Mike,

I REALLY appreciate your making easy to edit file format as a goal. I'd
estimate that half my full-length LyX projects involve editing either with Vim
or with a Perl script. Most of my books start as a VimOutliner outline, which
then is converted by an awk script to LyX native format so that I can handle
my book's structure and even some text in VimOutliner, and when the
structure's correct, move it into LyX. All these things require an easy to
edit LyX native file format.


Could be wrong but I think that Mike was talking about easy to edit 
_within_ LyX, nothing to do with the lyx file fomat :-)
Still that your point about easy to edit file format is of course a 
priority for LyX developers, no change about that.


Abdel.



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 15:32:43 Abdelrazak Younes wrote:
 On 15/12/2010 18:59, Steve Litt wrote:
  On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:
[clip]
  One of our initial goals was to try and maintain an easy to edit file
format should the internal customers need to tweak any of the
  outputs.
 
  The ones who would be doing the editing are less than technically
  inclined.
 
  -Mike
 
  Mike,
 
  I REALLY appreciate your making easy to edit file format as a goal. I'd
  estimate that half my full-length LyX projects involve editing either
  with Vim or with a Perl script. Most of my books start as a VimOutliner
  outline, which then is converted by an awk script to LyX native format so
  that I can handle my book's structure and even some text in VimOutliner,
  and when the structure's correct, move it into LyX. All these things
  require an easy to edit LyX native file format.
 
 Could be wrong but I think that Mike was talking about easy to edit
 _within_ LyX, nothing to do with the lyx file fomat :-)
 Still that your point about easy to edit file format is of course a
 priority for LyX developers, no change about that.

Well then I guess I have to thank all of you developers, not just Mike.

And while I'm at it, thanks for all the other wonderful stuff about LyX, 
especially its stability, minimal surprises, ease of use and ESPECIALLY 
character styles.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 15:32:43 Abdelrazak Younes wrote:
 On 15/12/2010 18:59, Steve Litt wrote:

  Mike,
 
  I REALLY appreciate your making easy to edit file format as a goal. I'd
  estimate that half my full-length LyX projects involve editing either
  with Vim or with a Perl script. Most of my books start as a VimOutliner
  outline, which then is converted by an awk script to LyX native format so
  that I can handle my book's structure and even some text in VimOutliner,
  and when the structure's correct, move it into LyX. All these things
  require an easy to edit LyX native file format.
 
 Could be wrong but I think that Mike was talking about easy to edit
 _within_ LyX, nothing to do with the lyx file fomat :-)

:-)

I can't imagine it being hard to edit within the LyX environment. I mean all 
you do is type and use the menus. The only hard thing about LyX is making your 
own environments. 

That ease of use is my reason for using LyX. When writing a book, it's nice to 
think like an author instead of a Geek. I'm not intelligent enough to do both 
at the same time :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: OT: Checking the font size of text in pdf docs (in Linux)?

2010-12-15 Thread Paul Rubin
Not sure how much help this will be, but pdfedit can convert a PDF file to XML
format.  Here's a sample font tag from the XML output of a PDF file:

font basename=VYKOIK+NimbusRomNo9L-Regu origname=VYKOIK+NimbusRomNo9L-Regu
embeddedfontname=VYKOIK+NimbusRomNo9L-Regu tag=F67 serif=false
symbolic=true italic=false bold=false ascent=0.678 descent=-0.216
writemode=horizontal fonttype=Type1 (8bit)

You can identify the font from the basename attribute, and weight/slant from
obvious attributes.  Size is tricky.  The difference ascent-descent maps to the
font size, but the conversion is not entirely obvious to me.

I also think there are some Java code libraries out there that can parse XML
files, including font size, but I don't know off-hand which they are (and wasn't
sure in any case that you wanted to write Java code).

/Paul



Re: OT: Checking the font size of text in pdf docs (in Linux)?

2010-12-15 Thread stefano franchi
Thanks Paul.

For future reference: I ended up installing a demo version of a Windows-only
Pdf editor (Infix Pdf Editor) in my VirtualBox environment. The demo is
actually perfectly functional---you cannot save without getting the pdf
files watermarked, but saving  was useless to me. You can select any text
snippet and obtain font information including typeface and size (size is
rounded up, which made for some interesting headscratching before I realized
it. I was converting a book from TeX point sizes to Adobe points (bp).) I
think that's similar to what you can do in Acrobat Pro, but I 've never
tried it.
And no---I did not intend to wite any Java code. I am too old for learning
how to write Java
Cheers,

Stefano





On Wed, Dec 15, 2010 at 5:35 PM, Paul Rubin ru...@msu.edu wrote:

 Not sure how much help this will be, but pdfedit can convert a PDF file to
 XML
 format.  Here's a sample font tag from the XML output of a PDF file:

 font basename=VYKOIK+NimbusRomNo9L-Regu
 origname=VYKOIK+NimbusRomNo9L-Regu
 embeddedfontname=VYKOIK+NimbusRomNo9L-Regu tag=F67 serif=false
 symbolic=true italic=false bold=false ascent=0.678 descent=-0.216
 writemode=horizontal fonttype=Type1 (8bit)

 You can identify the font from the basename attribute, and weight/slant
 from
 obvious attributes.  Size is tricky.  The difference ascent-descent maps to
 the
 font size, but the conversion is not entirely obvious to me.

 I also think there are some Java code libraries out there that can parse
 XML
 files, including font size, but I don't know off-hand which they are (and
 wasn't
 sure in any case that you wanted to write Java code).

 /Paul




installation problems on OS X 10.6

2010-12-15 Thread David Rangel
Hello,
I am trying to install LyX but am having trouble getting the LyX .cls and
.sty files to install properly:

Cannot run texhash command to update TeX installation. Please run
manually. (installation report below)


I followed the instructions and ran the following at the command prompt:
sudo texhash

I am able to write LyX files.  However, when I try to import a LaTeX file
with very simple contents:

\documentclass{article}
\begin{document}
Test
\end{document}

I receive the following error:


The layout file requested by this document,

article.layout,

is not usable. This is probably because a LaTeX

class or style file required by it is not

available. See the Customization documentation

for more information.

LyX will not be able to produce output.




 I have been using vim and the command line to edit documents, but am
interested in LyX as an alternative. However, what would be the correct
converter definition to use LyX to compose then export to LaTeX so
collaborators who only use LaTeX have access to the .tex output?  Does the
output necessarily require the lyx style and classes to be present?


Thank you for the help.
___
Installation report:
a1. Removing obsolete files 

... Done removing obsolete files.


2. Testing to see if old LyX user's folder should be moved to new location


... Done moving LyX user's directory to new location.


3. (No preferences file found at ~/Library/'Application Support'/LyX-1.6/.)


4. Installing default LyX templates 

• Successfully copied default templates to new user's directory

... Done installing default LyX templates.


5. Installing LyX's special LaTeX files 

• Found TeX installation at .

• Local TeX directory set to ~/Library/texmf.

• Installed LyX's additional LaTeX .cls and .sty files.


*** ERROR: Cannot run texhash command. Please run manually.


... Done.


Re: installation problems on OS X 10.6

2010-12-15 Thread BH
On Wed, Dec 15, 2010 at 9:48 PM, David Rangel dprangel...@gmail.com wrote:
 5. Installing LyX's special LaTeX files 

 • Found TeX installation at .

This line is suspicious. It should return a path to, e.g.,
/usr/texbin. Do you actually have a working TeX installation? (How did
you install it? -- MacTeX, e.g.?)

If TeX is installed and you run LyX's installer again, do you get the
same result?

BH


Re: Block Quotations in Letter Class

2010-12-15 Thread Guenter Milde
On 2010-12-15, Richard Heck wrote:
 On 12/15/2010 09:50 AM, Bruce Pourciau wrote:
 Is there a simple (read simple-minded Mac user) way to get the basic 
 Letter class to allow the Quote environment?

 I wonder why we don't have that? 

Most probably, because the standard/basic letter class is *very*
restricted in the environments it allows. 

I can imagine that not even Quote/Quotation is supported but never
checked because I never use the basic letter class.

Günter



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Guenter Milde
On 2010-12-15, Richard Heck wrote:
 On 12/15/2010 05:14 AM, Guenter Milde wrote:

...

 Will this also work for Labels/Refs (where I would like to have a
 Unicode-Symbol instead of the lenghty text)?

 No, that's a different beast altogether. At present, layouts only work 
 with text insets, and labels and refs are command insets. It also isn't 
 clear how, in general, one would customize the label, ie: What's the 
 syntax of that tag?

If I remember right, the label string is translated to the local
language, so maybe I can get what I want changing the German po file.
(This was also the reason behind considering Unicode symbols as icon.)

Günter



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Guenter Milde
On 2010-12-14, Richard Heck wrote:
 On 12/14/2010 03:35 AM, Lisa Andrews wrote:
 With Lyx Beta 2.0.0beta2 on Windows7, I notice that if I write in a module

 InsetLayout Note:Note
 
   LabelFont
 ColorBlue
   EndFont
 .

 a note will indeed change its label color to Blue.

 However if I try

 InsetLayout Note:Note
 
LabelString N
 

 there is no effect. I can change LabelString on a custom Flex Inset.
 Is it possible to change a Note's label text (for example to a 
 shortened version)?

 You're right: This doesn't work. I don't see why it shouldn't, though, 
 so I have fixed
 this for 2.0.

Thanks a lot.

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?

Günter



Good dictionary for Lyx

2010-12-15 Thread Frederick [FN] Noronha * फ्रेडरिक न ोरोन्या *فريدريك نورونيا
What is a good dictionary for Lyx in English please? And what's the
easiest idiot-proof way to install it :-) FN

-- 
FN +91-9822122436 P +91-832-2409490
Updated: http://goabooks.wordpress.com


Re: LyX and editors?

2010-12-15 Thread Gilles Mioni

Hi Steve,

My own experience with editors is :
1/ I send an abstract and a complete document written with lyx
and exported in PDF format.

2/ I send, if necessary, the whole text for lecture in epub format
From Lyx, I exported in HTLM format then I use XHTML software
Amaya and Calibre software to prepare an e-book usable with any
epub reader.

Hi all,

Perhaps some of you author in LyX but have editors go over your material. My 
experience is most editors don't have LyX and don't have the technical chops 
to use LyX. So how do you interface with your editors when writing a book in 
LyX?


Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt


  




Re: Renaming LabelString of Note Inset

2010-12-15 Thread Jean-Marc Lasgouttes

Le 15/12/2010 11:14, Guenter Milde a écrit :

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?


No, on text insets use Inset layouts for now (although this will change 
eventually).


The right idea would be to have icons for those insets and make them 
appear in the text. We could maybe reuse the exisiting ones?


JMarc


Re: LyX and editors?

2010-12-15 Thread ehud.kap...@gmail.com
Collaborating with non-Lyx users is a problem for me as well, because I 
often want to
use comments (like PostIt notes), but when the Lyx source is exported to 
pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would be 
a great help.


EK

On 12/15/2010 5:37 AM, Gilles Mioni wrote:

Hi Steve,

My own experience with editors is :
1/ I send an abstract and a complete document written with lyx
and exported in PDF format.

2/ I send, if necessary, the whole text for lecture in epub format
From Lyx, I exported in HTLM format then I use XHTML software
Amaya and Calibre software to prepare an e-book usable with any
epub reader.

Hi all,

Perhaps some of you author in LyX but have editors go over your 
material. My experience is most editors don't have LyX and don't have 
the technical chops to use LyX. So how do you interface with your 
editors when writing a book in LyX?


Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt






--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational  System neuroscience,/
The Friedman Brain Institute, MSSM
*Director*, The laboratory of /Visual  Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


Re: LyX and editors?

2010-12-15 Thread Liviu Andronic
On Wed, Dec 15, 2010 at 12:34 PM, ehud.kap...@gmail.com
ehud.kap...@gmail.com wrote:
 Collaborating with non-Lyx users is a problem for me as well, because I
 often want to
 use comments (like PostIt notes), but when the Lyx source is exported to
 pdf, the notes do not appear.

To complete the answer that I sent to lyx-devel, greyedout notes are a
possibility but not quite the thing. However you can do this manually
using Mendeley (cross-platform, and plays nicely on Xubuntu Linux).

Regards
Liviu



 If there were a way to make them appear in the pdf output that would be a
 great help.

 EK

 On 12/15/2010 5:37 AM, Gilles Mioni wrote:

 Hi Steve,

 My own experience with editors is :
 1/ I send an abstract and a complete document written with lyx
 and exported in PDF format.

 2/ I send, if necessary, the whole text for lecture in epub format
 From Lyx, I exported in HTLM format then I use XHTML software
 Amaya and Calibre software to prepare an e-book usable with any
 epub reader.

 Hi all,

 Perhaps some of you author in LyX but have editors go over your material. My
 experience is most editors don't have LyX and don't have the technical chops
 to use LyX. So how do you interface with your editors when writing a book in
 LyX?

 Thanks

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt




 --
 Ehud Kaplan, Ph.D.
 Jules and Doris Stein Research to Prevent Blindness Professor
 Director, Center of Excellence for Computational  System neuroscience,
 The Friedman Brain Institute, MSSM
 Director, The laboratory of Visual  Computational Neuroscience
 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
 The Mount Sinai School of Medicine
 One Gustave Levy Place
 New York, NY, 10029




-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and editors?

2010-12-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/15/2010 12:34 PM, ehud.kap...@gmail.com wrote:
 Collaborating with non-Lyx users is a problem for me as well, because I
 often want to
 use comments (like PostIt notes), but when the Lyx source is exported to
 pdf, the notes do not appear. 
 If there were a way to make them appear in the pdf output that would be
 a great help.

Check out http://wiki.lyx.org/Layouts/Modules#toc2 .


Cheers,

Rainer


 
 EK
 
 On 12/15/2010 5:37 AM, Gilles Mioni wrote:
 Hi Steve,

 My own experience with editors is :
 1/ I send an abstract and a complete document written with lyx
 and exported in PDF format.

 2/ I send, if necessary, the whole text for lecture in epub format
 From Lyx, I exported in HTLM format then I use XHTML software
 Amaya and Calibre software to prepare an e-book usable with any
 epub reader.
 Hi all,

 Perhaps some of you author in LyX but have editors go over your
 material. My experience is most editors don't have LyX and don't have
 the technical chops to use LyX. So how do you interface with your
 editors when writing a book in LyX?

 Thanks

 SteveT

 Steve Litt
 Recession Relief Package
 http://www.recession-relief.US
 Twitter: http://www.twitter.com/stevelitt


   

 
 -- 
 Ehud Kaplan, Ph.D.
 Jules and Doris Stein /Research to Prevent Blindness /Professor
 *Director*, Center of Excellence for /Computational  System neuroscience,/
 The Friedman Brain Institute, MSSM
 *Director*, The laboratory of /Visual  Computational Neuroscience/
 Depts. of Neuroscience, Ophthalmology, Chemical  Structural Biology
 The Mount Sinai School of Medicine
 One Gustave Levy Place
 New York, NY, 10029


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0IsJkACgkQoYgNqgF2egoXEgCcCnlrLc4j+TT8gdVHxbxYRU/Z
9S8AnjZpk0plZqLbwBiBdJLR9sE4f66J
=KctH
-END PGP SIGNATURE-


Re: LyX and editors?

2010-12-15 Thread Richard Heck

On 12/15/2010 06:34 AM, ehud.kap...@gmail.com wrote:
Collaborating with non-Lyx users is a problem for me as well, because 
I often want to
use comments (like PostIt notes), but when the Lyx source is exported 
to pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would 
be a great help.



Why not use marginal notes for this?

rh



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Richard Heck

On 12/15/2010 05:14 AM, Guenter Milde wrote:

On 2010-12-14, Richard Heck wrote:
   

On 12/14/2010 03:35 AM, Lisa Andrews wrote:
 

Is it possible to change a Note's label text (for example to a
shortened version)?
   
   

You're right: This doesn't work. I don't see why it shouldn't, though,
so I have fixed
this for 2.0.
 

Thanks a lot.

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?

   
No, that's a different beast altogether. At present, layouts only work 
with text insets, and labels and refs are command insets. It also isn't 
clear how, in general, one would customize the label, ie: What's the 
syntax of that tag?


rh



System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Daron Wilson
Greetings all,

I am using LyX 2 beta 2, and I have been trying out the use of system fonts 
with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I click apply, and 
then ok.  If I exit the document and then reopen, the sans serif font and the 
typewriter font are reset to default, and the font scale is set to 10%.  Both 
engines are happy with this, and all sans serif portions of the document are 
nicely typeset at 10% scale.   As long as the documents remain open, the fonts 
and font scale I choose will stay selected, and the output is as expected.  
There seem to be no issues when I deselect XeTeX/LuaTeX in the font area of 
document settings--pdflatex has no scaling issues. I have experienced this 
problem both with documents that worked fine under older versions, and with 
documents newly created.  

Has anyone else experienced this problem, or could I get some suggestions for 
debugging?

Regards,

Daron

Block Quotations in Letter Class

2010-12-15 Thread Bruce Pourciau
Is there a simple (read simple-minded Mac user) way to get the basic  
Letter class to allow the Quote environment?


Bruce


Re: Block Quotations in Letter Class

2010-12-15 Thread Richard Heck

On 12/15/2010 09:50 AM, Bruce Pourciau wrote:
Is there a simple (read simple-minded Mac user) way to get the basic 
Letter class to allow the Quote environment?


I wonder why we don't have that? I'll fix it. For now: Find the file 
letter.layout. Copy it to your local LyX directory, open it, and add the 
following:

Input stdlayouts.inc
at the end of the series of Input commands.

Richard



Re: LyX and editors?

2010-12-15 Thread Marc J. Driftmeyer
It makes more sense, in a distributed team environment to include 
embedded forms within PDF that allow one to make their comments on what 
needs to be edited or what you would like to modify, and then in the 
post production you can strip out the JavaScript forms in the finished PDF.


- Marc

On 12/15/2010 05:44 AM, Richard Heck wrote:

On 12/15/2010 06:34 AM, ehud.kap...@gmail.com wrote:
Collaborating with non-Lyx users is a problem for me as well, because 
I often want to
use comments (like PostIt notes), but when the Lyx source is exported 
to pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would 
be a great help.



Why not use marginal notes for this?

rh



--
Marc J. Driftmeyer
Email :: m...@reanimality.com mailto:m...@reanimality.com
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
attachment: mjd.vcf

Lyx 2.0 beta Windows - A few remarks

2010-12-15 Thread Michael Scheer

Hi,



I'm pretty new to Latex, new to Lyx and I like the Xetex integration of

Lyx 2. I'm using Lyx alongside with Miktex on Win7x64.

I've installed

ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/beta2/LyX-20beta2-5-8-AltInstaller-Small.exe



A few problems and remarks:

- I like the concept of Lyx.

- DVI preview does not work since Ver. 2 on my own documents (they use

Xetex). It works on Lyx internal documents like the Shortcuts doc. Error

message for both, dvi and ps export: Error executing java -jar

html2latex.jar -input in.html -output out.tex --- I cannot see why it

tries to convert from html to tex.



- The fullscreen settings: I'd place them somewhere under the View

settings.

- Is it possible to add a show Statusbar feature to fullscreen mode? It

is very helpful for all newbies to see some info in the keyboard shortcuts.

- A Keyboard shortcut for the PDF preview would be nice.



It forgets the fonts settings in the document properties (I use Xetex!)

and tends to store 10% size. Currently, I leave it as it is and use the

Latex preamble for this.



Best regards

Michael


Re: System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Fareed Qureshi
On 12/15/2010 10:25 AM, Daron Wilson wrote:
 Greetings all,
 
 I am using LyX 2 beta 2, and I have been trying out the use of system
 fonts with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I
 click apply, and then ok.  If I exit the document and then reopen,
 the sans serif font and the typewriter font are reset to default, and
 the font scale is set to 10%.  Both engines are happy with this, and
 all sans serif portions of the document are nicely typeset at 10%
 scale.   As long as the documents remain open, the fonts and font
 scale I choose will stay selected, and the output is as expected.
 There seem to be no issues when I deselect XeTeX/LuaTeX in the font
 area of document settings--pdflatex has no scaling issues. I have
 experienced this problem both with documents that worked fine under
 older versions, and with documents newly created.
 
 Has anyone else experienced this problem, or could I get some 
 suggestions for debugging?

I have also experienced this in one document, newly created in LyX
2.0beta2, using TeX Live 2010 on Ubuntu 10.10.

In my case, I create the document, change to XeTeX in the font settings,
then select some fonts for serif, sans-serif, and typewriter families,
all at 100% scale. Proceed to write as normal, save, preview PDF
(XeTeX), all looks well. Then close document. When I reopen the
document, the font settings now look as Daron describes — XeTeX is still
selected, the serif family is still correct, but sans-serif and
typewriter are now set to default and 10% scale. However, if I preview
my document the text set in typewriter is exported normally.
Subsequently, editing the text of the document (whether that text was
set in serif or typewriter) does not change the correct scaling in the
PDF preview.

Running LyX from the command line only gives this output, when I preview
the PDF:

This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
(./test_document.tex
LaTeX2e 2009/09/24
Babel v3.8l and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek,
ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,
czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish,
french,
 galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi,
oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk,
polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish,
swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.


Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Michael Joyner
On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sanda sa...@lyx.org wrote:

 Michael Joyner wrote:
 if i ever tried to solve such kind of task i would produce direct .tex
 files
 instead of .lyx file though...
 pavel


One of our initial goals was to try and maintain an easy to edit file format
should the internal customers need to tweak any of the outputs.

The ones who would be doing the editing are less than technically inclined.

-Mike


Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:
 On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sanda sa...@lyx.org wrote:
  Michael Joyner wrote:
  if i ever tried to solve such kind of task i would produce direct .tex
  files
  instead of .lyx file though...
  pavel
 
 One of our initial goals was to try and maintain an easy to edit file
  format should the internal customers need to tweak any of the outputs.
 
 The ones who would be doing the editing are less than technically inclined.
 
 -Mike

Mike,

I REALLY appreciate your making easy to edit file format as a goal. I'd 
estimate that half my full-length LyX projects involve editing either with Vim 
or with a Perl script. Most of my books start as a VimOutliner outline, which 
then is converted by an awk script to LyX native format so that I can handle 
my book's structure and even some text in VimOutliner, and when the 
structure's correct, move it into LyX. All these things require an easy to 
edit LyX native file format.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lyx 2.0 beta Windows - A few remarks

2010-12-15 Thread Nikos Chantziaras

On 12/15/2010 05:59 PM, Michael Scheer wrote:


- DVI preview does not work since Ver.


XeTeX renders PDF directly.  There's no DVI.  Thus, use PDF preview, not 
DVI preview.




It forgets the fonts settings in the document properties (I use Xetex!)
and tends to store 10% size. Currently, I leave it as it is and use the
Latex preamble for this.


This has been fixed after beta 2 was released.  So the fix will be in 
the next release.




Re: System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Nikos Chantziaras

On 12/15/2010 05:25 PM, Daron Wilson wrote:

Greetings all,

I am using LyX 2 beta 2, and I have been trying out the use of system fonts 
with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I click apply, and 
then ok.  If I exit the document and then reopen, the sans serif font and the 
typewriter font are reset to default, and the font scale is set to 10%.  Both 
engines are happy with this, and all sans serif portions of the document are 
nicely typeset at 10% scale.   As long as the documents remain open, the fonts 
and font scale I choose will stay selected, and the output is as expected.  
There seem to be no issues when I deselect XeTeX/LuaTeX in the font area of 
document settings--pdflatex has no scaling issues. I have experienced this 
problem both with documents that worked fine under older versions, and with 
documents newly created.


This has been fixed, but unfortunately only after beta 2 was released. 
Let's hope for a quick beta 3 or RC1 which will contain the fix.




how to make CMYK pdf file

2010-12-15 Thread Boguslaw Kluz


  
  
Hi all,

I'm completely new to LyX (and LaTeX).
I just can write and compose books.
My question is this: how can I export a pdf file in CMYK colorspace?
I know there are several options in save/export but how to make sure
it's CMYK?

best regards
Boguslaw Kluz
  



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Abdelrazak Younes

On 15/12/2010 18:59, Steve Litt wrote:

On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:

On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sandasa...@lyx.org  wrote:

Michael Joyner wrote:
if i ever tried to solve such kind of task i would produce direct .tex
files
instead of .lyx file though...
pavel


One of our initial goals was to try and maintain an easy to edit file
  format should the internal customers need to tweak any of the outputs.

The ones who would be doing the editing are less than technically inclined.

-Mike


Mike,

I REALLY appreciate your making easy to edit file format as a goal. I'd
estimate that half my full-length LyX projects involve editing either with Vim
or with a Perl script. Most of my books start as a VimOutliner outline, which
then is converted by an awk script to LyX native format so that I can handle
my book's structure and even some text in VimOutliner, and when the
structure's correct, move it into LyX. All these things require an easy to
edit LyX native file format.


Could be wrong but I think that Mike was talking about easy to edit 
_within_ LyX, nothing to do with the lyx file fomat :-)
Still that your point about easy to edit file format is of course a 
priority for LyX developers, no change about that.


Abdel.



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 15:32:43 Abdelrazak Younes wrote:
 On 15/12/2010 18:59, Steve Litt wrote:
  On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:
[clip]
  One of our initial goals was to try and maintain an easy to edit file
format should the internal customers need to tweak any of the
  outputs.
 
  The ones who would be doing the editing are less than technically
  inclined.
 
  -Mike
 
  Mike,
 
  I REALLY appreciate your making easy to edit file format as a goal. I'd
  estimate that half my full-length LyX projects involve editing either
  with Vim or with a Perl script. Most of my books start as a VimOutliner
  outline, which then is converted by an awk script to LyX native format so
  that I can handle my book's structure and even some text in VimOutliner,
  and when the structure's correct, move it into LyX. All these things
  require an easy to edit LyX native file format.
 
 Could be wrong but I think that Mike was talking about easy to edit
 _within_ LyX, nothing to do with the lyx file fomat :-)
 Still that your point about easy to edit file format is of course a
 priority for LyX developers, no change about that.

Well then I guess I have to thank all of you developers, not just Mike.

And while I'm at it, thanks for all the other wonderful stuff about LyX, 
especially its stability, minimal surprises, ease of use and ESPECIALLY 
character styles.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 15:32:43 Abdelrazak Younes wrote:
 On 15/12/2010 18:59, Steve Litt wrote:

  Mike,
 
  I REALLY appreciate your making easy to edit file format as a goal. I'd
  estimate that half my full-length LyX projects involve editing either
  with Vim or with a Perl script. Most of my books start as a VimOutliner
  outline, which then is converted by an awk script to LyX native format so
  that I can handle my book's structure and even some text in VimOutliner,
  and when the structure's correct, move it into LyX. All these things
  require an easy to edit LyX native file format.
 
 Could be wrong but I think that Mike was talking about easy to edit
 _within_ LyX, nothing to do with the lyx file fomat :-)

:-)

I can't imagine it being hard to edit within the LyX environment. I mean all 
you do is type and use the menus. The only hard thing about LyX is making your 
own environments. 

That ease of use is my reason for using LyX. When writing a book, it's nice to 
think like an author instead of a Geek. I'm not intelligent enough to do both 
at the same time :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: OT: Checking the font size of text in pdf docs (in Linux)?

2010-12-15 Thread Paul Rubin
Not sure how much help this will be, but pdfedit can convert a PDF file to XML
format.  Here's a sample font tag from the XML output of a PDF file:

font basename=VYKOIK+NimbusRomNo9L-Regu origname=VYKOIK+NimbusRomNo9L-Regu
embeddedfontname=VYKOIK+NimbusRomNo9L-Regu tag=F67 serif=false
symbolic=true italic=false bold=false ascent=0.678 descent=-0.216
writemode=horizontal fonttype=Type1 (8bit)

You can identify the font from the basename attribute, and weight/slant from
obvious attributes.  Size is tricky.  The difference ascent-descent maps to the
font size, but the conversion is not entirely obvious to me.

I also think there are some Java code libraries out there that can parse XML
files, including font size, but I don't know off-hand which they are (and wasn't
sure in any case that you wanted to write Java code).

/Paul



Re: OT: Checking the font size of text in pdf docs (in Linux)?

2010-12-15 Thread stefano franchi
Thanks Paul.

For future reference: I ended up installing a demo version of a Windows-only
Pdf editor (Infix Pdf Editor) in my VirtualBox environment. The demo is
actually perfectly functional---you cannot save without getting the pdf
files watermarked, but saving  was useless to me. You can select any text
snippet and obtain font information including typeface and size (size is
rounded up, which made for some interesting headscratching before I realized
it. I was converting a book from TeX point sizes to Adobe points (bp).) I
think that's similar to what you can do in Acrobat Pro, but I 've never
tried it.
And no---I did not intend to wite any Java code. I am too old for learning
how to write Java
Cheers,

Stefano





On Wed, Dec 15, 2010 at 5:35 PM, Paul Rubin ru...@msu.edu wrote:

 Not sure how much help this will be, but pdfedit can convert a PDF file to
 XML
 format.  Here's a sample font tag from the XML output of a PDF file:

 font basename=VYKOIK+NimbusRomNo9L-Regu
 origname=VYKOIK+NimbusRomNo9L-Regu
 embeddedfontname=VYKOIK+NimbusRomNo9L-Regu tag=F67 serif=false
 symbolic=true italic=false bold=false ascent=0.678 descent=-0.216
 writemode=horizontal fonttype=Type1 (8bit)

 You can identify the font from the basename attribute, and weight/slant
 from
 obvious attributes.  Size is tricky.  The difference ascent-descent maps to
 the
 font size, but the conversion is not entirely obvious to me.

 I also think there are some Java code libraries out there that can parse
 XML
 files, including font size, but I don't know off-hand which they are (and
 wasn't
 sure in any case that you wanted to write Java code).

 /Paul




installation problems on OS X 10.6

2010-12-15 Thread David Rangel
Hello,
I am trying to install LyX but am having trouble getting the LyX .cls and
.sty files to install properly:

Cannot run texhash command to update TeX installation. Please run
manually. (installation report below)


I followed the instructions and ran the following at the command prompt:
sudo texhash

I am able to write LyX files.  However, when I try to import a LaTeX file
with very simple contents:

\documentclass{article}
\begin{document}
Test
\end{document}

I receive the following error:


The layout file requested by this document,

article.layout,

is not usable. This is probably because a LaTeX

class or style file required by it is not

available. See the Customization documentation

for more information.

LyX will not be able to produce output.




 I have been using vim and the command line to edit documents, but am
interested in LyX as an alternative. However, what would be the correct
converter definition to use LyX to compose then export to LaTeX so
collaborators who only use LaTeX have access to the .tex output?  Does the
output necessarily require the lyx style and classes to be present?


Thank you for the help.
___
Installation report:
a1. Removing obsolete files 

... Done removing obsolete files.


2. Testing to see if old LyX user's folder should be moved to new location


... Done moving LyX user's directory to new location.


3. (No preferences file found at ~/Library/'Application Support'/LyX-1.6/.)


4. Installing default LyX templates 

• Successfully copied default templates to new user's directory

... Done installing default LyX templates.


5. Installing LyX's special LaTeX files 

• Found TeX installation at .

• Local TeX directory set to ~/Library/texmf.

• Installed LyX's additional LaTeX .cls and .sty files.


*** ERROR: Cannot run texhash command. Please run manually.


... Done.


Re: installation problems on OS X 10.6

2010-12-15 Thread BH
On Wed, Dec 15, 2010 at 9:48 PM, David Rangel dprangel...@gmail.com wrote:
 5. Installing LyX's special LaTeX files 

 • Found TeX installation at .

This line is suspicious. It should return a path to, e.g.,
/usr/texbin. Do you actually have a working TeX installation? (How did
you install it? -- MacTeX, e.g.?)

If TeX is installed and you run LyX's installer again, do you get the
same result?

BH


Re: Block Quotations in Letter Class

2010-12-15 Thread Guenter Milde
On 2010-12-15, Richard Heck wrote:
 On 12/15/2010 09:50 AM, Bruce Pourciau wrote:
 Is there a simple (read simple-minded Mac user) way to get the basic 
 Letter class to allow the Quote environment?

 I wonder why we don't have that? 

Most probably, because the standard/basic letter class is *very*
restricted in the environments it allows. 

I can imagine that not even Quote/Quotation is supported but never
checked because I never use the basic letter class.

Günter



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Guenter Milde
On 2010-12-15, Richard Heck wrote:
 On 12/15/2010 05:14 AM, Guenter Milde wrote:

...

 Will this also work for Labels/Refs (where I would like to have a
 Unicode-Symbol instead of the lenghty text)?

 No, that's a different beast altogether. At present, layouts only work 
 with text insets, and labels and refs are command insets. It also isn't 
 clear how, in general, one would customize the label, ie: What's the 
 syntax of that tag?

If I remember right, the label string is translated to the local
language, so maybe I can get what I want changing the German po file.
(This was also the reason behind considering Unicode symbols as icon.)

Günter



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Guenter Milde
On 2010-12-14, Richard Heck wrote:
> On 12/14/2010 03:35 AM, Lisa Andrews wrote:
>> With Lyx Beta 2.0.0beta2 on Windows7, I notice that if I write in a module

>> InsetLayout Note:Note
>> 
>>   LabelFont
>> ColorBlue
>>   EndFont
>> .

>> a note will indeed change its label color to Blue.

>> However if I try

>> InsetLayout Note:Note
>> 
>>LabelString "N"
>> 

>> there is no effect. I can change LabelString on a custom Flex Inset.
>> Is it possible to change a Note's label text (for example to a 
>> shortened version)?

> You're right: This doesn't work. I don't see why it shouldn't, though, 
> so I have fixed
> this for 2.0.

Thanks a lot.

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?

Günter



Good dictionary for Lyx

2010-12-15 Thread Frederick [FN] Noronha * फ्रेडरिक न ोरोन्या *فريدريك نورونيا
What is a good dictionary for Lyx in English please? And what's the
easiest idiot-proof way to install it :-) FN

-- 
FN +91-9822122436 P +91-832-2409490
Updated: http://goabooks.wordpress.com


Re: LyX and editors?

2010-12-15 Thread Gilles Mioni

Hi Steve,

My own experience with editors is :
1/ I send an abstract and a complete document written with lyx
and exported in PDF format.

2/ I send, if necessary, the whole text for lecture in epub format
From Lyx, I exported in HTLM format then I use XHTML software
Amaya and Calibre software to prepare an e-book usable with any
epub reader.

Hi all,

Perhaps some of you author in LyX but have editors go over your material. My 
experience is most editors don't have LyX and don't have the technical chops 
to use LyX. So how do you interface with your editors when writing a book in 
LyX?


Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt


  




Re: Renaming LabelString of Note Inset

2010-12-15 Thread Jean-Marc Lasgouttes

Le 15/12/2010 11:14, Guenter Milde a écrit :

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?


No, on text insets use Inset layouts for now (although this will change 
eventually).


The right idea would be to have icons for those insets and make them 
appear in the text. We could maybe reuse the exisiting ones?


JMarc


Re: LyX and editors?

2010-12-15 Thread ehud.kap...@gmail.com
Collaborating with non-Lyx users is a problem for me as well, because I 
often want to
use comments (like PostIt notes), but when the Lyx source is exported to 
pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would be 
a great help.


EK

On 12/15/2010 5:37 AM, Gilles Mioni wrote:

Hi Steve,

My own experience with editors is :
1/ I send an abstract and a complete document written with lyx
and exported in PDF format.

2/ I send, if necessary, the whole text for lecture in epub format
From Lyx, I exported in HTLM format then I use XHTML software
Amaya and Calibre software to prepare an e-book usable with any
epub reader.

Hi all,

Perhaps some of you author in LyX but have editors go over your 
material. My experience is most editors don't have LyX and don't have 
the technical chops to use LyX. So how do you interface with your 
editors when writing a book in LyX?


Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt






--
Ehud Kaplan, Ph.D.
Jules and Doris Stein /Research to Prevent Blindness /Professor
*Director*, Center of Excellence for /Computational & System neuroscience,/
The Friedman Brain Institute, MSSM
*Director*, The laboratory of /Visual & Computational Neuroscience/
Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
The Mount Sinai School of Medicine
One Gustave Levy Place
New York, NY, 10029


Re: LyX and editors?

2010-12-15 Thread Liviu Andronic
On Wed, Dec 15, 2010 at 12:34 PM, ehud.kap...@gmail.com
 wrote:
> Collaborating with non-Lyx users is a problem for me as well, because I
> often want to
> use comments (like PostIt notes), but when the Lyx source is exported to
> pdf, the notes do not appear.
>
To complete the answer that I sent to lyx-devel, greyedout notes are a
possibility but not quite the thing. However you can do this manually
using Mendeley (cross-platform, and plays nicely on Xubuntu Linux).

Regards
Liviu



> If there were a way to make them appear in the pdf output that would be a
> great help.
>
> EK
>
> On 12/15/2010 5:37 AM, Gilles Mioni wrote:
>
> Hi Steve,
>
> My own experience with editors is :
> 1/ I send an abstract and a complete document written with lyx
> and exported in PDF format.
>
> 2/ I send, if necessary, the whole text for lecture in epub format
> From Lyx, I exported in HTLM format then I use XHTML software
> Amaya and Calibre software to prepare an e-book usable with any
> epub reader.
>
> Hi all,
>
> Perhaps some of you author in LyX but have editors go over your material. My
> experience is most editors don't have LyX and don't have the technical chops
> to use LyX. So how do you interface with your editors when writing a book in
> LyX?
>
> Thanks
>
> SteveT
>
> Steve Litt
> Recession Relief Package
> http://www.recession-relief.US
> Twitter: http://www.twitter.com/stevelitt
>
>
>
>
> --
> Ehud Kaplan, Ph.D.
> Jules and Doris Stein Research to Prevent Blindness Professor
> Director, Center of Excellence for Computational & System neuroscience,
> The Friedman Brain Institute, MSSM
> Director, The laboratory of Visual & Computational Neuroscience
> Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
> The Mount Sinai School of Medicine
> One Gustave Levy Place
> New York, NY, 10029
>



-- 
Do you know how to read?
http://www.alienetworks.com/srtest.cfm
http://goodies.xfce.org/projects/applications/xfce4-dict#speed-reader
Do you know how to write?
http://garbl.home.comcast.net/~garbl/stylemanual/e.htm#e-mail


Re: LyX and editors?

2010-12-15 Thread Rainer M Krug
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 12/15/2010 12:34 PM, ehud.kap...@gmail.com wrote:
> Collaborating with non-Lyx users is a problem for me as well, because I
> often want to
> use comments (like PostIt notes), but when the Lyx source is exported to
> pdf, the notes do not appear. 
> If there were a way to make them appear in the pdf output that would be
> a great help.

Check out http://wiki.lyx.org/Layouts/Modules#toc2 .


Cheers,

Rainer


> 
> EK
> 
> On 12/15/2010 5:37 AM, Gilles Mioni wrote:
>> Hi Steve,
>>
>> My own experience with editors is :
>> 1/ I send an abstract and a complete document written with lyx
>> and exported in PDF format.
>>
>> 2/ I send, if necessary, the whole text for lecture in epub format
>> From Lyx, I exported in HTLM format then I use XHTML software
>> Amaya and Calibre software to prepare an e-book usable with any
>> epub reader.
>>> Hi all,
>>>
>>> Perhaps some of you author in LyX but have editors go over your
>>> material. My experience is most editors don't have LyX and don't have
>>> the technical chops to use LyX. So how do you interface with your
>>> editors when writing a book in LyX?
>>>
>>> Thanks
>>>
>>> SteveT
>>>
>>> Steve Litt
>>> Recession Relief Package
>>> http://www.recession-relief.US
>>> Twitter: http://www.twitter.com/stevelitt
>>>
>>>
>>>   
>>
> 
> -- 
> Ehud Kaplan, Ph.D.
> Jules and Doris Stein /Research to Prevent Blindness /Professor
> *Director*, Center of Excellence for /Computational & System neuroscience,/
> The Friedman Brain Institute, MSSM
> *Director*, The laboratory of /Visual & Computational Neuroscience/
> Depts. of Neuroscience, Ophthalmology, Chemical & Structural Biology
> The Mount Sinai School of Medicine
> One Gustave Levy Place
> New York, NY, 10029


- -- 
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)

Centre of Excellence for Invasion Biology
Natural Sciences Building
Office Suite 2039
Stellenbosch University
Main Campus, Merriman Avenue
Stellenbosch
South Africa

Tel:+33 - (0)9 53 10 27 44
Cell:   +27 - (0)8 39 47 90 42
Fax (SA):   +27 - (0)8 65 16 27 82
Fax (D) :   +49 - (0)3 21 21 25 22 44
Fax (FR):   +33 - (0)9 58 10 27 44
email:  rai...@krugs.de

Skype:  RMkrug
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk0IsJkACgkQoYgNqgF2egoXEgCcCnlrLc4j+TT8gdVHxbxYRU/Z
9S8AnjZpk0plZqLbwBiBdJLR9sE4f66J
=KctH
-END PGP SIGNATURE-


Re: LyX and editors?

2010-12-15 Thread Richard Heck

On 12/15/2010 06:34 AM, ehud.kap...@gmail.com wrote:
Collaborating with non-Lyx users is a problem for me as well, because 
I often want to
use comments (like PostIt notes), but when the Lyx source is exported 
to pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would 
be a great help.



Why not use marginal notes for this?

rh



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Richard Heck

On 12/15/2010 05:14 AM, Guenter Milde wrote:

On 2010-12-14, Richard Heck wrote:
   

On 12/14/2010 03:35 AM, Lisa Andrews wrote:
 

Is it possible to change a Note's label text (for example to a
shortened version)?
   
   

You're right: This doesn't work. I don't see why it shouldn't, though,
so I have fixed
this for 2.0.
 

Thanks a lot.

Will this also work for Labels/Refs (where I would like to have a
Unicode-Symbol instead of the lenghty text)?

   
No, that's a different beast altogether. At present, layouts only work 
with text insets, and labels and refs are command insets. It also isn't 
clear how, in general, one would customize the label, ie: What's the 
syntax of that tag?


rh



System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Daron Wilson
Greetings all,

I am using LyX 2 beta 2, and I have been trying out the use of system fonts 
with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I click apply, and 
then ok.  If I exit the document and then reopen, the sans serif font and the 
typewriter font are reset to default, and the font scale is set to 10%.  Both 
engines are happy with this, and all sans serif portions of the document are 
nicely typeset at 10% scale.   As long as the documents remain open, the fonts 
and font scale I choose will stay selected, and the output is as expected.  
There seem to be no issues when I deselect XeTeX/LuaTeX in the font area of 
document settings--pdflatex has no scaling issues. I have experienced this 
problem both with documents that worked fine under older versions, and with 
documents newly created.  

Has anyone else experienced this problem, or could I get some suggestions for 
debugging?

Regards,

Daron

Block Quotations in Letter Class

2010-12-15 Thread Bruce Pourciau
Is there a simple (read simple-minded Mac user) way to get the basic  
Letter class to allow the Quote environment?


Bruce


Re: Block Quotations in Letter Class

2010-12-15 Thread Richard Heck

On 12/15/2010 09:50 AM, Bruce Pourciau wrote:
Is there a simple (read simple-minded Mac user) way to get the basic 
Letter class to allow the Quote environment?


I wonder why we don't have that? I'll fix it. For now: Find the file 
letter.layout. Copy it to your local LyX directory, open it, and add the 
following:

Input stdlayouts.inc
at the end of the series of Input commands.

Richard



Re: LyX and editors?

2010-12-15 Thread Marc J. Driftmeyer
It makes more sense, in a distributed team environment to include 
embedded forms within PDF that allow one to make their comments on what 
needs to be edited or what you would like to modify, and then in the 
post production you can strip out the JavaScript forms in the finished PDF.


- Marc

On 12/15/2010 05:44 AM, Richard Heck wrote:

On 12/15/2010 06:34 AM, ehud.kap...@gmail.com wrote:
Collaborating with non-Lyx users is a problem for me as well, because 
I often want to
use comments (like PostIt notes), but when the Lyx source is exported 
to pdf, the notes do not appear.
If there were a way to make them appear in the pdf output that would 
be a great help.



Why not use marginal notes for this?

rh



--
Marc J. Driftmeyer
Email :: m...@reanimality.com 
Web :: http://www.reanimality.com
Cell :: (509) 435-5212
<>

Lyx 2.0 beta Windows - A few remarks

2010-12-15 Thread Michael Scheer

Hi,



I'm pretty new to Latex, new to Lyx and I like the Xetex integration of

Lyx 2. I'm using Lyx alongside with Miktex on Win7x64.

I've installed

ftp://ftp.lyx.org/pub/lyx/devel/lyx-2.0/beta2/LyX-20beta2-5-8-AltInstaller-Small.exe



A few problems and remarks:

- I like the concept of Lyx.

- DVI preview does not work since Ver. 2 on my own documents (they use

Xetex). It works on Lyx internal documents like the Shortcuts doc. Error

message for both, dvi and ps export: "Error executing java -jar

html2latex.jar -input in.html -output out.tex" --- I cannot see why it

tries to convert from html to tex.



- The fullscreen settings: I'd place them somewhere under the "View"

settings.

- Is it possible to add a "show Statusbar" feature to fullscreen mode? It

is very helpful for all newbies to see some info in the keyboard shortcuts.

- A Keyboard shortcut for the PDF preview would be nice.



It forgets the fonts settings in the document properties (I use Xetex!)

and tends to store "10%" size. Currently, I leave it as it is and use the

Latex preamble for this.



Best regards

Michael


Re: System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Fareed Qureshi
On 12/15/2010 10:25 AM, Daron Wilson wrote:
> Greetings all,
> 
> I am using LyX 2 beta 2, and I have been trying out the use of system
> fonts with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I
> click apply, and then ok.  If I exit the document and then reopen,
> the sans serif font and the typewriter font are reset to default, and
> the font scale is set to 10%.  Both engines are happy with this, and
> all sans serif portions of the document are nicely typeset at 10%
> scale.   As long as the documents remain open, the fonts and font
> scale I choose will stay selected, and the output is as expected.
> There seem to be no issues when I deselect XeTeX/LuaTeX in the font
> area of document settings--pdflatex has no scaling issues. I have
> experienced this problem both with documents that worked fine under
> older versions, and with documents newly created.
> 
> Has anyone else experienced this problem, or could I get some 
> suggestions for debugging?

I have also experienced this in one document, newly created in LyX
2.0beta2, using TeX Live 2010 on Ubuntu 10.10.

In my case, I create the document, change to XeTeX in the font settings,
then select some fonts for serif, sans-serif, and typewriter families,
all at 100% scale. Proceed to write as normal, save, preview PDF
(XeTeX), all looks well. Then close document. When I reopen the
document, the font settings now look as Daron describes — XeTeX is still
selected, the serif family is still correct, but sans-serif and
typewriter are now set to default and 10% scale. However, if I preview
my document the text set in typewriter is exported normally.
Subsequently, editing the text of the document (whether that text was
set in serif or typewriter) does not change the correct scaling in the
PDF preview.

Running LyX from the command line only gives this output, when I preview
the PDF:

This is XeTeX, Version 3.1415926-2.2-0.9997.4 (TeX Live 2010)
 restricted \write18 enabled.
entering extended mode
(./test_document.tex
LaTeX2e <2009/09/24>
Babel  and hyphenation patterns for english, dumylang,
nohyphenation, ge
rman-x-2009-06-19, ngerman-x-2009-06-19, afrikaans, ancientgreek,
ibycus, arabi
c, armenian, basque, bulgarian, catalan, pinyin, coptic, croatian,
czech, danis
h, dutch, ukenglish, usenglishmax, esperanto, estonian, farsi, finnish,
french,
 galician, german, ngerman, swissgerman, monogreek, greek, hungarian,
icelandic
, assamese, bengali, gujarati, hindi, kannada, malayalam, marathi,
oriya, panja
bi, tamil, telugu, indonesian, interlingua, irish, italian, kurmanji,
lao, lati
n, latvian, lithuanian, mongolian, mongolianlmc, bokmal, nynorsk,
polish, portu
guese, romanian, russian, sanskrit, serbian, slovak, slovenian, spanish,
swedis
h, turkish, turkmen, ukrainian, uppersorbian, welsh, loaded.


Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Michael Joyner
On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sanda  wrote:

> Michael Joyner wrote:
> if i ever tried to solve such kind of task i would produce direct .tex
> files
> instead of .lyx file though...
> pavel
>

One of our initial goals was to try and maintain an easy to edit file format
should the internal customers need to "tweak" any of the outputs.

The ones who would be doing the editing are less than technically inclined.

-Mike


Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:
> On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sanda  wrote:
> > Michael Joyner wrote:
> > if i ever tried to solve such kind of task i would produce direct .tex
> > files
> > instead of .lyx file though...
> > pavel
> 
> One of our initial goals was to try and maintain an easy to edit file
>  format should the internal customers need to "tweak" any of the outputs.
> 
> The ones who would be doing the editing are less than technically inclined.
> 
> -Mike

Mike,

I REALLY appreciate your making easy to edit file format as a goal. I'd 
estimate that half my full-length LyX projects involve editing either with Vim 
or with a Perl script. Most of my books start as a VimOutliner outline, which 
then is converted by an awk script to LyX native format so that I can handle 
my book's structure and even some text in VimOutliner, and when the 
structure's correct, move it into LyX. All these things require an easy to 
edit LyX native file format.

Thanks

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Lyx 2.0 beta Windows - A few remarks

2010-12-15 Thread Nikos Chantziaras

On 12/15/2010 05:59 PM, Michael Scheer wrote:


- DVI preview does not work since Ver.


XeTeX renders PDF directly.  There's no DVI.  Thus, use PDF preview, not 
DVI preview.




It forgets the fonts settings in the document properties (I use Xetex!)
and tends to store "10%" size. Currently, I leave it as it is and use the
Latex preamble for this.


This has been fixed after beta 2 was released.  So the fix will be in 
the next release.




Re: System Font issues: XeTeX and LuaTeX

2010-12-15 Thread Nikos Chantziaras

On 12/15/2010 05:25 PM, Daron Wilson wrote:

Greetings all,

I am using LyX 2 beta 2, and I have been trying out the use of system fonts 
with XeTeX and LuaTeX.  Whenever I chose the fonts I want, I click apply, and 
then ok.  If I exit the document and then reopen, the sans serif font and the 
typewriter font are reset to default, and the font scale is set to 10%.  Both 
engines are happy with this, and all sans serif portions of the document are 
nicely typeset at 10% scale.   As long as the documents remain open, the fonts 
and font scale I choose will stay selected, and the output is as expected.  
There seem to be no issues when I deselect XeTeX/LuaTeX in the font area of 
document settings--pdflatex has no scaling issues. I have experienced this 
problem both with documents that worked fine under older versions, and with 
documents newly created.


This has been fixed, but unfortunately only after beta 2 was released. 
Let's hope for a quick beta 3 or RC1 which will contain the fix.




how to make CMYK pdf file

2010-12-15 Thread Boguslaw Kluz


  
  
Hi all,

I'm completely new to LyX (and LaTeX).
I just can write and compose books.
My question is this: how can I export a pdf file in CMYK colorspace?
I know there are several options in save/export but how to make sure
it's CMYK?

best regards
Boguslaw Kluz
  



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Abdelrazak Younes

On 15/12/2010 18:59, Steve Litt wrote:

On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:

On Mon, Dec 13, 2010 at 6:48 PM, Pavel Sanda  wrote:

Michael Joyner wrote:
if i ever tried to solve such kind of task i would produce direct .tex
files
instead of .lyx file though...
pavel


One of our initial goals was to try and maintain an easy to edit file
  format should the internal customers need to "tweak" any of the outputs.

The ones who would be doing the editing are less than technically inclined.

-Mike


Mike,

I REALLY appreciate your making easy to edit file format as a goal. I'd
estimate that half my full-length LyX projects involve editing either with Vim
or with a Perl script. Most of my books start as a VimOutliner outline, which
then is converted by an awk script to LyX native format so that I can handle
my book's structure and even some text in VimOutliner, and when the
structure's correct, move it into LyX. All these things require an easy to
edit LyX native file format.


Could be wrong but I think that Mike was talking about easy to edit 
_within_ LyX, nothing to do with the lyx file fomat :-)
Still that your point about easy to edit file format is of course a 
priority for LyX developers, no change about that.


Abdel.



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 15:32:43 Abdelrazak Younes wrote:
> On 15/12/2010 18:59, Steve Litt wrote:
> > On Wednesday 15 December 2010 11:54:01 Michael Joyner wrote:
[clip]
> >> One of our initial goals was to try and maintain an easy to edit file
> >>   format should the internal customers need to "tweak" any of the
> >> outputs.
> >>
> >> The ones who would be doing the editing are less than technically
> >> inclined.
> >>
> >> -Mike
> >
> > Mike,
> >
> > I REALLY appreciate your making easy to edit file format as a goal. I'd
> > estimate that half my full-length LyX projects involve editing either
> > with Vim or with a Perl script. Most of my books start as a VimOutliner
> > outline, which then is converted by an awk script to LyX native format so
> > that I can handle my book's structure and even some text in VimOutliner,
> > and when the structure's correct, move it into LyX. All these things
> > require an easy to edit LyX native file format.
> 
> Could be wrong but I think that Mike was talking about easy to edit
> _within_ LyX, nothing to do with the lyx file fomat :-)
> Still that your point about easy to edit file format is of course a
> priority for LyX developers, no change about that.

Well then I guess I have to thank all of you developers, not just Mike.

And while I'm at it, thanks for all the other wonderful stuff about LyX, 
especially its stability, minimal surprises, ease of use and ESPECIALLY 
character styles.

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: Extreme speed difference between 1.4.5.1 and 1.6.8

2010-12-15 Thread Steve Litt
On Wednesday 15 December 2010 15:32:43 Abdelrazak Younes wrote:
> On 15/12/2010 18:59, Steve Litt wrote:

> > Mike,
> >
> > I REALLY appreciate your making easy to edit file format as a goal. I'd
> > estimate that half my full-length LyX projects involve editing either
> > with Vim or with a Perl script. Most of my books start as a VimOutliner
> > outline, which then is converted by an awk script to LyX native format so
> > that I can handle my book's structure and even some text in VimOutliner,
> > and when the structure's correct, move it into LyX. All these things
> > require an easy to edit LyX native file format.
> 
> Could be wrong but I think that Mike was talking about easy to edit
> _within_ LyX, nothing to do with the lyx file fomat :-)

:-)

I can't imagine it being hard to edit within the LyX environment. I mean all 
you do is type and use the menus. The only hard thing about LyX is making your 
own environments. 

That ease of use is my reason for using LyX. When writing a book, it's nice to 
think like an author instead of a Geek. I'm not intelligent enough to do both 
at the same time :-)

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US
Twitter: http://www.twitter.com/stevelitt



Re: OT: Checking the font size of text in pdf docs (in Linux)?

2010-12-15 Thread Paul Rubin
Not sure how much help this will be, but pdfedit can convert a PDF file to XML
format.  Here's a sample font tag from the XML output of a PDF file:



You can identify the font from the basename attribute, and weight/slant from
obvious attributes.  Size is tricky.  The difference ascent-descent maps to the
font size, but the conversion is not entirely obvious to me.

I also think there are some Java code libraries out there that can parse XML
files, including font size, but I don't know off-hand which they are (and wasn't
sure in any case that you wanted to write Java code).

/Paul



Re: OT: Checking the font size of text in pdf docs (in Linux)?

2010-12-15 Thread stefano franchi
Thanks Paul.

For future reference: I ended up installing a demo version of a Windows-only
Pdf editor (Infix Pdf Editor) in my VirtualBox environment. The demo is
actually perfectly functional---you cannot save without getting the pdf
files watermarked, but saving  was useless to me. You can select any text
snippet and obtain font information including typeface and size (size is
rounded up, which made for some interesting headscratching before I realized
it. I was converting a book from TeX point sizes to Adobe points (bp).) I
think that's similar to what you can do in Acrobat Pro, but I 've never
tried it.
And no---I did not intend to wite any Java code. I am too old for learning
how to write Java
Cheers,

Stefano





On Wed, Dec 15, 2010 at 5:35 PM, Paul Rubin  wrote:

> Not sure how much help this will be, but pdfedit can convert a PDF file to
> XML
> format.  Here's a sample font tag from the XML output of a PDF file:
>
>  origname="VYKOIK+NimbusRomNo9L-Regu"
> embeddedfontname="VYKOIK+NimbusRomNo9L-Regu" tag="F67" serif="false"
> symbolic="true" italic="false" bold="false" ascent="0.678" descent="-0.216"
> writemode="horizontal" fonttype="Type1 (8bit)">
>
> You can identify the font from the basename attribute, and weight/slant
> from
> obvious attributes.  Size is tricky.  The difference ascent-descent maps to
> the
> font size, but the conversion is not entirely obvious to me.
>
> I also think there are some Java code libraries out there that can parse
> XML
> files, including font size, but I don't know off-hand which they are (and
> wasn't
> sure in any case that you wanted to write Java code).
>
> /Paul
>
>


installation problems on OS X 10.6

2010-12-15 Thread David Rangel
Hello,
I am trying to install LyX but am having trouble getting the LyX .cls and
.sty files to install properly:

"Cannot run texhash command to update TeX installation. Please run
manually." (installation report below)


I followed the instructions and ran the following at the command prompt:
>sudo texhash

I am able to write LyX files.  However, when I try to import a LaTeX file
with very simple contents:

\documentclass{article}
\begin{document}
Test
\end{document}

I receive the following error:
"

The layout file requested by this document,

article.layout,

is not usable. This is probably because a LaTeX

class or style file required by it is not

available. See the Customization documentation

for more information.

LyX will not be able to produce output.

"


 I have been using vim and the command line to edit documents, but am
interested in LyX as an alternative. However, what would be the correct
converter definition to use LyX to compose then export to LaTeX so
collaborators who only use LaTeX have access to the .tex output?  Does the
output necessarily require the lyx style and classes to be present?


Thank you for the help.
___
Installation report:
a1. Removing obsolete files 

... Done removing obsolete files.


2. Testing to see if old LyX user's folder should be moved to new location


... Done moving LyX user's directory to new location.


3. (No preferences file found at ~/Library/'Application Support'/LyX-1.6/.)


4. Installing default LyX templates 

• Successfully copied default templates to new user's directory

... Done installing default LyX templates.


5. Installing LyX's special LaTeX files 

• Found TeX installation at .

• Local TeX directory set to ~/Library/texmf.

• Installed LyX's additional LaTeX .cls and .sty files.


*** ERROR: Cannot run texhash command. Please run manually.


... Done.


Re: installation problems on OS X 10.6

2010-12-15 Thread BH
On Wed, Dec 15, 2010 at 9:48 PM, David Rangel  wrote:
> 5. Installing LyX's special LaTeX files 
>
> • Found TeX installation at .

This line is suspicious. It should return a path to, e.g.,
/usr/texbin. Do you actually have a working TeX installation? (How did
you install it? -- MacTeX, e.g.?)

If TeX is installed and you run LyX's installer again, do you get the
same result?

BH


Re: Block Quotations in Letter Class

2010-12-15 Thread Guenter Milde
On 2010-12-15, Richard Heck wrote:
> On 12/15/2010 09:50 AM, Bruce Pourciau wrote:
>> Is there a simple (read simple-minded Mac user) way to get the basic 
>> Letter class to allow the Quote environment?

> I wonder why we don't have that? 

Most probably, because the standard/basic letter class is *very*
restricted in the environments it allows. 

I can imagine that not even Quote/Quotation is supported but never
checked because I never use the basic letter class.

Günter



Re: Renaming LabelString of Note Inset

2010-12-15 Thread Guenter Milde
On 2010-12-15, Richard Heck wrote:
> On 12/15/2010 05:14 AM, Guenter Milde wrote:

...

>> Will this also work for Labels/Refs (where I would like to have a
>> Unicode-Symbol instead of the lenghty text)?

> No, that's a different beast altogether. At present, layouts only work 
> with text insets, and labels and refs are command insets. It also isn't 
> clear how, in general, one would customize the label, ie: What's the 
> syntax of that tag?

If I remember right, the label string is translated to the local
language, so maybe I can get what I want changing the German po file.
(This was also the reason behind considering Unicode symbols as icon.)

Günter