Reputation
547
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 11
Impact
~9k people reached

  • 0 posts edited
  • 0 helpful flags
  • 10 votes cast
May
31
awarded  Popular Question
Mar
4
accepted How to add “DRAFT” along the left/right margin?
Mar
4
comment How to add “DRAFT” along the left/right margin?
Upgrading to 2014 indeed solves the problem.
Mar
4
comment How to add “DRAFT” along the left/right margin?
This gives me "! Package xkeyval Error: nodeanchor' undefined in families background'." Upgrading to TeX Live 2014 (from 2013), just in case.
Mar
4
accepted How to go around the error “! Package xkeyval Error: `[' undefined in families `background'.”?
Mar
4
comment How to go around the error “! Package xkeyval Error: `[' undefined in families `background'.”?
how embarrassing! thanks..
Mar
4
comment How to add “DRAFT” along the left/right margin?
I can't see the problem with xkeyval. Asked a separate question: tex.stackexchange.com/q/231330/9549
Mar
4
asked How to go around the error “! Package xkeyval Error: `[' undefined in families `background'.”?
Mar
4
comment How to add “DRAFT” along the left/right margin?
touhami / Steven: it seems this can be done using a 1- or 2-liner with the background package. Using "\usepackage{background}" followed by "\backgroundsetup[contents=foobar,placement=bottom,color=blue]" in the preamble produces an error "! Package xkeyval Error: [' undefined in families background'." Debugging...
Mar
4
comment How to add “DRAFT” along the left/right margin?
ok.. debugging consisted of noticing the big red exclamation mark in the documentation for background :) . It reads "The document needs to be processed twice to get the background material in the right position." Indeed, just adding "\usepackage[placement=bottom]{background}" in the preamble (and processing twice) does it. I'd prefer a minuscule running "draft" continuous mark along the right margin, but this is a good start.
Mar
4
comment How to add “DRAFT” along the left/right margin?
That's a suitable more general solution. I'm having trouble though with the output of both draftwatermark and background packages. It seems that Preview on OS X (Mavericks) does not show their added marks, just the text itself. Debugging...
Mar
4
asked How to add “DRAFT” along the left/right margin?
Feb
24
accepted Mapping to replace \newfont with \usefont
Feb
24
accepted Using paralist in bibliography
Feb
24
accepted Syntax highlighting in an HTML presentation
Feb
2
comment Syntax highlighting in an HTML presentation
Your solution works fine, but it's brittle. If I replace just the keywordstyle to read "keywordstyle=\color{red}\ttfamily\bfseries,", both the basicstyle and the keywordstyle are rendered in blue, whether or not I also modify hello.cfg to have .ectt-1000 for the keywordstyle. Could you clarify what is happening, or how to get all typewriter (or any constant-width) font?
Feb
2
revised Syntax highlighting in an HTML presentation
edited tags
Jan
29
comment Syntax highlighting in an HTML presentation
@SeanAllred Thanks for the explanation. Even better then deleting or not deleting, I've changed the question to look for an actual solution, one that does not require hacking into the html file to find the css classes and then defining those blindly from what syntax categories they map to.
Jan
29
revised Syntax highlighting in an HTML presentation
added 798 characters in body
Jan
29
comment Syntax highlighting in an HTML presentation
Adding "\Css{div.lstlisting .ectt-1000 {font-family: monospace;color:blue}}" is a nasty kludge, but you're right. Despite a reasonably long search before posting, the question you reference does not show up, but it's exactly what I'm after—minus the kludge. I'll delete if no one offers a better solution.