> I am actually inputting VB code. So I grabbed your
> external template and updated it for .bas code.
>
> The highlight program is converting to .tex and, in
> the process, inserting "\dq{}" commands here and
> there. I don't know what these are, but they are not
> very muched liked by .lyx.
The long lines problem I mentioned was my own screwup.
I was trying to cut-n-patse the .tex into an ERT box.
I didn't realise I needed to use \input{file.tex} for
that.
Otherwise, OK, except for the aforementioned \dq
command not recognized.
Any ideas about it?
--- Gunnar <[EMAIL PROTECTED]>
I am actually inputting VB code. So I grabbed your
external template and updated it for .bas code.
The highlight program is converting to .tex and, in
the process, inserting "\dq{}" commands here and
there. I don't know what these are, but they are not
very muched liked by .lyx. If I remove
> It is functional now.
Great!
> It does appear, however, that sometimes the
> highlighter generates .tex with very long lines that
> are not recognized upon inclusion in the .lyx file.
> I can workaround for now.
Exactly, what is the problem? The long lines are not truncated in LyX?
Try add a
Thanks Gunnar,
It is functional now.
It does appear, however, that sometimes the
highlighter generates .tex with very long lines that
are not recognized upon inclusion in the .lyx file.
I can workaround for now.For the most part it is
working very well.
Thanks for the info.
Phil
--
> Gunar,
>
> Do you put anything special in the preamble?
> I'm able to import the coding but unfortunately LyX
> gives these errors when I attempt to view the dvi.
Oh yes, sorry.
I have these lines.
% Highlighting theme definition:
\newcommand{\hlstd}[1]{\textcolor[rgb]{0,0,0}{#1}}
\newcommand{
Gunar,
Do you put anything special in the preamble?
I'm able to import the coding but unfortunately LyX
gives these errors when I attempt to view the dvi.
--- Robert Orr <[EMAIL PROTECTED]> wrote:
> OK -
>
> I'm getting a little bit closer.
>
> I am able to import the external mate
OK -
I'm getting a little bit closer.
I am able to import the external material into LyX but
I am not able to generate a DVI. I'm getting some
errors like this ...
Undefined control sequence.
\hlstd{}\hlstd{\ \ \ \ }\hlstd{yMap}\hlsym
{.}\hls
> I'm going to give this a try.
>
> But, where to get the highlight program?
www.andre-simon.de
I'm going to give this a try.
But, where to get the highlight program?
--- Gunnar <[EMAIL PROTECTED]> wrote:
> I use a program called "highlight" to highlight the
> source code, and all this
> is done by adding an external template (insert ->
> external template)
>
> In the file .lyx/exte
I use a program called "highlight" to highlight the source code, and all this
is done by adding an external template (insert -> external template)
In the file .lyx/external_templates I add
Template CppKod
GuiName "[C++ $$Basename]"
HelpText
Snyggar till C++ kod
11 matches
Mail list logo