I tried putting

/BTEX{\bf IfSQ Fragment selection (minimum length = 60)}/ETEX

in a source that is prettyprinted with mkii (took that idea form the wiki)

but this does not work (no bold in the pretty printed result). Can this be done?

I use:

\definetyping[IfSQ][option=color,numbering=line,bodyfont=9pt]
\setuppapersize[A4,landscape][a4,landscape]
\setuptyping[IfSQ][palet=colorpretty]

\setuplayout
 [leftmargin=20mm,
  leftmargindistance=5mm,
  footer=0mm,
  header=0mm,
  rightmargin=0mm]

\definelayer[header][width=\paperwidth,height=\paperheight]
\defineoverlay[ifsqoverlay][\overlayfigure{IfSQ-overlay.pdf}]
\setupbackgrounds[page] [setups={header:margin},background={header,ifsqoverlay}]

\def\typeIfSQfile#1{%
\pagebreak
\startsetups header:margin
 \setlayerframed
   [header]
[hoffset=\dimexpr\backspace-\leftmarginwidth-\leftmargindistance \relax,
    voffset=\dimexpr\topspace+\headerheight+\headerdistance\relax]
   [frame=off,
    orientation=90,
    width=\leftmarginwidth,
    height=\textheight,
    align={top,middle}]
   {\detokenize{#1}\hfil\pagenumber\hfil \IfSQprojectname, \date}
\stopsetups
\expanded{\typefile{\detokenize{#1}}}}

\typeIfSQfile{Library-procedures/aanroep_kgcpros20.pls.src}

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to