ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Taco Hoekwater <taco@elvenkind.com>
Subject: Re: typing questions
Date: Wed, 20 Apr 2005 10:56:43 +0200	[thread overview]
Message-ID: <4266194B.7000203@elvenkind.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0504191849230.12312@gaston.free.fr>



Peter Münster wrote:
> Hello,
> here a few questions about typing:
> 
> - Is there a module for pretty-printing C-code?

None that I know of, if anybody has a solution, I am
interested myself as well

> - How could I change the tabulator-width?

   \chardef\spacespertab=1 % \t will now become *two* spaces,
                           % default is 7, making 8 spaces

> - First tab is only 7 spaces, the other 8, why?

Looks like a bug, try this patch:

   \def\doprocesstabskipline#1%
     {\bgroup
      \scratchcounter0 % TH: was \plusone
      \dodoprocesstabskipline#1\relax
      \egroup}

> - How could I embed ConTeXt macros?

   \setuptyping[option=commands] % enable commands

   \starttyping
   Here I would like to /BTEX \italic{some context-code} /ETEX
   \stoptyping


> - Where does the vertical space in \framed come from?

 From a bug in \startpacked. Sorry, I don't know how to fix
that without breaking other stuff.

Greetings,

Taco

  reply	other threads:[~2005-04-20  8:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-19 17:14 Peter Münster
2005-04-20  8:56 ` Taco Hoekwater [this message]
2005-04-28 11:44   ` Nikolai Weibull
2005-05-14 16:02   ` Peter Münster

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4266194B.7000203@elvenkind.com \
    --to=taco@elvenkind.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).