Missing features

2010-12-16 Thread alain . didierjean

I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I downloaded the
sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


Questions on elsarticle

2010-12-16 Thread Jun Gu
Dear Members,

 

I am using the template from Lyx for a manuscript which requires author-year
citation in text. However, no matter what kind of efforts I have made, the
citation doesn't work but only with a numeral ID at the end of the citation.
Taking an example as Jones (1995). What I want is 'Jones (1995) constructed
a model that .', while the final result after transferring it to PDF shows
'Jones (1995) [1]'. Would anyone of you provide some suggestion for such a
case?

 

All the best,

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 



smime.p7s
Description: S/MIME cryptographic signature


Re: how to make CMYK pdf file

2010-12-16 Thread Helge Hafting

On 15. des. 2010 13:09, Boguslaw Kluz wrote:

  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?


If all the colors you use in the document are CMYK colors, then the PDF 
file will be CMYK too.


LyX has some support for colors, you can use colored text. If you use 
this, LyX will use the color package.


You can read documentation for the color package, and any color you use 
(such as red text, blue text, ...) can be redefined as a CMYK color in 
the document preamble.


Example. Make a document with some red text in it. In the preamble, 
write this:

\definecolor{red}{cmyk}{0,1,1,0}

Each number is a fraction that goes from 0.00 to 1.00. In this case:
0 cyan
1 magenta
1 yellow
0 black
This combination looks red.  In the PDF, it is encoded using CMYK.


If your book has color illustrations, just make sure that each image is 
made with CMYK colors instead of RGB. Some image formats supports CMYK, 
so this is handled outside of LyX.


Helge Hafting


Re: Missing features

2010-12-16 Thread Helge Hafting

On 16. des. 2010 09:42, alain.didierj...@free.fr wrote:


I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I downloaded the
sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


If you had a very old LyX, maybe things have moved. I don't
have LyX 1.6.8, but 1.6.7 and 2.0 both do this:

pagebreak: Insert-Formatting-Page break
URL: Insert-URL
Symbols: Insert-Special Characters-Symbols...

Splitting the main window:
View-Split View (two alternatives)

Note that some features may be missing, if LyX believes you don't
have them. (I.e. URL.sty is missing, and similiar)
Try Tools-Reconfigure and restart LyX. Make sure latex is installed on 
the box.


Helge Hafting


Re: Missing features

2010-12-16 Thread Richard Heck

On 12/16/2010 07:08 AM, Helge Hafting wrote:

On 16. des. 2010 09:42, alain.didierj...@free.fr wrote:


I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I 
downloaded the

sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


If you had a very old LyX, maybe things have moved. I don't
have LyX 1.6.8, but 1.6.7 and 2.0 both do this:

pagebreak: Insert-Formatting-Page break
URL: Insert-URL
Symbols: Insert-Special Characters-Symbols...

Splitting the main window:
View-Split View (two alternatives)

Note that some features may be missing, if LyX believes you don't
have them. (I.e. URL.sty is missing, and similiar)
Try Tools-Reconfigure and restart LyX. Make sure latex is installed 
on the box.


The other possibility is that you have some problem with your local LyX 
directory, $HOME/.lyx/ by default. Try launching LyX as:

lyx -userdir /tmp/lyx
to try with a fresh directory. If that works, delete $HOME/.lyx/, saving 
whatever you need somewhere else, and start from there.


Richard


Helge Hafting




Re: System Font issues: XeTeX and LuaTeX

2010-12-16 Thread The Wilsons
Thanks for the note.  The situation is workable, but  fix before too
long would be welcome.

Daron

On Thu, Dec 16, 2010 at 01:27, Nikos Chantziaras rea...@arcor.de wrote:
 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.




Re: installation problems on OS X 10.6

2010-12-16 Thread David Rangel
Hello,
I am using TeXLive (the MacTeX TeX installation, with tex commands placed in
/usr/local/texlive/2010/bin/universal-darwin/).  I tried running the
installer again and did get the same result (I even tried running the
LyX-installer.app from the command line to authenticate).  At any rate, I
can run LyX and produce LyX files.  My concern is that I cannot then create
LaTeX files or import LaTeX files correctly.
Thank you for the help.

On Wed, Dec 15, 2010 at 10:16 PM, BH bewih...@gmail.com wrote:

 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: getting proper bullets in French documents?

2010-12-16 Thread laurenz
Hi!

I have a similar problem, the \frenchbsetup{StandardItemLabels=true} in the 
preamble solves the issue with the dashes instead of bullets, BUT the spacing 
between the lines of this list and between the preceeding and the following 
paragraph is too small.

So in short, if I change the language from English to French, my bulletpoints 
are replaced by dashes and the spacing of the list is reduced to single 
spacing. Any ideas how to solve this issue?

I'm running Lyx 1.6.7 under XPSP2.

Thanks in advance!

Laurenz




Re: getting proper bullets in French documents?

2010-12-16 Thread laurenz
I'm sorry, I realized this is not an error but a localisation issue:
http://daniel.flipo.free.fr/frenchb/frenchb2-doc.pdf
Here are the descriptions what changes are made if you use french and babel. To 
revert the changes to the lists the following command must be put in the  
preamble:

\frenchbsetup{StandardLists=true}

have a good evening!
Laurenz



Possible SVG gotcha

2010-12-16 Thread Steve Litt
Hi all,

My book personalization script magically stopped working today, for two of my 
six eBooks. Some of the error messages concerned images. I found that on one 
book the SVG images in the book got horribly garbled. As far as I know, I've 
done nothing the past few days to effect generation. My LyX is 1.6.4.

I'm going to be troubleshooting this today. If anyone has dealt with this 
before, please let me know. And if you're putting SVG images into your books, 
be aware of that until this thing gets solved.

I'll continue letting you know as I find out more.

SteveT

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



a problem

2010-12-16 Thread ale.ferla
 Good morning!
I have a problem with Lyx for Windows (version 1.6). Lyx sometimes cannot 
produce the .pdf file and it signals this error: the file does not exist; Lyx 
cannot find the temporary file. What can I do?
thank you
Alessandra 

Re: a problem

2010-12-16 Thread Liviu Andronic
On Thu, Dec 16, 2010 at 10:42 AM,  ale.fe...@virgilio.it wrote:
  Good morning!
 I have a problem with Lyx for Windows (version 1.6). Lyx sometimes cannot
 produce the .pdf file and it signals this error: the file does not exist;
 Lyx cannot find the temporary file. What can I do?

Sometimes these messages are not very helpful. Have you tried Document  Log?
Liviu



 thank you
 Alessandra



-- 
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: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
 Hi all,
 
 My book personalization script magically stopped working today, for two of
  my six eBooks. Some of the error messages concerned images. I found that
  on one book the SVG images in the book got horribly garbled. As far as I
  know, I've done nothing the past few days to effect generation. My LyX is
  1.6.4.

Partially solved. The failure to compile had nothing to do with SVG images. It 
was caused by LyX's recently acquired feature of putting @ and \textbar into 
index entries, and can be worked around by changing LyX's LaTeX output 
encoding to T1 instead of default. M-I-C...

Interestingly, two of my four ebooks containing indexes appeared perfectly 
able to compile with default encoding, so when I get the time I can probably 
exploit the differences to find out a per-document solution.

As far as image distortion, I suspect that has to do with SVG, so I'll 
continue researching that.

SteveT

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



Re: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 15:07:01 Steve Litt wrote:
 On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
  Hi all,
 
  My book personalization script magically stopped working today, for two
  of my six eBooks. Some of the error messages concerned images. I found
  that on one book the SVG images in the book got horribly garbled. As far
  as I know, I've done nothing the past few days to effect generation. My
  LyX is 1.6.4.
 
 Partially solved. The failure to compile had nothing to do with SVG images.
  It was caused by LyX's recently acquired feature of putting @ and \textbar
  into index entries, and can be worked around by changing LyX's LaTeX
  output encoding to T1 instead of default. M-I-C...
 
 Interestingly, two of my four ebooks containing indexes appeared perfectly
 able to compile with default encoding, so when I get the time I can
  probably exploit the differences to find out a per-document solution.
 
 As far as image distortion, I suspect that has to do with SVG, so I'll
 continue researching that.

More info. My .svg files were created with Inkscape. Their image sizes in 
Inkscape were not shrunk down to the size of the graphic, but instead were 
8.5x11 or some such. When I put tiny rectangles on the upper left and lower 
right, selected everything, and File-Properties-size to selection, saved, 
and reran the LyX compile, the images came out approximately right. Two 
things:

1) The upper left rectangle has to be quite a bit higher than the highest 
material you want to show, because some is cut off.

2) The conversion process loses objects' order from top to bottom, or at least 
I'll have to redo the Inkscapes for order.

At this point I'm giving serious consideration to converting to eps manually 
and including the eps in my book, because the slightest change to SVG to EPS 
conversion could mess up my book at any time.

I'll report more on all this stuff later...

SteveT

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



Re: Possible SVG gotcha

2010-12-16 Thread Marc J. Driftmeyer



On 12/16/2010 12:42 PM, Steve Litt wrote:

On Thursday 16 December 2010 15:07:01 Steve Litt wrote:

On Thursday 16 December 2010 13:13:46 Steve Litt wrote:

Hi all,

My book personalization script magically stopped working today, for two
of my six eBooks. Some of the error messages concerned images. I found
that on one book the SVG images in the book got horribly garbled. As far
as I know, I've done nothing the past few days to effect generation. My
LyX is 1.6.4.

Partially solved. The failure to compile had nothing to do with SVG images.
  It was caused by LyX's recently acquired feature of putting @ and \textbar
  into index entries, and can be worked around by changing LyX's LaTeX
  output encoding to T1 instead of default. M-I-C...

Interestingly, two of my four ebooks containing indexes appeared perfectly
able to compile with default encoding, so when I get the time I can
  probably exploit the differences to find out a per-document solution.

As far as image distortion, I suspect that has to do with SVG, so I'll
continue researching that.

More info. My .svg files were created with Inkscape. Their image sizes in
Inkscape were not shrunk down to the size of the graphic, but instead were
8.5x11 or some such. When I put tiny rectangles on the upper left and lower
right, selected everything, and File-Properties-size to selection, saved,
and reran the LyX compile, the images came out approximately right. Two
things:

1) The upper left rectangle has to be quite a bit higher than the highest
material you want to show, because some is cut off.

2) The conversion process loses objects' order from top to bottom, or at least
I'll have to redo the Inkscapes for order.

At this point I'm giving serious consideration to converting to eps manually
and including the eps in my book, because the slightest change to SVG to EPS
conversion could mess up my book at any time.

I'll report more on all this stuff later...

SteveT

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



Inkscape objects default to the drawing object if you don't select the 
specific object to export.


- Marc

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

Re: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 15:49:16 Marc J. Driftmeyer wrote:
 On 12/16/2010 12:42 PM, Steve Litt wrote:
  On Thursday 16 December 2010 15:07:01 Steve Litt wrote:
  On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
  Hi all,
 
  My book personalization script magically stopped working today, for two
  of my six eBooks. Some of the error messages concerned images. I found
  that on one book the SVG images in the book got horribly garbled. As
  far as I know, I've done nothing the past few days to effect
  generation. My LyX is 1.6.4.
 
  Partially solved. The failure to compile had nothing to do with SVG
  images. It was caused by LyX's recently acquired feature of putting @
  and \textbar into index entries, and can be worked around by changing
  LyX's LaTeX output encoding to T1 instead of default. M-I-C...
 
  Interestingly, two of my four ebooks containing indexes appeared
  perfectly able to compile with default encoding, so when I get the time
  I can probably exploit the differences to find out a per-document
  solution.
 
  As far as image distortion, I suspect that has to do with SVG, so I'll
  continue researching that.
 
  More info. My .svg files were created with Inkscape. Their image sizes in
  Inkscape were not shrunk down to the size of the graphic, but instead
  were 8.5x11 or some such. When I put tiny rectangles on the upper left
  and lower right, selected everything, and File-Properties-size to
  selection, saved, and reran the LyX compile, the images came out
  approximately right. Two things:
 
  1) The upper left rectangle has to be quite a bit higher than the highest
  material you want to show, because some is cut off.
 
  2) The conversion process loses objects' order from top to bottom, or at
  least I'll have to redo the Inkscapes for order.
 
  At this point I'm giving serious consideration to converting to eps
  manually and including the eps in my book, because the slightest change
  to SVG to EPS conversion could mess up my book at any time.
 
  I'll report more on all this stuff later...
 
  SteveT
 
  Steve Litt
  Recession Relief Package
  http://www.recession-relief.US
  Twitter: http://www.twitter.com/stevelitt
 
 Inkscape objects default to the drawing object if you don't select the
 specific object to export.
 
 - Marc

Sounds reasonable. That's why I had to change the size of the drawing, which I 
assume is what you mean by the drawing object.

SteveT

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



Catwoman's slinky lynx licks Lyx's Instant Preview M ode in WYSIWY∞

2010-12-16 Thread Lisa Andrews
Apologies for the awful catchphrase bait put there for you to swallow hook,
line and tinker.

Just throwing a crazy thought out there before Lyx 10; what would be the
consequences of a mode where the screen was displayed as though through a
Preview inset except at the point where you happened to be typing? A
keystroke would toggle this on or off. James Blunt is singing 'You're
beautiful' in my head now which is exceedingly annoying.

BTW, WYSIWY∞ just means I have an acronym headache; ∞ is not a sideways 8
that fell over from a hangover meaning What you see is what you ate.

(Does WYSIWY∞ mean  WYSI everything there is, or WYS does not behave in the
way you think it should?)

From the floor,
Lisa


Re: LyX and editors?

2010-12-16 Thread Ehud Kaplan

I am afraid that this answer is a bit too terse for me.
I included \usepackage{pdfcomment} in the preamble,
but that made no difference.  I suspect I need to use Jurgen's layout 
(module?) file, but I

could not find it on my system.
So I followed the Wiki, and copied Jurgen's pdfcomment.module into
my /usr/share/lyx/layouts folder, reconfigured Lyx and... nothing 
changed.  The inserted notes or comments were still not visible in the 
pdf output.

What am I doing wrong?
Thanks,
EK

On 12/15/2010 07:12 AM, Rainer M Krug wrote:

-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-


--
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-16 Thread Liviu Andronic
On Fri, Dec 17, 2010 at 2:02 AM, Ehud Kaplan ehud.kap...@mssm.edu wrote:
 I am afraid that this answer is a bit too terse for me.
 I included \usepackage{pdfcomment} in the preamble,
 but that made no difference.  I suspect I need to use Jurgen's layout
 (module?) file, but I
 could not find it on my system.
 So I followed the Wiki, and copied Jurgen's pdfcomment.module into
 my /usr/share/lyx/layouts folder, reconfigured Lyx and... nothing changed.
 The inserted notes or comments were still not visible in the pdf output.
 What am I doing wrong?

You probably do not load the module in Document  Settings  Module
and do not Insert  Custom insets. Regards
Liviu


 Thanks,
 EK

 On 12/15/2010 07:12 AM, Rainer M Krug wrote:

 -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-

 --
 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: Questions on elsarticle

2010-12-16 Thread Justin Wood
This has probably already been answered, but if not: you need to use BibTeX
and select an author-date style. Check out section 6.5 (Bibliography) of the
User Guide, and http://wiki.lyx.org/BibTeX/BibTeX (hmm, I thought there was
a page with step by step instructions but can't see to find it). Basically
you need four things (assuming LyX 1.6.8):
1. A BibTeX database .bib file containing your citation records. This is
done outside of LyX; utilities abound... I personally use the superawesome LyZ
utility http://www.klubko.net/wp/?page_id=945lang=en to handle this for
me from my Zotero http://www.zotero.org/ reference database in Firefox.
2. Set your document to use BibTeX: Document Settings - Bibliography, select
Natbib with Author-year
3. Insert a Bibliography in your document using Insert - List/TOC - BibTeX
bibliography, and point to the .bib file — you'll probably have to browse to
it unless you install it in the relevant directory of your LaTeX distro
(which is worth doing in my opinion; I hardlink from there back to where I
store the real file).
4. In that same dialogue, you choose the citation style. plainnat is the
default and works okay but it uses square brackets not parentheses by
default. Personally I use Chicago style, via this
.bsthttp://www.digitas.harvard.edu/cgi-bin/wiki/ken/McBride(which
again needs to be installed in your LaTeX distro).

The actual citation style I think is the weak link in the chain. I could
well be missing something, but it struck me as overly difficult to get a
'proper' author-year format in the manner you describe.

Apologies if I've misunderstood what you're after!

2010/12/17 lyx-users-digest-h...@lists.lyx.org

 -- Forwarded message --
 From: Jun Gu gujun.suz...@gmail.com
 To: lyx-users@lists.lyx.org
 Date: Thu, 16 Dec 2010 17:55:39 +0800
 Subject: Questions on elsarticle

 Dear Members,



 I am using the template from Lyx for a manuscript which requires
 author-year citation in text. However, no matter what kind of efforts I have
 made, the citation doesn’t work but only with a numeral ID at the end of the
 citation. Taking an example as Jones (1995). What I want is ‘Jones (1995)
 constructed a model that …’, while the final result after transferring it to
 PDF shows ‘Jones (1995) [1]’. Would anyone of you provide some suggestion
 for such a case?



 All the best,



 Jun



 Jun Gu, PhD Student

 Department of Accounting and Finance

 Lancaster University Management School

 Lancaster University

 Lancaaster LA1 4YX

 United Kingdom



RE: Questions on elsarticle

2010-12-16 Thread Jun Gu
Thanks Justin,

 

I have also gotten an answer myself as well. The solution for such question
is rather simple. What it wants in Lyx is only to add an option 'authoryear'
for the class. It is from the official introduction.

 

Thanks again for your concrete answer.

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 

From: upas...@gmail.com [mailto:upas...@gmail.com] On Behalf Of Justin Wood
Sent: Friday, December 17, 2010 11:20 AM
To: LyX Users List; Jun Gu
Subject: Re: Questions on elsarticle

 

This has probably already been answered, but if not: you need to use BibTeX
and select an author-date style. Check out section 6.5 (Bibliography) of the
User Guide, and http://wiki.lyx.org/BibTeX/BibTeX (hmm, I thought there was
a page with step by step instructions but can't see to find it). Basically
you need four things (assuming LyX 1.6.8):
1. A BibTeX database .bib file containing your citation records. This is
done outside of LyX; utilities abound... I personally use the superawesome
LyZ utility http://www.klubko.net/wp/?page_id=945lang=en  to handle this
for me from my Zotero http://www.zotero.org/  reference database in
Firefox.
2. Set your document to use BibTeX: Document Settings - Bibliography, select
Natbib with Author-year
3. Insert a Bibliography in your document using Insert - List/TOC - BibTeX
bibliography, and point to the .bib file - you'll probably have to browse to
it unless you install it in the relevant directory of your LaTeX distro
(which is worth doing in my opinion; I hardlink from there back to where I
store the real file).
4. In that same dialogue, you choose the citation style. plainnat is the
default and works okay but it uses square brackets not parentheses by
default. Personally I use Chicago style, via this .bst
http://www.digitas.harvard.edu/cgi-bin/wiki/ken/McBride  (which again
needs to be installed in your LaTeX distro).

The actual citation style I think is the weak link in the chain. I could
well be missing something, but it struck me as overly difficult to get a
'proper' author-year format in the manner you describe.

Apologies if I've misunderstood what you're after!

2010/12/17 lyx-users-digest-h...@lists.lyx.org

-- Forwarded message --
From: Jun Gu gujun.suz...@gmail.com
To: lyx-users@lists.lyx.org
Date: Thu, 16 Dec 2010 17:55:39 +0800
Subject: Questions on elsarticle

Dear Members,

 

I am using the template from Lyx for a manuscript which requires author-year
citation in text. However, no matter what kind of efforts I have made, the
citation doesn't work but only with a numeral ID at the end of the citation.
Taking an example as Jones (1995). What I want is 'Jones (1995) constructed
a model that .', while the final result after transferring it to PDF shows
'Jones (1995) [1]'. Would anyone of you provide some suggestion for such a
case?

 

All the best,

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 



smime.p7s
Description: S/MIME cryptographic signature


Missing features

2010-12-16 Thread alain . didierjean

I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I downloaded the
sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


Questions on elsarticle

2010-12-16 Thread Jun Gu
Dear Members,

 

I am using the template from Lyx for a manuscript which requires author-year
citation in text. However, no matter what kind of efforts I have made, the
citation doesn't work but only with a numeral ID at the end of the citation.
Taking an example as Jones (1995). What I want is 'Jones (1995) constructed
a model that .', while the final result after transferring it to PDF shows
'Jones (1995) [1]'. Would anyone of you provide some suggestion for such a
case?

 

All the best,

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 



smime.p7s
Description: S/MIME cryptographic signature


Re: how to make CMYK pdf file

2010-12-16 Thread Helge Hafting

On 15. des. 2010 13:09, Boguslaw Kluz wrote:

  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?


If all the colors you use in the document are CMYK colors, then the PDF 
file will be CMYK too.


LyX has some support for colors, you can use colored text. If you use 
this, LyX will use the color package.


You can read documentation for the color package, and any color you use 
(such as red text, blue text, ...) can be redefined as a CMYK color in 
the document preamble.


Example. Make a document with some red text in it. In the preamble, 
write this:

\definecolor{red}{cmyk}{0,1,1,0}

Each number is a fraction that goes from 0.00 to 1.00. In this case:
0 cyan
1 magenta
1 yellow
0 black
This combination looks red.  In the PDF, it is encoded using CMYK.


If your book has color illustrations, just make sure that each image is 
made with CMYK colors instead of RGB. Some image formats supports CMYK, 
so this is handled outside of LyX.


Helge Hafting


Re: Missing features

2010-12-16 Thread Helge Hafting

On 16. des. 2010 09:42, alain.didierj...@free.fr wrote:


I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I downloaded the
sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


If you had a very old LyX, maybe things have moved. I don't
have LyX 1.6.8, but 1.6.7 and 2.0 both do this:

pagebreak: Insert-Formatting-Page break
URL: Insert-URL
Symbols: Insert-Special Characters-Symbols...

Splitting the main window:
View-Split View (two alternatives)

Note that some features may be missing, if LyX believes you don't
have them. (I.e. URL.sty is missing, and similiar)
Try Tools-Reconfigure and restart LyX. Make sure latex is installed on 
the box.


Helge Hafting


Re: Missing features

2010-12-16 Thread Richard Heck

On 12/16/2010 07:08 AM, Helge Hafting wrote:

On 16. des. 2010 09:42, alain.didierj...@free.fr wrote:


I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I 
downloaded the

sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


If you had a very old LyX, maybe things have moved. I don't
have LyX 1.6.8, but 1.6.7 and 2.0 both do this:

pagebreak: Insert-Formatting-Page break
URL: Insert-URL
Symbols: Insert-Special Characters-Symbols...

Splitting the main window:
View-Split View (two alternatives)

Note that some features may be missing, if LyX believes you don't
have them. (I.e. URL.sty is missing, and similiar)
Try Tools-Reconfigure and restart LyX. Make sure latex is installed 
on the box.


The other possibility is that you have some problem with your local LyX 
directory, $HOME/.lyx/ by default. Try launching LyX as:

lyx -userdir /tmp/lyx
to try with a fresh directory. If that works, delete $HOME/.lyx/, saving 
whatever you need somewhere else, and start from there.


Richard


Helge Hafting




Re: System Font issues: XeTeX and LuaTeX

2010-12-16 Thread The Wilsons
Thanks for the note.  The situation is workable, but  fix before too
long would be welcome.

Daron

On Thu, Dec 16, 2010 at 01:27, Nikos Chantziaras rea...@arcor.de wrote:
 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.




Re: installation problems on OS X 10.6

2010-12-16 Thread David Rangel
Hello,
I am using TeXLive (the MacTeX TeX installation, with tex commands placed in
/usr/local/texlive/2010/bin/universal-darwin/).  I tried running the
installer again and did get the same result (I even tried running the
LyX-installer.app from the command line to authenticate).  At any rate, I
can run LyX and produce LyX files.  My concern is that I cannot then create
LaTeX files or import LaTeX files correctly.
Thank you for the help.

On Wed, Dec 15, 2010 at 10:16 PM, BH bewih...@gmail.com wrote:

 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: getting proper bullets in French documents?

2010-12-16 Thread laurenz
Hi!

I have a similar problem, the \frenchbsetup{StandardItemLabels=true} in the 
preamble solves the issue with the dashes instead of bullets, BUT the spacing 
between the lines of this list and between the preceeding and the following 
paragraph is too small.

So in short, if I change the language from English to French, my bulletpoints 
are replaced by dashes and the spacing of the list is reduced to single 
spacing. Any ideas how to solve this issue?

I'm running Lyx 1.6.7 under XPSP2.

Thanks in advance!

Laurenz




Re: getting proper bullets in French documents?

2010-12-16 Thread laurenz
I'm sorry, I realized this is not an error but a localisation issue:
http://daniel.flipo.free.fr/frenchb/frenchb2-doc.pdf
Here are the descriptions what changes are made if you use french and babel. To 
revert the changes to the lists the following command must be put in the  
preamble:

\frenchbsetup{StandardLists=true}

have a good evening!
Laurenz



Possible SVG gotcha

2010-12-16 Thread Steve Litt
Hi all,

My book personalization script magically stopped working today, for two of my 
six eBooks. Some of the error messages concerned images. I found that on one 
book the SVG images in the book got horribly garbled. As far as I know, I've 
done nothing the past few days to effect generation. My LyX is 1.6.4.

I'm going to be troubleshooting this today. If anyone has dealt with this 
before, please let me know. And if you're putting SVG images into your books, 
be aware of that until this thing gets solved.

I'll continue letting you know as I find out more.

SteveT

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



a problem

2010-12-16 Thread ale.ferla
 Good morning!
I have a problem with Lyx for Windows (version 1.6). Lyx sometimes cannot 
produce the .pdf file and it signals this error: the file does not exist; Lyx 
cannot find the temporary file. What can I do?
thank you
Alessandra 

Re: a problem

2010-12-16 Thread Liviu Andronic
On Thu, Dec 16, 2010 at 10:42 AM,  ale.fe...@virgilio.it wrote:
  Good morning!
 I have a problem with Lyx for Windows (version 1.6). Lyx sometimes cannot
 produce the .pdf file and it signals this error: the file does not exist;
 Lyx cannot find the temporary file. What can I do?

Sometimes these messages are not very helpful. Have you tried Document  Log?
Liviu



 thank you
 Alessandra



-- 
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: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
 Hi all,
 
 My book personalization script magically stopped working today, for two of
  my six eBooks. Some of the error messages concerned images. I found that
  on one book the SVG images in the book got horribly garbled. As far as I
  know, I've done nothing the past few days to effect generation. My LyX is
  1.6.4.

Partially solved. The failure to compile had nothing to do with SVG images. It 
was caused by LyX's recently acquired feature of putting @ and \textbar into 
index entries, and can be worked around by changing LyX's LaTeX output 
encoding to T1 instead of default. M-I-C...

Interestingly, two of my four ebooks containing indexes appeared perfectly 
able to compile with default encoding, so when I get the time I can probably 
exploit the differences to find out a per-document solution.

As far as image distortion, I suspect that has to do with SVG, so I'll 
continue researching that.

SteveT

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



Re: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 15:07:01 Steve Litt wrote:
 On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
  Hi all,
 
  My book personalization script magically stopped working today, for two
  of my six eBooks. Some of the error messages concerned images. I found
  that on one book the SVG images in the book got horribly garbled. As far
  as I know, I've done nothing the past few days to effect generation. My
  LyX is 1.6.4.
 
 Partially solved. The failure to compile had nothing to do with SVG images.
  It was caused by LyX's recently acquired feature of putting @ and \textbar
  into index entries, and can be worked around by changing LyX's LaTeX
  output encoding to T1 instead of default. M-I-C...
 
 Interestingly, two of my four ebooks containing indexes appeared perfectly
 able to compile with default encoding, so when I get the time I can
  probably exploit the differences to find out a per-document solution.
 
 As far as image distortion, I suspect that has to do with SVG, so I'll
 continue researching that.

More info. My .svg files were created with Inkscape. Their image sizes in 
Inkscape were not shrunk down to the size of the graphic, but instead were 
8.5x11 or some such. When I put tiny rectangles on the upper left and lower 
right, selected everything, and File-Properties-size to selection, saved, 
and reran the LyX compile, the images came out approximately right. Two 
things:

1) The upper left rectangle has to be quite a bit higher than the highest 
material you want to show, because some is cut off.

2) The conversion process loses objects' order from top to bottom, or at least 
I'll have to redo the Inkscapes for order.

At this point I'm giving serious consideration to converting to eps manually 
and including the eps in my book, because the slightest change to SVG to EPS 
conversion could mess up my book at any time.

I'll report more on all this stuff later...

SteveT

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



Re: Possible SVG gotcha

2010-12-16 Thread Marc J. Driftmeyer



On 12/16/2010 12:42 PM, Steve Litt wrote:

On Thursday 16 December 2010 15:07:01 Steve Litt wrote:

On Thursday 16 December 2010 13:13:46 Steve Litt wrote:

Hi all,

My book personalization script magically stopped working today, for two
of my six eBooks. Some of the error messages concerned images. I found
that on one book the SVG images in the book got horribly garbled. As far
as I know, I've done nothing the past few days to effect generation. My
LyX is 1.6.4.

Partially solved. The failure to compile had nothing to do with SVG images.
  It was caused by LyX's recently acquired feature of putting @ and \textbar
  into index entries, and can be worked around by changing LyX's LaTeX
  output encoding to T1 instead of default. M-I-C...

Interestingly, two of my four ebooks containing indexes appeared perfectly
able to compile with default encoding, so when I get the time I can
  probably exploit the differences to find out a per-document solution.

As far as image distortion, I suspect that has to do with SVG, so I'll
continue researching that.

More info. My .svg files were created with Inkscape. Their image sizes in
Inkscape were not shrunk down to the size of the graphic, but instead were
8.5x11 or some such. When I put tiny rectangles on the upper left and lower
right, selected everything, and File-Properties-size to selection, saved,
and reran the LyX compile, the images came out approximately right. Two
things:

1) The upper left rectangle has to be quite a bit higher than the highest
material you want to show, because some is cut off.

2) The conversion process loses objects' order from top to bottom, or at least
I'll have to redo the Inkscapes for order.

At this point I'm giving serious consideration to converting to eps manually
and including the eps in my book, because the slightest change to SVG to EPS
conversion could mess up my book at any time.

I'll report more on all this stuff later...

SteveT

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



Inkscape objects default to the drawing object if you don't select the 
specific object to export.


- Marc

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

Re: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 15:49:16 Marc J. Driftmeyer wrote:
 On 12/16/2010 12:42 PM, Steve Litt wrote:
  On Thursday 16 December 2010 15:07:01 Steve Litt wrote:
  On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
  Hi all,
 
  My book personalization script magically stopped working today, for two
  of my six eBooks. Some of the error messages concerned images. I found
  that on one book the SVG images in the book got horribly garbled. As
  far as I know, I've done nothing the past few days to effect
  generation. My LyX is 1.6.4.
 
  Partially solved. The failure to compile had nothing to do with SVG
  images. It was caused by LyX's recently acquired feature of putting @
  and \textbar into index entries, and can be worked around by changing
  LyX's LaTeX output encoding to T1 instead of default. M-I-C...
 
  Interestingly, two of my four ebooks containing indexes appeared
  perfectly able to compile with default encoding, so when I get the time
  I can probably exploit the differences to find out a per-document
  solution.
 
  As far as image distortion, I suspect that has to do with SVG, so I'll
  continue researching that.
 
  More info. My .svg files were created with Inkscape. Their image sizes in
  Inkscape were not shrunk down to the size of the graphic, but instead
  were 8.5x11 or some such. When I put tiny rectangles on the upper left
  and lower right, selected everything, and File-Properties-size to
  selection, saved, and reran the LyX compile, the images came out
  approximately right. Two things:
 
  1) The upper left rectangle has to be quite a bit higher than the highest
  material you want to show, because some is cut off.
 
  2) The conversion process loses objects' order from top to bottom, or at
  least I'll have to redo the Inkscapes for order.
 
  At this point I'm giving serious consideration to converting to eps
  manually and including the eps in my book, because the slightest change
  to SVG to EPS conversion could mess up my book at any time.
 
  I'll report more on all this stuff later...
 
  SteveT
 
  Steve Litt
  Recession Relief Package
  http://www.recession-relief.US
  Twitter: http://www.twitter.com/stevelitt
 
 Inkscape objects default to the drawing object if you don't select the
 specific object to export.
 
 - Marc

Sounds reasonable. That's why I had to change the size of the drawing, which I 
assume is what you mean by the drawing object.

SteveT

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



Catwoman's slinky lynx licks Lyx's Instant Preview M ode in WYSIWY∞

2010-12-16 Thread Lisa Andrews
Apologies for the awful catchphrase bait put there for you to swallow hook,
line and tinker.

Just throwing a crazy thought out there before Lyx 10; what would be the
consequences of a mode where the screen was displayed as though through a
Preview inset except at the point where you happened to be typing? A
keystroke would toggle this on or off. James Blunt is singing 'You're
beautiful' in my head now which is exceedingly annoying.

BTW, WYSIWY∞ just means I have an acronym headache; ∞ is not a sideways 8
that fell over from a hangover meaning What you see is what you ate.

(Does WYSIWY∞ mean  WYSI everything there is, or WYS does not behave in the
way you think it should?)

From the floor,
Lisa


Re: LyX and editors?

2010-12-16 Thread Ehud Kaplan

I am afraid that this answer is a bit too terse for me.
I included \usepackage{pdfcomment} in the preamble,
but that made no difference.  I suspect I need to use Jurgen's layout 
(module?) file, but I

could not find it on my system.
So I followed the Wiki, and copied Jurgen's pdfcomment.module into
my /usr/share/lyx/layouts folder, reconfigured Lyx and... nothing 
changed.  The inserted notes or comments were still not visible in the 
pdf output.

What am I doing wrong?
Thanks,
EK

On 12/15/2010 07:12 AM, Rainer M Krug wrote:

-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-


--
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-16 Thread Liviu Andronic
On Fri, Dec 17, 2010 at 2:02 AM, Ehud Kaplan ehud.kap...@mssm.edu wrote:
 I am afraid that this answer is a bit too terse for me.
 I included \usepackage{pdfcomment} in the preamble,
 but that made no difference.  I suspect I need to use Jurgen's layout
 (module?) file, but I
 could not find it on my system.
 So I followed the Wiki, and copied Jurgen's pdfcomment.module into
 my /usr/share/lyx/layouts folder, reconfigured Lyx and... nothing changed.
 The inserted notes or comments were still not visible in the pdf output.
 What am I doing wrong?

You probably do not load the module in Document  Settings  Module
and do not Insert  Custom insets. Regards
Liviu


 Thanks,
 EK

 On 12/15/2010 07:12 AM, Rainer M Krug wrote:

 -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-

 --
 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: Questions on elsarticle

2010-12-16 Thread Justin Wood
This has probably already been answered, but if not: you need to use BibTeX
and select an author-date style. Check out section 6.5 (Bibliography) of the
User Guide, and http://wiki.lyx.org/BibTeX/BibTeX (hmm, I thought there was
a page with step by step instructions but can't see to find it). Basically
you need four things (assuming LyX 1.6.8):
1. A BibTeX database .bib file containing your citation records. This is
done outside of LyX; utilities abound... I personally use the superawesome LyZ
utility http://www.klubko.net/wp/?page_id=945lang=en to handle this for
me from my Zotero http://www.zotero.org/ reference database in Firefox.
2. Set your document to use BibTeX: Document Settings - Bibliography, select
Natbib with Author-year
3. Insert a Bibliography in your document using Insert - List/TOC - BibTeX
bibliography, and point to the .bib file — you'll probably have to browse to
it unless you install it in the relevant directory of your LaTeX distro
(which is worth doing in my opinion; I hardlink from there back to where I
store the real file).
4. In that same dialogue, you choose the citation style. plainnat is the
default and works okay but it uses square brackets not parentheses by
default. Personally I use Chicago style, via this
.bsthttp://www.digitas.harvard.edu/cgi-bin/wiki/ken/McBride(which
again needs to be installed in your LaTeX distro).

The actual citation style I think is the weak link in the chain. I could
well be missing something, but it struck me as overly difficult to get a
'proper' author-year format in the manner you describe.

Apologies if I've misunderstood what you're after!

2010/12/17 lyx-users-digest-h...@lists.lyx.org

 -- Forwarded message --
 From: Jun Gu gujun.suz...@gmail.com
 To: lyx-users@lists.lyx.org
 Date: Thu, 16 Dec 2010 17:55:39 +0800
 Subject: Questions on elsarticle

 Dear Members,



 I am using the template from Lyx for a manuscript which requires
 author-year citation in text. However, no matter what kind of efforts I have
 made, the citation doesn’t work but only with a numeral ID at the end of the
 citation. Taking an example as Jones (1995). What I want is ‘Jones (1995)
 constructed a model that …’, while the final result after transferring it to
 PDF shows ‘Jones (1995) [1]’. Would anyone of you provide some suggestion
 for such a case?



 All the best,



 Jun



 Jun Gu, PhD Student

 Department of Accounting and Finance

 Lancaster University Management School

 Lancaster University

 Lancaaster LA1 4YX

 United Kingdom



RE: Questions on elsarticle

2010-12-16 Thread Jun Gu
Thanks Justin,

 

I have also gotten an answer myself as well. The solution for such question
is rather simple. What it wants in Lyx is only to add an option 'authoryear'
for the class. It is from the official introduction.

 

Thanks again for your concrete answer.

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 

From: upas...@gmail.com [mailto:upas...@gmail.com] On Behalf Of Justin Wood
Sent: Friday, December 17, 2010 11:20 AM
To: LyX Users List; Jun Gu
Subject: Re: Questions on elsarticle

 

This has probably already been answered, but if not: you need to use BibTeX
and select an author-date style. Check out section 6.5 (Bibliography) of the
User Guide, and http://wiki.lyx.org/BibTeX/BibTeX (hmm, I thought there was
a page with step by step instructions but can't see to find it). Basically
you need four things (assuming LyX 1.6.8):
1. A BibTeX database .bib file containing your citation records. This is
done outside of LyX; utilities abound... I personally use the superawesome
LyZ utility http://www.klubko.net/wp/?page_id=945lang=en  to handle this
for me from my Zotero http://www.zotero.org/  reference database in
Firefox.
2. Set your document to use BibTeX: Document Settings - Bibliography, select
Natbib with Author-year
3. Insert a Bibliography in your document using Insert - List/TOC - BibTeX
bibliography, and point to the .bib file - you'll probably have to browse to
it unless you install it in the relevant directory of your LaTeX distro
(which is worth doing in my opinion; I hardlink from there back to where I
store the real file).
4. In that same dialogue, you choose the citation style. plainnat is the
default and works okay but it uses square brackets not parentheses by
default. Personally I use Chicago style, via this .bst
http://www.digitas.harvard.edu/cgi-bin/wiki/ken/McBride  (which again
needs to be installed in your LaTeX distro).

The actual citation style I think is the weak link in the chain. I could
well be missing something, but it struck me as overly difficult to get a
'proper' author-year format in the manner you describe.

Apologies if I've misunderstood what you're after!

2010/12/17 lyx-users-digest-h...@lists.lyx.org

-- Forwarded message --
From: Jun Gu gujun.suz...@gmail.com
To: lyx-users@lists.lyx.org
Date: Thu, 16 Dec 2010 17:55:39 +0800
Subject: Questions on elsarticle

Dear Members,

 

I am using the template from Lyx for a manuscript which requires author-year
citation in text. However, no matter what kind of efforts I have made, the
citation doesn't work but only with a numeral ID at the end of the citation.
Taking an example as Jones (1995). What I want is 'Jones (1995) constructed
a model that .', while the final result after transferring it to PDF shows
'Jones (1995) [1]'. Would anyone of you provide some suggestion for such a
case?

 

All the best,

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 



smime.p7s
Description: S/MIME cryptographic signature


Missing features

2010-12-16 Thread alain . didierjean

I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I downloaded the
sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


Questions on elsarticle

2010-12-16 Thread Jun Gu
Dear Members,

 

I am using the template from Lyx for a manuscript which requires author-year
citation in text. However, no matter what kind of efforts I have made, the
citation doesn't work but only with a numeral ID at the end of the citation.
Taking an example as Jones (1995). What I want is 'Jones (1995) constructed
a model that .', while the final result after transferring it to PDF shows
'Jones (1995) [1]'. Would anyone of you provide some suggestion for such a
case?

 

All the best,

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 



smime.p7s
Description: S/MIME cryptographic signature


Re: how to make CMYK pdf file

2010-12-16 Thread Helge Hafting

On 15. des. 2010 13:09, Boguslaw Kluz wrote:

  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?


If all the colors you use in the document are CMYK colors, then the PDF 
file will be CMYK too.


LyX has some support for colors, you can use colored text. If you use 
this, LyX will use the color package.


You can read documentation for the color package, and any color you use 
(such as red text, blue text, ...) can be redefined as a CMYK color in 
the document preamble.


Example. Make a document with some red text in it. In the preamble, 
write this:

\definecolor{red}{cmyk}{0,1,1,0}

Each number is a fraction that goes from 0.00 to 1.00. In this case:
0 cyan
1 magenta
1 yellow
0 black
This combination looks red.  In the PDF, it is encoded using CMYK.


If your book has color illustrations, just make sure that each image is 
made with CMYK colors instead of RGB. Some image formats supports CMYK, 
so this is handled outside of LyX.


Helge Hafting


Re: Missing features

2010-12-16 Thread Helge Hafting

On 16. des. 2010 09:42, alain.didierj...@free.fr wrote:


I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I downloaded the
sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


If you had a very old LyX, maybe things have moved. I don't
have LyX 1.6.8, but 1.6.7 and 2.0 both do this:

pagebreak: Insert->Formatting->Page break
URL: Insert->URL
Symbols: Insert->Special Characters->Symbols...

Splitting the main window:
View->Split View (two alternatives)

Note that some features may be missing, if LyX believes you don't
have them. (I.e. URL.sty is missing, and similiar)
Try Tools->Reconfigure and restart LyX. Make sure latex is installed on 
the box.


Helge Hafting


Re: Missing features

2010-12-16 Thread Richard Heck

On 12/16/2010 07:08 AM, Helge Hafting wrote:

On 16. des. 2010 09:42, alain.didierj...@free.fr wrote:


I just updated to LyX 1.6.8 on my gentoo amd64 box. Which mean I 
downloaded the

sources and compiled locally.
It appears that some features are missing or unreachable:
- no menu item to insert pagebreaks, hyperlinks, URL
- no way to display available symbols
- no way to spit main window.
There might be other missing features that I havn't found yet.

So what happened ? Is it my compile or are they gone from this version ?
Will they be back on 2.0 ?


If you had a very old LyX, maybe things have moved. I don't
have LyX 1.6.8, but 1.6.7 and 2.0 both do this:

pagebreak: Insert->Formatting->Page break
URL: Insert->URL
Symbols: Insert->Special Characters->Symbols...

Splitting the main window:
View->Split View (two alternatives)

Note that some features may be missing, if LyX believes you don't
have them. (I.e. URL.sty is missing, and similiar)
Try Tools->Reconfigure and restart LyX. Make sure latex is installed 
on the box.


The other possibility is that you have some problem with your local LyX 
directory, $HOME/.lyx/ by default. Try launching LyX as:

lyx -userdir /tmp/lyx
to try with a fresh directory. If that works, delete $HOME/.lyx/, saving 
whatever you need somewhere else, and start from there.


Richard


Helge Hafting




Re: System Font issues: XeTeX and LuaTeX

2010-12-16 Thread The Wilsons
Thanks for the note.  The situation is workable, but  fix before too
long would be welcome.

Daron

On Thu, Dec 16, 2010 at 01:27, Nikos Chantziaras  wrote:
> 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.
>
>


Re: installation problems on OS X 10.6

2010-12-16 Thread David Rangel
Hello,
I am using TeXLive (the MacTeX TeX installation, with tex commands placed in
/usr/local/texlive/2010/bin/universal-darwin/).  I tried running the
installer again and did get the same result (I even tried running the
LyX-installer.app from the command line to authenticate).  At any rate, I
can run LyX and produce LyX files.  My concern is that I cannot then create
LaTeX files or import LaTeX files correctly.
Thank you for the help.

On Wed, Dec 15, 2010 at 10:16 PM, BH  wrote:

> 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: getting proper bullets in French documents?

2010-12-16 Thread laurenz
Hi!

I have a similar problem, the \frenchbsetup{StandardItemLabels=true} in the 
preamble solves the issue with the dashes instead of bullets, BUT the spacing 
between the lines of this list and between the preceeding and the following 
paragraph is too small.

So in short, if I change the language from English to French, my bulletpoints 
are replaced by dashes and the spacing of the list is reduced to single 
spacing. Any ideas how to solve this issue?

I'm running Lyx 1.6.7 under XPSP2.

Thanks in advance!

Laurenz




Re: getting proper bullets in French documents?

2010-12-16 Thread laurenz
I'm sorry, I realized this is not an error but a "localisation" issue:
http://daniel.flipo.free.fr/frenchb/frenchb2-doc.pdf
Here are the descriptions what changes are made if you use french and babel. To 
revert the changes to the lists the following command must be put in the  
preamble:

\frenchbsetup{StandardLists=true}

have a good evening!
Laurenz



Possible SVG gotcha

2010-12-16 Thread Steve Litt
Hi all,

My book personalization script magically stopped working today, for two of my 
six eBooks. Some of the error messages concerned images. I found that on one 
book the SVG images in the book got horribly garbled. As far as I know, I've 
done nothing the past few days to effect generation. My LyX is 1.6.4.

I'm going to be troubleshooting this today. If anyone has dealt with this 
before, please let me know. And if you're putting SVG images into your books, 
be aware of that until this thing gets solved.

I'll continue letting you know as I find out more.

SteveT

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



a problem

2010-12-16 Thread ale.ferla
 Good morning!
I have a problem with Lyx for Windows (version 1.6). Lyx sometimes cannot 
produce the .pdf file and it signals this error: the file does not exist; Lyx 
cannot find the temporary file. What can I do?
thank you
Alessandra 

Re: a problem

2010-12-16 Thread Liviu Andronic
On Thu, Dec 16, 2010 at 10:42 AM,   wrote:
>  Good morning!
> I have a problem with Lyx for Windows (version 1.6). Lyx sometimes cannot
> produce the .pdf file and it signals this error: the file does not exist;
> Lyx cannot find the temporary file. What can I do?
>
Sometimes these messages are not very helpful. Have you tried Document > Log?
Liviu



> thank you
> Alessandra



-- 
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: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
> Hi all,
> 
> My book personalization script magically stopped working today, for two of
>  my six eBooks. Some of the error messages concerned images. I found that
>  on one book the SVG images in the book got horribly garbled. As far as I
>  know, I've done nothing the past few days to effect generation. My LyX is
>  1.6.4.

Partially solved. The failure to compile had nothing to do with SVG images. It 
was caused by LyX's recently acquired feature of putting @ and \textbar into 
index entries, and can be worked around by changing LyX's LaTeX output 
encoding to T1 instead of default. M-I-C...

Interestingly, two of my four ebooks containing indexes appeared perfectly 
able to compile with default encoding, so when I get the time I can probably 
exploit the differences to find out a per-document solution.

As far as image distortion, I suspect that has to do with SVG, so I'll 
continue researching that.

SteveT

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



Re: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 15:07:01 Steve Litt wrote:
> On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
> > Hi all,
> >
> > My book personalization script magically stopped working today, for two
> > of my six eBooks. Some of the error messages concerned images. I found
> > that on one book the SVG images in the book got horribly garbled. As far
> > as I know, I've done nothing the past few days to effect generation. My
> > LyX is 1.6.4.
> 
> Partially solved. The failure to compile had nothing to do with SVG images.
>  It was caused by LyX's recently acquired feature of putting @ and \textbar
>  into index entries, and can be worked around by changing LyX's LaTeX
>  output encoding to T1 instead of default. M-I-C...
> 
> Interestingly, two of my four ebooks containing indexes appeared perfectly
> able to compile with default encoding, so when I get the time I can
>  probably exploit the differences to find out a per-document solution.
> 
> As far as image distortion, I suspect that has to do with SVG, so I'll
> continue researching that.

More info. My .svg files were created with Inkscape. Their image sizes in 
Inkscape were not shrunk down to the size of the graphic, but instead were 
8.5x11 or some such. When I put tiny rectangles on the upper left and lower 
right, selected everything, and File->Properties->size to selection, saved, 
and reran the LyX compile, the images came out approximately right. Two 
things:

1) The upper left rectangle has to be quite a bit higher than the highest 
material you want to show, because some is cut off.

2) The conversion process loses objects' order from top to bottom, or at least 
I'll have to redo the Inkscapes for order.

At this point I'm giving serious consideration to converting to eps manually 
and including the eps in my book, because the slightest change to SVG to EPS 
conversion could mess up my book at any time.

I'll report more on all this stuff later...

SteveT

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



Re: Possible SVG gotcha

2010-12-16 Thread Marc J. Driftmeyer



On 12/16/2010 12:42 PM, Steve Litt wrote:

On Thursday 16 December 2010 15:07:01 Steve Litt wrote:

On Thursday 16 December 2010 13:13:46 Steve Litt wrote:

Hi all,

My book personalization script magically stopped working today, for two
of my six eBooks. Some of the error messages concerned images. I found
that on one book the SVG images in the book got horribly garbled. As far
as I know, I've done nothing the past few days to effect generation. My
LyX is 1.6.4.

Partially solved. The failure to compile had nothing to do with SVG images.
  It was caused by LyX's recently acquired feature of putting @ and \textbar
  into index entries, and can be worked around by changing LyX's LaTeX
  output encoding to T1 instead of default. M-I-C...

Interestingly, two of my four ebooks containing indexes appeared perfectly
able to compile with default encoding, so when I get the time I can
  probably exploit the differences to find out a per-document solution.

As far as image distortion, I suspect that has to do with SVG, so I'll
continue researching that.

More info. My .svg files were created with Inkscape. Their image sizes in
Inkscape were not shrunk down to the size of the graphic, but instead were
8.5x11 or some such. When I put tiny rectangles on the upper left and lower
right, selected everything, and File->Properties->size to selection, saved,
and reran the LyX compile, the images came out approximately right. Two
things:

1) The upper left rectangle has to be quite a bit higher than the highest
material you want to show, because some is cut off.

2) The conversion process loses objects' order from top to bottom, or at least
I'll have to redo the Inkscapes for order.

At this point I'm giving serious consideration to converting to eps manually
and including the eps in my book, because the slightest change to SVG to EPS
conversion could mess up my book at any time.

I'll report more on all this stuff later...

SteveT

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



Inkscape objects default to the drawing object if you don't select the 
specific object to export.


- Marc

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

Re: Possible SVG gotcha

2010-12-16 Thread Steve Litt
On Thursday 16 December 2010 15:49:16 Marc J. Driftmeyer wrote:
> On 12/16/2010 12:42 PM, Steve Litt wrote:
> > On Thursday 16 December 2010 15:07:01 Steve Litt wrote:
> >> On Thursday 16 December 2010 13:13:46 Steve Litt wrote:
> >>> Hi all,
> >>>
> >>> My book personalization script magically stopped working today, for two
> >>> of my six eBooks. Some of the error messages concerned images. I found
> >>> that on one book the SVG images in the book got horribly garbled. As
> >>> far as I know, I've done nothing the past few days to effect
> >>> generation. My LyX is 1.6.4.
> >>
> >> Partially solved. The failure to compile had nothing to do with SVG
> >> images. It was caused by LyX's recently acquired feature of putting @
> >> and \textbar into index entries, and can be worked around by changing
> >> LyX's LaTeX output encoding to T1 instead of default. M-I-C...
> >>
> >> Interestingly, two of my four ebooks containing indexes appeared
> >> perfectly able to compile with default encoding, so when I get the time
> >> I can probably exploit the differences to find out a per-document
> >> solution.
> >>
> >> As far as image distortion, I suspect that has to do with SVG, so I'll
> >> continue researching that.
> >
> > More info. My .svg files were created with Inkscape. Their image sizes in
> > Inkscape were not shrunk down to the size of the graphic, but instead
> > were 8.5x11 or some such. When I put tiny rectangles on the upper left
> > and lower right, selected everything, and File->Properties->size to
> > selection, saved, and reran the LyX compile, the images came out
> > approximately right. Two things:
> >
> > 1) The upper left rectangle has to be quite a bit higher than the highest
> > material you want to show, because some is cut off.
> >
> > 2) The conversion process loses objects' order from top to bottom, or at
> > least I'll have to redo the Inkscapes for order.
> >
> > At this point I'm giving serious consideration to converting to eps
> > manually and including the eps in my book, because the slightest change
> > to SVG to EPS conversion could mess up my book at any time.
> >
> > I'll report more on all this stuff later...
> >
> > SteveT
> >
> > Steve Litt
> > Recession Relief Package
> > http://www.recession-relief.US
> > Twitter: http://www.twitter.com/stevelitt
> 
> Inkscape objects default to the drawing object if you don't select the
> specific object to export.
> 
> - Marc

Sounds reasonable. That's why I had to change the size of the drawing, which I 
assume is what you mean by the "drawing object".

SteveT

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



Catwoman's slinky lynx licks Lyx's Instant Preview M ode in WYSIWY∞

2010-12-16 Thread Lisa Andrews
Apologies for the awful catchphrase bait put there for you to swallow hook,
line and tinker.

Just throwing a crazy thought out there before Lyx 10; what would be the
consequences of a mode where the screen was displayed as though through a
Preview inset except at the point where you happened to be typing? A
keystroke would toggle this on or off. James Blunt is singing 'You're
beautiful' in my head now which is exceedingly annoying.

BTW, WYSIWY∞ just means I have an acronym headache; ∞ is not a sideways 8
that fell over from a hangover meaning "What you see is what you ate".

(Does WYSIWY∞ mean  WYSI everything there is, or WYS does not behave in the
way you think it should?)

>From the floor,
Lisa


Re: LyX and editors?

2010-12-16 Thread Ehud Kaplan

I am afraid that this answer is a bit too terse for me.
I included \usepackage{pdfcomment} in the preamble,
but that made no difference.  I suspect I need to use Jurgen's layout 
(module?) file, but I

could not find it on my system.
So I followed the Wiki, and copied Jurgen's pdfcomment.module into
my /usr/share/lyx/layouts folder, reconfigured Lyx and... nothing 
changed.  The inserted notes or comments were still not visible in the 
pdf output.

What am I doing wrong?
Thanks,
EK

On 12/15/2010 07:12 AM, Rainer M Krug wrote:

-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-


--
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-16 Thread Liviu Andronic
On Fri, Dec 17, 2010 at 2:02 AM, Ehud Kaplan  wrote:
> I am afraid that this answer is a bit too terse for me.
> I included \usepackage{pdfcomment} in the preamble,
> but that made no difference.  I suspect I need to use Jurgen's layout
> (module?) file, but I
> could not find it on my system.
> So I followed the Wiki, and copied Jurgen's pdfcomment.module into
> my /usr/share/lyx/layouts folder, reconfigured Lyx and... nothing changed.
> The inserted notes or comments were still not visible in the pdf output.
> What am I doing wrong?
>
You probably do not load the module in Document > Settings > Module
and do not Insert > Custom insets. Regards
Liviu


> Thanks,
> EK
>
> On 12/15/2010 07:12 AM, Rainer M Krug wrote:
>
> -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-
>
> --
> 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: Questions on elsarticle

2010-12-16 Thread Justin Wood
This has probably already been answered, but if not: you need to use BibTeX
and select an author-date style. Check out section 6.5 (Bibliography) of the
User Guide, and http://wiki.lyx.org/BibTeX/BibTeX (hmm, I thought there was
a page with step by step instructions but can't see to find it). Basically
you need four things (assuming LyX 1.6.8):
1. A BibTeX database .bib file containing your citation records. This is
done outside of LyX; utilities abound... I personally use the superawesome LyZ
utility  to handle this for
me from my Zotero  reference database in Firefox.
2. Set your document to use BibTeX: Document Settings - Bibliography, select
Natbib with Author-year
3. Insert a Bibliography in your document using Insert - List/TOC - BibTeX
bibliography, and point to the .bib file — you'll probably have to browse to
it unless you install it in the relevant directory of your LaTeX distro
(which is worth doing in my opinion; I hardlink from there back to where I
store the real file).
4. In that same dialogue, you choose the citation style. plainnat is the
default and works okay but it uses square brackets not parentheses by
default. Personally I use Chicago style, via this
.bst(which
again needs to be installed in your LaTeX distro).

The actual citation style I think is the weak link in the chain. I could
well be missing something, but it struck me as overly difficult to get a
'proper' author-year format in the manner you describe.

Apologies if I've misunderstood what you're after!

2010/12/17 

> -- Forwarded message --
> From: "Jun Gu" 
> To: 
> Date: Thu, 16 Dec 2010 17:55:39 +0800
> Subject: Questions on elsarticle
>
> Dear Members,
>
>
>
> I am using the template from Lyx for a manuscript which requires
> author-year citation in text. However, no matter what kind of efforts I have
> made, the citation doesn’t work but only with a numeral ID at the end of the
> citation. Taking an example as Jones (1995). What I want is ‘Jones (1995)
> constructed a model that …’, while the final result after transferring it to
> PDF shows ‘Jones (1995) [1]’. Would anyone of you provide some suggestion
> for such a case?
>
>
>
> All the best,
>
>
>
> Jun
>
>
>
> Jun Gu, PhD Student
>
> Department of Accounting and Finance
>
> Lancaster University Management School
>
> Lancaster University
>
> Lancaaster LA1 4YX
>
> United Kingdom
>


RE: Questions on elsarticle

2010-12-16 Thread Jun Gu
Thanks Justin,

 

I have also gotten an answer myself as well. The solution for such question
is rather simple. What it wants in Lyx is only to add an option 'authoryear'
for the class. It is from the official introduction.

 

Thanks again for your concrete answer.

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 

From: upas...@gmail.com [mailto:upas...@gmail.com] On Behalf Of Justin Wood
Sent: Friday, December 17, 2010 11:20 AM
To: LyX Users List; Jun Gu
Subject: Re: Questions on elsarticle

 

This has probably already been answered, but if not: you need to use BibTeX
and select an author-date style. Check out section 6.5 (Bibliography) of the
User Guide, and http://wiki.lyx.org/BibTeX/BibTeX (hmm, I thought there was
a page with step by step instructions but can't see to find it). Basically
you need four things (assuming LyX 1.6.8):
1. A BibTeX database .bib file containing your citation records. This is
done outside of LyX; utilities abound... I personally use the superawesome
LyZ utility   to handle this
for me from my Zotero   reference database in
Firefox.
2. Set your document to use BibTeX: Document Settings - Bibliography, select
Natbib with Author-year
3. Insert a Bibliography in your document using Insert - List/TOC - BibTeX
bibliography, and point to the .bib file - you'll probably have to browse to
it unless you install it in the relevant directory of your LaTeX distro
(which is worth doing in my opinion; I hardlink from there back to where I
store the real file).
4. In that same dialogue, you choose the citation style. plainnat is the
default and works okay but it uses square brackets not parentheses by
default. Personally I use Chicago style, via this .bst
  (which again
needs to be installed in your LaTeX distro).

The actual citation style I think is the weak link in the chain. I could
well be missing something, but it struck me as overly difficult to get a
'proper' author-year format in the manner you describe.

Apologies if I've misunderstood what you're after!

2010/12/17 

-- Forwarded message --
From: "Jun Gu" 
To: 
Date: Thu, 16 Dec 2010 17:55:39 +0800
Subject: Questions on elsarticle

Dear Members,

 

I am using the template from Lyx for a manuscript which requires author-year
citation in text. However, no matter what kind of efforts I have made, the
citation doesn't work but only with a numeral ID at the end of the citation.
Taking an example as Jones (1995). What I want is 'Jones (1995) constructed
a model that .', while the final result after transferring it to PDF shows
'Jones (1995) [1]'. Would anyone of you provide some suggestion for such a
case?

 

All the best,

 

Jun

 

Jun Gu, PhD Student

Department of Accounting and Finance

Lancaster University Management School

Lancaster University

Lancaaster LA1 4YX

United Kingdom

 



smime.p7s
Description: S/MIME cryptographic signature