> You are sure listings can't do what you want?
> The defaults may not fit your needs, but this package is
> very configurable.
If someone can make it look like the result of the highlight program, then I'm
happy.
The fonts, spacings are all ugly. No code in the listings documentation looks
good
> It seems this could be helpful for me too. I just didn't understand so
> far how to do a thing of this kind. .-(
> So, would you mind to post this lyx-shortcut (and the latex commands)
> here? Thanks
I post all I have done.
There are still some undetected bugs, but it works on and decent *niix
Gunnar wrote:
perhaps listings.sty ?
Thanks for your reply,
but I feel that highlight makes it beautiful, listings doesn't. :-(
You are sure listings can't do what you want?
The defaults may not fit your needs, but this package is
very configurable.
Helge Hafting
Hi Gunnar,
Gunnar wrote:
then i suggest you write a script to do the "little bit too much work"
part.
Then I'll do that. It's basically just a script that reads the LaTeX file
until it finds the environment, and then extract the code to another file,
runs highlight, and then inserts it again
I wrote a c++ program that extracted my special c++ code environment. But I
ran in to problems with the exported LaTeX file (export from LyX 1.3.6, LyX
format 221).
If I write
int main( int a = 4, string namn = "adfa öööas");
I get
\begin{KODcpp}
int main( int a = 4, string namn = {}``adfa öö
> then i suggest you write a script to do the "little bit too much work"
> part.
Then I'll do that. It's basically just a script that reads the LaTeX file
until it finds the environment, and then extract the code to another file,
runs highlight, and then inserts it again into the LaTeX file.
An
then i suggest you write a script to do the "little bit too much work" part.
how about showing us an example of the task?
martin
On 20/01/06, Gunnar <[EMAIL PROTECTED]> wrote:
>
> > perhaps listings.sty ?
> Thanks for your reply,
> but I feel that highlight makes it beautiful, listings doesn't.
> perhaps listings.sty ?
Thanks for your reply,
but I feel that highlight makes it beautiful, listings doesn't. :-(
perhaps listings.sty ?
martin
On 20/01/06, Gunnar <[EMAIL PROTECTED]> wrote:
>
> Hi.
> I'm using the "hightlght" program to hightlight C++ code that I include in
> my
> LyX files. I have created an external template so I can include C++ files
> with ease.
>
> But the problem is that with small p
Hi.
I'm using the "hightlght" program to hightlight C++ code that I include in my
LyX files. I have created an external template so I can include C++ files
with ease.
But the problem is that with small pieces of code, only a few lines, it is a
little bit too much work to create all these small
10 matches
Mail list logo