Re: Syntax highlighting

2008-09-20 Thread Paul A. Rubin
Jef Patat wrote: I'm sorry, I forgot to mention that I know I can do highlighting with Insert->Program Listing. But I would like coloured syntax. The listings package uses multiple keywords to control various colors (background, keywords, comments, ...), which you will need to set. So:

Re: Syntax highlighting

2008-09-19 Thread James Sutherland
On Sep 19, 2008, at 1:39 PM, Jef Patat wrote: I'm sorry, I forgot to mention that I know I can do highlighting with Insert->Program Listing. But I would like coloured syntax. Sorry - I sent my reply just as I received this. I don't know how to do colored syntax, but would like to know...

Re: Syntax highlighting

2008-09-19 Thread James Sutherland
On Sep 19, 2008, at 12:59 PM, Jef Patat wrote: Can anyone tell me how I could achieve syntax highlighting. Use the "listings" feature in LyX, which uses the latex Listings package. Insert->Program Listing Right click on it to edit the settings (language, etc).

Re: Syntax highlighting

2008-09-19 Thread Jef Patat
Jef Patat wrote: > > Hi, > > up to now I have been using TeXnicCenter but I would like to try out LyX > now. Can anyone tell me how I could achieve syntax highlighting. I have > some documents containing quite some c and C++ source code. I always used > lstloadlanguag

Syntax highlighting

2008-09-19 Thread Jef Patat
Hi, up to now I have been using TeXnicCenter but I would like to try out LyX now. Can anyone tell me how I could achieve syntax highlighting. I have some documents containing quite some c and C++ source code. I always used lstloadlanguages but I dont see how I can do this in LyX. thanks in

Re: syntax highlighting for inline source code

2006-08-18 Thread Gunnar
Add the following to .lyx/externaltemplates (modify accordingly to python, this is C++ (cpp) Template CppKod GuiName "[C++ $$Basename]" HelpText Snyggar till C++ kod HelpTextEnd InputFormat cpp FileFilter "*.{cpp,h,hpp,c}" ViewComman

Re: syntax highlighting for inline source code

2006-08-18 Thread Helge Hafting
John Pye wrote: Hi all In some Latex documentation for various things, I have seen source code snippets inserted that show up nicely with syntax highlighting. Is there any way I can do that with LyX? So for example, let's say I write an algorithm using some python code. I want to put the

syntax highlighting for inline source code

2006-08-18 Thread John Pye
Hi all In some Latex documentation for various things, I have seen source code snippets inserted that show up nicely with syntax highlighting. Is there any way I can do that with LyX? So for example, let's say I write an algorithm using some python code. I want to put the code into a report

Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Kevin Pfeiffer
Lars Gullik Bjønnes writes: > That sounds like a thoroughly bad idea. It is true that sometimes you > can edit .lyx files with an editor, but that is only because of > limitations in LyX. IMHO the best view of .lyx files is that they > should be treated as "hackable" binary files. (I assume that y

Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Bruce Muirhead
Hi folks, I come from a purely humanities background, and the interesting thing about what has been said here is that, the more I use lyx, the more I realise that I need to know tex/latex. For that reason I am now patiently going through beginners latex books, using gedit- I am not yet read

Re: Editors for LaTeX-files with syntax highlighting

2006-02-10 Thread Lars Gullik Bjønnes
Kevin Pfeiffer <[EMAIL PROTECTED]> writes: | Uwe Stöhr writes: | > the next version of the windows installer will have support for | > editors with which LaTeX-files can be viewed with highlighted syntax. | | A side question -- does anyone know of further developments of a (vim) | syntax file f

Re: Editors for LaTeX-files with syntax highlighting

2006-02-08 Thread Eric S Fraga
On Fri, Feb 03, 2006 at 09:51:26AM -0500, Dimitrios Diamantaras wrote: > [...] In fact I am liking the > Emacs-AUCTeX-preview-latex combination so much that I have been working > on it exclusively lately, even though about a year ago I thought I would > never need anything but Lyx (I am a LaTeX u

Re: Editors for LaTeX-files with syntax highlighting

2006-02-04 Thread Uwe Stöhr
Jack M. Lyon wrote: Do you know other editors that offer syntax-highlighting for LaTeX and run on Windows? Thanks for the lists of programs. I've now built in support for the following editors: jEdit, PSPad, WinShell, ConTEXT, Crimson Editor, Vim, TeXnicCenter, LaTeXEditor, WinEdt

Re: Editors for LaTeX-files with syntax highlighting

2006-02-03 Thread Stephen Harris
- Original Message - From: "Uwe Stöhr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: Sent: Friday, February 03, 2006 12:19 AM Subject: Re: Editors for LaTeX-files with syntax highlighting Jack M. Lyon wrote: Does Kile and Emacs easily run under windows,

Re: Editors for LaTeX-files with syntax highlighting

2006-02-03 Thread Dimitrios Diamantaras
Dimitrios Diamantaras wrote: Uwe Stöhr wrote: Jack M. Lyon wrote: Does Kile and Emacs easily run under windows, I mean do they have an own win-installer? many thanks regards Uwe IIRC, texmaker is a Windows Kile-like editor. There are versions of Emacs out there that are precompiled with A

Re: Editors for LaTeX-files with syntax highlighting

2006-02-03 Thread Dimitrios Diamantaras
Uwe Stöhr wrote: Jack M. Lyon wrote: Does Kile and Emacs easily run under windows, I mean do they have an own win-installer? many thanks regards Uwe IIRC, texmaker is a Windows Kile-like editor. There are versions of Emacs out there that are precompiled with AUCTeX and preview-latex (actu

Re: Editors for LaTeX-files with syntax highlighting

2006-02-03 Thread Mael Hilléreau
There are probably others out there as well. Context: http://www.context.cx/ PSPad: http://www.pspad.com/ NEdit (via CygWin): http://www.nedit.org/ -- Mael Hilléreau

Re: Editors for LaTeX-files with syntax highlighting

2006-02-03 Thread Gerasimos Grammatikopoulos
On Friday 03 February 2006 09:19, Uwe Stöhr wrote: > > Does Kile and Emacs easily run under windows, I mean do they have an own > win-installer? > > many thanks > regards Uwe I believe Emacs works ok under windows but requires some major hocus pocus to install it. As for Kile... oh dear. You woul

Re: Editors for LaTeX-files with syntax highlighting

2006-02-03 Thread Herbert Voss
Uwe Stöhr wrote: Does Kile and Emacs easily run under windows, I mean do they have an own win-installer? Kile is *nix and MAC GUI Herbert

Re: Editors for LaTeX-files with syntax highlighting

2006-02-03 Thread Uwe Stöhr
Jack M. Lyon wrote: Does Kile and Emacs easily run under windows, I mean do they have an own win-installer? many thanks regards Uwe

RE: Editors for LaTeX-files with syntax highlighting

2006-02-02 Thread Jack M. Lyon
Uwe Stoehr wrote: > Do you know other editors that offer syntax-highlighting for LaTeX and > run on Windows? Crimson Editor: http://www.crimsoneditor.com/ Scintilla Text Editor: http://www.scintilla.org LaTeX Editor: http://www.latexeditor.org/ Kile: http://kile.sourceforge.net/ LaTeX

Re: Editors for LaTeX-files with syntax highlighting

2006-02-02 Thread Kevin Pfeiffer
Uwe Stöhr writes: > the next version of the windows installer will have support for > editors with which LaTeX-files can be viewed with highlighted syntax. A side question -- does anyone know of further developments of a (vim) syntax file for the LyX file format? Someone had posted the beginnings

Editors for LaTeX-files with syntax highlighting

2006-02-02 Thread Uwe Stöhr
as viewer for LaTeX-files within LyX. Do you kow other editors that offer syntax-highlighting for LaTeX and run on Windows? thanks and regards Uwe

Re: [Feature Request] ERT-Syntax-highlighting

2002-03-05 Thread Guenter Milde
On Tue, 5 Mar 2002 11:50:11 +0100 wrote Niklas Werner <[EMAIL PROTECTED]>: > After hacking loads of ERT into LyX (psfrag...)... > > -> Are there any plans to let LyX behave better in ERT-Mode? ie not > insert \par or \centering (or whatever my paragraph may be), but have an: > \begin{ERT} > do

[Feature Request] ERT-Syntax-highlighting

2002-03-05 Thread Niklas Werner
Hi All! After hacking loads of ERT into LyX (psfrag...)... -> Are there any plans to let LyX behave better in ERT-Mode? ie not insert \par or \centering (or whatever my paragraph may be), but have an: \begin{ERT} do nothing except the ERT \end{ERT} (I suppose the 1.20cvs ERT-inset is supposed