Re: [viewvc-users] Support for 'highlight' in ViewVC 1.1.12?
John Pye <[email protected]>
| Newsgroups | gmane.comp.version-control.cvs.viewcvs.user |
|---|---|
| Message-ID | <4EB863D4.9090305__35396.8576215722$1320707045$gmane$org@anu.edu.au> |
Hi Michael Thanks for the reply. I found that Pygments doesn't do so well with Fortran code, and also I have some custom language code in my code repository that will require me to write a new syntax file. I'll have a look at how I can do this. Do you know if it's possible to 'drop in' new syntax definitions as files in a folder in Pygments, or do I have to rebuild/reinstall in order for the new syntax to be recognised. Seems to be some question about how that's done in their documentation. http://pygments.org/docs/lexerdevelopment/ Just for the record, what was the last version of ViewVC that included the 'highlight' integration, can you recall? Thanks for all the hard work on continuing to support ViewVC! Cheers JP On 08/11/11 00:19, C. Michael Pilato wrote: > While developing ViewVC 1.1.0, I grew disillusioned by the sheer number of > markup-providing integrations ViewVC had, and the fact that not a one of > them had the same capabilities as any other one. > > So I started from scratch, tossing all the old integrations and introducing > a single markup integration with the Pygments Python-based syntax > highlighting engine. The resulting code simplicity has since allow me to > more easily unify the markup and annotate views, with an eye on providing > syntax coloration for diff view in the future, too. > > So, if you're looking specifically for 'highlight' integration, you won't > find it anymore. If you're looking for syntax coloration in general, > though, I can assure you it is there. > > > On 11/06/2011 06:27 PM, John Pye wrote: >> Hi all >> >> Reading through the viewvc.conf file with ViewVC 1.1.12, I can't see any >> mention of how to use the 'highlight' program (http://andre-simon.de/) >> with ViewVC any more. It used to be possible, but apparently not any more. >> >> Is there some way that someone knows to get this support back again? >> >> Cheers >> JP >> >> ------------------------------------------------------ >> http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2874987 >> >> To unsubscribe from this discussion, e-mail: [[email protected]]. > ------------------------------------------------------ http://viewvc.tigris.org/ds/viewMessage.do?dsForumId=4255&dsMessageId=2876136 To unsubscribe from this discussion, e-mail: [[email protected]].