* Stretching chapter titles - MKII
@ 2011-02-15 0:45 Tom
2011-02-15 7:53 ` Hans Hagen
2011-02-15 18:14 ` Wolfgang Schuster
0 siblings, 2 replies; 7+ messages in thread
From: Tom @ 2011-02-15 0:45 UTC (permalink / raw)
To: ntg-context
Follows is some code that executes. The lines immediately following
\starttext create a sample of the desired output format. However, I want to
accomplish similar results for chapter titles via the passing of arguments
containing the chapter title and number. Numerous attempts at that have
resulted in abject failure. I am clearly missing something.
\def\MyChapterCommand#1#2
{\switchtobodyfont[ss,30pt]
\hbox to \hsize {\stretched{Chapter\\One}}
\blank[small]
\switchtobodyfont[sansbold,20pt]
\hbox to \hsize {\stretched{It\\Was\\The\\Best\\Of\\Times}}}
\setuphead[chapter]
[command=\MyChapterCommand,
header=empty,footer=chapter,page=mychapterpagebreak,
after={\blank[0.5in]},before={\blank[force,1.0in]}]
\starttext
\switchtobodyfont[sans,30pt]
\hbox to \hsize {\stretched{Chapter\\One}}
\blank[small]
\switchtobodyfont[sansbold,20pt]
\hbox to \hsize {\stretched{It\\Was\\The\\Best\\Of\\Times}}
\chapter{It\\Was\\The\\Best\\Of\\Times}
\input knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Stretching chapter titles - MKII
2011-02-15 0:45 Stretching chapter titles - MKII Tom
@ 2011-02-15 7:53 ` Hans Hagen
2011-02-15 18:14 ` Wolfgang Schuster
1 sibling, 0 replies; 7+ messages in thread
From: Hans Hagen @ 2011-02-15 7:53 UTC (permalink / raw)
To: mailing list for ConTeXt users
On 15-2-2011 1:45, Tom wrote:
>
> Follows is some code that executes. The lines immediately following
> \starttext create a sample of the desired output format. However, I want to
> accomplish similar results for chapter titles via the passing of arguments
> containing the chapter title and number. Numerous attempts at that have
> resulted in abject failure. I am clearly missing something.
>
>
> \def\MyChapterCommand#1#2
> {\switchtobodyfont[ss,30pt]
> \hbox to \hsize {\stretched{Chapter\\One}}
> \blank[small]
> \switchtobodyfont[sansbold,20pt]
> \hbox to \hsize {\stretched{It\\Was\\The\\Best\\Of\\Times}}}
>
> \setuphead[chapter]
> [command=\MyChapterCommand,
> header=empty,footer=chapter,page=mychapterpagebreak,
> after={\blank[0.5in]},before={\blank[force,1.0in]}]
>
>
> \starttext
> \switchtobodyfont[sans,30pt]
> \hbox to \hsize {\stretched{Chapter\\One}}
> \blank[small]
> \switchtobodyfont[sansbold,20pt]
> \hbox to \hsize {\stretched{It\\Was\\The\\Best\\Of\\Times}}
>
> \chapter{It\\Was\\The\\Best\\Of\\Times}
> \input knuth
> \stoptext
you can try deepcommand=\stretched but as this macro does parsing and
lots of things can happen in titles there are no guarantees
Hans
-----------------------------------------------------------------
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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 : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Stretching chapter titles - MKII
2011-02-15 0:45 Stretching chapter titles - MKII Tom
2011-02-15 7:53 ` Hans Hagen
@ 2011-02-15 18:14 ` Wolfgang Schuster
1 sibling, 0 replies; 7+ messages in thread
From: Wolfgang Schuster @ 2011-02-15 18:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 15.02.2011 um 01:45 schrieb Tom:
>
> Follows is some code that executes. The lines immediately following
> \starttext create a sample of the desired output format. However, I want to
> accomplish similar results for chapter titles via the passing of arguments
> containing the chapter title and number. Numerous attempts at that have
> resulted in abject failure. I am clearly missing something.
Can’t you use MkIV, it has better support for tracking?
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Table of Contents issues
@ 2011-02-12 17:12 Tom
2011-02-12 18:55 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Tom @ 2011-02-12 17:12 UTC (permalink / raw)
To: ntg-context
Using a very recent download of TexLive 2010 (MKII) on my PC, my success
generating a useful table of contents has been somewhat limited.
I can't figure out how to put the title, "Contents," in the font I desire.
The various parameters I found in the documentation affect the chapter
titles and the page numbers but nothing I've found allows me to control the
title of the ToC. What am I overlooking?
I would also like for the unnumbered "chapter" titles, such as introduction
or preface, to align with the other chapter titles, not with their numbers.
Aligntitle seems to have no effect on anything from what I have seen.
\definehead [intro][chapter]
\setuphead [intro][number=no,textstyle=\ss\bf]
\setuphead [chapter][textstyle=\ss\bf,numberstyle=\ss\bf]
\definecombinedlist [content][intro,chapter,section]
\setupcombinedlist[content][style=\ss\bf,textstyle=\ss\bf,pagestyle=\ss\bf,n
umberstyle=\ss\bf,aligntitle=yes]
\setuplist [intro][headnumber=no]
\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input Knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Table of Contents issues
2011-02-12 17:12 Table of Contents issues Tom
@ 2011-02-12 18:55 ` Wolfgang Schuster
2011-02-13 3:38 ` Using fonts from multiple families Tom
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2011-02-12 18:55 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 12.02.2011 um 18:12 schrieb Tom:
> Using a very recent download of TexLive 2010 (MKII) on my PC, my success
> generating a useful table of contents has been somewhat limited.
>
> I can't figure out how to put the title, "Contents," in the font I desire.
> The various parameters I found in the documentation affect the chapter
> titles and the page numbers but nothing I've found allows me to control the
> title of the ToC. What am I overlooking?
>
> I would also like for the unnumbered "chapter" titles, such as introduction
> or preface, to align with the other chapter titles, not with their numbers.
> Aligntitle seems to have no effect on anything from what I have seen.
\setuphead[chapter][style=sansbold]
\definehead[intro][chapter]
\setuphead [intro][number=no]
\definecombinedlist[content][intro,chapter,section]
\setupcombinedlist [content][style=sansbold]
\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input knuth
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Using fonts from multiple families
2011-02-12 18:55 ` Wolfgang Schuster
@ 2011-02-13 3:38 ` Tom
2011-02-13 9:59 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Tom @ 2011-02-13 3:38 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
\usetypescriptfile[type-one]
\usetypescriptfile[type-gyr]
TexLive 2010 MKII on a PC
I'm completely flummoxed as how to use fonts from different families.
Follows is an attempt to use Pallatino (rm) for the text of a book,
Iwono-heavy for chapter titles (sansbold), Iwona-light (sans) for page
headers (intended but not implemented), and Chancery (cg) for the
dedication. The only font that appears to come out right are the chapter
titles and I can't change their size without changing the size of the text
font. I apparently haven't found the right manual yet or am too stupid to
understand what must be a relatively simple concept.
\starttypescript [BookFont][texnansi,ec,qx,t5,default]
\definetypeface[BookFont][rm][serif][pallatino][default] %text body
\definetypeface[BookFont][ss][sans][iwona-light][default] %page headers
\definetypeface[BookFont][ss][sansbold][iwona-heavy][default] %chapters
\definetypeface[BookFont][tt][type][postscript][default] %embedded code
\definetypeface[BookFont][cg][calligraphic][chancery][default] %dedic.
\definetypeface[BookFont][mm][math][pallatino][default] %math
\stoptypescript
\usetypescript[BookFont][ec]
\setupbodyfont[BookFont,12pt]
\switchtobodyfont[serif]
\setuphead [chapter][style=sansbold, alternative=middle]
\definehead [intro][chapter]
\setuphead [intro][number=no]
\definecombinedlist [content][intro,chapter,section]
\setuphead[chapter][style=sansbold]
\starttext
{\cg Dedication}
\page
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\chapter{Second Chapter - Ag}
\input Knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
-----Original Message-----
From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Saturday, February 12, 2011 1:56 PM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Table of Contents issues
Am 12.02.2011 um 18:12 schrieb Tom:
> Using a very recent download of TexLive 2010 (MKII) on my PC, my success
> generating a useful table of contents has been somewhat limited.
>
> I can't figure out how to put the title, "Contents," in the font I desire.
> The various parameters I found in the documentation affect the chapter
> titles and the page numbers but nothing I've found allows me to control
the
> title of the ToC. What am I overlooking?
>
> I would also like for the unnumbered "chapter" titles, such as
introduction
> or preface, to align with the other chapter titles, not with their
numbers.
> Aligntitle seems to have no effect on anything from what I have seen.
\setuphead[chapter][style=sansbold]
\definehead[intro][chapter]
\setuphead [intro][number=no]
\definecombinedlist[content][intro,chapter,section]
\setupcombinedlist [content][style=sansbold]
\starttext
\completecontent
\intro{Introduction}
\input knuth
\chapter{First chapter}
\input knuth
\chapter{Second Chapter}
\input knuth
\stoptext
Wolfgang
____________________________________________________________________________
_______
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
____________________________________________________________________________
_______
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Using fonts from multiple families
2011-02-13 3:38 ` Using fonts from multiple families Tom
@ 2011-02-13 9:59 ` Wolfgang Schuster
2011-02-13 20:40 ` Getting paragraphs to indent Tom
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2011-02-13 9:59 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 13.02.2011 um 04:38 schrieb Tom:
>
>
> \usetypescriptfile[type-one]
> \usetypescriptfile[type-gyr]
> TexLive 2010 MKII on a PC
>
> I'm completely flummoxed as how to use fonts from different families.
> Follows is an attempt to use Pallatino (rm) for the text of a book,
> Iwono-heavy for chapter titles (sansbold), Iwona-light (sans) for page
> headers (intended but not implemented), and Chancery (cg) for the
> dedication. The only font that appears to come out right are the chapter
> titles and I can't change their size without changing the size of the text
> font. I apparently haven't found the right manual yet or am too stupid to
> understand what must be a relatively simple concept.
You can define multiple typefaces.
% engine=pdftex
% fonts
\definetypeface [mainface] [rm] [serif] [palatino] [default]
\definetypeface [mainface] [ss] [sans] [iwona-heavy] [default]
\definetypeface [mainface] [tt] [mono] [modern] [default]
\definetypeface [mainface] [mm] [math] [palatino] [default]
\definetypeface [pagenumber] [ss] [sans] [iwona-light] [default]
\definetypeface [dedication] [rm] [serif] [chancery] [default]
\setupbodyfont[mainface]
% headings
\definehead [intro] [chapter]
\definehead [dedication][chapter]
\setuphead[chapter][style=\ss\bfa,alternative=middle]
\setuphead[intro][number=no]
\setuphead[dedication][number=no,style={\switchtobodyfont[dedication,16pt]}]
\definecombinedlist [content][intro,chapter,section]
% pagenumbers
\setuppagenumbering[style={\switchtobodyfont[pagenumber]}]
\starttext
\dedication{Dedication}
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\chapter{Second Chapter - Ag}
\input knuth
\stoptext
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Getting paragraphs to indent
2011-02-13 9:59 ` Wolfgang Schuster
@ 2011-02-13 20:40 ` Tom
2011-02-13 20:58 ` Wolfgang Schuster
0 siblings, 1 reply; 7+ messages in thread
From: Tom @ 2011-02-13 20:40 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
My intention is to indent all paragraphs that do not follow whitespace.
However, my code isn't making that happen. What am I doing wrong?
(TexLive 2010 MKII on PC)
\setupcolors[state=start]
\definecolor [gray] [s=0.75]
%\usetypescriptfile[type-one]
%\usetypescriptfile[type-gyr]
\definetypeface [mainface] [rm] [serif] [palatino] [default]
\definetypeface [mainface] [ss] [sans] [iwona-heavy] [default]
\definetypeface [mainface] [tt] [mono] [modern] [default]
\definetypeface [mainface] [mm] [math] [palatino] [default]
\definetypeface [pagenumber] [ss] [sans] [iwona-light] [default]
\definetypeface [dedication] [rm] [serif] [chancery] [default]
\setupbodyfont[mainface]
% headings
\definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]}]
\definehead [intro] [chapter]
\definehead [dedication][chapter]
\setuphead[chapter][style=\ss\bfd,alternative=middle]
\setuphead[intro][number=no]
\setuphead[dedication][incrementnumber=no]
\definecombinedlist [content][intro,chapter,section]
% pagenumbers
\setuppagenumbering
[state=start,alternative=doublesided,conversion=numbers,location=]
\setupheadertexts
[chapter][pagenumber][pagenumber][My Book Title]
\setupheader[style={\switchtobodyfont[pagenumber,20pt]\sl},color=gray]
%turn on indentation
\setupindenting[medium]
\indenting[next]
\starttext
\dedication{}
\startdedication
To someone who inspired or supported me. Let's see how this works for
dedications that span multiple lines.
\stopdedication
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\input knuth
\input knuth
\input knuth
\input knuth
\chapter{Second Chapter - Ag}
\input knuth
\stoptext
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
-----Original Message-----
From: ntg-context-bounces@ntg.nl [mailto:ntg-context-bounces@ntg.nl] On
Behalf Of Wolfgang Schuster
Sent: Sunday, February 13, 2011 4:59 AM
To: mailing list for ConTeXt users
Subject: Re: [NTG-context] Using fonts from multiple families
Am 13.02.2011 um 04:38 schrieb Tom:
>
>
> \usetypescriptfile[type-one]
> \usetypescriptfile[type-gyr]
> TexLive 2010 MKII on a PC
>
> I'm completely flummoxed as how to use fonts from different families.
> Follows is an attempt to use Pallatino (rm) for the text of a book,
> Iwono-heavy for chapter titles (sansbold), Iwona-light (sans) for page
> headers (intended but not implemented), and Chancery (cg) for the
> dedication. The only font that appears to come out right are the chapter
> titles and I can't change their size without changing the size of the text
> font. I apparently haven't found the right manual yet or am too stupid to
> understand what must be a relatively simple concept.
You can define multiple typefaces.
% engine=pdftex
% fonts
\definetypeface [mainface] [rm] [serif] [palatino] [default]
\definetypeface [mainface] [ss] [sans] [iwona-heavy] [default]
\definetypeface [mainface] [tt] [mono] [modern] [default]
\definetypeface [mainface] [mm] [math] [palatino] [default]
\definetypeface [pagenumber] [ss] [sans] [iwona-light] [default]
\definetypeface [dedication] [rm] [serif] [chancery] [default]
\setupbodyfont[mainface]
% headings
\definehead [intro] [chapter]
\definehead [dedication][chapter]
\setuphead[chapter][style=\ss\bfa,alternative=middle]
\setuphead[intro][number=no]
\setuphead[dedication][number=no,style={\switchtobodyfont[dedication,16pt]}]
\definecombinedlist [content][intro,chapter,section]
% pagenumbers
\setuppagenumbering[style={\switchtobodyfont[pagenumber]}]
\starttext
\dedication{Dedication}
\completecontent
\intro{Introduction - Ag}
\input knuth
\chapter{First chapter - Ag}
\input knuth
\chapter{Second Chapter - Ag}
\input knuth
\stoptext
Wolfgang
____________________________________________________________________________
_______
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
____________________________________________________________________________
_______
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Getting paragraphs to indent
2011-02-13 20:40 ` Getting paragraphs to indent Tom
@ 2011-02-13 20:58 ` Wolfgang Schuster
2011-02-16 14:06 ` Stretching chapter titles - MKII Tom
0 siblings, 1 reply; 7+ messages in thread
From: Wolfgang Schuster @ 2011-02-13 20:58 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 13.02.2011 um 21:40 schrieb Tom:
> My intention is to indent all paragraphs that do not follow whitespace.
> However, my code isn't making that happen. What am I doing wrong?
>
> \definestartstop[dedication][style={\switchtobodyfont[dedication,20pt]}]
> \definehead [dedication][chapter]
Don’t define two commands with the same name, \definestartstop[dedication]
was meant as alternative to \definehead[dedication]. To force a page break
you can add “before=\page“ to \definestartstop.
> \setupindenting[medium]
> \indenting[next]
Enable indenting, \indenting is just a synonym for \setupindenting but
use the \setup-command.
\setupindenting[yes,medium,next]
> \dedication{}
???
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Stretching chapter titles - MKII
2011-02-13 20:58 ` Wolfgang Schuster
@ 2011-02-16 14:06 ` Tom
2011-02-16 14:14 ` Cedric Mauclair
2011-02-16 15:20 ` Aditya Mahajan
0 siblings, 2 replies; 7+ messages in thread
From: Tom @ 2011-02-16 14:06 UTC (permalink / raw)
To: 'mailing list for ConTeXt users'
I tried to execute MKIV by typing in context hello.tex and got an error
message. Apparently something else needs to be installed.
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
What major changes to my documents will I likely need to make to shift to
MKIV?
Tom Benjey
717-258-9733 voice
717-243-0074 fax
blog: www.TomBenjey.com
-----Original Message-----
Am 15.02.2011 um 01:45 schrieb Tom:
>
> Follows is some code that executes. The lines immediately following
> \starttext create a sample of the desired output format. However, I want
to
> accomplish similar results for chapter titles via the passing of arguments
> containing the chapter title and number. Numerous attempts at that have
> resulted in abject failure. I am clearly missing something.
Can't you use MkIV, it has better support for tracking?
Wolfgang
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Stretching chapter titles - MKII
2011-02-16 14:06 ` Stretching chapter titles - MKII Tom
@ 2011-02-16 14:14 ` Cedric Mauclair
2011-02-16 14:52 ` John McGarrachan
2011-02-16 15:20 ` Aditya Mahajan
1 sibling, 1 reply; 7+ messages in thread
From: Cedric Mauclair @ 2011-02-16 14:14 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, Feb 16, 2011 at 15:06, Tom <Tom@tuxedo-press.com> wrote:
> I tried to execute MKIV by typing in context hello.tex and got an error
> message. Apparently something else needs to be installed.
>
> MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Seems like there are some TEXMF... defined. Try to unset them (in bash
'unset TEXMFLOCAL' for example). Well, this solved the same issue the
other day.
-- Cédric
>
> What major changes to my documents will I likely need to make to shift to
> MKIV?
>
> Tom Benjey
> 717-258-9733 voice
> 717-243-0074 fax
> blog: www.TomBenjey.com
>
>
>
>
> -----Original Message-----
> Am 15.02.2011 um 01:45 schrieb Tom:
>
>>
>> Follows is some code that executes. The lines immediately following
>> \starttext create a sample of the desired output format. However, I want
> to
>> accomplish similar results for chapter titles via the passing of arguments
>> containing the chapter title and number. Numerous attempts at that have
>> resulted in abject failure. I am clearly missing something.
>
> Can't you use MkIV, it has better support for tracking?
>
> Wolfgang
>
>
>
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
>
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Stretching chapter titles - MKII
2011-02-16 14:14 ` Cedric Mauclair
@ 2011-02-16 14:52 ` John McGarrachan
0 siblings, 0 replies; 7+ messages in thread
From: John McGarrachan @ 2011-02-16 14:52 UTC (permalink / raw)
To: mailing list for ConTeXt users
remember to setuptex first, all other necessary steps are listed in
http://wiki.contextgarden.net/Running_Mark_IV
On Wed, 2011-02-16 at 15:14 +0100, Cedric Mauclair wrote:
> On Wed, Feb 16, 2011 at 15:06, Tom <Tom@tuxedo-press.com> wrote:
> > I tried to execute MKIV by typing in context hello.tex and got an error
> > message. Apparently something else needs to be installed.
> >
> > MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
>
> Seems like there are some TEXMF... defined. Try to unset them (in bash
> 'unset TEXMFLOCAL' for example). Well, this solved the same issue the
> other day.
>
> -- Cédric
>
> >
> > What major changes to my documents will I likely need to make to shift to
> > MKIV?
> >
> > Tom Benjey
> > 717-258-9733 voice
> > 717-243-0074 fax
> > blog: www.TomBenjey.com
> >
> >
> >
> >
> > -----Original Message-----
> > Am 15.02.2011 um 01:45 schrieb Tom:
> >
> >>
> >> Follows is some code that executes. The lines immediately following
> >> \starttext create a sample of the desired output format. However, I want
> > to
> >> accomplish similar results for chapter titles via the passing of arguments
> >> containing the chapter title and number. Numerous attempts at that have
> >> resulted in abject failure. I am clearly missing something.
> >
> > Can't you use MkIV, it has better support for tracking?
> >
> > Wolfgang
> >
> >
> >
> > ___________________________________________________________________________________
> > 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
> > ___________________________________________________________________________________
> >
> ___________________________________________________________________________________
> 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
> ___________________________________________________________________________________
___________________________________________________________________________________
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
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Stretching chapter titles - MKII
2011-02-16 14:06 ` Stretching chapter titles - MKII Tom
2011-02-16 14:14 ` Cedric Mauclair
@ 2011-02-16 15:20 ` Aditya Mahajan
1 sibling, 0 replies; 7+ messages in thread
From: Aditya Mahajan @ 2011-02-16 15:20 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Wed, 16 Feb 2011, Tom wrote:
> I tried to execute MKIV by typing in context hello.tex and got an error
> message. Apparently something else needs to be installed.
>
> MTXrun | unknown script 'context.lua' or 'mtx-context.lua'
Run mtxrun --generate
> What major changes to my documents will I likely need to make to shift to
> MKIV?
- Font loading. Overall font loading is simpler, but you might need to
adapt your typescripts (on occasions I have had to define \sc in terms of
\addfontfeature, but I haven't checked if that is still needed).
- Regimes: MkIV assumes UTF-8.
- Headings: the setups for chapter and section stoppers and referencing
has changed. You have much more flexibility now, but need to adapt your
style files accordingly.
- Metapost: It is no longer possible to change the color of a label in
metapost. (You can set it up at TeX level, so this is not a
limitation...you just need to change the label commands).
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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-02-16 15:20 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-02-15 0:45 Stretching chapter titles - MKII Tom
2011-02-15 7:53 ` Hans Hagen
2011-02-15 18:14 ` Wolfgang Schuster
-- strict thread matches above, loose matches on Subject: below --
2011-02-12 17:12 Table of Contents issues Tom
2011-02-12 18:55 ` Wolfgang Schuster
2011-02-13 3:38 ` Using fonts from multiple families Tom
2011-02-13 9:59 ` Wolfgang Schuster
2011-02-13 20:40 ` Getting paragraphs to indent Tom
2011-02-13 20:58 ` Wolfgang Schuster
2011-02-16 14:06 ` Stretching chapter titles - MKII Tom
2011-02-16 14:14 ` Cedric Mauclair
2011-02-16 14:52 ` John McGarrachan
2011-02-16 15:20 ` Aditya Mahajan
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).