bugGNU Enscript - Bugs: bug #25123, How to change highlight colors ?

 
 

bug #25123: How to change highlight colors ?

Submitted by:  None
Submitted on:  Thu 18 Dec 2008 04:33:03 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 23 Nov 2013 12:58:34 AM UTC, comment #1:

Better late than never... (version 1.6.3+)

Do this:

cp -a /usr/share/enscript ~/.enscript

echo "StatesConfigFile: $HOME/.enscript/hl/enscript.st
StatesPath: $HOME/.enscript/hl
LibraryPath: $HOME/.enscript" >> .enscriptrc

cp ~/.enscript/hl/style_emacs.st ~/.enscript/hl/style_mine.st

$EDITOR ~/.enscript/hl/style_mine.st # to use your favoite colors
# *** also rename the state from style_emacs to style_mine

(oh, you'll need to add any new color names/RGB definitions to ~/.enscript/enscript.st)

finally use this to test it:
enscript -q -E --color --style=mine --language=ansi -o /dev/tty myfile

dave kerns <dtkerns>
Thu 18 Dec 2008 04:33:03 PM UTC, original submission:

Hello,

I create "vbnet.st" to highlight VB.NET.

I would like to apply my colors to highlighting but I don't know how ton set it up.

Thank you for your help.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #17088:  vbnet.st added by None (8kB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by dtkerns (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Dec 2008 04:33:03 PM UTCNoneAttached File-=>Added vbnet.st, #17088

    Back to the top


    Powered by Savane 3.1-cleanup