Gunnar -
Right on! Perfect.
thank you for the help. It is really appreciated.
I have wanted to have this capability for the longest
time. I have used the listing package but I always
felt that it was difficult. Often I needed to dig
out the documentation to find out how to do this or
tha
Robert, You should remove the -r switch in the converter!
To all that uses this.
If you get into problem with undefined sequences and you see the command "\dq"
in the error report. Try remove the -r switch in the converter.
HTH
Gunnar.
> 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:
> LaTex Error: File './0d__daten_prog_perl_myscript.tex' not found
>
> ...d__daten_prog_perl_myscript.tex}
>
> 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
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
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
> 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
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
> 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
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
> 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
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
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
>>
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
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
> Yes, Windows reboot. But nothing changed.
Then I give up (temporarily).
Someone else that can try this?
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
> 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
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
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
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
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
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:
> 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.
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
[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
> 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
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
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
> 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.
-
[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
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
[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
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
> 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
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
> 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
> language I'm u
John Pye wrote:
> Hi all
>
> 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 ess
Hi all
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
language I'm usi
39 matches
Mail list logo