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
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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

 

Attached Files

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

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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

    Votes

    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.

     

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

    History

    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.16-a7ba.
    Corresponding source code