Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Abdelrazak Younes
Gunnar Lindholm wrote: I know that this has 'been done' but I'm not sure how to go about it myself. I would like to link to an external source code file and 'pull it in' to my compiled document when I use pdflatex. I would like to apply source code highlighting, although that's not essential (the

Re: LNCS class question

2007-03-29 Thread Jean-Marc Lasgouttes
> "Myriam" == Myriam Abramson <[EMAIL PROTECTED]> writes: Myriam> Hello, Myriam> I am using the Article(LNCS) document class. I got a comment Myriam> that the fonts were not correct in the pdf. I looked at the Myriam> document properties and saw some type3 fonts there in addition Myriam> to t

Problem with LyXWinInstaller144-2-12

2007-03-29 Thread Nicolás
Hi! I have tried to install LyX 1.4.4 with the LyXWinInstaller (both small and complete versions). The installation process seems ok. However, when I try to run LyX I get the following error message: "This application has failed to start because the application configuration is incorrect" I

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> Could you consider putting this in the Wiki? Of course! Christian, since you seem to be the wiki-wizard, where (and how, what format) should I put it? I will most likely add more stuff to my document in the future. Gunnar. On Thursday 29 March 2007 10:39, Abdelrazak Younes wrote: > Gunnar Li

Re: Newbie question: export to tex

2007-03-29 Thread Ares
From: "N.W. England" <[EMAIL PROTECTED]> I am trying to export a lyx file to latex, and it seems impossible. just some stupid questions: which directory are you in? are you on MS Windows and do you have administrator privileges? do you have the rights to write on the folder you're in? are you us

Creating a new wiki page (Was: Embedding highlighed external source code files in a LyX document)

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Gunnar Lindholm wrote: Christian, since you seem to be the wiki-wizard, where (and how, what format) should I put it? I will most likely add more stuff to my document in the future. The most difficult question regarding the wiki is where to put it... Having said that, if

Wiki: A template is now used when creating pages

2007-03-29 Thread christian . ridderstrom
FYI, I added a first "template" which is used when you create new pages on the wiki. The template is defined by the page http://wiki.lyx.org/Site/Template So now when you create a page, the edit form will already contain some text. If you have thoughts on this, please let me know. /Ch

Re: Creating a new wiki page (Was: Embedding highlighed external source code files in a LyX document)

2007-03-29 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: Finally, just add the text of the page. To begin with, you can just copy the text of the original web page and paste it. Then you format it appropriately. Some tips: Hum, looking at the syntax I think it should be quite easy to modify the 'Plain Text' export of LyX s

Re: Creating a new wiki page (Was: Embedding highlighed external source code files in a LyX document)

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Finally, just add the text of the page. To begin with, you can just copy the text of the original web page and paste it. Then you format it appropriately. Some tips: Hum, looking at the syntax I think it should be quit

Re: Creating a new wiki page (Was: Embedding highlighed external source code files in a LyX document)

2007-03-29 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Thu, 29 Mar 2007, Abdelrazak Younes wrote: [EMAIL PROTECTED] wrote: Finally, just add the text of the page. To begin with, you can just copy the text of the original web page and paste it. Then you format it appropriately. Some tips: Hum, looking at the synta

Re: Itemized list inside definition environment

2007-03-29 Thread Nicolás
Thanks Paul! Paul A. Rubin wrote: Nicolás wrote: Hi! When I want to have an itemized-list inside a definition, I write the definition's text with standard and itemize styles and surround all of it with two tex-boxes: \begin{definition}...\end{definition} I wonder whether there is another w

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> Could you consider putting this in the Wiki? I answer again. Yes, I can consider it, and I've realized it's not easy enough to do it so I abandon that idea. Here is the working Wiki code if someone knows how to do it. -

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Roland Schmitz
Gunnar Lindholm schrieb: > http://www.taljaren.se/MinLyXTutorial.html > (same as pdf) http://www.taljaren.se/MinLyXTutorial.pdf This is great, do you know how to do on Windows? I did everything as you described (with Perl insted of C++), but if i want to see a dvi preview i get folowing error: LaT

Re: Creating a new wiki page (Was: Embedding highlighed external source code files in a LyX document)

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Abdelrazak Younes wrote: > Hum, looking at the syntax I think it should be quite easy to modify the > 'Plain Text' export of LyX so that it supports the wiki syntax. Where is this code located? Look at InsetBase::plaintext() and all its derivative. You have two option

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> This is great, do you know how to do on Windows? Unfortunatly not. I have not tried this on windows, yet. But the hightlight program works fine? > I did everything as you described (with Perl insted of C++), but if i > want to see a dvi preview i get folowing error: > LaTex Error: File './0d__d

Re: Creating a new wiki page (Was: Embedding highlighed external source code files in a LyX document)

2007-03-29 Thread Abdelrazak Younes
[EMAIL PROTECTED] wrote: On Thu, 29 Mar 2007, Abdelrazak Younes wrote: Even though the syntax is simple, I for one hate to re-read the documentation each time I want to add something. Other format like ReSt might be of interest for python developers... Hmm... not sure I understand. Do you m

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Gunnar Lindholm wrote: Could you consider putting this in the Wiki? I answer again. Yes, I can consider it, and I've realized it's not easy enough to do it so I abandon that idea. Here is the working Wiki code if someone knows how to do it. We must have a serious conf

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> We must have a serious confusion here... Let's just ignore the past confusion and be happy that it works. Well done (both of us)! Gunnar.

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Abdelrazak Younes
Gunnar Lindholm wrote: Could you consider putting this in the Wiki? I answer again. Yes, I can consider it, and I've realized it's not easy enough to do it so I abandon that idea. I understand the feeling... Christian, maybe you could try to integrated one of the converter described here:

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Gunnar Lindholm wrote: Here is the working Wiki code if someone knows how to do it. I've modified the "error" message that shows up if you try to save changes to a page that does not have a category. Could you check out this link and tell me if you think the message is c

[WIN] Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Roland Schmitz
I modifierd the subject, because i think tracing will be easyer. Gunnar Lindholm schrieb: > But the hightlight program works fine? Yes >> I did everything as you described (with Perl insted of C++), but if i >> want to see a dvi preview i get folowing error: >> LaTex Error: File './0d__daten_prog

Re: [WIN] Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
LyX version 1.4.4 ? I've only tried it with 1.4.* versions. > > If it says z1 in your file, change to z0. I had similar problems until I > > changed it to z0. > > Does that help? > > Noop, nothing changes. Since it's windows, restart? ;-) Then I'm almost out of ideas. I really thought it could be

Re: [WIN] Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Roland Schmitz
Gunnar Lindholm schrieb: > LyX version 1.4.4 ? I've only tried it with 1.4.* versions. I use 1.4.3-4 >> Noop, nothing changes. > Since it's windows, restart? ;-) Not jet, i just restarted Lyx a view times > Then I'm almost out of ideas. I really thought it could be the z1 problem. > It sounds lik

Re: [WIN] Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> Form me the path looks strange "LaTex Error: File > './0d__daten_prog_perl_myscript.tex' not found" > First the leading dot, than "/0" ... > > But i just noticed, the file myscript.pl is not converted to > myscript.tex if i want to view a preview. When i start reading your > how-to, i converted i

Send the *section content in the running headers

2007-03-29 Thread Jean-Pierre Chretien
Hello, I know how to send the contents of the starred sectioning commands in the table of contents, but is there a magic to do the same in the running headers ? -- Jean-Pierre

Re: [WIN] Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Roland Schmitz
Gunnar Lindholm schrieb: > Just to be sure, check all the highlight commands that you entered into the > LyX preferences. > It really sounds like a problem with the temporary copies. For the converters, both plain and pdflatex, i enterd: "c:\programme\highlight\highlight.exe -A -L -t 4 -I -S pl -f

Question on Installing Font

2007-03-29 Thread Ralph
Hello All: I've been trying to install font package bbding on LyX 1.4.4 running under Windows XP. Here's what I've done: 1) I made sure the package was already installed in MikTex. It was already installed, so I didn't have to do anything there. 2) In Documents\Settings I inserted the line \

Conversion Lyx 1.3.7 documments to 1.5 beta

2007-03-29 Thread gumm
Hi, trying to read documents which I created with Lyx 1.3.7, I am get the following error messages Does anyone know, what is wrong ? Greetings, H.Peter --- Warning: Removing nested encoding iso8859-1. Warning: An error ocurred in 249, Traceback (most recent

Re: Conversion Lyx 1.3.7 documments to 1.5 beta

2007-03-29 Thread Georg Baum
[EMAIL PROTECTED] wrote: > Hi, > > trying to read documents which I created with Lyx 1.3.7, I am get the > following error messages > Does anyone know, what is wrong ? This is probably a lyx2lyx bug, but it might also be a faulty document. Can you reduce the document to a small test case that

Re: [WIN] Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> Yes, Windows reboot. But nothing changed. Then I give up (temporarily). Someone else that can try this?

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread John Pye
Gunnar Lindholm wrote: >> I know that this has 'been done' but I'm not sure how to go about it >> myself. I would like to link to an external source code file and 'pull >> it in' to my compiled document when I use pdflatex. I would like to >> apply source code highlighting, although that's not esse

Re: Creating a new wiki page (Was: Embedding highlighed external source code files in a LyX document)

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Abdelrazak Younes wrote: Hmm... not sure I understand. Do you mean you'd maintain a master document in LyX, that you then export to PmWiki after you've made changes? (If so, then any changes made to the wiki page will have been lost of course) I was thinking more abo

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread John Pye
Hi Daniel Where and how do I get this 'listings' package? I looked on the LyX homepage and on the Wiki but couldn't find it. The 'highlight' approach from Gunnar Lindholm is quite separate though, right -- no connection at all? Cheers JP Daniel Lohmann wrote: > John Pye wrote: > >> Hi all >>

Uploading files (Was: Embedding highlighed external source code..)

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Gunnar Lindholm wrote: We must have a serious confusion here... Let's just ignore the past confusion and be happy that it works. Well done (both of us)! Patting ourselves on the back! :-) On the more serious side, let me know if you need help uploading the actual examp

Converting HTML to PmWiki (Was: Embedding highlighed external source

2007-03-29 Thread christian . ridderstrom
On Thu, 29 Mar 2007, Abdelrazak Younes wrote: Christian, maybe you could try to integrated one of the converter described here: http://www.pmwiki.org/wiki/Cookbook/ConvertHTML Hmm... that one doesn't feel so good (not sure my Perl skills or permission privileges are up to it) You can use

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Robert Orr
I tried it but also got stopped with errors as below. It looks like the highlighter is not running to generate the .tex. ...nput{.\0C__LyXDocs_Temp_graceful_prog.tex} } The control sequence at the end of the top line of your error message was ne

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> I tried it but also got stopped with errors as below. > It looks like the highlighter is not running to > generate the .tex. > > ...nput{.\0C__LyXDocs_Temp_graceful_prog.tex} >} > The control sequence at the end of the top line > of your error

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Robert Orr
I tried your suggestion but it did not help. I then tried to simply import the .tex that was generated by highlight into and ERT box. I invoked the highlight program from the command line and generated the .tex and then I put it in an ERT. Then I tried to view pdfLaTeX and got the same error

Re: Question on Installing Font

2007-03-29 Thread Paul A. Rubin
Ralph wrote: Hello All: I've been trying to install font package bbding on LyX 1.4.4 running under Windows XP. Here's what I've done: 1) I made sure the package was already installed in MikTex. It was already installed, so I didn't have to do anything there. 2) In Documents\Settings I in

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> When I try to import this code below and then run > pdfLaTeX it causes an error. I had to remove the > last line to make it generate correctly. What was the error message? Make sure that all commands that it uses are available in the preamble. If you skip the -f parameter when calling highligh

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Robert Orr
I changed the converter so that it output to foobar.tex. Here is a copy of the .tex it generated. This I can not import into LyX and make it compile with pdfLaTeX. --- Gunnar Lindholm <[EMAIL PROTECTED]> wrote: > > When I try to import this code below and then run > > pdfLaTeX it causes an erro

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> I changed the converter so that it output to > foobar.tex. > Here is a copy of the .tex it generated. This I can > not import into LyX and make it compile with pdfLaTeX. Could you also remove the -f switch from the converters (just temporarily) and send me the code that is produced? And a lyx

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Daniel Lohmann
John Pye schrieb: Hi Daniel Where and how do I get this 'listings' package? I looked on the LyX homepage and on the Wiki but couldn't find it. Well, it is not related to LyX, but a LaTeX package which you have to install for your LaTeX distribution. With MikTex on Windows this should be jus

Re: Question on Installing Font

2007-03-29 Thread Ralph
Paul A. Rubin <[EMAIL PROTECTED]> writes: > > Ralph wrote: > > Hello All: > > > > I've been trying to install font package bbding on LyX 1.4.4 running under > > Windows XP. > > > > Here's what I've done: > > > > 1) I made sure the package was already installed in MikTex. It was already > >

Changing the Numbering Scheme

2007-03-29 Thread Ran Rutenberg
Dear Users, I would like to write a document in which the first level of a numbered list uses the abc letters instead of "normal" numbers and the second level will be numbered with 1, 2, 3...: a. bla bla bla b. bla bla bla c. bla bla 1. bla bla bla 2. bla bla bla d. bla bla bla How can

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread John Pye
Do both of these approaches work OK with producing sane-looking HTML as well as PDFs? Are then any examples of output from your 'highlight' approach, Gunnar? Cheers JP Gunnar Lindholm wrote: >> I know that this has 'been done' but I'm not sure how to go about it >> myself. I would like to link t

Re: Question on Installing Font

2007-03-29 Thread Paul A. Rubin
Ralph wrote: I tried exactly what you said and here's what I get on the GUI x = textrmN On DVI I get the same thing. Does this make any sense? Ralph ran into posting problems and had to contact me off-list. Just for closure, he didn't know he needed to hit a space after \textrm before e

Re: Changing the Numbering Scheme

2007-03-29 Thread Paul A. Rubin
Ran Rutenberg wrote: I would like to write a document in which the first level of a numbered list uses the abc letters instead of "normal" numbers and the second level will be numbered with 1, 2, 3...: a. bla bla bla b. bla bla bla c. bla bla 1. bla bla bla 2. bla bla bla d. bla bla bl

question about math commands in LyX1.5

2007-03-29 Thread Brian Kidd
I am trying out the beta version of 1.5 for a Mac Intel machine and it seems that the opt-m g *, where * is a lowercase character, command is disabled. this command previously created the greek letter that corresponds to the lowercase letter and automatically enters the math mode. Is there

Re: Embedding highlighed external source code files in a LyX document

2007-03-29 Thread Gunnar Lindholm
> Do both of these approaches work OK with producing sane-looking HTML as > well as PDFs? I have not experimented with HTML export with highlight, but I think it should be possible to add a converter to make highlight produce html output. > Are then any examples of output from your 'highlight' ap