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

 
 

bug #25123: How to change highlight colors ?

Submitter:  None
Submitted:  Thu 18 Dec 2008 04:33:03 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-12-18 None Attached File- Added vbnet.st, #17088

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code