Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-17 Thread Alan BRASLAU
On Tuesday 16 February 2010 23:21:31 Hans Hagen wrote: On 16-2-2010 22:39, Mojca Miklavec wrote: While you keep Hans and others busy, here's another thing that puzzled me: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices \appendix

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-17 Thread Mojca Miklavec
On Wed, Feb 17, 2010 at 18:44, Alan BRASLAU wrote: Why \definehead[appendix][chapter]? Why not use \chapter{} and \section{} within \startappendices\stopappendices? I don't remember exactly (and it was bug anyway even if my code could have been optimized), but I wanted to have different font

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-17 Thread Hans Hagen
(compare mkii and mkiv): concerning tricks ... today i defined the hybrids between chapter/title, section/subject etc \definehead[chaptle] [chapter] \definehead[suction] [section] \definehead[subsuction] [subsection] \definehead[subsubsuction][subsubsection] \setuphead [chaptle

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-16 Thread Mojca Miklavec
\startbodymatter \chapter {one} \input knuth \stopbodymatter \startappendices \chapter {first} \input knuth \stopappendices \stoptext While you keep Hans and others busy, here's another thing that puzzled me: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-16 Thread Hans Hagen
On 16-2-2010 22:39, Mojca Miklavec wrote: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices \appendix{one} \subappendix{one.one} \appendix{two} \subappendix{two.one} \stopappendices \stoptext hm, looks like startappendices has no proper reset list

Re: [NTG-context] \setuplabeltext [appendix=Appendix ] broken mkiv

2010-02-16 Thread Hans Hagen
On 16-2-2010 22:39, Mojca Miklavec wrote: While you keep Hans and others busy, here's another thing that puzzled me: \definehead[appendix][chapter] \definehead[subappendix][section] \starttext \startappendices \appendix{one} \subappendix{one.one} \appendix{two} \subappendix{two.one

Re: [NTG-context] last chapter number

2010-01-17 Thread Andreas Harder
and that brought me to the following solution (without \definetwopasslist): \newcounter\ChapNum \def\NofChaps{0} \definehead [chapter] [before=\increment\ChapNum, after=\savecurrentvalue\NofChaps{\countervalue{ChapNum}}] \starttext Dieses Dokument besteht aus \NofChaps\ Kapiteln. \dorecurse{9

Re: [NTG-context] Removing vertical space before heading within framed layer

2009-12-26 Thread luigi scarso
=text] \definehead[Subject][section] \setuphead[Subject][before=\vskip-2pt,number=no] \startbuffer[test] \Subject{Lorem ipsum dolor sit amet, consectetur, sadipisci\dots} \input zapf \stopbuffer \setuphead [subject] [before=, after=, align=right] \starttext \setlayerframed

Re: [NTG-context] A few questions

2009-11-13 Thread Bernhard Rosensteiner
it is still experimental but at the moment it works. third question: you could define a new head with \definehead then it gets a new counter. When you only want that a specific sectionnumber is different from the others than do: \startsection [title=dritte section, ownnumber=243] first question

Re: [NTG-context] Define exercise captions

2009-11-01 Thread Vyatcheslav Yatskovsky
Hello, I need to define a Exercise command that will enumerate exercises and provide captions. For example, \exercise{Conversion from hex to dec} should produce Exercise 1.1. Conversion from hex to dec. What is the best way to achieve that? Use \definehead or another command

Re: [NTG-context] Define exercise captions

2009-11-01 Thread Aditya Mahajan
to achieve that? Use \definehead or another command? \defineenumeration[exercise][title=yes,way=bysection] Thank you Aditya, but the result is rather shoking ) Please, try \starttext \defineenumeration[exercise][title=yes, text=Вправа, way=bysection, width=broad] \exercise{Розрахунок

[NTG-context] Define exercise captions

2009-10-31 Thread Vyatcheslav Yatskovsky
Hello, I need to define a Exercise command that will enumerate exercises and provide captions. For example, \exercise{Conversion from hex to dec} should produce Exercise 1.1. Conversion from hex to dec. What is the best way to achieve that? Use \definehead or another command? Best

Re: [NTG-context] embed fonts

2009-10-17 Thread R. Bastian
milieu \setuppagenumbering[alternative=doublesided,location={footer,inleft}] \language[fr] \setuphead[chapter][page=no, textstyle=cap, numberstyle=bold, after={\blank\hrule\blank}] \setuphead[title][after={\blank\hrule\blank}] \def\auteur#1{\hfill#1\blank} \definehead[sujet][subject] \setuphead

Re: [NTG-context] Section setup

2009-10-17 Thread Janneman
___ Maybe a more simplified solution \definehead[paragraf][section] \setuphead[paragraf][before= {\crlf \S},after=,style=bold] % or style=something else \starttext \paragraf[ref]{Paragraf title} \input tufte \stoptext Cheers Janneman

Re: [NTG-context] Section setup

2009-10-17 Thread Wolfgang Schuster
Am 17.10.2009 um 16:58 schrieb Janneman: Maybe a more simplified solution \definehead[paragraf][section] \setuphead[paragraf][before= {\crlf \S},after=,style=bold] don't do this, before and after are meant for vertical material like \blank or \thinrule etc. Wolfgang

Re: [NTG-context] Section setup

2009-10-17 Thread Janneman
___ Maybe a more simplified solution \definehead[paragraf][section] \setuphead[paragraf][before= {\crlf \S},after=,style=bold] % or style=something else \starttext \paragraf[ref]{Paragraf title} \input tufte \stoptext Cheers Janneman

Re: [NTG-context] Section setup

2009-10-17 Thread Wolfgang Schuster
Am 17.10.2009 um 17:46 schrieb Janneman: Understood! ;-) \definehead[paragraf][section] \def\mynumbercommand#1{\bf{\S} #1 --} \define[1]\MyNumberCommand{§ #1 –} % let's use the right signs when possible :) \setuphead[paragraf][numbercommand= \mynumbercommand,alternative=inmargin

Re: [NTG-context] Section setup

2009-10-17 Thread Aditya Mahajan
On Sat, 17 Oct 2009, Janneman wrote: \definehead[paragraf][section] \def\mynumbercommand#1{\bf{\S} #1 --} \setuphead[paragraf][numbercommand=\mynumbercommand,alternative=inmargin] \starttext \paragraf[ref]{TEST} \input tufte \stoptext Another option: \definehead[paragraph][section

Re: [NTG-context] Numbering of sub-header

2009-09-25 Thread Wolfgang Schuster
\def\exnu#1{% \framed [width = 1.5em ,corner = 06 ,background =color,backgroundcolor=myGray,foreground=color,foregroundcolor=white] {#1}% } \definehead[exercice][subsection] \setuphead[exercice][textstyle={\bf},numberstyle={},numbercommand= \exnu] A few months ago, when using Mark II

[NTG-context] Numbering of sub-header

2009-09-23 Thread Flavien Lambert
=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white]{#1}% } \definehead[exercice][subsection] \setuphead[exercice][textstyle={\bf},numberstyle={},numbercommand=\exnu] A few months ago, when using Mark II, the numbering of exercice was continuous even if new sujects were introduced

Re: [NTG-context] Numbering of sub-header

2009-09-23 Thread Flavien Lambert
\setuphead[subject][textstyle={\bfc},align=left,after=\hairline] % Commandes \def\exnu#1{% \framed[width=1.5em,corner=06,background=color,backgroundcolor=myGray,foreground=color,foregroundcolor=white]{#1}% } \definehead[exercice][subsection] \setuphead[exercice][textstyle={\bf},numberstyle

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Hans Hagen
a lot more predictable? actually, the advice is that user definitions use uppercase \definehead[MySection][section] etc, just to avoid clashes with built in commands Hans - Hans Hagen

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Matthijs Kooijman
argument to installprettytype is related to these commands. \definetyping[PHP] [option=PHP] indeed. as i don't like casing in filenames, and function names Agreed, me neither. actually, the advice is that user definitions use uppercase \definehead[MySection][section] etc, just to avoid

Re: [NTG-context] Why are pretty printer names uppercased?

2009-08-26 Thread Hans Hagen
, the advice is that user definitions use uppercase \definehead[MySection][section] etc, just to avoid clashes with built in commands That makes sense for commands, which is not what I'm proposing to change. I would propose making it look like the following: \installprettytype [php][php

[NTG-context] referenced titles + special characters

2009-08-23 Thread Črt Gorup
] \mainlanguage[sl] \definehead[mysection][section] \setuphead [mysection][coupling=section,incrementnumber=list] \setuphead[mysection][command=\MySectionStyle, header=high, style={}] \def\MySectionStyle#1#2{ {\tfa#2} } Thanks, Crt smime.p7s Description: S/MIME cryptographic signature

Re: [NTG-context] referenced titles + special characters

2009-08-23 Thread Mojca Miklavec
example.) My settings which might have an influence to this problem: \enableregime[utf8] \mainlanguage[sl] \definehead[mysection][section] \setuphead [mysection][coupling=section,incrementnumber=list] \setuphead[mysection][command=\MySectionStyle, header=high, style={}] \def\MySectionStyle#1#2

Re: [NTG-context] Initialisation problem enumeration and way=bysection

2009-08-19 Thread Hans Hagen
!no]}}% definestructurelist ? \the\everystructureheadsetup} See the example below. nice example Regard, Bernard %MTXrun | current version: 2009.08.17 19:06 % linux-32 \definehead[Mysection][section] \defineenumeration[example] [way=bysection, location=left] \def\test{% \ifnum

Re: [NTG-context] Initialisation problem enumeration a nd way=bysection

2009-08-19 Thread B. Vogel
\definehead[Mysection][section] \defineenumeration[example] [way=bysection, location=left] \def\test{% \ifnum\currentenumerationfullnumber=\recurselevel\relax \currentenumerationfullnumber = \recurselevel\ PASS% \else \currentenumerationfullnumber

[NTG-context] Initialisation problem enumeration and way=bysection

2009-08-18 Thread B. Vogel
. The headingnumbers are 1 2 1 2 3 4 5 6 instead of 1 2 3 4 5 6 7 8. See the example below. Regard, Bernard %MTXrun | current version: 2009.08.17 19:06 % linux-32 \definehead[Mysection][section] \defineenumeration[example] [way=bysection, location=left] \def\test{% \ifnum

[NTG-context] enumerations and definehead

2009-08-08 Thread B. Vogel
Hi all, How do I reset an enumeration with my own header? See the example below. The build-in section works and my own header fails. Tia, Bernard % MKIV beta % MTXrun | current version: 2009.08.07 11:22 % linux-32 \definehead[Mysection][section] \setuphead[Mysection] [after=\nowhitespace

Re: [NTG-context] I can't change startitemize[n]-- startitemize[1]

2009-07-23 Thread Aditya Mahajan
, issue a warning or an error. There is \define and \redefine. I know. What I am asking is that the core macros like \definedescription, \defineitemgroups, \definehead, which have the general form \def\defineSOMETHING% {\dodoubleargument\dodefineSOMETHING} \def\dodefineSOMETHING[#1][#2

Re: [NTG-context] I can't change startitemize[n]-- startitemize[1]

2009-07-23 Thread luigi scarso
\definecommands should check if the macro is previously defined or not. If it is defined, issue a warning or an error. There is \define and \redefine. I know. What I am asking is that the core macros like \definedescription, \defineitemgroups, \definehead, which have the general form \def

[NTG-context] another sectioning problem in beta

2009-06-03 Thread Henning Hraban Ramm
][page=no] \definehead[Kapitel][chapter] \definehead[Abschnitt][section] \starttext \dorecurse{20}{% \expanded{\Kapitel{My chapter \recurselevel}} \expanded{\Abschnitt{My Zapf \recurselevel}} \input zapf \expanded{\Abschnitt{My Tufte \recurselevel}} \input tufte } \completecontent[criterium=all

[NTG-context] Latest beta and MKII problem

2009-05-29 Thread Bowen Alan C.
The latest beta (ConTeXt ver: 2009.05.28 14:36 MKII fmt: 2009.5.28 int: english/english) no longer processes my files: all I get is complaints about an extra \else. That is, \definehead[LevelCHead][chapter] \setuphead[LevelCHead][style={\tf \it},alternative=text,number=no,page

Re: [NTG-context] sections, subsections, indenting, startnarrower, alignment

2009-05-26 Thread Amaël Broustet
with... --- \definehead[mysubject][subject] \defineframed[lrframe][ width=\localhsize, align=normal, rulethickness=1pt] \setuphead[mysubject][style={\bf}] \define[3]\CHRONSUBJ {\mysubject{\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower} \showframe[text

[NTG-context] sections, subsections, indenting, startnarrower, alignment

2009-05-26 Thread afsmith
/msg17276.html And here is an example of something I was playing with... --- \definehead[mysubject][subject] \defineframed[lrframe][ width=\localhsize, align=normal, rulethickness=1pt] \setuphead[mysubject][style={\bf}] \define[3]\CHRONSUBJ {\mysubject

[NTG-context] sections, subsections, indenting, startnarrower, alignment

2009-05-22 Thread afsmith
-archive.com/ntg-context@ntg.nl/msg17276.html And here is an example of something I was playing with... --- \definehead[mysubject][subject] \defineframed[lrframe][ width=\localhsize, align=normal, rulethickness=1pt] \setuphead[mysubject][style={\bf}] \define[3]\CHRONSUBJ {\mysubject

Re: [NTG-context] re-posting example of header at page bottom

2009-05-20 Thread Jos van Gisbergen
=black, prefix=+] \setuphead[subsubsection][before=\crlf, style=\subsubsectionFont, color=black, prefix=+] \definehead[myhead][section] \setuphead[myhead] [before=\crlf, page=yes

Re: [NTG-context] header at page bottom example

2009-05-19 Thread Jos van Gisbergen
}\stopnarrower \stoptopdesc} \definehead[mysubject][subject] \setuphead[mysubject][style={\bf}] \define[3]\CHRONSUB {\mysubject{\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower} \showframe[text] \starttext \startnarrower[left] \dontleavehmode\lrframe[width=broad] {leftleftleft

Re: [NTG-context] how to prevent header at page bottom

2009-05-18 Thread Jos van Gisbergen
; charset=US-ASCII; format=flowed On Thu, 14 May 2009, Jos van Gisbergen wrote: Hi, I have defined my own header: \definehead[myhead][subsection] \setuphead[myhead][ page=no, number=no ] All works fine, except sometimes the head appears at page bottom and the text starts on the next page

Re: [NTG-context] formula-style alignment

2009-05-18 Thread afsmith
] \setuplayout[header=0pt,footer=0pt] \definedescription[topdesc][ inbetween={\blank[none]}, headstyle={\bf}, style={\tf\rm}, location=top, width=broad] \define[3]\CHRONDESC {\starttopdesc {\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower \stoptopdesc} \definehead[mysubject

[NTG-context] How to prevent header at page bottom

2009-05-14 Thread Jos van Gisbergen
Hi, I have defined my own header: \definehead[myhead][subsection] \setuphead[myhead][ page=no, number=no ] All works fine, except sometimes the head appears at page bottom and the text starts on the next page. How can I specify that if less than, say, 3 lines of text fit on the current page

Re: [NTG-context] How to prevent header at page bottom

2009-05-14 Thread Aditya Mahajan
On Thu, 14 May 2009, Jos van Gisbergen wrote: Hi, I have defined my own header: \definehead[myhead][subsection] \setuphead[myhead][ page=no, number=no ] All works fine, except sometimes the head appears at page bottom and the text starts on the next page. How can I specify that if less than

[NTG-context] [***SPAM***] Bug? \getmarking fails under some circumstances

2009-05-12 Thread Oliver Heins
$\langle$\from[email]$\rangle$} \bigskip\hairline] \definehead[subject][section] \setuphead[subject][number=no] \definehead[subsubject][subsection] \setuphead[subsubject][number=no] \setuphead [subject] [style=\tfb] % Text \starttext \startlinecorrection \title{Mikrotypografie

Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Wolfgang Schuster
data] Could you [or someone] give a couple of example of how to use [optional user data] Also, where in the base files does this stuff get defined? I could not find it. strc-sec.tex start/stop commands are created with \definehead automatically Wolfgang

Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Idris Samawi Hamid ادريس سماوي ح امد
get defined? I could not find it. strc-sec.tex start/stop commands are created with \definehead automatically ok, thnx! OTOH, I did not see any illustrative examples of the use of [optional user data] :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International

Re: [NTG-context] What happened with sectionworld?

2009-04-29 Thread Hans Hagen
] Also, where in the base files does this stuff get defined? I could not find it. strc-sec.tex start/stop commands are created with \definehead automatically ok, thnx! OTOH, I did not see any illustrative examples of the use of [optional user data] :-) of course not .. its; new

[NTG-context] Cannot turn big letters to small

2009-03-30 Thread Vyatcheslav Yatskovsky
Управління } I have played a lot with \Word, \Words, \Cap, etc, but they don't work. Current \word command turns all letters to small, but this is not acceptable. \definehead[faculty][chapter] \setuphead [faculty][ incrementnumber=list, page=yes, number=no, align=right, style

Re: [NTG-context] Cannot turn big letters to small

2009-03-30 Thread Hans Hagen
{Факультет Аерокосмічних Систем Управління } I have played a lot with \Word, \Words, \Cap, etc, but they don't work. Current \word command turns all letters to small, but this is not acceptable. \definehead[faculty][chapter] \setuphead [faculty][ incrementnumber=list, page=yes, number=no, align

Re: [NTG-context] Cannot turn big letters to small

2009-03-30 Thread Vyatcheslav Yatskovsky
, \Words, \Cap, etc, but they don't work. Current \word command turns all letters to small, but this is not acceptable. \definehead[faculty][chapter] \setuphead [faculty][ incrementnumber=list, page=yes, number=no, align=right, style={\switchtobodyfont[impact]\bfb\word}] mkii

[NTG-context] font switch in 'style' stopped working

2009-03-26 Thread Vyatcheslav Yatskovsky
Thank you, Hans. luatools --generate eliminated the error. But, font switch in 'style' stopped working. For example, \definehead[faculty][chapter] \setuphead [faculty][ incrementnumber=list, page=yes, number=no, align=middle, style=\bfb] produces bold but normal size font. \tfa also gives

Re: [NTG-context] font switch in 'style' stopped working

2009-03-26 Thread Wolfgang Schuster
Am 27.03.2009 um 00:25 schrieb Vyatcheslav Yatskovsky: Thank you, Hans. luatools --generate eliminated the error. But, font switch in 'style' stopped working. For example, \definehead[faculty][chapter] \setuphead [faculty][ incrementnumber=list, page=yes, number=no, align=middle, style

[NTG-context] remove blank after head

2009-03-24 Thread Vyatcheslav Yatskovsky
Hello, How to get rid of break after section head? I need to glue it with author's information (italic). \definehead[exhibitname][subsection] \setuphead [exhibitname][ incrementnumber=list, number=no, align=middle, style=\bf] \def\exhibit#1#2% { {\exhibitname{#1}} %\blank

[NTG-context] Content head

2009-01-28 Thread Wolfgang Werners-Lucchini
Hallo, I would like to def a costum head, but I also want the pure word 'Inhaltsverzeichnis' as content head. I tryed: \def\Vortrag#1#2{#1~Vortrag:~#2}% \setuphead[chapter][command=\Vortrag ] \definehead[contenthead][title] \starttext \contenthead

Re: [NTG-context] Content head

2009-01-28 Thread Wolfgang Schuster
] \definehead[contenthead][title] \starttext \contenthead{Inhaltsverzeichnis} \placecontent \chapter{Bla} blub \stoptext But the content head is still prefixed with 'Vortrag:'. What is the solution for this? \setuphead [chapter] [numbercommand=\groupedcommand

Re: [NTG-context] chapter-like headings with separate numbering

2008-11-26 Thread luigi scarso
\definesection[nc] \setupsection[nc][conversion=Characters] \definehead[interlude][section=nc,default=chapter] \setuphead[interlude][incrementnumber=yes] \starttext \title{Contents} \placelist[chapter,interlude] \chapter{Chap 1} \interlude{Interlude 1} \chapter{Chap 2} \interlude

[NTG-context] chapter-like headings with separate numbering

2008-11-24 Thread Sanjoy Mahajan
with 'A' instead of 'B'. Is there a missing key=value pair, or is the approach completely wrong? \definesection[nc] \setupsection[nc][conversion=Characters] \definehead[interlude][section=nc,default=chapter] \setuphead[interlude][incrementnumber=yes] \starttext \title{Contents} \placelist[chapter

Re: [NTG-context] How to avoid a page break?

2008-11-05 Thread Wolfgang Schuster
alone!) \definehead[marcin][chapter] \setuphead [marcin] [page=no] Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Extra space before itemize

2008-10-12 Thread Hans Hagen
file. Page 1 is head followed by text, which is OK. Page 2 is head followed by itemize, which has extra space. page 3 is just itemize which is ok. \definelayer[test] [width=\paperwidth, height=\paperheight, x=5cm,y=1cm] \def\mylayer#1#2{\setlayer[test]{#1#2}} \definehead

Re: [NTG-context] Extra space before itemize

2008-10-11 Thread Hans Hagen
is head followed by itemize, which has extra space. page 3 is just itemize which is ok. \definelayer[test] [width=\paperwidth, height=\paperheight, x=5cm,y=1cm] \def\mylayer#1#2{\setlayer[test]{#1#2}} \definehead[testhead][subject] \setuphead[testhead

Re: [NTG-context] Extra space before itemize

2008-10-11 Thread Aditya Mahajan
followed by text, which is OK. Page 2 is head followed by itemize, which has extra space. page 3 is just itemize which is ok. \definelayer[test] [width=\paperwidth, height=\paperheight, x=5cm,y=1cm] \def\mylayer#1#2{\setlayer[test]{#1#2}} \definehead[testhead][subject

[NTG-context] Extra space before itemize

2008-10-10 Thread Aditya Mahajan
, which has extra space. page 3 is just itemize which is ok. \definelayer[test] [width=\paperwidth, height=\paperheight, x=5cm,y=1cm] \def\mylayer#1#2{\setlayer[test]{#1#2}} \definehead[testhead][subject] \setuphead[testhead] [before=, after

[NTG-context] Pagenumbering on the first page of a section/chapter/...

2008-09-22 Thread Marcin Borkowski
Hi, I'd like to define a section-like thing (with \definehead) in a way that prevents ConTeXt from putting the pagenumber on the _first_ page of this section. How do I do this? Greets -- Marcin Borkowski (http://mbork.faculty.fmcs.amu.edu.pl

Re: [NTG-context] Pagenumbering on the first page of a section/chapter/...

2008-09-22 Thread Marcin Borkowski
Dnia Mon, Sep 22, 2008 at 07:27:28PM +0200, Marcin Borkowski napisa#322;(a): Hi, I'd like to define a section-like thing (with \definehead) in a way that prevents ConTeXt from putting the pagenumber on the _first_ page of this section. How do I do this? ok, I've got it: \setuphead

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum
Hi, sorry for my foggy post last night (02:50h ...) Hopefully this example makes it clearer: -- \starttext \showframe \definehead[EbeneFuenf] [subsubsubsection] \setupsection[section-6][conversion=characters,previousnumber=yes] \def\FuenfCommand#1{#1.} \def\CurrentEbeneFuenfNumber#1#2% {\hbox

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Peter Rolf
Steffen Wolfrum schrieb: Hi, sorry for my foggy post last night (02:50h ...) Hopefully this example makes it clearer: -- \starttext \showframe \definehead[EbeneFuenf][subsubsubsection] \setupsection[section-6][conversion=characters,previousnumber=yes] \def\FuenfCommand#1{#1

Re: [NTG-context] vertical position of framed sucks!

2008-08-29 Thread Steffen Wolfrum
Am 29.08.2008 um 11:18 schrieb Peter Rolf: Steffen Wolfrum schrieb: Hi, sorry for my foggy post last night (02:50h ...) Hopefully this example makes it clearer: -- \starttext \showframe \definehead[EbeneFuenf][subsubsubsection] \setupsection[section-6][conversion=characters

[NTG-context] placing section heads in toc

2008-08-10 Thread Idris Samawi Hamid ادريس سماوي ح امد
Dear gang, This used to work: = \definehead[intro][chapter] \setuphead [intro][numberstyle=normal, number=no, ownnumber=no, incrementnumber=no, continue

[NTG-context] Custom Section / Table of contents inside a table

2008-08-08 Thread Demian Gutierrez
in the tables should be part of the content table of the document, but in the filled table itself, they should still look as normal text. To do so, I have defined my own section, this way: \definehead[fieldNameSection][subsection] \setuphead[fieldNameSection][number=no, textstyle=\tfe] And made

[NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Steffen Wolfrum
Hi, looking for a reliable soluion to the problem of keeping section heads with following paragraphs I found the email below from Hans 2003. But using it gives an error (see below): \starttext \definehead[myhead][section] \setuphead[myhead][after={\blank[big]\blank[inhibit]}] \input tufte

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Wolfgang Schuster
On Fri, Jul 25, 2008 at 9:58 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, looking for a reliable soluion to the problem of keeping section heads with following paragraphs I found the email below from Hans 2003. But using it gives an error (see below): \starttext \definehead[myhead

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Steffen Wolfrum
of keeping section heads with following paragraphs I found the email below from Hans 2003. But using it gives an error (see below): \starttext \definehead[myhead][section] \setuphead[myhead][after={\blank[big]\blank[inhibit]}] \input tufte \par \input knuth \par \input tufte \par

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Wolfgang Schuster
On Fri, Jul 25, 2008 at 10:15 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Steffen Wolfrum
} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have tried all possible combination now but it does not work. Did you try

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Wolfgang Schuster
an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Steffen Wolfrum
email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Wolfgang Schuster
, Steffen Wolfrum [EMAIL PROTECTED] wrote: ... yes, but Hans said so (see my email quoting him)!!! What did he mean? Do you know an other solution? \defineblankmethod [nobreak] {\penalty\plustenthousand} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead

Re: [NTG-context] \blank[inhibit] broken ???

2008-07-25 Thread Steffen Wolfrum
} \defineblankmethod [endgraf] {\endgraf} \definehead[myhead][section] \setuphead[myhead][after={\blank[endgraf,nobreak,big]}] Not sure about the order in the blank command but this should work. Hmm, I think I have tried all possible combination now but it does not work. Did you try

[NTG-context] urgent reference problem (full path)

2008-04-24 Thread Steffen Wolfrum
, Steffen \definehead[EbeneEins] [chapter] \setupsection[section-3][conversion=Characters,previousnumber=no] \setupsection[section-4][conversion=Romannumerals,previousnumber=no] \setupsection[section-5][conversion=numbers,previousnumber=no] % %\setupsection[section-3][conversion=Characters

Re: [NTG-context] urgent reference problem (full path)

2008-04-24 Thread Steffen Wolfrum
, it must show the full path when referenced (otherwise nobody will find 2). Is there help? Thank you very much, Steffen \definehead[EbeneEins][chapter] \setupsection[section-3][conversion=Characters,previousnumber=no] \setupsection[section-4][conversion=Romannumerals,previousnumber

Re: [NTG-context] Adding custom key/value pairs

2008-04-17 Thread Wolfgang Schuster
command to place the title \definehead[abstract] or can we use one of the predefined ones (title -- new page or subject -- if you need a abstract in different languages on one page). This should define a command that captures its contents, and provides a command \placetitlesubstructure[abstract

Re: [NTG-context] how to NOT reset subsection ONLY ??

2008-04-03 Thread Wolfgang Schuster
appearance of subsection individually)?? You could define subsection as a copy from section. \setupsection[section][conversion=numbers,previousnumber=no] \definehead[subsection][section] \setuphead[subsection][style=] I tried to get this effect also with ConTeXt's subhead and setupsection commands

Re: [NTG-context] interaction query

2008-02-15 Thread Wolfgang Schuster
. \setupcolors[state=start] \setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm] \definereferenceformat [givepage] [command=\at, left={\color[blue]}] \definehead[LevelBHead][subject] \setupsectionblock[LevelBHead][number=no,page=right] \setuphead[LevelBHead][style={\tf\rm

Re: [NTG-context] interaction query

2008-02-15 Thread Hans Hagen
== \color[blue]{1} \definehead[LevelBHead][subject] \setupsectionblock[LevelBHead][number=no,page=right] \setuphead[LevelBHead][style={\tf\rm},interaction=yes] \starttext \dorecurse{2}{\input knuth\par}\reference[Reference]{} \dorecurse{3}{\input knuth\par} \LevelBHead{B{-}Header\hfill

Re: [NTG-context] interaction query

2008-02-15 Thread Alan Bowen
with a colored pagenumber. \setupcolors[state=start] \setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm] \definereferenceformat [givepage] [command=\at, left={\color[blue]}] \definehead[LevelBHead][subject] \setupsectionblock[LevelBHead][number=no,page=right] \setuphead

[NTG-context] interaction query

2008-02-14 Thread Alan Bowen
In my preface, I have \setupinteraction[state=start,color=blue,style=rm] \definehead[LevelBHead][subject] \setupsectionblock[LevelBHead][number=no,page=right] \setuphead[LevelBHead][style={\tf\rm},interaction=yes] and in the source file proper, \LevelBHead{Comment 3: {\em In de caelo} {\tf

Re: [NTG-context] interaction query

2008-02-14 Thread Alan Bowen
Thanks, Hans, but i still cannot get this to work. Here is a simple file that conveys the problem (working link, but wrong color). Alan ~ \setupinteraction[state=start,contrastcolor=blue,color=blue,style=rm] \definehead[LevelBHead][subject] \setupsectionblock[LevelBHead][number

Re: [NTG-context] header to register

2008-01-28 Thread Wolfgang Schuster
} \definehead[Titel][chapter] \definehead[TitelNoToc][chapter] \definehead[TitelNoPage][chapter] \definehead[TitelKlein][chapter] \def\TitelFrame#1{\expanded{\index{#1}}% \framed[ width=\textwidth, height=7.5mm, frame=off

Re: [NTG-context] header to register

2008-01-23 Thread Henning Hraban Ramm
.177 ...age{index}{,}{21}{2--0-6-0-0-0-0-0--5}{7} probably caused by \dots in: \Titel{Wach nun auf\dots} with those definitions: --- 8 --- \def\dots{\thinspace.\thinspace.\thinspace.\thinspace} \definehead[Titel][chapter] \definehead[TitelNoToc][chapter] \definehead[TitelNoPage][chapter

Re: [NTG-context] Bug or feature? Strange counter behaviour in macro

2008-01-12 Thread Aditya Mahajan
as a section (or subsection) \definehead[Issue][section] \Issue {Jan 9, 2008} What we did at that time. \Issue {Jan 10, 2008} something else \stoptext Then you can use \setupheadertexts[issue] to get the current issue in the header. Now this is how I went out to do this in ConTeXt (maybe wrongly so

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
][plural] \definefont[name][file] # \definefontsynonym \defineframed[name][settings] # \defineframedcontent \defineframedtext[name][settings] \definehead[name][section] # \definehspace \defineindenting[name][settings] \defineinteractionmenu[position|names][options and settings] \defineinteractionmenu

Re: [NTG-context] chapter without number but in table of contents

2007-12-17 Thread Wolfgang Schuster
: -- \completecontent [alternative=c] \definehead[mychapter][chapter] \setuphead [mychapter][number=no] add incrementnumber=list to \setuphead This doesn't seem to work: -- \starttext \completecontent [alternative=c] \chapter

[NTG-context] chapter without number but in table of contents

2007-12-15 Thread Patrick Gundlach
Hi, I know that this must be an faq and I seem to have lost my context knowledge: I'd like to get an unnumbered chapter, but it should appear in the table of contents. This is what I've tried so far: -- \completecontent [alternative=c] \definehead[mychapter][chapter

Re: [NTG-context] chapter without number but in table of contents

2007-12-15 Thread Patrick Gundlach
Hello Wolfgang, I know that this must be an faq and I seem to have lost my context knowledge: I'd like to get an unnumbered chapter, but it should appear in the table of contents. This is what I've tried so far: -- \completecontent [alternative=c] \definehead[mychapter

Re: [NTG-context] chapter without number but in table of contents

2007-12-15 Thread Henning Hraban Ramm
Am 2007-12-15 um 17:33 schrieb Patrick Gundlach: \starttext \completecontent [alternative=c] \chapter{chapter1} \chapter{chapter2} \chapter{chapter3} \definehead[mychapter][chapter] \setuphead [mychapter][number=no,incrementnumber=list] \mychapter{chapter4} \stoptext

Re: [NTG-context] PDF Bookmarks on unnumbered subjects/titles etc

2007-12-12 Thread Wolfgang Schuster
{Subject} \section{Another section} \chapter{Second Chapter} text \section{First section in second chapter} text \subject{Another Subject} text \section{Last section} text \stoptext The wiki page also has this: \definehead[Title][Chapter] \setuphead[Title][number=no] But that doesn't make

[NTG-context] PDF Bookmarks on unnumbered subjects/titles etc

2007-12-11 Thread mir_ctx
page also has this: \definehead[Title][Chapter] \setuphead[Title][number=no] But that doesn't make the slightest difference. Anybody got any ideas how to get this to work? I'm using: pdfeTeX 3.141592-1.21a-2.2 (Web2C 7.5.4) TeXExec 5.2.4 - ConTeXt / PRAGMA ADE 1997-2005 texutil : TeXUtil 9.0.0

Re: [NTG-context] cv templates

2007-09-14 Thread Andrea Valle
=no] %\setupitemize[3][symbol=a][indentnext=no] \definehead[CVHEAD][subject] \setuphead[subject][style=\bfa,after={\blank[medium]}] \definehead[SUBCVHEAD][subsubject] \setuphead[subsubject][style=\bf,after={\blank[small]},before= {\blank[small]}] \defineparagraphs[ContactColumns][n=2] \setupparagraphs

Re: [NTG-context] cv templates

2007-09-14 Thread Bert Trüger
[location=footer] \setupinmargin[align=right] \setupitemize[1][paragraph,atmargin,unpacked][symbol=n,indentnext=no,] \setupitemize[2][symbol=a][indentnext=no] %\setupitemize[3][symbol=a][indentnext=no] \definehead[CVHEAD][subject] \setuphead[subject][style=\bfa,after={\blank[medium]}] \definehead

Re: [NTG-context] subsection number independent of section

2007-08-26 Thread Idris Samawi Hamid
want: \setuphead[section][conversion=Romannumerals] \definehead[SUBsection][section] \setuphead[SUBsection][conversion=Character] \setuplabeltext[section={{},{.}}] \setuplabeltext[SUBsection={{},{.}}] \starttext \section{A Section Title} \SUBsection{A Subsection

<    1   2   3   4   5   6   >