Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Guenter Milde
On 2009-01-30, Christian Ridderström wrote:
 On Thu, 29 Jan 2009, A B wrote:


 Add a html/wiki -- LyX converter and we are all done! Heck, with the 
 current LyX format it feels like replacing \section with ==

 Well, in principle, yes. :-)


There are several problems here:

* Which of the many wiki variants do you want to support?

* What about the many many features that have no counterpart in the
  wiki syntax?
  
Actually, if even the LyX-LaTeX-LyX round-trip is not failsave (yet),
so I would not expect any other format conversion to be able to offer
co-operation with non-lyx-users.  


That said, it might be possible to have a Wiki-LyX-Wiki path for
wiki-editing with LyX (but I'd personally prefer a good text editor).

Günter



Re: Hyphenation at end of the page

2009-01-30 Thread jezZiFeR

Hello Marcelo,

thanks a lot! This works – thank you also for the explanations.

Best*
Jess





Am 30.01.2009 um 00:28 schrieb Marcelo Acuña:


Hm, well, I really meant to avoid it for the whole
document…

You mean I could avoid with ERT at the hyphenated line?
Like
\hyphenpenalty1? Doesn´t seem like a
long term solution, especially
for longer documents. Is this going to be revised in a
newer version of
Latex?

Thanks, best*
Jess



If you put
\hyphenpenalty=1
you avoid hyphenation in all lines in the entire document.
If you put a lower number, like 200 or 500, you reduce the number of  
word hyphenated in all lines in the whole documente.

\brokenpenalty is for your case.
Regards


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



 Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/




Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Guenter Milde
On 2009-01-29, Steve Litt wrote:
 On Thursday 29 January 2009 03:00:45 am Abdelrazak Younes wrote:
 Guenter Milde wrote:
  My proposal would be:
 
 LyX is a graphical frontend for LaTeX. ...

 Well, it is not _just_ that IMHO. My proposal:
 LyX is a graphical word processor mainly used with a LateX backend. LyX

 While this is essentially true, the word word processor has certain 
 connotations including easy fingerpainting and amateurish type layout.

This are also the connotations of WYSIWYG (for most LyX users, with one
notable exception) which is why I'd prefer to leave this term out of the
description.

 I've often referred to LyX as a typesetting program, but of course this 
 might intimidate people just beginning to consider LyX.

 is especially suited for structured document writing.

 Yes it is, although creation and modification of styles is an order of 
 magnitude or two harder than with MS Word or WordPerfect.

When considering how best to decribe LyX in the Debian and Ubuntu
repositories, please keep the context (including the heading Document
Processor). This would give the discussion a proper base.

The current description of LyX in Debian and Ubuntu is:

 Document Processor
 
 LyX is an almost WYSIWYG-frontend for LaTeX. It makes the power and
 typesetting quality of LaTeX available for people who are used to word
 processors. Since LyX supports LaTeX's concept of general mark-ups, it
 is even easier and faster to create professional quality documents with
 it than with usual word processors. It is also possible to use LaTeX
 commands within LyX, so nothing of LaTeX's power is lost. 
 

Actually, in this contex I can even live with the WYSIWYG term.

Günter



How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Christian Ridderström

Hi,

I'd like to output todays date in the header with the date formatted as

2009-01-30

How should I do this?

I'm using \today to get the current date.

Best regards,
Christian

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

Re: Export to Open document

2009-01-30 Thread Piero Faustini
Hesham Kamel helta...@... writes:

 
 My system is Windows

I also use windows, XP sp3, Lyx 1.6.1 installed with the alt installer
I've never been able to export (with the menu tools) to a open document, and I 
use Lyx since the 1.5.4 version.
The problem has always been more or less the same of Hesham, but in last 
versions (I can't tell since which one) the document IS created, is more or 
less 7kb (inconsistent with lyx document dimensions) and results empty.

I tried with small new documents, guide documents etc.: no way.

Any idea?






Re: Request for svn test on Windows

2009-01-30 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 6. is the file.lyx inside LyX window in read-only mode?
 Yes.
 10. is the file.lyx inside LyX window in write mode?
 Yes.
 13. is the file.lyx inside LyX window in read-only mode?
 Yes.
 14. in A: does the following fail?: svn lock file.lyx
 Yes.

 Vincent

beautiful
pavel


how to put an image

2009-01-30 Thread Yakup Ayvaz
Hello,

I have a problem with lyx. 
I inserted an images, which also shows the image correctly in lyx, 
but then I try to export in pdf format I get an error like ... cannot 
determine size of graphic.

Whats the problem here? 
I tried a lot but I could not solve the problem... can somebody help...?


  

SV: Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Ingar Pareliussen
 

 There are several problems here:
 
 * Which of the many wiki variants do you want to support?

Even if there are many wikis, there are many common features.
However, the best aproach may be to include these into a 
layout file.
e.g.:

Style Chapter
wikicommand == 
END
Style Section
wikicommand ===
END
etc

In this way adding wikiengine support would be to make a new layoutfile.
 
 * What about the many many features that have no counterpart in the
   wiki syntax?

I suggest these are dealt with in the same manner that wi deal with 
missing environments when one change document type. Warn and revert to
plain.

However, images might be a problem, I guess...

I think it would be a great addition. My use case is my latest book.

It was co-authored in a wiki (50+ persons), converted to html, imported 
to oo, exported as Latex imported to lyx. Added a lot of text and about 
400 images in Lyx - pdf. Printed. Loved the Lyx part of the work :).

However, now the co-authors want to start edit again in the wiki, and 
create a living book on the web. And I have stated that it is out of
the questin as I can not find the time to convert it to a wiki.

Ingar


Macros in Lyx?

2009-01-30 Thread E. Kaplan
Is there a way to record and play back macros (sequences of 
keystrokes/mouse clicks), as one can do in some editors, like WinEdt?

Thanks,



Re: How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Guenter Milde
On 2009-01-30, Christian Ridderström wrote:

 I'd like to output todays date in the header with the date formatted as

   2009-01-30

 How should I do this?

with the package isodate:

http://dante.ctan.org/CTAN/help/Catalogue/entries/isodate.html

Günter



Re: How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Christian Ridderström

On Fri, 30 Jan 2009, Guenter Milde wrote:


On 2009-01-30, Christian Ridderström wrote:


I'd like to output todays date in the header with the date formatted as



2009-01-30



How should I do this?


with the package isodate:

http://dante.ctan.org/CTAN/help/Catalogue/entries/isodate.html


Thanks, this did the trick in my preamble:

\usepackage{isodate}
\lhead{\isodate\today}

/Christian

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

Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Les Denham
On Thursday 29 January 2009, Christian Ridderström wrote:
  Add a html/wiki -- LyX converter and we are all done! Heck, with the
  current LyX format it feels like replacing \section with ==

 Well, in principle, yes.

One further complication I haven't seen mentioned here is that HTML is 
gradually being replaced by XHTML, where (ideally) the appearance of the 
document is entirely controlled by one or more style sheets.

In principle, I can imagine a LyX layout combined with a LaTeX class 
generating a CSS style sheet, and vice versa.  But I can also envision the 
practical difficulties.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: SV: Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Christian Ridderström

On Fri, 30 Jan 2009, Ingar Pareliussen wrote:


However, images might be a problem, I guess...

I think it would be a great addition. My use case is my latest book.

It was co-authored in a wiki (50+ persons), converted to html, imported 
to oo, exported as Latex imported to lyx. Added a lot of text and about 
400 images in Lyx - pdf. Printed. Loved the Lyx part of the work :).


There is a thing called Wiki Publisher that works with Pmwiki, it goes 
from wiki page to XML to LaTeX to PDF.


http://www.wikipublisher.org/

/Christian


However, now the co-authors want to start edit again in the wiki, and
create a living book on the web. And I have stated that it is out of
the questin as I can not find the time to convert it to a wiki.


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

Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 03:18:09 am Guenter Milde wrote:

 When considering how best to decribe LyX in the Debian and Ubuntu
 repositories, please keep the context (including the heading Document
 Processor). This would give the discussion a proper base.

 The current description of LyX in Debian and Ubuntu is:

  Document Processor

  LyX is an almost WYSIWYG-frontend for LaTeX. It makes the power and
  typesetting quality of LaTeX available for people who are used to word
  processors. Since LyX supports LaTeX's concept of general mark-ups, it
  is even easier and faster to create professional quality documents with
  it than with usual word processors. It is also possible to use LaTeX
  commands within LyX, so nothing of LaTeX's power is lost.


 Actually, in this contex I can even live with the WYSIWYG term.

I agree. The preceding is a pretty darned good description useful for a 
LyX-unfamiliar. Personally, I'd leave it as is.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 03:18:09 am Guenter Milde wrote:
 On 2009-01-29, Steve Litt wrote:
  On Thursday 29 January 2009 03:00:45 am Abdelrazak Younes wrote:
  Guenter Milde wrote:
   My proposal would be:
  
  LyX is a graphical frontend for LaTeX. ...
 
  Well, it is not _just_ that IMHO. My proposal:
  LyX is a graphical word processor mainly used with a LateX backend. LyX
 
  While this is essentially true, the word word processor has certain
  connotations including easy fingerpainting and amateurish type layout.

 This are also the connotations of WYSIWYG (for most LyX users, with one
 notable exception)

Gee, I wonder who that exception might be :-)

As Curly would have said, Hey, I resemble that remark!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Dave Hewitt
Joe(theWordy)Philbrook jtw...@... writes:
 I'm also hoping I can get the pre-chapter pages to be numbered with a
 different style such as roman numerals...

Definitely use the \frontmatter and \mainmatter separations. Also, to get the
numbering style changes you want, put this in ERT at the start of each of those
sections:

\pagenumbering{roman}

\pagenumbering{arabic}




Re: how to put an image

2009-01-30 Thread Dave Hewitt
Yakup Ayvaz yaka...@... writes:
 I inserted an images, which also shows the image correctly in lyx, 
 but then I try to export in pdf format I get an error
 like ... cannot determine size of graphic.
 
 Whats the problem here? 
 I tried a lot but I could not solve the problem... can somebody help...?

Help us help you.

Provide:
OS, LyX version, image file type, small sample file that shows the problem





Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Joe(theWordy)Philbrook

It would appear that on Jan 25, Steve Litt did say:

 Start the book with \frontmatter, and then where you want page 1 to be,
 use \mainmatter.

Thank You! (I presume these go in ERT boxes???) 

The logic of \frontmatter identifying the part of a book that appears
before the \mainmatter makes me wonder if there is also something like
an \backmatter designation for any parts of a book that may appear
after the last chapter???
 
 There are also ways to strongarm the page number -- I do this a lot in
 the front matter of the book, but NEVER NEVER NEVER in the main matter.

Agreed, if by main matter you mean the part of the book from the
first, through the last chapter, I'd find it disturbing for the page
numbers to be anything but consecutive throughout it. 

Though the unconventional side of my personality would find it
reasonable for some creative work to be presented as a collection of
chapter/books with each chapter numbered separately... But then I'd
hope that each page would be marked with a chapter id as well as a
page number...

But in any normal book I'd be very uncomfortable with inconsistent
page numbering...

-- 
|   ~^~   ~^~
|   *   *  Joe (theWordy) Philbrook
|   ^ J(tWdy)P
| \___/  jtw...@ttlc.net



Re: Macros in Lyx?

2009-01-30 Thread Richard Heck

E. Kaplan wrote:
Is there a way to record and play back macros (sequences of 
keystrokes/mouse clicks), as one can do in some editors, like WinEdt?


Not quite. You can't record them. But you can assign any sequence of 
operations you like to a key.


I think it would be fairly easy to add a recording facility. You could 
request it in bugzilla.


rh



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Joe(theWordy)Philbrook

It would appear that on Jan 29, Marcelo Acu?a did say:

  A partial answer:
 at the start of each chapter put in ERT
 \setcounter{pagenumber}{0}

Thanks Marcelo. This sounds like one of the ways to strongarm the
page number that Steve mentioned in his reply...

Offhand this looks like a way to thoroughly micromanage page numbering.

-- 
|   ^^^   ^^^
|   O   O  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
| \___/  jtw...@ttlc.net

Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 11:40:05 am Joe(theWordy)Philbrook wrote:
 It would appear that on Jan 25, Steve Litt did say:
  Start the book with \frontmatter, and then where you want page 1 to be,
  use \mainmatter.

 Thank You! (I presume these go in ERT boxes???)

Yes. In ERT boxes.


 The logic of \frontmatter identifying the part of a book that appears
 before the \mainmatter makes me wonder if there is also something like
 an \backmatter designation for any parts of a book that may appear
 after the last chapter???

Yes, there's a \backmatter. That's where you put your bibliography and index 
and the like.


  There are also ways to strongarm the page number -- I do this a lot in
  the front matter of the book, but NEVER NEVER NEVER in the main matter.

 Agreed, if by main matter you mean the part of the book from the
 first, through the last chapter, 

Yes, by mainmatter I meant the chapters, and I believe all appendices are 
mainmatter too.

What I do with eBooks is put the cover art on the first page, which is 
numbered 1000 or some such. The next page lists my other books, and its page 
number is auto incremented.

The next page is the title page, and is numbered i via an ERT strongarm, 
although there's no page on it. The next page is the copyright page, numbered 
ii, again with no page number on it. The next page is the dedication, how to 
use this book, and the like, which go on for several consecutively numbered 
pages. Finally, the \mainmatter is executed via ERT, resetting the page 
number to 1 and the number display to Arabic, and chapter 1 begins.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: how to put an image

2009-01-30 Thread Yago

Hello,

If you export the LyX file to pdf with pdflatex, only .pdf, .png, .pdf or 
Metapost output figures will be processed. That's all: pdflatex don't 
support the .eps format in figures. You can use instead dvipdfm to export to 
.pdf your LyX file or convert .eps figures to another format that can read 
pdflatex.
- Original Message - 
From: Yakup Ayvaz yaka...@yahoo.de

To: lyx-users@lists.lyx.org; lyx-users@lists.lyx.org
Sent: Friday, January 30, 2009 10:45 AM
Subject: how to put an image


Hello,

I have a problem with lyx.
I inserted an images, which also shows the image correctly in lyx,
but then I try to export in pdf format I get an error like ... cannot 
determine size of graphic.


Whats the problem here?
I tried a lot but I could not solve the problem... can somebody help...?





__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3798 (20090125) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




Re: how to put an image

2009-01-30 Thread Anders Host-Madsen
Yakup Ayvaz yaka...@... writes:

 I inserted an images, which also shows the image correctly in lyx, 
 but then I try to export in pdf format I get an error like ... cannot 
 determine size of graphic.


I would suggest specifying width and height in the LyX graphics
dialog box. This sounds like the type of Latex error you could get if
you don't set those parameters.











Re: how to put an image

2009-01-30 Thread Nikos Alexandris
On Fri, 2009-01-30 at 18:51 +0100, Yago wrote:
 Hello,
 
 If you export the LyX file to pdf with pdflatex, only .pdf, .png, .pdf
 or 
 Metapost output figures will be processed. That's all: pdflatex don't 
 support the .eps format in figures. You can use instead dvipdfm to
 export to 
 .pdf your LyX file or convert .eps figures to another format that can
 read 
 pdflatex.

Hi Yego.

Hmm, that's a bit strange to me. I use .eps all the time without any
problem and hit the pdf button (or export  PDF (pdlatex) ) and never
experienced conflicts.

Perhaps I don't understand the problem of Yakup very well, but I think
it's probably a size problem.

Kind regards, Nikos



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Typhoon
I have had good experience using reStructuredText as a cooperative
format. It is a fairly powerful plain text markup. It has the
advantage of a formal specification and good converters to oo, LaTeX
and xhtml.

Because of the formal specs, it has become more powerful than most wiki
languages as new features are relatively easy to add in a consistent
way.

Again, because of the formal specs it might be easier to add into LyX
than other less well defined markup systems.

Cheers,
Alan





Re: how to put an image

2009-01-30 Thread Anders Host-Madsen
Nikos Alexandris nikos.alexand...@... writes:


 Hi Yego.
 
 Hmm, that's a bit strange to me. I use .eps all the time without any
 problem and hit the pdf button (or export  PDF (pdlatex) ) and never
 experienced conflicts.
 
 Perhaps I don't understand the problem of Yakup very well, but I think
 it's probably a size problem.
 
 Kind regards, Nikos
 
 

Yes, I agree, LyX can handle eps, but you need the imagemagick package.
However, I think the problem here is that the size cannot be determined.
I had that kind of problem before in Latex, and I solved it by setting the
width in Latex, which I believe is equivalent to setting width in lyx.








Re: how to put an image

2009-01-30 Thread Jean-Marc Lasgouttes

Yes, I agree, LyX can handle eps, but you need the imagemagick package.
However, I think the problem here is that the size cannot be determined.
I had that kind of problem before in Latex, and I solved it by setting the
width in Latex, which I believe is equivalent to setting width in lyx.


Check in Document Settings that the graphics driver is set to default 
and not to dvips.


JMarc


Re: how to put an image

2009-01-30 Thread Nikos Alexandris
On Fri, 2009-01-30 at 21:39 +, Anders Host-Madsen wrote:
 Nikos Alexandris nikos.alexand...@... writes:
 
 
  Hi Yego.
  
  Hmm, that's a bit strange to me. I use .eps all the time without any
  problem and hit the pdf button (or export  PDF (pdlatex) ) and never
  experienced conflicts.
  
  Perhaps I don't understand the problem of Yakup very well, but I think
  it's probably a size problem.
  
  Kind regards, Nikos
  
  
 
 Yes, I agree, LyX can handle eps, but you need the imagemagick package.
 However, I think the problem here is that the size cannot be determined.
 I had that kind of problem before in Latex, and I solved it by setting the
 width in Latex, which I believe is equivalent to setting width in lyx.
 

Thanks for the clarification. By the way, are there quality differences
betweem pdf's vs. eps's? I usually export R plots as eps's.

Kind regards, Nikos



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Marcelo Acuña
   A partial answer:
  at the start of each chapter put in ERT
  \setcounter{pagenumber}{0}
 
 Thanks Marcelo. This sounds like one of the ways to
 strongarm the
 page number that Steve mentioned in his reply...
 
 Offhand this looks like a way to thoroughly micromanage
 page numbering.
 
 Yes, you can put any value instead of zero. And you put this command in any 
site.
 I use koma-script style book and I use \frontmatter, \mainmatter and 
\backmatter for change the look of this different part of a book.
 Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Example CVs give error

2009-01-30 Thread Uwe Stöhr

Dave Woodfall schrieb:


I have been using lyx for letters without problem, but now want to write a
CV. The problem is I always get an error when loading the example CVs.

'The layout requested by this file xxx.layout is unusable...'


It depends on the CV class that you want to use. For the modernCV example, you need to install the 
LaTeX-package moderncv, for the example simpleCV, the package simplecv, and for the example 
europeCv, the package europecv.


To install a LaTeX package, use TeXLive's package manager. Afterwards, restart lyX and reconfigure 
it (Tools menu).


regards Uwe


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Guenter Milde
On 2009-01-30, Christian Ridderström wrote:
 On Thu, 29 Jan 2009, A B wrote:


 Add a html/wiki -- LyX converter and we are all done! Heck, with the 
 current LyX format it feels like replacing \section with ==

 Well, in principle, yes. :-)


There are several problems here:

* Which of the many wiki variants do you want to support?

* What about the many many features that have no counterpart in the
  wiki syntax?
  
Actually, if even the LyX-LaTeX-LyX round-trip is not failsave (yet),
so I would not expect any other format conversion to be able to offer
co-operation with non-lyx-users.  


That said, it might be possible to have a Wiki-LyX-Wiki path for
wiki-editing with LyX (but I'd personally prefer a good text editor).

Günter



Re: Hyphenation at end of the page

2009-01-30 Thread jezZiFeR

Hello Marcelo,

thanks a lot! This works – thank you also for the explanations.

Best*
Jess





Am 30.01.2009 um 00:28 schrieb Marcelo Acuña:


Hm, well, I really meant to avoid it for the whole
document…

You mean I could avoid with ERT at the hyphenated line?
Like
\hyphenpenalty1? Doesn´t seem like a
long term solution, especially
for longer documents. Is this going to be revised in a
newer version of
Latex?

Thanks, best*
Jess



If you put
\hyphenpenalty=1
you avoid hyphenation in all lines in the entire document.
If you put a lower number, like 200 or 500, you reduce the number of  
word hyphenated in all lines in the whole documente.

\brokenpenalty is for your case.
Regards


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



 Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/




Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Guenter Milde
On 2009-01-29, Steve Litt wrote:
 On Thursday 29 January 2009 03:00:45 am Abdelrazak Younes wrote:
 Guenter Milde wrote:
  My proposal would be:
 
 LyX is a graphical frontend for LaTeX. ...

 Well, it is not _just_ that IMHO. My proposal:
 LyX is a graphical word processor mainly used with a LateX backend. LyX

 While this is essentially true, the word word processor has certain 
 connotations including easy fingerpainting and amateurish type layout.

This are also the connotations of WYSIWYG (for most LyX users, with one
notable exception) which is why I'd prefer to leave this term out of the
description.

 I've often referred to LyX as a typesetting program, but of course this 
 might intimidate people just beginning to consider LyX.

 is especially suited for structured document writing.

 Yes it is, although creation and modification of styles is an order of 
 magnitude or two harder than with MS Word or WordPerfect.

When considering how best to decribe LyX in the Debian and Ubuntu
repositories, please keep the context (including the heading Document
Processor). This would give the discussion a proper base.

The current description of LyX in Debian and Ubuntu is:

 Document Processor
 
 LyX is an almost WYSIWYG-frontend for LaTeX. It makes the power and
 typesetting quality of LaTeX available for people who are used to word
 processors. Since LyX supports LaTeX's concept of general mark-ups, it
 is even easier and faster to create professional quality documents with
 it than with usual word processors. It is also possible to use LaTeX
 commands within LyX, so nothing of LaTeX's power is lost. 
 

Actually, in this contex I can even live with the WYSIWYG term.

Günter



How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Christian Ridderström

Hi,

I'd like to output todays date in the header with the date formatted as

2009-01-30

How should I do this?

I'm using \today to get the current date.

Best regards,
Christian

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

Re: Export to Open document

2009-01-30 Thread Piero Faustini
Hesham Kamel helta...@... writes:

 
 My system is Windows

I also use windows, XP sp3, Lyx 1.6.1 installed with the alt installer
I've never been able to export (with the menu tools) to a open document, and I 
use Lyx since the 1.5.4 version.
The problem has always been more or less the same of Hesham, but in last 
versions (I can't tell since which one) the document IS created, is more or 
less 7kb (inconsistent with lyx document dimensions) and results empty.

I tried with small new documents, guide documents etc.: no way.

Any idea?






Re: Request for svn test on Windows

2009-01-30 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
 6. is the file.lyx inside LyX window in read-only mode?
 Yes.
 10. is the file.lyx inside LyX window in write mode?
 Yes.
 13. is the file.lyx inside LyX window in read-only mode?
 Yes.
 14. in A: does the following fail?: svn lock file.lyx
 Yes.

 Vincent

beautiful
pavel


how to put an image

2009-01-30 Thread Yakup Ayvaz
Hello,

I have a problem with lyx. 
I inserted an images, which also shows the image correctly in lyx, 
but then I try to export in pdf format I get an error like ... cannot 
determine size of graphic.

Whats the problem here? 
I tried a lot but I could not solve the problem... can somebody help...?


  

SV: Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Ingar Pareliussen
 

 There are several problems here:
 
 * Which of the many wiki variants do you want to support?

Even if there are many wikis, there are many common features.
However, the best aproach may be to include these into a 
layout file.
e.g.:

Style Chapter
wikicommand == 
END
Style Section
wikicommand ===
END
etc

In this way adding wikiengine support would be to make a new layoutfile.
 
 * What about the many many features that have no counterpart in the
   wiki syntax?

I suggest these are dealt with in the same manner that wi deal with 
missing environments when one change document type. Warn and revert to
plain.

However, images might be a problem, I guess...

I think it would be a great addition. My use case is my latest book.

It was co-authored in a wiki (50+ persons), converted to html, imported 
to oo, exported as Latex imported to lyx. Added a lot of text and about 
400 images in Lyx - pdf. Printed. Loved the Lyx part of the work :).

However, now the co-authors want to start edit again in the wiki, and 
create a living book on the web. And I have stated that it is out of
the questin as I can not find the time to convert it to a wiki.

Ingar


Macros in Lyx?

2009-01-30 Thread E. Kaplan
Is there a way to record and play back macros (sequences of 
keystrokes/mouse clicks), as one can do in some editors, like WinEdt?

Thanks,



Re: How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Guenter Milde
On 2009-01-30, Christian Ridderström wrote:

 I'd like to output todays date in the header with the date formatted as

   2009-01-30

 How should I do this?

with the package isodate:

http://dante.ctan.org/CTAN/help/Catalogue/entries/isodate.html

Günter



Re: How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Christian Ridderström

On Fri, 30 Jan 2009, Guenter Milde wrote:


On 2009-01-30, Christian Ridderström wrote:


I'd like to output todays date in the header with the date formatted as



2009-01-30



How should I do this?


with the package isodate:

http://dante.ctan.org/CTAN/help/Catalogue/entries/isodate.html


Thanks, this did the trick in my preamble:

\usepackage{isodate}
\lhead{\isodate\today}

/Christian

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

Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Les Denham
On Thursday 29 January 2009, Christian Ridderström wrote:
  Add a html/wiki -- LyX converter and we are all done! Heck, with the
  current LyX format it feels like replacing \section with ==

 Well, in principle, yes.

One further complication I haven't seen mentioned here is that HTML is 
gradually being replaced by XHTML, where (ideally) the appearance of the 
document is entirely controlled by one or more style sheets.

In principle, I can imagine a LyX layout combined with a LaTeX class 
generating a CSS style sheet, and vice versa.  But I can also envision the 
practical difficulties.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: SV: Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Christian Ridderström

On Fri, 30 Jan 2009, Ingar Pareliussen wrote:


However, images might be a problem, I guess...

I think it would be a great addition. My use case is my latest book.

It was co-authored in a wiki (50+ persons), converted to html, imported 
to oo, exported as Latex imported to lyx. Added a lot of text and about 
400 images in Lyx - pdf. Printed. Loved the Lyx part of the work :).


There is a thing called Wiki Publisher that works with Pmwiki, it goes 
from wiki page to XML to LaTeX to PDF.


http://www.wikipublisher.org/

/Christian


However, now the co-authors want to start edit again in the wiki, and
create a living book on the web. And I have stated that it is out of
the questin as I can not find the time to convert it to a wiki.


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

Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 03:18:09 am Guenter Milde wrote:

 When considering how best to decribe LyX in the Debian and Ubuntu
 repositories, please keep the context (including the heading Document
 Processor). This would give the discussion a proper base.

 The current description of LyX in Debian and Ubuntu is:

  Document Processor

  LyX is an almost WYSIWYG-frontend for LaTeX. It makes the power and
  typesetting quality of LaTeX available for people who are used to word
  processors. Since LyX supports LaTeX's concept of general mark-ups, it
  is even easier and faster to create professional quality documents with
  it than with usual word processors. It is also possible to use LaTeX
  commands within LyX, so nothing of LaTeX's power is lost.


 Actually, in this contex I can even live with the WYSIWYG term.

I agree. The preceding is a pretty darned good description useful for a 
LyX-unfamiliar. Personally, I'd leave it as is.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 03:18:09 am Guenter Milde wrote:
 On 2009-01-29, Steve Litt wrote:
  On Thursday 29 January 2009 03:00:45 am Abdelrazak Younes wrote:
  Guenter Milde wrote:
   My proposal would be:
  
  LyX is a graphical frontend for LaTeX. ...
 
  Well, it is not _just_ that IMHO. My proposal:
  LyX is a graphical word processor mainly used with a LateX backend. LyX
 
  While this is essentially true, the word word processor has certain
  connotations including easy fingerpainting and amateurish type layout.

 This are also the connotations of WYSIWYG (for most LyX users, with one
 notable exception)

Gee, I wonder who that exception might be :-)

As Curly would have said, Hey, I resemble that remark!

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Dave Hewitt
Joe(theWordy)Philbrook jtw...@... writes:
 I'm also hoping I can get the pre-chapter pages to be numbered with a
 different style such as roman numerals...

Definitely use the \frontmatter and \mainmatter separations. Also, to get the
numbering style changes you want, put this in ERT at the start of each of those
sections:

\pagenumbering{roman}

\pagenumbering{arabic}




Re: how to put an image

2009-01-30 Thread Dave Hewitt
Yakup Ayvaz yaka...@... writes:
 I inserted an images, which also shows the image correctly in lyx, 
 but then I try to export in pdf format I get an error
 like ... cannot determine size of graphic.
 
 Whats the problem here? 
 I tried a lot but I could not solve the problem... can somebody help...?

Help us help you.

Provide:
OS, LyX version, image file type, small sample file that shows the problem





Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Joe(theWordy)Philbrook

It would appear that on Jan 25, Steve Litt did say:

 Start the book with \frontmatter, and then where you want page 1 to be,
 use \mainmatter.

Thank You! (I presume these go in ERT boxes???) 

The logic of \frontmatter identifying the part of a book that appears
before the \mainmatter makes me wonder if there is also something like
an \backmatter designation for any parts of a book that may appear
after the last chapter???
 
 There are also ways to strongarm the page number -- I do this a lot in
 the front matter of the book, but NEVER NEVER NEVER in the main matter.

Agreed, if by main matter you mean the part of the book from the
first, through the last chapter, I'd find it disturbing for the page
numbers to be anything but consecutive throughout it. 

Though the unconventional side of my personality would find it
reasonable for some creative work to be presented as a collection of
chapter/books with each chapter numbered separately... But then I'd
hope that each page would be marked with a chapter id as well as a
page number...

But in any normal book I'd be very uncomfortable with inconsistent
page numbering...

-- 
|   ~^~   ~^~
|   *   *  Joe (theWordy) Philbrook
|   ^ J(tWdy)P
| \___/  jtw...@ttlc.net



Re: Macros in Lyx?

2009-01-30 Thread Richard Heck

E. Kaplan wrote:
Is there a way to record and play back macros (sequences of 
keystrokes/mouse clicks), as one can do in some editors, like WinEdt?


Not quite. You can't record them. But you can assign any sequence of 
operations you like to a key.


I think it would be fairly easy to add a recording facility. You could 
request it in bugzilla.


rh



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Joe(theWordy)Philbrook

It would appear that on Jan 29, Marcelo Acu?a did say:

  A partial answer:
 at the start of each chapter put in ERT
 \setcounter{pagenumber}{0}

Thanks Marcelo. This sounds like one of the ways to strongarm the
page number that Steve mentioned in his reply...

Offhand this looks like a way to thoroughly micromanage page numbering.

-- 
|   ^^^   ^^^
|   O   O  Joe (theWordy) Philbrook
|   ^   J(tWdy)P
| \___/  jtw...@ttlc.net

Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 11:40:05 am Joe(theWordy)Philbrook wrote:
 It would appear that on Jan 25, Steve Litt did say:
  Start the book with \frontmatter, and then where you want page 1 to be,
  use \mainmatter.

 Thank You! (I presume these go in ERT boxes???)

Yes. In ERT boxes.


 The logic of \frontmatter identifying the part of a book that appears
 before the \mainmatter makes me wonder if there is also something like
 an \backmatter designation for any parts of a book that may appear
 after the last chapter???

Yes, there's a \backmatter. That's where you put your bibliography and index 
and the like.


  There are also ways to strongarm the page number -- I do this a lot in
  the front matter of the book, but NEVER NEVER NEVER in the main matter.

 Agreed, if by main matter you mean the part of the book from the
 first, through the last chapter, 

Yes, by mainmatter I meant the chapters, and I believe all appendices are 
mainmatter too.

What I do with eBooks is put the cover art on the first page, which is 
numbered 1000 or some such. The next page lists my other books, and its page 
number is auto incremented.

The next page is the title page, and is numbered i via an ERT strongarm, 
although there's no page on it. The next page is the copyright page, numbered 
ii, again with no page number on it. The next page is the dedication, how to 
use this book, and the like, which go on for several consecutively numbered 
pages. Finally, the \mainmatter is executed via ERT, resetting the page 
number to 1 and the number display to Arabic, and chapter 1 begins.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: how to put an image

2009-01-30 Thread Yago

Hello,

If you export the LyX file to pdf with pdflatex, only .pdf, .png, .pdf or 
Metapost output figures will be processed. That's all: pdflatex don't 
support the .eps format in figures. You can use instead dvipdfm to export to 
.pdf your LyX file or convert .eps figures to another format that can read 
pdflatex.
- Original Message - 
From: Yakup Ayvaz yaka...@yahoo.de

To: lyx-users@lists.lyx.org; lyx-users@lists.lyx.org
Sent: Friday, January 30, 2009 10:45 AM
Subject: how to put an image


Hello,

I have a problem with lyx.
I inserted an images, which also shows the image correctly in lyx,
but then I try to export in pdf format I get an error like ... cannot 
determine size of graphic.


Whats the problem here?
I tried a lot but I could not solve the problem... can somebody help...?





__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3798 (20090125) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




Re: how to put an image

2009-01-30 Thread Anders Host-Madsen
Yakup Ayvaz yaka...@... writes:

 I inserted an images, which also shows the image correctly in lyx, 
 but then I try to export in pdf format I get an error like ... cannot 
 determine size of graphic.


I would suggest specifying width and height in the LyX graphics
dialog box. This sounds like the type of Latex error you could get if
you don't set those parameters.











Re: how to put an image

2009-01-30 Thread Nikos Alexandris
On Fri, 2009-01-30 at 18:51 +0100, Yago wrote:
 Hello,
 
 If you export the LyX file to pdf with pdflatex, only .pdf, .png, .pdf
 or 
 Metapost output figures will be processed. That's all: pdflatex don't 
 support the .eps format in figures. You can use instead dvipdfm to
 export to 
 .pdf your LyX file or convert .eps figures to another format that can
 read 
 pdflatex.

Hi Yego.

Hmm, that's a bit strange to me. I use .eps all the time without any
problem and hit the pdf button (or export  PDF (pdlatex) ) and never
experienced conflicts.

Perhaps I don't understand the problem of Yakup very well, but I think
it's probably a size problem.

Kind regards, Nikos



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Typhoon
I have had good experience using reStructuredText as a cooperative
format. It is a fairly powerful plain text markup. It has the
advantage of a formal specification and good converters to oo, LaTeX
and xhtml.

Because of the formal specs, it has become more powerful than most wiki
languages as new features are relatively easy to add in a consistent
way.

Again, because of the formal specs it might be easier to add into LyX
than other less well defined markup systems.

Cheers,
Alan





Re: how to put an image

2009-01-30 Thread Anders Host-Madsen
Nikos Alexandris nikos.alexand...@... writes:


 Hi Yego.
 
 Hmm, that's a bit strange to me. I use .eps all the time without any
 problem and hit the pdf button (or export  PDF (pdlatex) ) and never
 experienced conflicts.
 
 Perhaps I don't understand the problem of Yakup very well, but I think
 it's probably a size problem.
 
 Kind regards, Nikos
 
 

Yes, I agree, LyX can handle eps, but you need the imagemagick package.
However, I think the problem here is that the size cannot be determined.
I had that kind of problem before in Latex, and I solved it by setting the
width in Latex, which I believe is equivalent to setting width in lyx.








Re: how to put an image

2009-01-30 Thread Jean-Marc Lasgouttes

Yes, I agree, LyX can handle eps, but you need the imagemagick package.
However, I think the problem here is that the size cannot be determined.
I had that kind of problem before in Latex, and I solved it by setting the
width in Latex, which I believe is equivalent to setting width in lyx.


Check in Document Settings that the graphics driver is set to default 
and not to dvips.


JMarc


Re: how to put an image

2009-01-30 Thread Nikos Alexandris
On Fri, 2009-01-30 at 21:39 +, Anders Host-Madsen wrote:
 Nikos Alexandris nikos.alexand...@... writes:
 
 
  Hi Yego.
  
  Hmm, that's a bit strange to me. I use .eps all the time without any
  problem and hit the pdf button (or export  PDF (pdlatex) ) and never
  experienced conflicts.
  
  Perhaps I don't understand the problem of Yakup very well, but I think
  it's probably a size problem.
  
  Kind regards, Nikos
  
  
 
 Yes, I agree, LyX can handle eps, but you need the imagemagick package.
 However, I think the problem here is that the size cannot be determined.
 I had that kind of problem before in Latex, and I solved it by setting the
 width in Latex, which I believe is equivalent to setting width in lyx.
 

Thanks for the clarification. By the way, are there quality differences
betweem pdf's vs. eps's? I usually export R plots as eps's.

Kind regards, Nikos



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Marcelo Acuña
   A partial answer:
  at the start of each chapter put in ERT
  \setcounter{pagenumber}{0}
 
 Thanks Marcelo. This sounds like one of the ways to
 strongarm the
 page number that Steve mentioned in his reply...
 
 Offhand this looks like a way to thoroughly micromanage
 page numbering.
 
 Yes, you can put any value instead of zero. And you put this command in any 
site.
 I use koma-script style book and I use \frontmatter, \mainmatter and 
\backmatter for change the look of this different part of a book.
 Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Example CVs give error

2009-01-30 Thread Uwe Stöhr

Dave Woodfall schrieb:


I have been using lyx for letters without problem, but now want to write a
CV. The problem is I always get an error when loading the example CVs.

'The layout requested by this file xxx.layout is unusable...'


It depends on the CV class that you want to use. For the modernCV example, you need to install the 
LaTeX-package moderncv, for the example simpleCV, the package simplecv, and for the example 
europeCv, the package europecv.


To install a LaTeX package, use TeXLive's package manager. Afterwards, restart lyX and reconfigure 
it (Tools menu).


regards Uwe


Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Guenter Milde
On 2009-01-30, Christian Ridderström wrote:
> On Thu, 29 Jan 2009, A B wrote:


>> Add a html/wiki <--> LyX converter and we are all done! Heck, with the 
>> current LyX format it feels like replacing \section with ==

> Well, in principle, yes. :-)


There are several problems here:

* Which of the many wiki variants do you want to support?

* What about the many many features that have no counterpart in the
  wiki syntax?
  
Actually, if even the LyX->LaTeX->LyX round-trip is not failsave (yet),
so I would not expect any other format conversion to be able to offer
co-operation with non-lyx-users.  


That said, it might be possible to have a Wiki->LyX->Wiki path for
wiki-editing with LyX (but I'd personally prefer a good text editor).

Günter



Re: Hyphenation at end of the page

2009-01-30 Thread jezZiFeR

Hello Marcelo,

thanks a lot! This works – thank you also for the explanations.

Best*
Jess





Am 30.01.2009 um 00:28 schrieb Marcelo Acuña:


Hm, well, I really meant to avoid it for the whole
document…

You mean I could avoid with ERT at the hyphenated line?
Like
"\hyphenpenalty1"? Doesn´t seem like a
long term solution, especially
for longer documents. Is this going to be revised in a
newer version of
Latex?

Thanks, best*
Jess



If you put
\hyphenpenalty=1
you avoid hyphenation in all lines in the entire document.
If you put a lower number, like 200 or 500, you reduce the number of  
word hyphenated in all lines in the whole documente.

\brokenpenalty is for your case.
Regards


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



 Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/




Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Guenter Milde
On 2009-01-29, Steve Litt wrote:
> On Thursday 29 January 2009 03:00:45 am Abdelrazak Younes wrote:
>> Guenter Milde wrote:
>> > My proposal would be:
>> >
>> >LyX is a graphical frontend for LaTeX. ...

>> Well, it is not _just_ that IMHO. My proposal:
>> "LyX is a graphical word processor mainly used with a LateX backend. LyX

> While this is essentially true, the word "word processor" has certain 
> connotations including easy fingerpainting and amateurish type layout.

This are also the connotations of "WYSIWYG" (for most LyX users, with one
notable exception) which is why I'd prefer to leave this term out of the
description.

> I've often referred to LyX as a "typesetting program", but of course this 
> might intimidate people just beginning to consider LyX.

>> is especially suited for structured document writing."

> Yes it is, although creation and modification of styles is an order of 
> magnitude or two harder than with MS Word or WordPerfect.

When considering how best to decribe LyX in the Debian and Ubuntu
repositories, please keep the context (including the heading "Document
Processor"). This would give the discussion a proper base.

The current description of LyX in Debian and Ubuntu is:

 Document Processor
 
 LyX is an almost WYSIWYG-frontend for LaTeX. It makes the power and
 typesetting quality of LaTeX available for people who are used to word
 processors. Since LyX supports LaTeX's concept of general mark-ups, it
 is even easier and faster to create professional quality documents with
 it than with usual word processors. It is also possible to use LaTeX
 commands within LyX, so nothing of LaTeX's power is lost. 
 

Actually, in this contex I can even live with the WYSIWYG term.

Günter



How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Christian Ridderström

Hi,

I'd like to output todays date in the header with the date formatted as

2009-01-30

How should I do this?

I'm using \today to get the current date.

Best regards,
Christian

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

Re: Export to Open document

2009-01-30 Thread Piero Faustini
Hesham Kamel  writes:

> 
> My system is Windows

I also use windows, XP sp3, Lyx 1.6.1 installed with the alt installer
I've never been able to export (with the menu tools) to a open document, and I 
use Lyx since the 1.5.4 version.
The problem has always been more or less the same of Hesham, but in last 
versions (I can't tell since which one) the document IS created, is more or 
less 7kb (inconsistent with lyx document dimensions) and results empty.

I tried with small new documents, guide documents etc.: no way.

Any idea?






Re: Request for svn test on Windows

2009-01-30 Thread Pavel Sanda
Vincent van Ravesteijn wrote:
>> 6. is the file.lyx inside LyX window in read-only mode?
> Yes.
>> 10. is the file.lyx inside LyX window in write mode?
> Yes.
>> 13. is the file.lyx inside LyX window in read-only mode?
> Yes.
>> 14. in A: does the following fail?: svn lock file.lyx
> Yes.
>
> Vincent

beautiful
pavel


how to put an image

2009-01-30 Thread Yakup Ayvaz
Hello,

I have a problem with lyx. 
I inserted an images, which also shows the image correctly in lyx, 
but then I try to export in pdf format I get an error like "... cannot 
determine size of graphic".

Whats the problem here? 
I tried a lot but I could not solve the problem... can somebody help...?


  

SV: Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Ingar Pareliussen
 

> There are several problems here:
> 
> * Which of the many wiki variants do you want to support?

Even if there are many wikis, there are many common features.
However, the best aproach may be to include these into a 
layout file.
e.g.:

Style Chapter
wikicommand "==" 
END
Style Section
wikicommand "==="
END
etc

In this way adding wikiengine support would be to make a new layoutfile.
 
> * What about the many many features that have no counterpart in the
>   wiki syntax?

I suggest these are dealt with in the same manner that wi deal with 
missing environments when one change document type. Warn and revert to
plain.

However, images might be a problem, I guess...

I think it would be a great addition. My use case is my latest book.

It was co-authored in a wiki (50+ persons), converted to html, imported 
to oo, exported as Latex imported to lyx. Added a lot of text and about 
400 images in Lyx -> pdf. Printed. Loved the Lyx part of the work :).

However, now the co-authors want to start edit again in the wiki, and 
create a living book on the web. And I have stated that it is out of
the questin as I can not find the time to convert it to a wiki.

Ingar


Macros in Lyx?

2009-01-30 Thread E. Kaplan
Is there a way to record and play back macros (sequences of 
keystrokes/mouse clicks), as one can do in some editors, like WinEdt?

Thanks,



Re: How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Guenter Milde
On 2009-01-30, Christian Ridderström wrote:

> I'd like to output todays date in the header with the date formatted as

>   2009-01-30

> How should I do this?

with the package "isodate":

http://dante.ctan.org/CTAN/help/Catalogue/entries/isodate.html

Günter



Re: How do I get todays date output as e.g. 2009-01-30?

2009-01-30 Thread Christian Ridderström

On Fri, 30 Jan 2009, Guenter Milde wrote:


On 2009-01-30, Christian Ridderström wrote:


I'd like to output todays date in the header with the date formatted as



2009-01-30



How should I do this?


with the package "isodate":

http://dante.ctan.org/CTAN/help/Catalogue/entries/isodate.html


Thanks, this did the trick in my preamble:

\usepackage{isodate}
\lhead{\isodate\today}

/Christian

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

Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Les Denham
On Thursday 29 January 2009, Christian Ridderström wrote:
> > Add a html/wiki <--> LyX converter and we are all done! Heck, with the
> > current LyX format it feels like replacing \section with ==
>
> Well, in principle, yes.

One further complication I haven't seen mentioned here is that HTML is 
gradually being replaced by XHTML, where (ideally) the appearance of the 
document is entirely controlled by one or more style sheets.

In principle, I can imagine a LyX layout combined with a LaTeX class 
generating a CSS style sheet, and vice versa.  But I can also envision the 
practical difficulties.

-- 
Les

~~
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


Re: SV: Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Christian Ridderström

On Fri, 30 Jan 2009, Ingar Pareliussen wrote:


However, images might be a problem, I guess...

I think it would be a great addition. My use case is my latest book.

It was co-authored in a wiki (50+ persons), converted to html, imported 
to oo, exported as Latex imported to lyx. Added a lot of text and about 
400 images in Lyx -> pdf. Printed. Loved the Lyx part of the work :).


There is a thing called Wiki Publisher that works with Pmwiki, it goes 
from wiki page to XML to LaTeX to PDF.


http://www.wikipublisher.org/

/Christian


However, now the co-authors want to start edit again in the wiki, and
create a living book on the web. And I have stated that it is out of
the questin as I can not find the time to convert it to a wiki.


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

Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 03:18:09 am Guenter Milde wrote:

> When considering how best to decribe LyX in the Debian and Ubuntu
> repositories, please keep the context (including the heading "Document
> Processor"). This would give the discussion a proper base.
>
> The current description of LyX in Debian and Ubuntu is:
>
>  Document Processor
>
>  LyX is an almost WYSIWYG-frontend for LaTeX. It makes the power and
>  typesetting quality of LaTeX available for people who are used to word
>  processors. Since LyX supports LaTeX's concept of general mark-ups, it
>  is even easier and faster to create professional quality documents with
>  it than with usual word processors. It is also possible to use LaTeX
>  commands within LyX, so nothing of LaTeX's power is lost.
>
>
> Actually, in this contex I can even live with the WYSIWYG term.

I agree. The preceding is a pretty darned good description useful for a 
LyX-unfamiliar. Personally, I'd leave it as is.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: LyX is an almost WYSIWYG-frontend for LaTeX (?)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 03:18:09 am Guenter Milde wrote:
> On 2009-01-29, Steve Litt wrote:
> > On Thursday 29 January 2009 03:00:45 am Abdelrazak Younes wrote:
> >> Guenter Milde wrote:
> >> > My proposal would be:
> >> >
> >> >LyX is a graphical frontend for LaTeX. ...
> >>
> >> Well, it is not _just_ that IMHO. My proposal:
> >> "LyX is a graphical word processor mainly used with a LateX backend. LyX
> >
> > While this is essentially true, the word "word processor" has certain
> > connotations including easy fingerpainting and amateurish type layout.
>
> This are also the connotations of "WYSIWYG" (for most LyX users, with one
> notable exception)

Gee, I wonder who that exception might be :-)

As Curly would have said, "Hey, I resemble that remark!"

SteveT

Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Dave Hewitt
Joe(theWordy)Philbrook  writes:
> I'm also hoping I can get the pre-chapter pages to be numbered with a
> different style such as roman numerals...

Definitely use the \frontmatter and \mainmatter separations. Also, to get the
numbering style changes you want, put this in ERT at the start of each of those
sections:

\pagenumbering{roman}

\pagenumbering{arabic}




Re: how to put an image

2009-01-30 Thread Dave Hewitt
Yakup Ayvaz  writes:
> I inserted an images, which also shows the image correctly in lyx, 
> but then I try to export in pdf format I get an error
> like "... cannot determine size of graphic".
> 
> Whats the problem here? 
> I tried a lot but I could not solve the problem... can somebody help...?

Help us help you.

Provide:
OS, LyX version, image file type, small sample file that shows the problem





Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Joe(theWordy)Philbrook

It would appear that on Jan 25, Steve Litt did say:

> Start the book with \frontmatter, and then where you want page 1 to be,
> use \mainmatter.

Thank You! (I presume these go in ERT boxes???) 

The logic of \frontmatter identifying the part of a book that appears
before the \mainmatter makes me wonder if there is also something like
an \backmatter designation for any parts of a book that may appear
after the last chapter???
 
> There are also ways to strongarm the page number -- I do this a lot in
> the front matter of the book, but NEVER NEVER NEVER in the main matter.

Agreed, if by main matter you mean the part of the "book" from the
first, through the last chapter, I'd find it disturbing for the page
numbers to be anything but consecutive throughout it. 

Though the unconventional side of my personality would find it
reasonable for some creative work to be presented as a collection of
chapter/books with each chapter numbered separately... But then I'd
hope that each page would be marked with a chapter id as well as a
page number...

But in any normal book I'd be very uncomfortable with inconsistent
page numbering...

-- 
|   ~^~   ~^~
|   <*>   <*>  Joe (theWordy) Philbrook
|   ^ J(tWdy)P
| \___/  <>



Re: Macros in Lyx?

2009-01-30 Thread Richard Heck

E. Kaplan wrote:
Is there a way to record and play back macros (sequences of 
keystrokes/mouse clicks), as one can do in some editors, like WinEdt?


Not quite. You can't record them. But you can assign any sequence of 
operations you like to a key.


I think it would be fairly easy to add a recording facility. You could 
request it in bugzilla.


rh



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Joe(theWordy)Philbrook

It would appear that on Jan 29, Marcelo Acu?a did say:

>  A partial answer:
> at the start of each chapter put in ERT
> \setcounter{pagenumber}{0}

Thanks Marcelo. This sounds like one of the "ways to strongarm the
page number" that Steve mentioned in his reply...

Offhand this looks like a way to thoroughly micromanage page numbering.

-- 
|   ^^^   ^^^
|Joe (theWordy) Philbrook
|   ^   J(tWdy)P
| \___/  <>

Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Steve Litt
On Friday 30 January 2009 11:40:05 am Joe(theWordy)Philbrook wrote:
> It would appear that on Jan 25, Steve Litt did say:
> > Start the book with \frontmatter, and then where you want page 1 to be,
> > use \mainmatter.
>
> Thank You! (I presume these go in ERT boxes???)

Yes. In ERT boxes.

>
> The logic of \frontmatter identifying the part of a book that appears
> before the \mainmatter makes me wonder if there is also something like
> an \backmatter designation for any parts of a book that may appear
> after the last chapter???

Yes, there's a \backmatter. That's where you put your bibliography and index 
and the like.

>
> > There are also ways to strongarm the page number -- I do this a lot in
> > the front matter of the book, but NEVER NEVER NEVER in the main matter.
>
> Agreed, if by main matter you mean the part of the "book" from the
> first, through the last chapter, 

Yes, by mainmatter I meant the chapters, and I believe all appendices are 
mainmatter too.

What I do with eBooks is put the cover art on the first page, which is 
numbered 1000 or some such. The next page lists my other books, and its page 
number is auto incremented.

The next page is the title page, and is numbered i via an ERT strongarm, 
although there's no page on it. The next page is the copyright page, numbered 
ii, again with no page number on it. The next page is the dedication, how to 
use this book, and the like, which go on for several consecutively numbered 
pages. Finally, the \mainmatter is executed via ERT, resetting the page 
number to 1 and the number display to Arabic, and chapter 1 begins.

SteveT
 
Steve Litt
Recession Relief Package
http://www.recession-relief.US



Re: how to put an image

2009-01-30 Thread Yago

Hello,

If you export the LyX file to pdf with pdflatex, only .pdf, .png, .pdf or 
Metapost output figures will be processed. That's all: pdflatex don't 
support the .eps format in figures. You can use instead dvipdfm to export to 
.pdf your LyX file or convert .eps figures to another format that can read 
pdflatex.
- Original Message - 
From: "Yakup Ayvaz" 

To: ; 
Sent: Friday, January 30, 2009 10:45 AM
Subject: how to put an image


Hello,

I have a problem with lyx.
I inserted an images, which also shows the image correctly in lyx,
but then I try to export in pdf format I get an error like "... cannot 
determine size of graphic".


Whats the problem here?
I tried a lot but I could not solve the problem... can somebody help...?





__ Information from ESET NOD32 Antivirus, version of virus signature 
database 3798 (20090125) __


The message was checked by ESET NOD32 Antivirus.

http://www.eset.com




Re: how to put an image

2009-01-30 Thread Anders Host-Madsen
Yakup Ayvaz  writes:

> I inserted an images, which also shows the image correctly in lyx, 
> but then I try to export in pdf format I get an error like "... cannot 
> determine size of graphic".


I would suggest specifying width and height in the LyX graphics
dialog box. This sounds like the type of Latex error you could get if
you don't set those parameters.











Re: how to put an image

2009-01-30 Thread Nikos Alexandris
On Fri, 2009-01-30 at 18:51 +0100, Yago wrote:
> Hello,
> 
> If you export the LyX file to pdf with pdflatex, only .pdf, .png, .pdf
> or 
> Metapost output figures will be processed. That's all: pdflatex don't 
> support the .eps format in figures. You can use instead dvipdfm to
> export to 
> .pdf your LyX file or convert .eps figures to another format that can
> read 
> pdflatex.

Hi Yego.

Hmm, that's a bit strange to me. I use .eps all the time without any
problem and "hit" the pdf button (or export > PDF (pdlatex) ) and never
experienced conflicts.

Perhaps I don't understand the problem of Yakup very well, but I think
it's probably a size problem.

Kind regards, Nikos



Re: Strategies for Writing Co-operation with Non-LyX Users?

2009-01-30 Thread Typhoon
I have had good experience using reStructuredText as a cooperative
format. It is a fairly powerful "plain text" markup. It has the
advantage of a formal specification and good converters to oo, LaTeX
and xhtml.

Because of the formal specs, it has become more powerful than most wiki
languages as new features are relatively easy to add in a consistent
way.

Again, because of the formal specs it might be easier to add into LyX
than other less well defined markup systems.

Cheers,
Alan





Re: how to put an image

2009-01-30 Thread Anders Host-Madsen
Nikos Alexandris  writes:


> Hi Yego.
> 
> Hmm, that's a bit strange to me. I use .eps all the time without any
> problem and "hit" the pdf button (or export > PDF (pdlatex) ) and never
> experienced conflicts.
> 
> Perhaps I don't understand the problem of Yakup very well, but I think
> it's probably a size problem.
> 
> Kind regards, Nikos
> 
> 

Yes, I agree, LyX can handle eps, but you need the imagemagick package.
However, I think the problem here is that the size cannot be determined.
I had that kind of problem before in Latex, and I solved it by setting the
width in Latex, which I believe is equivalent to setting width in lyx.








Re: how to put an image

2009-01-30 Thread Jean-Marc Lasgouttes

Yes, I agree, LyX can handle eps, but you need the imagemagick package.
However, I think the problem here is that the size cannot be determined.
I had that kind of problem before in Latex, and I solved it by setting the
width in Latex, which I believe is equivalent to setting width in lyx.


Check in Document Settings that the graphics driver is set to "default" 
and not to "dvips".


JMarc


Re: how to put an image

2009-01-30 Thread Nikos Alexandris
On Fri, 2009-01-30 at 21:39 +, Anders Host-Madsen wrote:
> Nikos Alexandris  writes:
> 
> 
> > Hi Yego.
> > 
> > Hmm, that's a bit strange to me. I use .eps all the time without any
> > problem and "hit" the pdf button (or export > PDF (pdlatex) ) and never
> > experienced conflicts.
> > 
> > Perhaps I don't understand the problem of Yakup very well, but I think
> > it's probably a size problem.
> > 
> > Kind regards, Nikos
> > 
> > 
> 
> Yes, I agree, LyX can handle eps, but you need the imagemagick package.
> However, I think the problem here is that the size cannot be determined.
> I had that kind of problem before in Latex, and I solved it by setting the
> width in Latex, which I believe is equivalent to setting width in lyx.
> 

Thanks for the clarification. By the way, are there quality differences
betweem pdf's vs. eps's? I usually export R plots as eps's.

Kind regards, Nikos



Re: some questions on page numbering (pages BEFORE chapter 1)

2009-01-30 Thread Marcelo Acuña
> >  A partial answer:
> > at the start of each chapter put in ERT
> > \setcounter{pagenumber}{0}
> 
> Thanks Marcelo. This sounds like one of the "ways to
> strongarm the
> page number" that Steve mentioned in his reply...
> 
> Offhand this looks like a way to thoroughly micromanage
> page numbering.
> 
 Yes, you can put any value instead of zero. And you put this command in any 
site.
 I use koma-script style book and I use \frontmatter, \mainmatter and 
\backmatter for change the look of this different part of a book.
 Marcelo


  Yahoo! Cocina
Recetas prácticas y comida saludable
http://ar.mujer.yahoo.com/cocina/


Re: Example CVs give error

2009-01-30 Thread Uwe Stöhr

Dave Woodfall schrieb:


I have been using lyx for letters without problem, but now want to write a
CV. The problem is I always get an error when loading the example CVs.

'The layout requested by this file xxx.layout is unusable...'


It depends on the CV class that you want to use. For the modernCV example, you need to install the 
LaTeX-package "moderncv", for the example simpleCV, the package "simplecv", and for the example 
"europeCv", the package "europecv".


To install a LaTeX package, use TeXLive's package manager. Afterwards, restart lyX and reconfigure 
it (Tools menu).


regards Uwe