From: Gerion Entrup <gerion.entrup-ctex@flump.de>
To: Context <ntg-context@ntg.nl>
Subject: Couple of questions
Date: Fri, 28 Jul 2017 02:22:36 +0200 [thread overview]
Message-ID: <1681837.mJoWgxQu02@gump> (raw)
Hi,
this is a rather long mail, but I'll add the answers to the wiki.
For the future: Should I write one mail per question or all in one? :)
1. Color of references and table of content:
How can I define/change the colors of references and the table of content? And
why are some references red and others green?
2. Own title format
I've set an own title format for chapters, like described in the wiki.
Unfortunately this applies to the table of contents and bibliography as well.
Below a minimal example, that reproduces it:
```
\setupinteraction[state=start]
\define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on]
{\vbox{\headtext{chapter} #1\blank#2}}}
\setuphead[chapter][command=\MyChapter, style={\switchtobodyfont[24pt,ss]}, header=empty, page=mychapterpagebreak]
\setupheadtext[chapter=Chapter, content=Table of Contents]
\starttext
\completecontent
\page[yes]
\startchapter[title=foo]
\stoptext
```
How can I prevent the printing of "Chapter" in the table of contents and
bibliography?
3. Text size in t-vim
I've defined a smaller text size in t-vim, but this seems to affect \inline...
as well. Is there a way to circumvent this?
Minimal example:
```
\setupinteraction[state=start]
\usemodule[t-vim]
\definevimtyping[python][syntax=python,
style={\switchtobodyfont[8pt,tt]},]
\starttext
\startpython
for line in foo:
print(line)
\stoppython
This is keyword \inlinepython{in} Python.
\stoptext
```
4. Captions of combinations
The wiki shows, how to completely autolabel figures in a combination with mkiv.
Is there a way to simply prefix the label with a), b), c),...?
Another related question: Is there a way to define the width and align of the
labels of a combination?
5. Numbering of floats
I want a numbering for my figures in this format:
way=bychapter, prefixsegments=chapter
I guess, this is the default, but I've explicitly set it.
In some captions the prefix is ignored. For example there are 5 figures in
chapter 2, then the captions of the figures (the text is in German) are:
Abbildung 2.1 foo
Abbildung 2.2 bar
Abbildung 3 foobar
Abbildung 4 otherfoo
Abbildung 5 lastfoo
Is there anything, I can do, to prevent this?
6. Multiple references
I want to create the same footnote on multiple locations in the text.
Therefore I used:
```
\setupinteraction[state=start]
\starttext
This\footnote[letter-s]{"s" is a letter.} is\note[letter-s] a nons\note[letter-s]ens\note[letter-s]e text.
\stoptext
```
But this uses different fonts for the number in the text. Is there a way to fix
this or do it better?
___________________________________________________________________________________
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://context.aanhet.net
archive : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___________________________________________________________________________________
next reply other threads:[~2017-07-28 0:22 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-07-28 0:22 Gerion Entrup [this message]
2017-07-28 0:35 ` Aditya Mahajan
2017-07-28 5:50 ` Jan Willem Flamma
2017-07-28 14:34 ` Pablo Rodriguez
2017-07-28 17:19 ` Gerion Entrup
2017-07-28 15:05 ` Pablo Rodriguez
2017-07-29 2:45 ` Gerion Entrup
2017-07-29 9:13 ` Pablo Rodriguez
2017-07-30 20:51 ` Gerion Entrup
2017-07-31 6:01 ` Jan Willem Flamma
2017-07-31 13:32 ` Gerion Entrup
2017-07-31 15:15 ` Pablo Rodriguez
2017-07-31 15:34 ` Jan Willem Flamma
-- strict thread matches above, loose matches on Subject: below --
2008-07-03 15:58 abbg770
2008-07-03 16:07 ` 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=1681837.mJoWgxQu02@gump \
--to=gerion.entrup-ctex@flump.de \
--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).