From: Hans Hagen <pragma@wxs.nl>
Subject: ["Markus A. Boeing" <markus@boeing-online.de>]
Date: Tue, 29 Jan 2002 17:46:24 +0100 [thread overview]
Message-ID: <5.1.0.14.1.20020129172915.02dc84e8@server-1> (raw)
In-Reply-To: <200201291256.NAA29169@smail.let.uu.nl>
[this is a closed list, use the mail adress that you subscribed with]
>Ladies and Gents,
>
>first and foremost my apologies if my questions should be inappropriate for
>this list.
>
>I am new to ConTeXt coming from LaTeX. So far I am quite happy with
>ConTeXt, there are just a couple of things that I can't figure out.
>
>1) Using LaTeX with pdfTeX and the hyperref package I can produce PDF
>documents with a click-able table of contents. If you open a PDF document
>you would see the page on the right hand side. In a small window on the
>left a tree structure of the document TOC is shown. Clicking on a chapter
>or section title would bring up the respective page in the right hand
>window. Can I achieve a similar effect with ConTeXt?
of course you need:
\setupinteracion[state=start]
and then, if you really want to see them:
\setupinteractionscreen[option=bookmark]
and somewhere in the preamble:
\placebookmarks[chapter,section][chapter]
with the second entry denoting the opened ones
[i hope that it works, never use it myself]
>2) How can I explicitly add color to selected text in a \starttyping
>environment? I experimented with the default escape character (/) and
>{\red} but without success. There should be a way of doing it because you
>can colorize programming language syntax. I just couldn't figure it out how
>to do it.
i admit that the next solution is ugly; maybe i should cook up some better
thing
\setupcolors[state=start]
\starttext
\setuptyping[option=commands]
\def\Bred{\bgroup\hskip-.5em\red}
\def\Ered{\egroup}
\def\Bblue{\bgroup\hskip-.5em\blue}
\def\Eblue{\egroup}
\starttyping
test /Bred test/Ered test
test /Bblue test oeps/Eblue test
\stoptyping
\stoptext
>3) Can I rotate figure? For example I have an A4 portrait document and want
>to include an A4 landscape figure. Now I would to rotate the figure by 90
>degrees and scale it to \textwidth. Well, scaling to \textwidth works fine
>but how can I rotate a figure in ConTeXt?
\rotate{\externalfigure....}
\totate[rotation=270]{...}
Hans
-------------------------------------------------------------------------
Hans Hagen | PRAGMA ADE | pragma@wxs.nl
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: +31 (0)38 477 53 69 | fax: +31 (0)38 477 53 74 | www.pragma-ade.com
-------------------------------------------------------------------------
fall-back web server:
www.pragma-pod.nl
-------------------------------------------------------------------------
next parent reply other threads:[~2002-01-29 16:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200201291256.NAA29169@smail.let.uu.nl>
2002-01-29 16:46 ` Hans Hagen [this message]
2002-01-29 13:55 Hans Hagen
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=5.1.0.14.1.20020129172915.02dc84e8@server-1 \
--to=pragma@wxs.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).