logo       


Re: Highlight Question: msg#00023

Subject: Re: Highlight Question
Highlight's use of different "themes" is accomplished by having different
theme definition files (mine are in /usr/share/highlight/themes/) which say
"for the given class of marked-up region, use such-and-such color".  The
actual name of the classes doesn't change across themes -- only the data
that maps class names to colors.

When integrated into ViewVC, it doesn't make any sense to use various
highlight themes because ViewVC's styles.css CSS file provides the mappings
of classes to colors.

So, that's my long way of saying, "No, you can't."  If there's a particular
theme whose colors you like, simply copy that themes definitions into
ViewVC's templates/docroot/styles.css file (in the region beneath the
comment which reads "/*** Highlight Markup Styles ***/"


Douglas Rohm wrote:
> Michael,
> Thanks for the reply.  Can I tell Highlight which style to use though? 
> Highlight comes with 39 different themes out of the box.  I'd like to be
> able to tell Highlight which one to use just like you can via the cmd
> prompt.  Is possible?
> 
> Also, I don't have a 'template/docroot/style.css'.  The directory
> structure for Highlight 2.4.8 is 'themes/xxx.style'.
> 
> Doug
> 
> On Sat, 12 May 2007 14:28:09 -0700, "C. Michael Pilato"
> <cmpilato@xxxxxxxxxx> said:
>> Douglas Rohm wrote:
>>> I'm currently running viewvc 1.04 with highlight and its working fine. 
>>> Does anyone know how to get Highlight to use a different color theme
>>> instead of the default?
>> The colors that 'highlight' is using are abstracted into CSS class
>> definitions.  You can edit templates/docroot/style.css to tweak these
>> colors.
>>
>> -- 
>> C. Michael Pilato <cmpilato@xxxxxxxxxx>
>> CollabNet   <>   www.collab.net   <>   Distributed Development On Demand
>>
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxxx
> For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxxx
> 


-- 
C. Michael Pilato <cmpilato@xxxxxxxxxx>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand


Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe