* Couple of questions
@ 2008-07-03 15:58 abbg770
2008-07-03 16:07 ` Hans Hagen
0 siblings, 1 reply; 15+ messages in thread
From: abbg770 @ 2008-07-03 15:58 UTC (permalink / raw)
To: ntg-context
Hi,
Firstly this is my first post :) (and it's going to be long), i've been
using context for about a week or two and it's wonderful i like
particularly like the approach of having everything built into the core.
Just for reference i'm running fedora 9 64bit with texlive and i'm also new
to TeX meaning that i've never bothered to study LaTeX thoroughly (as i was
mainly concerned about just getting my content straight) and redefining
macros was highly annoying, but things have changed now.
Anyhow enough ranting i've got a few questions to ask.
1. CONTEXT, an excursion
general/manuals/mp-cb-en.pdfgeneral/manuals/ms-cb-en.pdf
The Manual
general/manuals/cont-enp.pdfgeneral/manuals/cont-eni.pdf
It's in the details
general/manuals/details.pdf
i) when are the manuals going to be updated?
ii) details.pdf looks very interesting, i assume it's not finished
right? any status info?
2. CONTEXT MkII & MkIV
general/manuals/mk.pdf
i've slightly confused as to what LuaTeX is, could someone please
explain it. from what i've gathered it seems like it supports the use of
OpenType fonts natively like XeTex and it's going to be merged into pdfTeX?
3. Fonts
general/manuals/mfonts.pdf and general/manuals/mtexfont.pdf
Is is worth reading these manual since LuaTeX---as i've
understood---is going to support them natively and i'm never going to have
to install fonts again?
4. Typographic Programming
general/manuals/style.pdf
Any idea when the final release of this document is due, i'd like
to make a print out.
5. Is there a book on ConTeXt, that is available for purchase from
somewhere like amazon. if not does anyone know of a good (and cheap)
printshop in London? I'd like to print out the manuals.
6. I forgot to ask, is there anything written about bibliography support?
preferably through BibTeX.
Thanks alot and great work
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2008-07-03 15:58 Couple of questions abbg770
@ 2008-07-03 16:07 ` Hans Hagen
0 siblings, 0 replies; 15+ messages in thread
From: Hans Hagen @ 2008-07-03 16:07 UTC (permalink / raw)
To: mailing list for ConTeXt users
abbg770@city.ac.uk wrote:
> 1. CONTEXT, an excursion
> general/manuals/mp-cb-en.pdfgeneral/manuals/ms-cb-en.pdf
>
> The Manual
> general/manuals/cont-enp.pdfgeneral/manuals/cont-eni.pdf
>
> It's in the details
> general/manuals/details.pdf
>
>
> i) when are the manuals going to be updated?
> ii) details.pdf looks very interesting, i assume it's not finished
> right? any status info?
later this year taco and i will have a go at it; some things are simpler
nwo (esp fonts, since we have gyre and latin modern)
> 2. CONTEXT MkII & MkIV
> general/manuals/mk.pdf
>
> i've slightly confused as to what LuaTeX is, could someone please
> explain it. from what i've gathered it seems like it supports the use of
> OpenType fonts natively like XeTex and it's going to be merged into pdfTeX?
luatex is the follow up on pdftex and eventually permits us to go way
beyond what now can be done
> 3. Fonts
> general/manuals/mfonts.pdf and general/manuals/mtexfont.pdf
>
> Is is worth reading these manual since LuaTeX---as i've
> understood---is going to support them natively and i'm never going to have
> to install fonts again?
less important now, also because we have the tex gyre fonts (unless you
use commercial fonts in combination with pdftex)
> 4. Typographic Programming
> general/manuals/style.pdf
>
> Any idea when the final release of this document is due, i'd like
> to make a print out.
no time now, but at some point i'll pick up that thread
> 5. Is there a book on ConTeXt, that is available for purchase from
> somewhere like amazon. if not does anyone know of a good (and cheap)
> printshop in London? I'd like to print out the manuals.
no book (yet)
> 6. I forgot to ask, is there anything written about bibliography support?
> preferably through BibTeX.
the m-bibtex module
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
| www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-31 15:15 ` Pablo Rodriguez
@ 2017-07-31 15:34 ` Jan Willem Flamma
0 siblings, 0 replies; 15+ messages in thread
From: Jan Willem Flamma @ 2017-07-31 15:34 UTC (permalink / raw)
To: mailing list for ConTeXt users
[-- Attachment #1.1: Type: text/plain, Size: 1518 bytes --]
Dear Pablo,
I experienced the same caption numbering issue late 2015.
See https://www.mail-archive.com/ntg-context@ntg.nl/msg80129.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg80129.html> and https://www.mail-archive.com/ntg-context@ntg.nl/msg80131.html <https://www.mail-archive.com/ntg-context@ntg.nl/msg80131.html>
Can’t really recall exactly but probably found the answer eventually via the test suite (see http://www.pragma-ade.com/download-1.htm <http://www.pragma-ade.com/download-1.htm>)
Regards,
Jan Willem
> On 31 Jul 2017, at 17:15, Pablo Rodriguez <oinos@gmx.es> wrote:
>
> On 07/31/2017 08:01 AM, Jan Willem Flamma wrote:
>> Dear Gerion,
>>
>> Add
>>
>> \setuphead[subsubsection]
>> [incrementnumber=no]
>
> Dear Jan Willem,
>
> do you have an explanation for that behaviour?
>
> At least to me, it isn’t very intuitive (I’m trying to understand).
>
> Many thanks for your help,
>
> Pablo
> --
> http://www.ousia.tk
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
[-- Attachment #1.2: Type: text/html, Size: 2691 bytes --]
[-- Attachment #2: Type: text/plain, Size: 492 bytes --]
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
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
1 sibling, 1 reply; 15+ messages in thread
From: Pablo Rodriguez @ 2017-07-31 15:15 UTC (permalink / raw)
To: ntg-context
On 07/31/2017 08:01 AM, Jan Willem Flamma wrote:
> Dear Gerion,
>
> Add
>
> \setuphead[subsubsection]
> [incrementnumber=no]
Dear Jan Willem,
do you have an explanation for that behaviour?
At least to me, it isn’t very intuitive (I’m trying to understand).
Many thanks for your help,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-31 6:01 ` Jan Willem Flamma
@ 2017-07-31 13:32 ` Gerion Entrup
2017-07-31 15:15 ` Pablo Rodriguez
1 sibling, 0 replies; 15+ messages in thread
From: Gerion Entrup @ 2017-07-31 13:32 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am Montag, 31. Juli 2017, 08:01:49 CEST schrieb Jan Willem Flamma:
> Dear Gerion,
>
> Add
>
> \setuphead[subsubsection]
> [incrementnumber=no]
This works :). Thank you very much!
Gerion
> > On 30 Jul 2017, at 22:51, Gerion Entrup <gerion.entrup-ctex@flump.de> wrote:
> >
> > Am Samstag, 29. Juli 2017, 11:13:21 CEST schrieb Pablo Rodriguez:
> >> On 07/29/2017 04:45 AM, Gerion Entrup wrote:
> >>> Was not that simple, but I found the problem, that causes it:
> >>> subsubsections without numbers.
> >>> [...]
> >>> Is there a way to fix this?
> >>
> >> I would say this may be a bug.
> > Does someone know a way to workaround?
> >
> > This only way I see is to simply simulate a subsubsection (with some blanks
> > and a big font).
> >
> > Gerion
> >
> >
> >> I don’t know how it is implemented, but prefixsegments (or prefixes) for
> >> captions only work when number is enabled.
> >>
> >> This makes sense if the section is part of the prefixsegments, but not
> >> if it isn’t.
> >>
> >> Another sample that shows the problem:
> >>
> >> \mainlanguage[de]
> >> \setupexternalfigures[location=default]
> >> \setuphead[subsection][number=no]
> >> \setupcaptions[prefixsegments=chapter]
> >> \setuphead[subsubsection][number=yes]
> >>
> >> \starttext
> >>
> >> \chapter[title=Kapitel]
> >> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
> >>
> >> \section[title=Abschnitt]
> >> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
> >>
> >> \subsection[title=Hier gibt’s ein Problem]
> >> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
> >>
> >> \subsection[title=Und hier gibt’s ein Problem auch]
> >> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
> >>
> >> \subsubsection[title=Aber hier gibt’s kein Problem]
> >> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
> >> \stoptext
> >>
> >> If this isn’t a bug, the code to avoid the problem is too tricky for me
> >> (and simply far beyond my knowledge).
> >>
> >> Excuse my ignorance,
> >>
> >> Pablo
> >>
> >
> >
> > ___________________________________________________________________________________
> > 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
> > ___________________________________________________________________________________
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
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
0 siblings, 2 replies; 15+ messages in thread
From: Jan Willem Flamma @ 2017-07-31 6:01 UTC (permalink / raw)
To: mailing list for ConTeXt users
Dear Gerion,
Add
\setuphead[subsubsection]
[incrementnumber=no]
Regards,
Jan Willem Flamma
> On 30 Jul 2017, at 22:51, Gerion Entrup <gerion.entrup-ctex@flump.de> wrote:
>
> Am Samstag, 29. Juli 2017, 11:13:21 CEST schrieb Pablo Rodriguez:
>> On 07/29/2017 04:45 AM, Gerion Entrup wrote:
>>> Was not that simple, but I found the problem, that causes it:
>>> subsubsections without numbers.
>>> [...]
>>> Is there a way to fix this?
>>
>> I would say this may be a bug.
> Does someone know a way to workaround?
>
> This only way I see is to simply simulate a subsubsection (with some blanks
> and a big font).
>
> Gerion
>
>
>> I don’t know how it is implemented, but prefixsegments (or prefixes) for
>> captions only work when number is enabled.
>>
>> This makes sense if the section is part of the prefixsegments, but not
>> if it isn’t.
>>
>> Another sample that shows the problem:
>>
>> \mainlanguage[de]
>> \setupexternalfigures[location=default]
>> \setuphead[subsection][number=no]
>> \setupcaptions[prefixsegments=chapter]
>> \setuphead[subsubsection][number=yes]
>>
>> \starttext
>>
>> \chapter[title=Kapitel]
>> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>>
>> \section[title=Abschnitt]
>> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>>
>> \subsection[title=Hier gibt’s ein Problem]
>> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>>
>> \subsection[title=Und hier gibt’s ein Problem auch]
>> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>>
>> \subsubsection[title=Aber hier gibt’s kein Problem]
>> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>> \stoptext
>>
>> If this isn’t a bug, the code to avoid the problem is too tricky for me
>> (and simply far beyond my knowledge).
>>
>> Excuse my ignorance,
>>
>> Pablo
>>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-29 9:13 ` Pablo Rodriguez
@ 2017-07-30 20:51 ` Gerion Entrup
2017-07-31 6:01 ` Jan Willem Flamma
0 siblings, 1 reply; 15+ messages in thread
From: Gerion Entrup @ 2017-07-30 20:51 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am Samstag, 29. Juli 2017, 11:13:21 CEST schrieb Pablo Rodriguez:
> On 07/29/2017 04:45 AM, Gerion Entrup wrote:
> > Was not that simple, but I found the problem, that causes it:
> > subsubsections without numbers.
> > [...]
> > Is there a way to fix this?
>
> I would say this may be a bug.
Does someone know a way to workaround?
This only way I see is to simply simulate a subsubsection (with some blanks
and a big font).
Gerion
> I don’t know how it is implemented, but prefixsegments (or prefixes) for
> captions only work when number is enabled.
>
> This makes sense if the section is part of the prefixsegments, but not
> if it isn’t.
>
> Another sample that shows the problem:
>
> \mainlanguage[de]
> \setupexternalfigures[location=default]
> \setuphead[subsection][number=no]
> \setupcaptions[prefixsegments=chapter]
> \setuphead[subsubsection][number=yes]
>
> \starttext
>
> \chapter[title=Kapitel]
> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>
> \section[title=Abschnitt]
> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>
> \subsection[title=Hier gibt’s ein Problem]
> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>
> \subsection[title=Und hier gibt’s ein Problem auch]
> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
>
> \subsubsection[title=Aber hier gibt’s kein Problem]
> \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
> \stoptext
>
> If this isn’t a bug, the code to avoid the problem is too tricky for me
> (and simply far beyond my knowledge).
>
> Excuse my ignorance,
>
> Pablo
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-29 2:45 ` Gerion Entrup
@ 2017-07-29 9:13 ` Pablo Rodriguez
2017-07-30 20:51 ` Gerion Entrup
0 siblings, 1 reply; 15+ messages in thread
From: Pablo Rodriguez @ 2017-07-29 9:13 UTC (permalink / raw)
To: ntg-context
On 07/29/2017 04:45 AM, Gerion Entrup wrote:
> Was not that simple, but I found the problem, that causes it:
> subsubsections without numbers.
> [...]
> Is there a way to fix this?
I would say this may be a bug.
I don’t know how it is implemented, but prefixsegments (or prefixes) for
captions only work when number is enabled.
This makes sense if the section is part of the prefixsegments, but not
if it isn’t.
Another sample that shows the problem:
\mainlanguage[de]
\setupexternalfigures[location=default]
\setuphead[subsection][number=no]
\setupcaptions[prefixsegments=chapter]
\setuphead[subsubsection][number=yes]
\starttext
\chapter[title=Kapitel]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
\section[title=Abschnitt]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
\subsection[title=Hier gibt’s ein Problem]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
\subsection[title=Und hier gibt’s ein Problem auch]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
\subsubsection[title=Aber hier gibt’s kein Problem]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]}
\stoptext
If this isn’t a bug, the code to avoid the problem is too tricky for me
(and simply far beyond my knowledge).
Excuse my ignorance,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-28 15:05 ` Pablo Rodriguez
@ 2017-07-29 2:45 ` Gerion Entrup
2017-07-29 9:13 ` Pablo Rodriguez
0 siblings, 1 reply; 15+ messages in thread
From: Gerion Entrup @ 2017-07-29 2:45 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am Freitag, 28. Juli 2017, 17:05:59 CEST schrieb Pablo Rodriguez:
> On 07/28/2017 02:22 AM, Gerion Entrup wrote:
> > 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?
>
> Hi Gerion,
>
> play with the sample, in order to see what fits you best:
>
> \setupinteraction[state=start]
>
> \define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on]
> {\vbox{\headtext{chapter} #1\blank[small]#2}}}
>
> \setuphead[chapter][command=\MyChapter,
> style={\switchtobodyfont[24pt,ss]}, header=empty, page=mychapterpagebreak]
>
> \startsectionblockenvironment[bodypart]
> \setupheadtext[chapter=Chapter]
> \stopsectionblockenvironment
>
> \startsectionblockenvironment[appendix]
> \setupheadtext[chapter=Appendix]
> \stopsectionblockenvironment
>
> \starttext
> \startfrontmatter
> \chapter{Table of Contents}\placecontent
> \stopfrontmatter
>
> \startbodymatter
> \startchapter[title=foo]
> \stopbodymatter
>
> \startappendices
> \chapter{Bibliography}
> \stopappendices
>
> \startbackmatter
> \chapter{Bibliography}
> \stopbackmatter
>
> \stoptext
Thank you, that works for me.
> > 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?
>
> I cannot reproduce the problem you mention:
>
> \mainlanguage[de]
> \starttext
> \dorecurse{5}{\chapter{Kapitel}
> \placefigure{Eine Kuh}{\externalfigure[cow.pdf]}}
> \chapter{Kapitel}
> \dorecurse{5}{\placefigure{Eine andere Kuh}
> {\externalfigure[cow.pdf]}}
> \dorecurse{5}{\chapter{Kapitel}
> \placefigure{Noch eine andere Kuh}{\externalfigure[cow.pdf]}}
> \stoptext
>
> In general, please provide minimal samples of code that show your problem.
Was not that simple, but I found the problem, that causes it:
subsubsections without numbers.
Here is a minimal example:
```
\mainlanguage[de]
\setuphead[subsubsection][number=off]
\setupcaptions[way=bychapter,
prefixsegments=chapter]
\starttext
\startchapter[title=Kapitel]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf]}
\startsection[title=Abschnitt]
\startsubsection[title=Unterabschnitt]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf]}
\startsubsubsection[title=Und hier gibts ein Problem]
\placefigure{Eine Kuh}{\externalfigure[cow.pdf]}
\stopsubsubsection
\startsubsubsection[title=Und hier gibts ein Problem]
\stopsubsubsection
\stopsubsection
\stopsection
\stopchapter
\stoptext
```
Is there a way to fix this?
Gerion
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-28 14:34 ` Pablo Rodriguez
@ 2017-07-28 17:19 ` Gerion Entrup
0 siblings, 0 replies; 15+ messages in thread
From: Gerion Entrup @ 2017-07-28 17:19 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am Freitag, 28. Juli 2017, 16:34:01 CEST schrieb Pablo Rodriguez:
> On 07/28/2017 02:22 AM, Gerion Entrup wrote:
> > [...]
> > 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?
>
> Hi Gerion,
>
> the easiest way is to disable bold in links:
>
> \setupinteraction[state=start, style=]
>
> Or I guess you would have to enable bold in the footnote reference numbers.
Ah ok, then both types of references are treated different.
Your solution works, thank you.
Gerion
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-28 0:22 Gerion Entrup
` (2 preceding siblings ...)
2017-07-28 14:34 ` Pablo Rodriguez
@ 2017-07-28 15:05 ` Pablo Rodriguez
2017-07-29 2:45 ` Gerion Entrup
3 siblings, 1 reply; 15+ messages in thread
From: Pablo Rodriguez @ 2017-07-28 15:05 UTC (permalink / raw)
To: ntg-context
On 07/28/2017 02:22 AM, Gerion Entrup wrote:
> 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?
Hi Gerion,
play with the sample, in order to see what fits you best:
\setupinteraction[state=start]
\define[2]\MyChapter{\framed[frame=off,bottomframe=on,topframe=on]
{\vbox{\headtext{chapter} #1\blank[small]#2}}}
\setuphead[chapter][command=\MyChapter,
style={\switchtobodyfont[24pt,ss]}, header=empty, page=mychapterpagebreak]
\startsectionblockenvironment[bodypart]
\setupheadtext[chapter=Chapter]
\stopsectionblockenvironment
\startsectionblockenvironment[appendix]
\setupheadtext[chapter=Appendix]
\stopsectionblockenvironment
\starttext
\startfrontmatter
\chapter{Table of Contents}\placecontent
\stopfrontmatter
\startbodymatter
\startchapter[title=foo]
\stopbodymatter
\startappendices
\chapter{Bibliography}
\stopappendices
\startbackmatter
\chapter{Bibliography}
\stopbackmatter
\stoptext
> 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?
I cannot reproduce the problem you mention:
\mainlanguage[de]
\starttext
\dorecurse{5}{\chapter{Kapitel}
\placefigure{Eine Kuh}{\externalfigure[cow.pdf]}}
\chapter{Kapitel}
\dorecurse{5}{\placefigure{Eine andere Kuh}
{\externalfigure[cow.pdf]}}
\dorecurse{5}{\chapter{Kapitel}
\placefigure{Noch eine andere Kuh}{\externalfigure[cow.pdf]}}
\stoptext
In general, please provide minimal samples of code that show your problem.
I hope it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-28 0:22 Gerion Entrup
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
3 siblings, 1 reply; 15+ messages in thread
From: Pablo Rodriguez @ 2017-07-28 14:34 UTC (permalink / raw)
To: ntg-context
On 07/28/2017 02:22 AM, Gerion Entrup wrote:
> [...]
> 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?
Hi Gerion,
the easiest way is to disable bold in links:
\setupinteraction[state=start, style=]
Or I guess you would have to enable bold in the footnote reference numbers.
Just in case it helps,
Pablo
--
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-28 0:22 Gerion Entrup
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 15:05 ` Pablo Rodriguez
3 siblings, 0 replies; 15+ messages in thread
From: Jan Willem Flamma @ 2017-07-28 5:50 UTC (permalink / raw)
To: mailing list for ConTeXt users
> On 28 Jul 2017, at 02:22, Gerion Entrup <gerion.entrup-ctex@flump.de> wrote:
>
>
> 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?
>
This is what I use to control the TOC
% state=start enables clickable links; contrastcolor= prevents green links
\setupinteraction
[state=start,
style=,
color=,
contrastcolor=,
openaction=FitWindow]
% enable TOC in PDF sidebar
\placebookmarks
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: Couple of questions
2017-07-28 0:22 Gerion Entrup
@ 2017-07-28 0:35 ` Aditya Mahajan
2017-07-28 5:50 ` Jan Willem Flamma
` (2 subsequent siblings)
3 siblings, 0 replies; 15+ messages in thread
From: Aditya Mahajan @ 2017-07-28 0:35 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Fri, 28 Jul 2017, Gerion Entrup wrote:
> 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
> ```
The simplest solution is:
\definetyping[python][syntax=python]
\definetyping[smallpython][python][style={\switchtobodyfont[8pt]]
And use \inlinepython{....}
and
\startsmallpython
....
\stopsmallpython
Aditya
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
* Couple of questions
@ 2017-07-28 0:22 Gerion Entrup
2017-07-28 0:35 ` Aditya Mahajan
` (3 more replies)
0 siblings, 4 replies; 15+ messages in thread
From: Gerion Entrup @ 2017-07-28 0:22 UTC (permalink / raw)
To: Context
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2017-07-31 15:34 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-07-03 15:58 Couple of questions abbg770
2008-07-03 16:07 ` Hans Hagen
2017-07-28 0:22 Gerion Entrup
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
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).