Re: LyX and the Humanities

2010-01-18 Thread Guenter Milde
On 2010-01-17, Guido Milanese wrote:
 On 16/01/2010 at 09.14 -0500, rgheck wrote:

 I don't know of any, but there are plenty of humanists around the list 
 if you need to ask questions. E.g., I'm a philosopher, and I know of two 
 others who regularly contribute to the list.

 Yes, I know, and that's why I posted the question here! I hope to get
 some more answers after the weekend :-)

It might be interesting to give some hints about writing Greek in LyX.

It is easy using Unicode input. Recently, also polytonic (ancient)
Greek is supported (with some remaining issues).

Günter



Re: Problem with the dash in the listings

2010-01-18 Thread Guenter Milde
On 2010-01-17, Piotrek wrote:
 Thanks for suggestion. But is it really necessary? Is the dash Unicode
 character? I am writing the document in English. Is the Unicode support
 necessary in that case? I am trying to understand what causes such a
 behavior. Well, if I remove the dash characters from the Program
 Listing it works perfectly!

Do with dash, you mean a hyphen -- ? 
Or two hyphens in a row --, maybe? (These are converted to an en-dash
with some LaTeX fonts.)

Günter




Re: LyX and the Humanities

2010-01-18 Thread Guido Milanese
On 18/01/2010 at 08.13 +, Guenter Milde wrote:

 It might be interesting to give some hints about writing Greek in LyX.
 
 It is easy using Unicode input. Recently, also polytonic (ancient)
 Greek is supported (with some remaining issues).

Yes, already done, thanks! Much better now than with older versions
(1.5). With Unicode it's all easier. As font I suggest libertine, which
is easy to install with the appropriate package. Gentium AFAIK needs
more 'manual' work, correct?

thanks again.
gm
-- 
Guido Milanese - Professor of Latin
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/ita/guido_fabrizio_milanese
http://www.arsantiqua.org



Re: Lyx 1.6.5

2010-01-18 Thread E. Kaplan
Thanks.  I was following the advice I got here, and it is good to know 
about the incompatibility between *ubuntu and Debian.


EK



Sven Hoexter wrote:

On Sun, Jan 17, 2010 at 09:22:42PM -0500, rgheck wrote:

Hi,

  

You should report this kind of issue to the debian lists. Though I
think the debian maintainers read this list, they manage the
packages, not us.



Please don't! *buntu and Debian are not binary compatible so you'll
always run into such problems if you try to install packages from the Debian
archive on your *ubuntu.

Sven
  


\title before \begin{document}

2010-01-18 Thread Philip Stubbs
Hi,

I have developed my own LaTeX class file, based on the article class.
It has been developed over some time, but is now working just how I
like. My documents start as follows

\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}
\section{Introduction}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
justo nisi, sagittis pharetra sagittis id,

I now would like to go the next step, and leave vim and use LyX as my
editor. I started looking at the *.layout files to see what I need to
do. What I cant seem to work out is how to place the \title etc before
the \begin{document}

Any suggestions would be welcome. I don't really want to start
chopping about the class file at this stage.

-- 
Philip Stubbs


Re: \title before \begin{document}

2010-01-18 Thread Jean-Marc Lasgouttes
Philip Stubbs phi...@stuphi.co.uk writes:
 I now would like to go the next step, and leave vim and use LyX as my
 editor. I started looking at the *.layout files to see what I need to
 do. What I cant seem to work out is how to place the \title etc before
 the \begin{document}

This will be possible in next version (1.7/2.0). For now, you should put
these commands in the document preamble.

JMarc


question about family fonts

2010-01-18 Thread Marcelo Acuña
hello,
 If I choose Times Roman for roman font, what font I must to choose for sans 
serif font If I want to obtain an aesthetically coherent aspect?
 The same for Bookman font.
 Regards

Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: \title before \begin{document}

2010-01-18 Thread Uwe Stöhr

Philip Stubbs schrieb:


\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}


The next LyX version will support this structure, but why have you 
chosen to have the title before \begin{document}? I mean the article 
class have it behind \begin{document} and I cannot see the benefit of 
changing this.


regards Uwe



Re: Output track changes in pdf with lyx 1.6 error

2010-01-18 Thread Uwe Stöhr

Birte S. schrieb:


my problem is similar with lyx 1.6 and installed packages soul and xcolor
and reconfiguration of lyx and restart of lyx, though the error message is
as follows:
 Changes will not be highlighted in LaTeX output when using pdflatex
because
xcolor and soul are not installed.
Please install both packages...



So you need to install the LaTeX-packages soul and xcolor. What is 
your operating system? On Windows, simply open MiKTeX's Settings 
(available via the Start menu). There set the option install missing 
packages on the fly to yes (probably this option is already set). 
Finally, open an Internet connection and reconfigure LyX. All 
LaTeX-packages needed by LyX will then be installed automatically.


In case you are on Linux, use the package manager of TeXLive to install 
the packages.


regards Uwe


Re: question about family fonts

2010-01-18 Thread Uwe Stöhr

Marcelo Acuña schrieb:


 If I choose Times Roman for roman font, what font I must to choose for sans 
serif font If I want to obtain an aesthetically coherent aspect?


Times is a font designed for newspapers (New York Times). Its glyphs are 
therefore thinner with less space between them. When you want to write a 
book, I could therefore not recommend Times as font.


To get aesthetically coherent aspect for all 3 font types, the best is 
to use the corresponding Latin Modern font.



 The same for Bookman font.


It depends on your taste what is aesthetically coherent. Just play a bit 
with the available fonts.


regards Uwe


Re: LyX version control with git

2010-01-18 Thread Pavel Sanda
Richard Heck wrote:
 did want to do it it likely wouldn't be that hard. It's only a handful of 
 routines that have to be written, and you can mimic the ones for svn, etc.

i dropped my effort to support git and imho its not just matter of mimic the
svn routines.
- different scheme of sharing the work (eg check-in X commit  push)
- detection of file being under git (no .svn subdir analogy)
- revision numbers via checksums instead of incremental numbers

not that it couldn't be solved if someone wants to play... ;)
pavel


Graphical bibtex-editors

2010-01-18 Thread Matthias Schmidt
Hello,

I'm working with Lyx 1.6.5 on Win XP.

I'll start to write a new book with lyx soon. Until now I used JabRef
as bibtex-editor. In the lyx-wiki I found some other editors like
Synapsen or BibTexMng, but there are no experiences on these editors
in the wiki.

Has someone experiences with an bibtex-editor, that is much better to
use than JabRef? Or are there no major differences?

-- 
Mit freundlichen Grüßen
Matthias Schmidt
mailto:gm_schm...@yahoo.de

Diese Nachricht ist mit Norton Internet Security geprüft




RE: Graphical bibtex-editors

2010-01-18 Thread Rob Oakes
Hi Matthais,

I've spent a really long time looking for a good BibTeX editor on Windows
and, I'm sorry to say, I haven't really found one.  In my opinion, the very
best BibTeX editor is BibDesk (Mac OS X only) followed by Pybiolographer
(Linux only).  JabRef takes a rather distant third place, which is
unfortunate, since it is the only truly cross-platform editor (I greatly
dislike Java and it makes me biased).

With that said, there are other alternatives on Windows.  Two option spring
to mind immediately and both work quite well with LyX.  The first program is
an open source Firefox add-on called Zotero (http://www.zotero.org/).
Zotero works very much JabRef in that it allows  you to manage a library of
citations, but it has the additional advantage in that it lives in the
browser.

When you search sites such as PubMed, Amazon and others, it includes a
helpful icon to download the citation information from the webpage.  It is
also possible to import import PubMed searches and collections of citations
(for example, I recently was able to download Neil Gaiman's complete
bibliography from Wikipedia for a small book project that I am working on).
Though I was skeptical of how useful the whole research assistant in the
browser would be, I've found it is actually very handy. So much so, that
nearly all of my citation management now happens in Zotero (with heavy duty
backup provided by Mendeley, described below).

Zotero can be directly used with LyX through the LyX plugin
(https://addons.mozilla.org/en-US/firefox/addon/56806).  I've been testing
it for a few weeks now, and it seems to work pretty well.   But I haven't
done anything real with it yet.  (My preferred solution is to generate a
clean BibTeX file using Mendeley.)

There are other advantages of Zotero as well.  For starters, it allows you
to use the same citation library with Microsoft Office/OpenOffice documents
via a plug-in. This is something that is very important to me as most of my
colleagues still continue to use Microsoft products.  Additionally, it has
an associated online service which can sync your reference library to
multiple computers.  While I've long done this with version control, the
Zotero sync happens completely in the background and is more or less
seamless.

The second option is a program called Mendeley (http://www.mendeley.com/).
Whereas the primary emphasis of Zotero is online research and citation
management, you might think of Mendeley as a personal librarian for your
reference collection.  For this reason, it bills itself as iTunes for
reference papers.  I use Mendeley to keep my PDF library organized and
synced across my two laptops, work desktop and home desktop computers.  The
entire collection is indexed and searchable. It also has a wickedly cool
in-text search that is very handy.

However, by far the best feature of Mendeley is its ability to create highly
readable BibTeX code.  You can select citations to export, or you can have
it automatically generate a BibTeX file for you.  Because the code is clean,
I've had no trouble using it with either LaTeX or LyX.  Another very handy
features is that it can sync its database with the Zotero database.  This
means that you can use Zotero to acquire citations and then have that
information incorporated automatically into your Mendeley database as well.
It's pretty slick. (As an aside, I've heard that sometimes getting the
Mendeley sync to work on Windows can be difficult.  I personally haven't had
any trouble.)

Mendeley also includes a Microsoft Word/OpenOffice plugin that works more or
less identically to that of Zotero.

The biggest downside, of course, is that neither program is a true BibTeX
editor.  But I've been very happy with the BibTeX created by Mendeley and
Lyz makes it very easy to use Zotero directly from LyX.  Thus, I've found
that this doesn't concern me nearly as much as I thought it might.

Good luck as you try out different programs.  And if you find something that
is better than JabRef, please let me know.  I would love to find a good
BibTeX editor on the Windows platform.

Cheers,

Rob Oakes





Freeze followed by St9bad_alloc

2010-01-18 Thread Les Denham
I have been having problems with a report I'm working on currently. 

When I'm editing one of the files in the report, LyX freezes, and after 
several minutes it crashes with a cryptic error message St9bad_alloc.

This occurs most frequently when I'm doing something with a figure float.  The 
most recent occurrence appeared to originate when I cut a figure float from 
one child document and pasted it into another. The problem appears to 
originate most commonly when I change the paragraph settings from the default 
left alignment to center.  It also happens much more commonly when I'm using 
US Letter page size than when using A4.  On the current document it happened 
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is 
causing the error by simply opening the float and making a change in the 
settings.  Apparently any change works.

The report I'm working on is currently a master document with six child 
documents, using Report(komascript) class.  I changed from a single document 
to make it easier to locate the float causing this problem.  I'm using LyX 
1.6.4 running on 64-bit Gentoo Linux with texlive-2008-r4.

Has anyone else run across this problem?
-- 
..
Les Denham


Re: Freeze followed by St9bad_alloc

2010-01-18 Thread rgheck

On 01/18/2010 02:10 PM, Les Denham wrote:

I have been having problems with a report I'm working on currently.

When I'm editing one of the files in the report, LyX freezes, and after
several minutes it crashes with a cryptic error message St9bad_alloc.

This occurs most frequently when I'm doing something with a figure float.  The
most recent occurrence appeared to originate when I cut a figure float from
one child document and pasted it into another. The problem appears to
originate most commonly when I change the paragraph settings from the default
left alignment to center.  It also happens much more commonly when I'm using
US Letter page size than when using A4.  On the current document it happened
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is
causing the error by simply opening the float and making a change in the
settings.  Apparently any change works.

   
This suggests to me an infinite loop somewhere that keeps consuming 
memory until there's none left, which is when you get a memory 
allocation error. I think this is really just std::bad_alloc in disguise.


That doesn't really tell us what the problem is, though, unfortunately. 
If you could run under a debugger, we might get more info.


rh



Re: \title before \begin{document}

2010-01-18 Thread Philip Stubbs
2010/1/18 Uwe Stöhr uwesto...@web.de:
 Philip Stubbs schrieb:

 \documentclass[draft,approved]{danrep}
 \title{This is a test report title that I will make quite long.}
 \repnum{10-00}
 \author{Philip Stubbs}
 \date{2010-01-12}
 \begin{document}

 The next LyX version will support this structure, but why have you chosen to
 have the title before \begin{document}? I mean the article class have it
 behind \begin{document} and I cannot see the benefit of changing this.

There may well be no benefit at all. It is just the way it turned out.
I have been developing my class file for some time. It is more
recently that I decided to try and start using LyX. When I first
started using LaTeX, the hacking made the boring job of writing
reports more fun. Now I am more inclined to want to just do the
report, so I need to streamline the process, but there is no way I
could cope with going back to Word. :-)

Anyhow, since I can't be bothered to wait for version 2.0, I spent a
quick half hour redoing my class file. It looks like I am 95% there,
so will be able to start work on my LyX layout soon.

Thanks for the help.
-- 
Philip Stubbs


Re: Freeze followed by St9bad_alloc

2010-01-18 Thread Les Denham
On Monday 18 January 2010 13:51:27 rgheck wrote:
 This suggests to me an infinite loop somewhere that keeps consuming 
 memory until there's none left, which is when you get a memory 
 allocation error. I think this is really just std::bad_alloc in disguise.
 
Yes, that's what I would guess.

Since sending the message this morning I've upgraded to 1.6.5, and so far the 
problem has not recurred.  This could be a sign the problem was fixed in 
1.6.5, or it could be a sign that I had a problem with my installation 
(remembering that Gentoo compiles everything from source on the target 
machine) which was fixed by the recompiling and relinking in the upgrade.

Les
-- 
..
Les Denham


Re: LyX and the Humanities

2010-01-18 Thread Guenter Milde
On 2010-01-18, Guido Milanese wrote:
 On 18/01/2010 at 08.13 +, Guenter Milde wrote:

 It might be interesting to give some hints about writing Greek in LyX.

 It is easy using Unicode input. Recently, also polytonic (ancient)
 Greek is supported (with some remaining issues).

 Yes, already done, thanks! Much better now than with older versions
 (1.5). With Unicode it's all easier. As font I suggest libertine, which
 is easy to install with the appropriate package. Gentium AFAIK needs
 more 'manual' work, correct?

I don't know about Gentium, but there are quite a few LaTeX fonts that
support Greek at CTAN. Kerkis, GFSNeohellenic and GRTimes come to my
mind.

Günter




graphics preview on Mac

2010-01-18 Thread Stephen Buonopane

I recently upgraded to TeXLive 2009 and LyX 1.6.5 on Mac.
On screen LyX preview of pdf graphics no longer works (other formats  
seem to work).

convert *.pdf *.ppm works fine from the command line
below is the error output
Any ideas?

Thanks
Steve


Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/gconvert1.K14418.pdf': No such  
file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `ppm:/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/CacheItem.M14418.ppm' @  
convert.c/ConvertImageCommand/2838.

/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of convert failed.


Re: graphics preview on Mac

2010-01-18 Thread Stephen Buonopane


On Jan 18, 2010, at 4:49 PM, Stephen Buonopane wrote:


I recently upgraded to TeXLive 2009 and LyX 1.6.5 on Mac.
On screen LyX preview of pdf graphics no longer works (other formats  
seem to work).

convert *.pdf *.ppm works fine from the command line
below is the error output
Any ideas?

Thanks
Steve


Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/gconvert1.K14418.pdf': No such  
file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `ppm:/var/folders/oQ/ 
oQgNvHsZ2Ras4++8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/ 
CacheItem.M14418.ppm' @ convert.c/ConvertImageCommand/2838.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py  
ERROR

Execution of convert failed.


This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from  /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm):
opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts





Re: graphics preview on Mac

2010-01-18 Thread Pavel Sanda
Stephen Buonopane wrote:
 Current allocation mode is local
 GPL Ghostscript 8.70: Unrecoverable error, exit code 1
 convert: Postscript delegate failed 

whats the output of gs --version ?

pavel


Re: graphics preview on Mac

2010-01-18 Thread BH
On Mon, Jan 18, 2010 at 5:36 PM, Pavel Sanda sa...@lyx.org wrote:
 Stephen Buonopane wrote:
 Current allocation mode is local
 GPL Ghostscript 8.70: Unrecoverable error, exit code 1
 convert: Postscript delegate failed

 whats the output of gs --version ?

I can confirm: graphics on screen cannot be viewed, though printed
output is fine.

I have gs version 8.70 (as does Stephen).

BH


Re: graphics preview on Mac

2010-01-18 Thread Pavel Sanda
BH wrote:
 I can confirm: graphics on screen cannot be viewed, though printed
 output is fine.
 
 I have gs version 8.70 (as does Stephen).

i believe its fixed in ghostscript trunk by 
http://code.google.com/p/ghostscript/source/detail?r=10560

you have to wait for 8.71 or try svn...

pavel


Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread M-L
On Mon, 18 Jan 2010 08:28:06 +0100 Jean-Marie Pacquet j...@pacquet.net
shared this with is all on the Lyx users list:

M-L a écrit :
 Debian Testing [Squeeze] Using LyX Version 1.6.5

 Letter [KOMA - Script-v.2]

 This in my preamble as per the template for that letter style [only
 the number has changed]:

 % vertical position of the address field
 \...@addtoplength{toaddrvpos}{2mm}

 What command do I add: 

 * preceding that
 * to that, or
 * following that

 To add a bit more space above the address?

 \vspace*{2cm} in various places and in various ways doesn't cut it.

 I must be doing something wrong?

 TIA
 Charlie
   
May be I don't understand the question, but to add a bit more space 
above the address you only need to change the value 2mm (which is 
precisely the measure of the vertical space added to the predefined 
address position) to what you want it to be (2cm):

\...@addtoplength{toaddrvpos}{2cm}

HTH
-- 
jmp
 

Thank you Jean-Marie,

But what that does is add space below the address field in my
experimentation up to 21cm.

Just tried it again to be certain and am not giving you false
information.

Thank you for your reply.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Our truest life is when we are in our dreams
awake. ...Henry David Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread M-L
On Mon, 18 Jan 2010 08:37:12 +0100 Jürgen Spitzmüller sp...@lyx.org
shared this with is all on the Lyx users list:

M-L wrote:
 This in my preamble as per the template for that letter style [only
 the number has changed]:
 
 % vertical position of the address field
 \...@addtoplength{toaddrvpos}{2mm}
 
 What command do I add: 
 
 * preceding that
 * to that, or
 * following that
 
 To add a bit more space above the address?

I'm not sure I understand your question. Doesn't
changing the mentioned declaration (to e.g.
\...@addtoplength{toaddrvpos}{22mm}) do what you want?

Jürgen

I must be on the wrong track then, and my apologies to Jean-Marie and
yourself.

It is the Sender Name that has my name and address so obviously I am
looking at the wrong thing?

So renew my question:

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

Which of the commands below affect the Sender Name field

%
%% Here you can modify the layout of your letter
%% Have a look at the KOMA script documentation
%% for details. Most commands are commented out
%% here (i.e. we use default settings)
%

%% Load an *.lco style file (see KOMA documentation)
%%\LoadLetterOption{DIN}%  

% vertical position of the address field
\...@addtoplength{toaddrvpos}{2mm}
% space between ref line and letter text
\...@setplength{refaftervskip}{1cm}

%% THE CLASS OPTIONS
%% Remove preceeding '%' to uncomment an item
\KOMAoptions{%
,headsepline=false%separate the header with a line on page
1 ,footsepline=false% separate the footer with a line on
page 1
%pagenumber=botcenter%   position of the page number (see docu)
%,parskip=false%  Use indent instead of skip (more options cf.
docu) ,fromalign=left%alignment of the address
,fromrule=aftername%separate the address with a line?
,fromphone=false% print sender phone number
%,fromfax=true%  print sender fax number
,fromemail=false%   print sender e-mail address
,fromurl=false%   print sender URL
%,fromlogo=true% print a logo (position depends on fromalign)
%,addrfield=false%print an address field?
%,backaddress=false%  print the back address?
%,subject=afteropening,titled% alternative subject layout and position
%,locfield=narrow%  width of the (extra) location field
,foldmarks=false%  print foldmarks?
%,numericaldate=true%  date layout
%,refline=wide% layout of the refline
}

%% Customize Separators
%\setkomavar{placeseparator}{ -- }
%\setkomavar{backaddressseparator}{ $\cdot$ }
\setkomavar{emailseparator}{}
%\setkomavar{enclseparator}{  }
%\setkomavar{faxseparator}{ -- }
%\setkomavar{phoneseparator}{ -- }
%\setkomavar{subjectseparator}{  }

%% Customize fonts
%% Use LaTeX's standard font commands
%% Modify with \setkomafont or \addtokomafont
%% (see KOMA documentation)
%\setkomafont{backaddress}{\rmfamily}
%\setkomafont{descriptionlabel}{}
\setkomafont{fromaddress}{\small}
\setkomafont{fromname}{\bf}
%\setkomafont{pagefoot}{utopia}
%\setkomafont{pagehead}{}
%\setkomafont{pagenumber}{}
%\setkomafont{subject}{}
%\setkomafont{title}{}

Creating a larger space above the Sender Name does not work by using
-Document Settings-Page Margins

Apologies for any confusion. Thanks in advance,
Charlie
-- 
Registered Linux User:- 329524
***
Learn to wish that everything should come to pass exactly as it does.
_Epictetus

***
Debian GNU/Linux - just the best way to create magic
___


Re: graphics preview on Mac

2010-01-18 Thread Stephen Buonopane


On Jan 18, 2010, at 6:40 PM, Pavel Sanda wrote:


BH wrote:

I can confirm: graphics on screen cannot be viewed, though printed
output is fine.

I have gs version 8.70 (as does Stephen).


i believe its fixed in ghostscript trunk by
http://code.google.com/p/ghostscript/source/detail?r=10560

you have to wait for 8.71 or try svn...

pavel


Or see my follow-up post for a workaround by changing the script  
convertDefault.py





Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread Jean-Marie Pacquet

M-L a écrit :

[...]
I must be on the wrong track then, and my apologies to Jean-Marie and
yourself.

It is the Sender Name that has my name and address so obviously I am
looking at the wrong thing?

So renew my question:

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

Which of the commands below affect the Sender Name field
  
If you look at the manual scrguien.pdf everything you need is visible in 
figure 6.1: Schematic of letter paper's pseudo lengths. The pseudo 
length for Sender Name vertical position is called firstheadvpos. To 
adjust it you can add in the preamble:


\...@addtoplength{firstheadvpos}{2cm}

You can also create your own lco parameter file (derived from the 
DIN.lco you are using) to suit your needs.


HTH
--
jmp




Fwd: Output track changes in pdf with lyx 1.6 error

2010-01-18 Thread Birte Schoettker
Hi all,

please find below a description of the problems I encounter when trying to
print a pdf from a lyx 1.6 document where changes were tracked.
- packages soul and xcolor are installed (Uwe below had that suggestion, but
I had them installed already)
- OS is Windows
- psi works

the error message I get in lyx when trying to create a pdf reads as follows:
Argument of \NAT@@citetp has an extra }.
Paragraph ended before \NAT@@citetp was complete.
Extra }, or forgotten \endgroup.
Argument of \...@citex has an extra }.
Paragraph ended before \...@citex was complete.
Missing \endgroup inserted.
Missing \endgroup inserted.
Missing } inserted.
Missing \endgroup inserted.
Missing } inserted.
You can't use `\end' in internal vertical mode.
Missing } inserted.
Missing } inserted.
Missing } inserted.
Extra \endgroup.

I assume it has to do with headings or references have been deleted...

Thank you very much indeed for suggestions.

regards,
Birte


Forwarded conversation
Subject: Re: Output track changes in pdf with lyx 1.6 error


From: *Uwe Stöhr* uwesto...@web.de
Date: 2010/1/19
To: Birte S. schoettb...@gmail.com
Cc: lyx-users@lists.lyx.org


Birte S. schrieb:

 my problem is similar with lyx 1.6 and installed packages soul and xcolor
 and reconfiguration of lyx and restart of lyx, though the error message is
 as follows:
  Changes will not be highlighted in LaTeX output when using pdflatex
 because
 xcolor and soul are not installed.
 Please install both packages...



So you need to install the LaTeX-packages soul and xcolor. What is your
operating system? On Windows, simply open MiKTeX's Settings (available via
the Start menu). There set the option install missing packages on the fly
to yes (probably this option is already set). Finally, open an Internet
connection and reconfigure LyX. All LaTeX-packages needed by LyX will then
be installed automatically.

In case you are on Linux, use the package manager of TeXLive to install the
packages.

regards Uwe

--
From: *Birte Schoettker* schoettb...@gmail.com
Date: 2010/1/19
To: Uwe Stöhr uwesto...@web.de


Hi Uwe,

thanks a lot for your patient and detailed reply.
OS is Windows.
I have both packages installed.

One of my three documents worked finally inclduign to show the tracked
changes.
Still it seems that the changes I received from someone else in the two out
of three lyx documents (which before the changes were made converted to pdf
without error messages) are now packed with error messages. I will have a
closer look at the error messages of the two other lyx documents later today
and might post them here if I do not get anywhere.
- I have read that e.g. deleting references might cause problems.

Thank you again.
Birte


2010/1/19 Uwe Stöhr uwesto...@web.de


Re: LyX and the Humanities

2010-01-18 Thread Guenter Milde
On 2010-01-17, Guido Milanese wrote:
 On 16/01/2010 at 09.14 -0500, rgheck wrote:

 I don't know of any, but there are plenty of humanists around the list 
 if you need to ask questions. E.g., I'm a philosopher, and I know of two 
 others who regularly contribute to the list.

 Yes, I know, and that's why I posted the question here! I hope to get
 some more answers after the weekend :-)

It might be interesting to give some hints about writing Greek in LyX.

It is easy using Unicode input. Recently, also polytonic (ancient)
Greek is supported (with some remaining issues).

Günter



Re: Problem with the dash in the listings

2010-01-18 Thread Guenter Milde
On 2010-01-17, Piotrek wrote:
 Thanks for suggestion. But is it really necessary? Is the dash Unicode
 character? I am writing the document in English. Is the Unicode support
 necessary in that case? I am trying to understand what causes such a
 behavior. Well, if I remove the dash characters from the Program
 Listing it works perfectly!

Do with dash, you mean a hyphen -- ? 
Or two hyphens in a row --, maybe? (These are converted to an en-dash
with some LaTeX fonts.)

Günter




Re: LyX and the Humanities

2010-01-18 Thread Guido Milanese
On 18/01/2010 at 08.13 +, Guenter Milde wrote:

 It might be interesting to give some hints about writing Greek in LyX.
 
 It is easy using Unicode input. Recently, also polytonic (ancient)
 Greek is supported (with some remaining issues).

Yes, already done, thanks! Much better now than with older versions
(1.5). With Unicode it's all easier. As font I suggest libertine, which
is easy to install with the appropriate package. Gentium AFAIK needs
more 'manual' work, correct?

thanks again.
gm
-- 
Guido Milanese - Professor of Latin
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/ita/guido_fabrizio_milanese
http://www.arsantiqua.org



Re: Lyx 1.6.5

2010-01-18 Thread E. Kaplan
Thanks.  I was following the advice I got here, and it is good to know 
about the incompatibility between *ubuntu and Debian.


EK



Sven Hoexter wrote:

On Sun, Jan 17, 2010 at 09:22:42PM -0500, rgheck wrote:

Hi,

  

You should report this kind of issue to the debian lists. Though I
think the debian maintainers read this list, they manage the
packages, not us.



Please don't! *buntu and Debian are not binary compatible so you'll
always run into such problems if you try to install packages from the Debian
archive on your *ubuntu.

Sven
  


\title before \begin{document}

2010-01-18 Thread Philip Stubbs
Hi,

I have developed my own LaTeX class file, based on the article class.
It has been developed over some time, but is now working just how I
like. My documents start as follows

\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}
\section{Introduction}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
justo nisi, sagittis pharetra sagittis id,

I now would like to go the next step, and leave vim and use LyX as my
editor. I started looking at the *.layout files to see what I need to
do. What I cant seem to work out is how to place the \title etc before
the \begin{document}

Any suggestions would be welcome. I don't really want to start
chopping about the class file at this stage.

-- 
Philip Stubbs


Re: \title before \begin{document}

2010-01-18 Thread Jean-Marc Lasgouttes
Philip Stubbs phi...@stuphi.co.uk writes:
 I now would like to go the next step, and leave vim and use LyX as my
 editor. I started looking at the *.layout files to see what I need to
 do. What I cant seem to work out is how to place the \title etc before
 the \begin{document}

This will be possible in next version (1.7/2.0). For now, you should put
these commands in the document preamble.

JMarc


question about family fonts

2010-01-18 Thread Marcelo Acuña
hello,
 If I choose Times Roman for roman font, what font I must to choose for sans 
serif font If I want to obtain an aesthetically coherent aspect?
 The same for Bookman font.
 Regards

Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: \title before \begin{document}

2010-01-18 Thread Uwe Stöhr

Philip Stubbs schrieb:


\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}


The next LyX version will support this structure, but why have you 
chosen to have the title before \begin{document}? I mean the article 
class have it behind \begin{document} and I cannot see the benefit of 
changing this.


regards Uwe



Re: Output track changes in pdf with lyx 1.6 error

2010-01-18 Thread Uwe Stöhr

Birte S. schrieb:


my problem is similar with lyx 1.6 and installed packages soul and xcolor
and reconfiguration of lyx and restart of lyx, though the error message is
as follows:
 Changes will not be highlighted in LaTeX output when using pdflatex
because
xcolor and soul are not installed.
Please install both packages...



So you need to install the LaTeX-packages soul and xcolor. What is 
your operating system? On Windows, simply open MiKTeX's Settings 
(available via the Start menu). There set the option install missing 
packages on the fly to yes (probably this option is already set). 
Finally, open an Internet connection and reconfigure LyX. All 
LaTeX-packages needed by LyX will then be installed automatically.


In case you are on Linux, use the package manager of TeXLive to install 
the packages.


regards Uwe


Re: question about family fonts

2010-01-18 Thread Uwe Stöhr

Marcelo Acuña schrieb:


 If I choose Times Roman for roman font, what font I must to choose for sans 
serif font If I want to obtain an aesthetically coherent aspect?


Times is a font designed for newspapers (New York Times). Its glyphs are 
therefore thinner with less space between them. When you want to write a 
book, I could therefore not recommend Times as font.


To get aesthetically coherent aspect for all 3 font types, the best is 
to use the corresponding Latin Modern font.



 The same for Bookman font.


It depends on your taste what is aesthetically coherent. Just play a bit 
with the available fonts.


regards Uwe


Re: LyX version control with git

2010-01-18 Thread Pavel Sanda
Richard Heck wrote:
 did want to do it it likely wouldn't be that hard. It's only a handful of 
 routines that have to be written, and you can mimic the ones for svn, etc.

i dropped my effort to support git and imho its not just matter of mimic the
svn routines.
- different scheme of sharing the work (eg check-in X commit  push)
- detection of file being under git (no .svn subdir analogy)
- revision numbers via checksums instead of incremental numbers

not that it couldn't be solved if someone wants to play... ;)
pavel


Graphical bibtex-editors

2010-01-18 Thread Matthias Schmidt
Hello,

I'm working with Lyx 1.6.5 on Win XP.

I'll start to write a new book with lyx soon. Until now I used JabRef
as bibtex-editor. In the lyx-wiki I found some other editors like
Synapsen or BibTexMng, but there are no experiences on these editors
in the wiki.

Has someone experiences with an bibtex-editor, that is much better to
use than JabRef? Or are there no major differences?

-- 
Mit freundlichen Grüßen
Matthias Schmidt
mailto:gm_schm...@yahoo.de

Diese Nachricht ist mit Norton Internet Security geprüft




RE: Graphical bibtex-editors

2010-01-18 Thread Rob Oakes
Hi Matthais,

I've spent a really long time looking for a good BibTeX editor on Windows
and, I'm sorry to say, I haven't really found one.  In my opinion, the very
best BibTeX editor is BibDesk (Mac OS X only) followed by Pybiolographer
(Linux only).  JabRef takes a rather distant third place, which is
unfortunate, since it is the only truly cross-platform editor (I greatly
dislike Java and it makes me biased).

With that said, there are other alternatives on Windows.  Two option spring
to mind immediately and both work quite well with LyX.  The first program is
an open source Firefox add-on called Zotero (http://www.zotero.org/).
Zotero works very much JabRef in that it allows  you to manage a library of
citations, but it has the additional advantage in that it lives in the
browser.

When you search sites such as PubMed, Amazon and others, it includes a
helpful icon to download the citation information from the webpage.  It is
also possible to import import PubMed searches and collections of citations
(for example, I recently was able to download Neil Gaiman's complete
bibliography from Wikipedia for a small book project that I am working on).
Though I was skeptical of how useful the whole research assistant in the
browser would be, I've found it is actually very handy. So much so, that
nearly all of my citation management now happens in Zotero (with heavy duty
backup provided by Mendeley, described below).

Zotero can be directly used with LyX through the LyX plugin
(https://addons.mozilla.org/en-US/firefox/addon/56806).  I've been testing
it for a few weeks now, and it seems to work pretty well.   But I haven't
done anything real with it yet.  (My preferred solution is to generate a
clean BibTeX file using Mendeley.)

There are other advantages of Zotero as well.  For starters, it allows you
to use the same citation library with Microsoft Office/OpenOffice documents
via a plug-in. This is something that is very important to me as most of my
colleagues still continue to use Microsoft products.  Additionally, it has
an associated online service which can sync your reference library to
multiple computers.  While I've long done this with version control, the
Zotero sync happens completely in the background and is more or less
seamless.

The second option is a program called Mendeley (http://www.mendeley.com/).
Whereas the primary emphasis of Zotero is online research and citation
management, you might think of Mendeley as a personal librarian for your
reference collection.  For this reason, it bills itself as iTunes for
reference papers.  I use Mendeley to keep my PDF library organized and
synced across my two laptops, work desktop and home desktop computers.  The
entire collection is indexed and searchable. It also has a wickedly cool
in-text search that is very handy.

However, by far the best feature of Mendeley is its ability to create highly
readable BibTeX code.  You can select citations to export, or you can have
it automatically generate a BibTeX file for you.  Because the code is clean,
I've had no trouble using it with either LaTeX or LyX.  Another very handy
features is that it can sync its database with the Zotero database.  This
means that you can use Zotero to acquire citations and then have that
information incorporated automatically into your Mendeley database as well.
It's pretty slick. (As an aside, I've heard that sometimes getting the
Mendeley sync to work on Windows can be difficult.  I personally haven't had
any trouble.)

Mendeley also includes a Microsoft Word/OpenOffice plugin that works more or
less identically to that of Zotero.

The biggest downside, of course, is that neither program is a true BibTeX
editor.  But I've been very happy with the BibTeX created by Mendeley and
Lyz makes it very easy to use Zotero directly from LyX.  Thus, I've found
that this doesn't concern me nearly as much as I thought it might.

Good luck as you try out different programs.  And if you find something that
is better than JabRef, please let me know.  I would love to find a good
BibTeX editor on the Windows platform.

Cheers,

Rob Oakes





Freeze followed by St9bad_alloc

2010-01-18 Thread Les Denham
I have been having problems with a report I'm working on currently. 

When I'm editing one of the files in the report, LyX freezes, and after 
several minutes it crashes with a cryptic error message St9bad_alloc.

This occurs most frequently when I'm doing something with a figure float.  The 
most recent occurrence appeared to originate when I cut a figure float from 
one child document and pasted it into another. The problem appears to 
originate most commonly when I change the paragraph settings from the default 
left alignment to center.  It also happens much more commonly when I'm using 
US Letter page size than when using A4.  On the current document it happened 
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is 
causing the error by simply opening the float and making a change in the 
settings.  Apparently any change works.

The report I'm working on is currently a master document with six child 
documents, using Report(komascript) class.  I changed from a single document 
to make it easier to locate the float causing this problem.  I'm using LyX 
1.6.4 running on 64-bit Gentoo Linux with texlive-2008-r4.

Has anyone else run across this problem?
-- 
..
Les Denham


Re: Freeze followed by St9bad_alloc

2010-01-18 Thread rgheck

On 01/18/2010 02:10 PM, Les Denham wrote:

I have been having problems with a report I'm working on currently.

When I'm editing one of the files in the report, LyX freezes, and after
several minutes it crashes with a cryptic error message St9bad_alloc.

This occurs most frequently when I'm doing something with a figure float.  The
most recent occurrence appeared to originate when I cut a figure float from
one child document and pasted it into another. The problem appears to
originate most commonly when I change the paragraph settings from the default
left alignment to center.  It also happens much more commonly when I'm using
US Letter page size than when using A4.  On the current document it happened
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is
causing the error by simply opening the float and making a change in the
settings.  Apparently any change works.

   
This suggests to me an infinite loop somewhere that keeps consuming 
memory until there's none left, which is when you get a memory 
allocation error. I think this is really just std::bad_alloc in disguise.


That doesn't really tell us what the problem is, though, unfortunately. 
If you could run under a debugger, we might get more info.


rh



Re: \title before \begin{document}

2010-01-18 Thread Philip Stubbs
2010/1/18 Uwe Stöhr uwesto...@web.de:
 Philip Stubbs schrieb:

 \documentclass[draft,approved]{danrep}
 \title{This is a test report title that I will make quite long.}
 \repnum{10-00}
 \author{Philip Stubbs}
 \date{2010-01-12}
 \begin{document}

 The next LyX version will support this structure, but why have you chosen to
 have the title before \begin{document}? I mean the article class have it
 behind \begin{document} and I cannot see the benefit of changing this.

There may well be no benefit at all. It is just the way it turned out.
I have been developing my class file for some time. It is more
recently that I decided to try and start using LyX. When I first
started using LaTeX, the hacking made the boring job of writing
reports more fun. Now I am more inclined to want to just do the
report, so I need to streamline the process, but there is no way I
could cope with going back to Word. :-)

Anyhow, since I can't be bothered to wait for version 2.0, I spent a
quick half hour redoing my class file. It looks like I am 95% there,
so will be able to start work on my LyX layout soon.

Thanks for the help.
-- 
Philip Stubbs


Re: Freeze followed by St9bad_alloc

2010-01-18 Thread Les Denham
On Monday 18 January 2010 13:51:27 rgheck wrote:
 This suggests to me an infinite loop somewhere that keeps consuming 
 memory until there's none left, which is when you get a memory 
 allocation error. I think this is really just std::bad_alloc in disguise.
 
Yes, that's what I would guess.

Since sending the message this morning I've upgraded to 1.6.5, and so far the 
problem has not recurred.  This could be a sign the problem was fixed in 
1.6.5, or it could be a sign that I had a problem with my installation 
(remembering that Gentoo compiles everything from source on the target 
machine) which was fixed by the recompiling and relinking in the upgrade.

Les
-- 
..
Les Denham


Re: LyX and the Humanities

2010-01-18 Thread Guenter Milde
On 2010-01-18, Guido Milanese wrote:
 On 18/01/2010 at 08.13 +, Guenter Milde wrote:

 It might be interesting to give some hints about writing Greek in LyX.

 It is easy using Unicode input. Recently, also polytonic (ancient)
 Greek is supported (with some remaining issues).

 Yes, already done, thanks! Much better now than with older versions
 (1.5). With Unicode it's all easier. As font I suggest libertine, which
 is easy to install with the appropriate package. Gentium AFAIK needs
 more 'manual' work, correct?

I don't know about Gentium, but there are quite a few LaTeX fonts that
support Greek at CTAN. Kerkis, GFSNeohellenic and GRTimes come to my
mind.

Günter




graphics preview on Mac

2010-01-18 Thread Stephen Buonopane

I recently upgraded to TeXLive 2009 and LyX 1.6.5 on Mac.
On screen LyX preview of pdf graphics no longer works (other formats  
seem to work).

convert *.pdf *.ppm works fine from the command line
below is the error output
Any ideas?

Thanks
Steve


Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/gconvert1.K14418.pdf': No such  
file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `ppm:/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/CacheItem.M14418.ppm' @  
convert.c/ConvertImageCommand/2838.

/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of convert failed.


Re: graphics preview on Mac

2010-01-18 Thread Stephen Buonopane


On Jan 18, 2010, at 4:49 PM, Stephen Buonopane wrote:


I recently upgraded to TeXLive 2009 and LyX 1.6.5 on Mac.
On screen LyX preview of pdf graphics no longer works (other formats  
seem to work).

convert *.pdf *.ppm works fine from the command line
below is the error output
Any ideas?

Thanks
Steve


Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/gconvert1.K14418.pdf': No such  
file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `ppm:/var/folders/oQ/ 
oQgNvHsZ2Ras4++8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/ 
CacheItem.M14418.ppm' @ convert.c/ConvertImageCommand/2838.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py  
ERROR

Execution of convert failed.


This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from  /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version = 0x060206 or gm):
opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts





Re: graphics preview on Mac

2010-01-18 Thread Pavel Sanda
Stephen Buonopane wrote:
 Current allocation mode is local
 GPL Ghostscript 8.70: Unrecoverable error, exit code 1
 convert: Postscript delegate failed 

whats the output of gs --version ?

pavel


Re: graphics preview on Mac

2010-01-18 Thread BH
On Mon, Jan 18, 2010 at 5:36 PM, Pavel Sanda sa...@lyx.org wrote:
 Stephen Buonopane wrote:
 Current allocation mode is local
 GPL Ghostscript 8.70: Unrecoverable error, exit code 1
 convert: Postscript delegate failed

 whats the output of gs --version ?

I can confirm: graphics on screen cannot be viewed, though printed
output is fine.

I have gs version 8.70 (as does Stephen).

BH


Re: graphics preview on Mac

2010-01-18 Thread Pavel Sanda
BH wrote:
 I can confirm: graphics on screen cannot be viewed, though printed
 output is fine.
 
 I have gs version 8.70 (as does Stephen).

i believe its fixed in ghostscript trunk by 
http://code.google.com/p/ghostscript/source/detail?r=10560

you have to wait for 8.71 or try svn...

pavel


Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread M-L
On Mon, 18 Jan 2010 08:28:06 +0100 Jean-Marie Pacquet j...@pacquet.net
shared this with is all on the Lyx users list:

M-L a écrit :
 Debian Testing [Squeeze] Using LyX Version 1.6.5

 Letter [KOMA - Script-v.2]

 This in my preamble as per the template for that letter style [only
 the number has changed]:

 % vertical position of the address field
 \...@addtoplength{toaddrvpos}{2mm}

 What command do I add: 

 * preceding that
 * to that, or
 * following that

 To add a bit more space above the address?

 \vspace*{2cm} in various places and in various ways doesn't cut it.

 I must be doing something wrong?

 TIA
 Charlie
   
May be I don't understand the question, but to add a bit more space 
above the address you only need to change the value 2mm (which is 
precisely the measure of the vertical space added to the predefined 
address position) to what you want it to be (2cm):

\...@addtoplength{toaddrvpos}{2cm}

HTH
-- 
jmp
 

Thank you Jean-Marie,

But what that does is add space below the address field in my
experimentation up to 21cm.

Just tried it again to be certain and am not giving you false
information.

Thank you for your reply.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Our truest life is when we are in our dreams
awake. ...Henry David Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread M-L
On Mon, 18 Jan 2010 08:37:12 +0100 Jürgen Spitzmüller sp...@lyx.org
shared this with is all on the Lyx users list:

M-L wrote:
 This in my preamble as per the template for that letter style [only
 the number has changed]:
 
 % vertical position of the address field
 \...@addtoplength{toaddrvpos}{2mm}
 
 What command do I add: 
 
 * preceding that
 * to that, or
 * following that
 
 To add a bit more space above the address?

I'm not sure I understand your question. Doesn't
changing the mentioned declaration (to e.g.
\...@addtoplength{toaddrvpos}{22mm}) do what you want?

Jürgen

I must be on the wrong track then, and my apologies to Jean-Marie and
yourself.

It is the Sender Name that has my name and address so obviously I am
looking at the wrong thing?

So renew my question:

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

Which of the commands below affect the Sender Name field

%
%% Here you can modify the layout of your letter
%% Have a look at the KOMA script documentation
%% for details. Most commands are commented out
%% here (i.e. we use default settings)
%

%% Load an *.lco style file (see KOMA documentation)
%%\LoadLetterOption{DIN}%  

% vertical position of the address field
\...@addtoplength{toaddrvpos}{2mm}
% space between ref line and letter text
\...@setplength{refaftervskip}{1cm}

%% THE CLASS OPTIONS
%% Remove preceeding '%' to uncomment an item
\KOMAoptions{%
,headsepline=false%separate the header with a line on page
1 ,footsepline=false% separate the footer with a line on
page 1
%pagenumber=botcenter%   position of the page number (see docu)
%,parskip=false%  Use indent instead of skip (more options cf.
docu) ,fromalign=left%alignment of the address
,fromrule=aftername%separate the address with a line?
,fromphone=false% print sender phone number
%,fromfax=true%  print sender fax number
,fromemail=false%   print sender e-mail address
,fromurl=false%   print sender URL
%,fromlogo=true% print a logo (position depends on fromalign)
%,addrfield=false%print an address field?
%,backaddress=false%  print the back address?
%,subject=afteropening,titled% alternative subject layout and position
%,locfield=narrow%  width of the (extra) location field
,foldmarks=false%  print foldmarks?
%,numericaldate=true%  date layout
%,refline=wide% layout of the refline
}

%% Customize Separators
%\setkomavar{placeseparator}{ -- }
%\setkomavar{backaddressseparator}{ $\cdot$ }
\setkomavar{emailseparator}{}
%\setkomavar{enclseparator}{  }
%\setkomavar{faxseparator}{ -- }
%\setkomavar{phoneseparator}{ -- }
%\setkomavar{subjectseparator}{  }

%% Customize fonts
%% Use LaTeX's standard font commands
%% Modify with \setkomafont or \addtokomafont
%% (see KOMA documentation)
%\setkomafont{backaddress}{\rmfamily}
%\setkomafont{descriptionlabel}{}
\setkomafont{fromaddress}{\small}
\setkomafont{fromname}{\bf}
%\setkomafont{pagefoot}{utopia}
%\setkomafont{pagehead}{}
%\setkomafont{pagenumber}{}
%\setkomafont{subject}{}
%\setkomafont{title}{}

Creating a larger space above the Sender Name does not work by using
-Document Settings-Page Margins

Apologies for any confusion. Thanks in advance,
Charlie
-- 
Registered Linux User:- 329524
***
Learn to wish that everything should come to pass exactly as it does.
_Epictetus

***
Debian GNU/Linux - just the best way to create magic
___


Re: graphics preview on Mac

2010-01-18 Thread Stephen Buonopane


On Jan 18, 2010, at 6:40 PM, Pavel Sanda wrote:


BH wrote:

I can confirm: graphics on screen cannot be viewed, though printed
output is fine.

I have gs version 8.70 (as does Stephen).


i believe its fixed in ghostscript trunk by
http://code.google.com/p/ghostscript/source/detail?r=10560

you have to wait for 8.71 or try svn...

pavel


Or see my follow-up post for a workaround by changing the script  
convertDefault.py





Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread Jean-Marie Pacquet

M-L a écrit :

[...]
I must be on the wrong track then, and my apologies to Jean-Marie and
yourself.

It is the Sender Name that has my name and address so obviously I am
looking at the wrong thing?

So renew my question:

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

Which of the commands below affect the Sender Name field
  
If you look at the manual scrguien.pdf everything you need is visible in 
figure 6.1: Schematic of letter paper's pseudo lengths. The pseudo 
length for Sender Name vertical position is called firstheadvpos. To 
adjust it you can add in the preamble:


\...@addtoplength{firstheadvpos}{2cm}

You can also create your own lco parameter file (derived from the 
DIN.lco you are using) to suit your needs.


HTH
--
jmp




Fwd: Output track changes in pdf with lyx 1.6 error

2010-01-18 Thread Birte Schoettker
Hi all,

please find below a description of the problems I encounter when trying to
print a pdf from a lyx 1.6 document where changes were tracked.
- packages soul and xcolor are installed (Uwe below had that suggestion, but
I had them installed already)
- OS is Windows
- psi works

the error message I get in lyx when trying to create a pdf reads as follows:
Argument of \NAT@@citetp has an extra }.
Paragraph ended before \NAT@@citetp was complete.
Extra }, or forgotten \endgroup.
Argument of \...@citex has an extra }.
Paragraph ended before \...@citex was complete.
Missing \endgroup inserted.
Missing \endgroup inserted.
Missing } inserted.
Missing \endgroup inserted.
Missing } inserted.
You can't use `\end' in internal vertical mode.
Missing } inserted.
Missing } inserted.
Missing } inserted.
Extra \endgroup.

I assume it has to do with headings or references have been deleted...

Thank you very much indeed for suggestions.

regards,
Birte


Forwarded conversation
Subject: Re: Output track changes in pdf with lyx 1.6 error


From: *Uwe Stöhr* uwesto...@web.de
Date: 2010/1/19
To: Birte S. schoettb...@gmail.com
Cc: lyx-users@lists.lyx.org


Birte S. schrieb:

 my problem is similar with lyx 1.6 and installed packages soul and xcolor
 and reconfiguration of lyx and restart of lyx, though the error message is
 as follows:
  Changes will not be highlighted in LaTeX output when using pdflatex
 because
 xcolor and soul are not installed.
 Please install both packages...



So you need to install the LaTeX-packages soul and xcolor. What is your
operating system? On Windows, simply open MiKTeX's Settings (available via
the Start menu). There set the option install missing packages on the fly
to yes (probably this option is already set). Finally, open an Internet
connection and reconfigure LyX. All LaTeX-packages needed by LyX will then
be installed automatically.

In case you are on Linux, use the package manager of TeXLive to install the
packages.

regards Uwe

--
From: *Birte Schoettker* schoettb...@gmail.com
Date: 2010/1/19
To: Uwe Stöhr uwesto...@web.de


Hi Uwe,

thanks a lot for your patient and detailed reply.
OS is Windows.
I have both packages installed.

One of my three documents worked finally inclduign to show the tracked
changes.
Still it seems that the changes I received from someone else in the two out
of three lyx documents (which before the changes were made converted to pdf
without error messages) are now packed with error messages. I will have a
closer look at the error messages of the two other lyx documents later today
and might post them here if I do not get anywhere.
- I have read that e.g. deleting references might cause problems.

Thank you again.
Birte


2010/1/19 Uwe Stöhr uwesto...@web.de


Re: LyX and the Humanities

2010-01-18 Thread Guenter Milde
On 2010-01-17, Guido Milanese wrote:
> On 16/01/2010 at 09.14 -0500, rgheck wrote:

>> I don't know of any, but there are plenty of humanists around the list 
>> if you need to ask questions. E.g., I'm a philosopher, and I know of two 
>> others who regularly contribute to the list.

> Yes, I know, and that's why I posted the question here! I hope to get
> some more answers after the weekend :-)

It might be interesting to give some hints about writing Greek in LyX.

It is easy using Unicode input. Recently, also polytonic (ancient)
Greek is supported (with some remaining issues).

Günter



Re: Problem with the dash in the listings

2010-01-18 Thread Guenter Milde
On 2010-01-17, Piotrek wrote:
> Thanks for suggestion. But is it really necessary? Is the dash Unicode
> character? I am writing the document in English. Is the Unicode support
> necessary in that case? I am trying to understand what causes such a
> behavior. Well, if I remove the dash characters from the Program
> Listing it works perfectly!

Do with dash, you mean a hyphen "--" ? 
Or two hyphens in a row "--", maybe? (These are converted to an en-dash
with some LaTeX fonts.)

Günter




Re: LyX and the Humanities

2010-01-18 Thread Guido Milanese
On 18/01/2010 at 08.13 +, Guenter Milde wrote:

> It might be interesting to give some hints about writing Greek in LyX.
> 
> It is easy using Unicode input. Recently, also polytonic (ancient)
> Greek is supported (with some remaining issues).

Yes, already done, thanks! Much better now than with older versions
(<1.5). With Unicode it's all easier. As font I suggest libertine, which
is easy to install with the appropriate package. Gentium AFAIK needs
more 'manual' work, correct?

thanks again.
gm
-- 
Guido Milanese - Professor of Latin
The Catholic University, Milan and Brescia, Italy
http://docenti.unicatt.it/ita/guido_fabrizio_milanese
http://www.arsantiqua.org



Re: > Lyx 1.6.5

2010-01-18 Thread E. Kaplan
Thanks.  I was following the advice I got here, and it is good to know 
about the incompatibility between *ubuntu and Debian.


EK



Sven Hoexter wrote:

On Sun, Jan 17, 2010 at 09:22:42PM -0500, rgheck wrote:

Hi,

  

You should report this kind of issue to the debian lists. Though I
think the debian maintainers read this list, they manage the
packages, not us.



Please don't! *buntu and Debian are not binary compatible so you'll
always run into such problems if you try to install packages from the Debian
archive on your *ubuntu.

Sven
  


\title before \begin{document}

2010-01-18 Thread Philip Stubbs
Hi,

I have developed my own LaTeX class file, based on the article class.
It has been developed over some time, but is now working just how I
like. My documents start as follows

\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}
\section{Introduction}
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse
justo nisi, sagittis pharetra sagittis id,

I now would like to go the next step, and leave vim and use LyX as my
editor. I started looking at the *.layout files to see what I need to
do. What I cant seem to work out is how to place the \title etc before
the \begin{document}

Any suggestions would be welcome. I don't really want to start
chopping about the class file at this stage.

-- 
Philip Stubbs


Re: \title before \begin{document}

2010-01-18 Thread Jean-Marc Lasgouttes
Philip Stubbs  writes:
> I now would like to go the next step, and leave vim and use LyX as my
> editor. I started looking at the *.layout files to see what I need to
> do. What I cant seem to work out is how to place the \title etc before
> the \begin{document}

This will be possible in next version (1.7/2.0). For now, you should put
these commands in the document preamble.

JMarc


question about family fonts

2010-01-18 Thread Marcelo Acuña
hello,
 If I choose Times Roman for roman font, what font I must to choose for sans 
serif font If I want to obtain an aesthetically coherent aspect?
 The same for Bookman font.
 Regards

Marcelo Acuña
 visitá mi sitio web http://www.aleph-uno.com.ar 
==


  Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/


Re: \title before \begin{document}

2010-01-18 Thread Uwe Stöhr

Philip Stubbs schrieb:


\documentclass[draft,approved]{danrep}
\title{This is a test report title that I will make quite long.}
\repnum{10-00}
\author{Philip Stubbs}
\date{2010-01-12}
\begin{document}


The next LyX version will support this structure, but why have you 
chosen to have the title before \begin{document}? I mean the article 
class have it behind \begin{document} and I cannot see the benefit of 
changing this.


regards Uwe



Re: Output track changes in pdf with lyx 1.6 error

2010-01-18 Thread Uwe Stöhr

Birte S. schrieb:


my problem is similar with lyx 1.6 and installed packages soul and xcolor
and reconfiguration of lyx and restart of lyx, though the error message is
as follows:
" Changes will not be highlighted in LaTeX output when using pdflatex
because
xcolor and soul are not installed.
Please install both packages...



So you need to install the LaTeX-packages "soul" and "xcolor". What is 
your operating system? On Windows, simply open MiKTeX's Settings 
(available via the Start menu). There set the option "install missing 
packages on the fly" to "yes" (probably this option is already set). 
Finally, open an Internet connection and reconfigure LyX. All 
LaTeX-packages needed by LyX will then be installed automatically.


In case you are on Linux, use the package manager of TeXLive to install 
the packages.


regards Uwe


Re: question about family fonts

2010-01-18 Thread Uwe Stöhr

Marcelo Acuña schrieb:


 If I choose Times Roman for roman font, what font I must to choose for sans 
serif font If I want to obtain an aesthetically coherent aspect?


Times is a font designed for newspapers (New York Times). Its glyphs are 
therefore thinner with less space between them. When you want to write a 
book, I could therefore not recommend Times as font.


To get "aesthetically coherent aspect" for all 3 font types, the best is 
to use the corresponding Latin Modern font.



 The same for Bookman font.


It depends on your taste what is aesthetically coherent. Just play a bit 
with the available fonts.


regards Uwe


Re: LyX version control with git

2010-01-18 Thread Pavel Sanda
Richard Heck wrote:
> did want to do it it likely wouldn't be that hard. It's only a handful of 
> routines that have to be written, and you can mimic the ones for svn, etc.

i dropped my effort to support git and imho its not just matter of mimic the
svn routines.
- different scheme of sharing the work (eg check-in X commit & push)
- detection of file being under git (no .svn subdir analogy)
- revision numbers via checksums instead of incremental numbers

not that it couldn't be solved if someone wants to play... ;)
pavel


Graphical bibtex-editors

2010-01-18 Thread Matthias Schmidt
Hello,

I'm working with Lyx 1.6.5 on Win XP.

I'll start to write a new book with lyx soon. Until now I used JabRef
as bibtex-editor. In the lyx-wiki I found some other editors like
Synapsen or BibTexMng, but there are no experiences on these editors
in the wiki.

Has someone experiences with an bibtex-editor, that is much better to
use than JabRef? Or are there no major differences?

-- 
Mit freundlichen Grüßen
Matthias Schmidt
mailto:gm_schm...@yahoo.de

Diese Nachricht ist mit Norton Internet Security geprüft




RE: Graphical bibtex-editors

2010-01-18 Thread Rob Oakes
Hi Matthais,

I've spent a really long time looking for a good BibTeX editor on Windows
and, I'm sorry to say, I haven't really found one.  In my opinion, the very
best BibTeX editor is BibDesk (Mac OS X only) followed by Pybiolographer
(Linux only).  JabRef takes a rather distant third place, which is
unfortunate, since it is the only truly cross-platform editor (I greatly
dislike Java and it makes me biased).

With that said, there are other alternatives on Windows.  Two option spring
to mind immediately and both work quite well with LyX.  The first program is
an open source Firefox add-on called Zotero (http://www.zotero.org/).
Zotero works very much JabRef in that it allows  you to manage a library of
citations, but it has the additional advantage in that it lives in the
browser.

When you search sites such as PubMed, Amazon and others, it includes a
helpful icon to download the citation information from the webpage.  It is
also possible to import import PubMed searches and collections of citations
(for example, I recently was able to download Neil Gaiman's complete
bibliography from Wikipedia for a small book project that I am working on).
Though I was skeptical of how useful the whole "research assistant in the
browser" would be, I've found it is actually very handy. So much so, that
nearly all of my citation management now happens in Zotero (with heavy duty
backup provided by Mendeley, described below).

Zotero can be directly used with LyX through the LyX plugin
(https://addons.mozilla.org/en-US/firefox/addon/56806).  I've been testing
it for a few weeks now, and it seems to work pretty well.   But I haven't
done anything real with it yet.  (My preferred solution is to generate a
clean BibTeX file using Mendeley.)

There are other advantages of Zotero as well.  For starters, it allows you
to use the same citation library with Microsoft Office/OpenOffice documents
via a plug-in. This is something that is very important to me as most of my
colleagues still continue to use Microsoft products.  Additionally, it has
an associated online service which can sync your reference library to
multiple computers.  While I've long done this with version control, the
Zotero sync happens completely in the background and is more or less
seamless.

The second option is a program called Mendeley (http://www.mendeley.com/).
Whereas the primary emphasis of Zotero is online research and citation
management, you might think of Mendeley as a personal librarian for your
reference collection.  For this reason, it bills itself as "iTunes for
reference papers".  I use Mendeley to keep my PDF library organized and
synced across my two laptops, work desktop and home desktop computers.  The
entire collection is indexed and searchable. It also has a wickedly cool
in-text search that is very handy.

However, by far the best feature of Mendeley is its ability to create highly
readable BibTeX code.  You can select citations to export, or you can have
it automatically generate a BibTeX file for you.  Because the code is clean,
I've had no trouble using it with either LaTeX or LyX.  Another very handy
features is that it can sync its database with the Zotero database.  This
means that you can use Zotero to acquire citations and then have that
information incorporated automatically into your Mendeley database as well.
It's pretty slick. (As an aside, I've heard that sometimes getting the
Mendeley sync to work on Windows can be difficult.  I personally haven't had
any trouble.)

Mendeley also includes a Microsoft Word/OpenOffice plugin that works more or
less identically to that of Zotero.

The biggest downside, of course, is that neither program is a true BibTeX
editor.  But I've been very happy with the BibTeX created by Mendeley and
Lyz makes it very easy to use Zotero directly from LyX.  Thus, I've found
that this doesn't concern me nearly as much as I thought it might.

Good luck as you try out different programs.  And if you find something that
is better than JabRef, please let me know.  I would love to find a good
BibTeX editor on the Windows platform.

Cheers,

Rob Oakes





Freeze followed by St9bad_alloc

2010-01-18 Thread Les Denham
I have been having problems with a report I'm working on currently. 

When I'm editing one of the files in the report, LyX freezes, and after 
several minutes it crashes with a cryptic error message "St9bad_alloc".

This occurs most frequently when I'm doing something with a figure float.  The 
most recent occurrence appeared to originate when I cut a figure float from 
one child document and pasted it into another. The problem appears to 
originate most commonly when I change the paragraph settings from the default 
left alignment to center.  It also happens much more commonly when I'm using 
US Letter page size than when using A4.  On the current document it happened 
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is 
causing the error by simply opening the float and making a change in the 
settings.  Apparently any change works.

The report I'm working on is currently a master document with six child 
documents, using Report(komascript) class.  I changed from a single document 
to make it easier to locate the float causing this problem.  I'm using LyX 
1.6.4 running on 64-bit Gentoo Linux with texlive-2008-r4.

Has anyone else run across this problem?
-- 
..
Les Denham


Re: Freeze followed by St9bad_alloc

2010-01-18 Thread rgheck

On 01/18/2010 02:10 PM, Les Denham wrote:

I have been having problems with a report I'm working on currently.

When I'm editing one of the files in the report, LyX freezes, and after
several minutes it crashes with a cryptic error message "St9bad_alloc".

This occurs most frequently when I'm doing something with a figure float.  The
most recent occurrence appeared to originate when I cut a figure float from
one child document and pasted it into another. The problem appears to
originate most commonly when I change the paragraph settings from the default
left alignment to center.  It also happens much more commonly when I'm using
US Letter page size than when using A4.  On the current document it happened
from the first time when I changed page size from A4 to Letter.

I've found I can usually fix the problem once I identify which float is
causing the error by simply opening the float and making a change in the
settings.  Apparently any change works.

   
This suggests to me an infinite loop somewhere that keeps consuming 
memory until there's none left, which is when you get a memory 
allocation error. I think this is really just std::bad_alloc in disguise.


That doesn't really tell us what the problem is, though, unfortunately. 
If you could run under a debugger, we might get more info.


rh



Re: \title before \begin{document}

2010-01-18 Thread Philip Stubbs
2010/1/18 Uwe Stöhr :
> Philip Stubbs schrieb:
>
>> \documentclass[draft,approved]{danrep}
>> \title{This is a test report title that I will make quite long.}
>> \repnum{10-00}
>> \author{Philip Stubbs}
>> \date{2010-01-12}
>> \begin{document}
>
> The next LyX version will support this structure, but why have you chosen to
> have the title before \begin{document}? I mean the article class have it
> behind \begin{document} and I cannot see the benefit of changing this.

There may well be no benefit at all. It is just the way it turned out.
I have been developing my class file for some time. It is more
recently that I decided to try and start using LyX. When I first
started using LaTeX, the hacking made the boring job of writing
reports more fun. Now I am more inclined to want to just do the
report, so I need to streamline the process, but there is no way I
could cope with going back to Word. :-)

Anyhow, since I can't be bothered to wait for version 2.0, I spent a
quick half hour redoing my class file. It looks like I am 95% there,
so will be able to start work on my LyX layout soon.

Thanks for the help.
-- 
Philip Stubbs


Re: Freeze followed by St9bad_alloc

2010-01-18 Thread Les Denham
On Monday 18 January 2010 13:51:27 rgheck wrote:
> This suggests to me an infinite loop somewhere that keeps consuming 
> memory until there's none left, which is when you get a memory 
> allocation error. I think this is really just std::bad_alloc in disguise.
> 
Yes, that's what I would guess.

Since sending the message this morning I've upgraded to 1.6.5, and so far the 
problem has not recurred.  This could be a sign the problem was fixed in 
1.6.5, or it could be a sign that I had a problem with my installation 
(remembering that Gentoo compiles everything from source on the target 
machine) which was fixed by the recompiling and relinking in the upgrade.

Les
-- 
..
Les Denham


Re: LyX and the Humanities

2010-01-18 Thread Guenter Milde
On 2010-01-18, Guido Milanese wrote:
> On 18/01/2010 at 08.13 +, Guenter Milde wrote:

>> It might be interesting to give some hints about writing Greek in LyX.

>> It is easy using Unicode input. Recently, also polytonic (ancient)
>> Greek is supported (with some remaining issues).

> Yes, already done, thanks! Much better now than with older versions
> (<1.5). With Unicode it's all easier. As font I suggest libertine, which
> is easy to install with the appropriate package. Gentium AFAIK needs
> more 'manual' work, correct?

I don't know about Gentium, but there are quite a few LaTeX fonts that
support Greek at CTAN. Kerkis, GFSNeohellenic and GRTimes come to my
mind.

Günter




graphics preview on Mac

2010-01-18 Thread Stephen Buonopane

I recently upgraded to TeXLive 2009 and LyX 1.6.5 on Mac.
On screen LyX preview of pdf graphics no longer works (other formats  
seem to work).

convert *.pdf *.ppm works fine from the command line
below is the error output
Any ideas?

Thanks
Steve


Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/gconvert1.K14418.pdf': No such  
file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `ppm:/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/CacheItem.M14418.ppm' @  
convert.c/ConvertImageCommand/2838.

/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py ERROR
Execution of "convert" failed.


Re: graphics preview on Mac

2010-01-18 Thread Stephen Buonopane


On Jan 18, 2010, at 4:49 PM, Stephen Buonopane wrote:


I recently upgraded to TeXLive 2009 and LyX 1.6.5 on Mac.
On screen LyX preview of pdf graphics no longer works (other formats  
seem to work).

convert *.pdf *.ppm works fine from the command line
below is the error output
Any ideas?

Thanks
Steve


Current allocation mode is local
GPL Ghostscript 8.70: Unrecoverable error, exit code 1
convert: Postscript delegate failed `/var/folders/oQ/oQgNvHsZ2Ras4+ 
+8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/gconvert1.K14418.pdf': No such  
file or directory @ pdf.c/ReadPDFImage/634.
convert: missing an image filename `ppm:/var/folders/oQ/ 
oQgNvHsZ2Ras4++8ZRE7qU+++TI/-Tmp-/lyx_tmpdir.L14418/ 
CacheItem.M14418.ppm' @ convert.c/ConvertImageCommand/2838.
/Applications/LyX.app/Contents/Resources/scripts/convertDefault.py  
ERROR

Execution of "convert" failed.


This seems to be a result of the bug reported here
https://bugs.launchpad.net/ubuntu/+source/imagemagick/+bug/487637

Copy the script convertDefault.py from  /Applications/LyX.app/Contents/ 
Resources/scripts


Comment out the lines
if sys.argv[1][:4] == 'pdf:' and (version >= 0x060206 or gm):
opts = '-define pdf:use-cropbox=true ' + opts

On a Mac, the script goes in
/Users/username/Library/Application\ Support/LyX-1.6/scripts





Re: graphics preview on Mac

2010-01-18 Thread Pavel Sanda
Stephen Buonopane wrote:
>> Current allocation mode is local
>> GPL Ghostscript 8.70: Unrecoverable error, exit code 1
>> convert: Postscript delegate failed 

whats the output of "gs --version" ?

pavel


Re: graphics preview on Mac

2010-01-18 Thread BH
On Mon, Jan 18, 2010 at 5:36 PM, Pavel Sanda  wrote:
> Stephen Buonopane wrote:
>>> Current allocation mode is local
>>> GPL Ghostscript 8.70: Unrecoverable error, exit code 1
>>> convert: Postscript delegate failed
>
> whats the output of "gs --version" ?

I can confirm: graphics on screen cannot be viewed, though printed
output is fine.

I have gs version 8.70 (as does Stephen).

BH


Re: graphics preview on Mac

2010-01-18 Thread Pavel Sanda
BH wrote:
> I can confirm: graphics on screen cannot be viewed, though printed
> output is fine.
> 
> I have gs version 8.70 (as does Stephen).

i believe its fixed in ghostscript trunk by 
http://code.google.com/p/ghostscript/source/detail?r=10560

you have to wait for 8.71 or try svn...

pavel


Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread M-L
On Mon, 18 Jan 2010 08:28:06 +0100 Jean-Marie Pacquet 
shared this with is all on the Lyx users list:

>M-L a écrit :
>> Debian Testing [Squeeze] Using LyX Version 1.6.5
>>
>> Letter [KOMA - Script-v.2]
>>
>> This in my preamble as per the template for that letter style [only
>> the number has changed]:
>>
>> % vertical position of the address field
>> \...@addtoplength{toaddrvpos}{2mm}
>>
>> What command do I add: 
>>
>> * preceding that
>> * to that, or
>> * following that
>>
>> To add a bit more space above the address?
>>
>> \vspace*{2cm} in various places and in various ways doesn't cut it.
>>
>> I must be doing something wrong?
>>
>> TIA
>> Charlie
>>   
>May be I don't understand the question, but to add a bit more space 
>above the address you only need to change the value 2mm (which is 
>precisely the measure of the vertical space added to the predefined 
>address position) to what you want it to be (2cm):
>
>\...@addtoplength{toaddrvpos}{2cm}
>
>HTH
>-- 
>jmp
 

Thank you Jean-Marie,

But what that does is add space "below" the address field in my
experimentation up to 21cm.

Just tried it again to be certain and am not giving you false
information.

Thank you for your reply.

Be well,
Charlie
-- 
Registered Linux User:- 329524
***
Our truest life is when we are in our dreams
awake. ...Henry David Thoreau

***
Debian GNU/Linux - just the best way to create magic
___


Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread M-L
On Mon, 18 Jan 2010 08:37:12 +0100 Jürgen Spitzmüller 
shared this with is all on the Lyx users list:

>M-L wrote:
>> This in my preamble as per the template for that letter style [only
>> the number has changed]:
>> 
>> % vertical position of the address field
>> \...@addtoplength{toaddrvpos}{2mm}
>> 
>> What command do I add: 
>> 
>> * preceding that
>> * to that, or
>> * following that
>> 
>> To add a bit more space above the address?
>
>I'm not sure I understand your question. Doesn't
>changing the mentioned declaration (to e.g.
>\...@addtoplength{toaddrvpos}{22mm}) do what you want?
>
>Jürgen

I must be on the wrong track then, and my apologies to Jean-Marie and
yourself.

It is the "Sender Name" that has my name and address so obviously I am
looking at the wrong thing?

So renew my question:

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

Which of the commands below affect the "Sender Name" field

%
%% Here you can modify the layout of your letter
%% Have a look at the KOMA script documentation
%% for details. Most commands are commented out
%% here (i.e. we use default settings)
%

%% Load an *.lco style file (see KOMA documentation)
%%\LoadLetterOption{DIN}%  

% vertical position of the address field
\...@addtoplength{toaddrvpos}{2mm}
% space between ref line and letter text
\...@setplength{refaftervskip}{1cm}

%% THE CLASS OPTIONS
%% Remove preceeding '%' to uncomment an item
\KOMAoptions{%
,headsepline=false%separate the header with a line on page
>1 ,footsepline=false% separate the footer with a line on
>page >1
%pagenumber=botcenter%   position of the page number (see docu)
%,parskip=false%  Use indent instead of skip (more options cf.
docu) ,fromalign=left%alignment of the address
,fromrule=aftername%separate the address with a line?
,fromphone=false% print sender phone number
%,fromfax=true%  print sender fax number
,fromemail=false%   print sender e-mail address
,fromurl=false%   print sender URL
%,fromlogo=true% print a logo (position depends on fromalign)
%,addrfield=false%print an address field?
%,backaddress=false%  print the back address?
%,subject=afteropening,titled% alternative subject layout and position
%,locfield=narrow%  width of the (extra) location field
,foldmarks=false%  print foldmarks?
%,numericaldate=true%  date layout
%,refline=wide% layout of the refline
}

%% Customize Separators
%\setkomavar{placeseparator}{ -- }
%\setkomavar{backaddressseparator}{ $\cdot$ }
\setkomavar{emailseparator}{}
%\setkomavar{enclseparator}{ > }
%\setkomavar{faxseparator}{ --> }
%\setkomavar{phoneseparator}{ --> }
%\setkomavar{subjectseparator}{ >>> }

%% Customize fonts
%% Use LaTeX's standard font commands
%% Modify with \setkomafont or \addtokomafont
%% (see KOMA documentation)
%\setkomafont{backaddress}{\rmfamily}
%\setkomafont{descriptionlabel}{}
\setkomafont{fromaddress}{\small}
\setkomafont{fromname}{\bf}
%\setkomafont{pagefoot}{utopia}
%\setkomafont{pagehead}{}
%\setkomafont{pagenumber}{}
%\setkomafont{subject}{}
%\setkomafont{title}{}

Creating a larger space above the "Sender Name" does not work by using
->Document Settings->Page Margins

Apologies for any confusion. Thanks in advance,
Charlie
-- 
Registered Linux User:- 329524
***
Learn to wish that everything should come to pass exactly as it does.
_Epictetus

***
Debian GNU/Linux - just the best way to create magic
___


Re: graphics preview on Mac

2010-01-18 Thread Stephen Buonopane


On Jan 18, 2010, at 6:40 PM, Pavel Sanda wrote:


BH wrote:

I can confirm: graphics on screen cannot be viewed, though printed
output is fine.

I have gs version 8.70 (as does Stephen).


i believe its fixed in ghostscript trunk by
http://code.google.com/p/ghostscript/source/detail?r=10560

you have to wait for 8.71 or try svn...

pavel


Or see my follow-up post for a workaround by changing the script  
convertDefault.py





Re: Letter [KOMA - Script-v.2............

2010-01-18 Thread Jean-Marie Pacquet

M-L a écrit :

[...]
I must be on the wrong track then, and my apologies to Jean-Marie and
yourself.

It is the "Sender Name" that has my name and address so obviously I am
looking at the wrong thing?

So renew my question:

Debian Testing [Squeeze] Using LyX Version 1.6.5

Letter [KOMA - Script-v.2]

Which of the commands below affect the "Sender Name" field
  
If you look at the manual scrguien.pdf everything you need is visible in 
figure 6.1: "Schematic of letter paper's pseudo lengths". The pseudo 
length for Sender Name vertical position is called "firstheadvpos". To 
adjust it you can add in the preamble:


\...@addtoplength{firstheadvpos}{2cm}

You can also create your own "lco" parameter file (derived from the 
DIN.lco you are using) to suit your needs.


HTH
--
jmp




Fwd: Output track changes in pdf with lyx 1.6 error

2010-01-18 Thread Birte Schoettker
Hi all,

please find below a description of the problems I encounter when trying to
print a pdf from a lyx 1.6 document where changes were tracked.
- packages soul and xcolor are installed (Uwe below had that suggestion, but
I had them installed already)
- OS is Windows
- psi works

the error message I get in lyx when trying to create a pdf reads as follows:
"Argument of \NAT@@citetp has an extra }.
Paragraph ended before \NAT@@citetp was complete.
Extra }, or forgotten \endgroup.
Argument of \...@citex has an extra }.
Paragraph ended before \...@citex was complete.
Missing \endgroup inserted.
Missing \endgroup inserted.
Missing } inserted.
Missing \endgroup inserted.
Missing } inserted.
You can't use `\end' in internal vertical mode.
Missing } inserted.
Missing } inserted.
Missing } inserted.
Extra \endgroup."

I assume it has to do with headings or references have been deleted...

Thank you very much indeed for suggestions.

regards,
Birte


Forwarded conversation
Subject: Re: Output track changes in pdf with lyx 1.6 error


From: *Uwe Stöhr* 
Date: 2010/1/19
To: "Birte S." 
Cc: lyx-users@lists.lyx.org


Birte S. schrieb:

 my problem is similar with lyx 1.6 and installed packages soul and xcolor
> and reconfiguration of lyx and restart of lyx, though the error message is
> as follows:
> " Changes will not be highlighted in LaTeX output when using pdflatex
> because
> xcolor and soul are not installed.
> Please install both packages...
>


So you need to install the LaTeX-packages "soul" and "xcolor". What is your
operating system? On Windows, simply open MiKTeX's Settings (available via
the Start menu). There set the option "install missing packages on the fly"
to "yes" (probably this option is already set). Finally, open an Internet
connection and reconfigure LyX. All LaTeX-packages needed by LyX will then
be installed automatically.

In case you are on Linux, use the package manager of TeXLive to install the
packages.

regards Uwe

--
From: *Birte Schoettker* 
Date: 2010/1/19
To: Uwe Stöhr 


Hi Uwe,

thanks a lot for your patient and detailed reply.
OS is Windows.
I have both packages installed.

One of my three documents worked finally inclduign to show the tracked
changes.
Still it seems that the changes I received from someone else in the two out
of three lyx documents (which before the changes were made converted to pdf
without error messages) are now packed with error messages. I will have a
closer look at the error messages of the two other lyx documents later today
and might post them here if I do not get anywhere.
- I have read that e.g. deleting references might cause problems.

Thank you again.
Birte


2010/1/19 Uwe Stöhr