Re: [NTG-context] confusion about expansion

2014-03-12 Thread Wolfgang Schuster
Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org: Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\ \contextversion } and later: \setlayer

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
On 3/12/2014 10:05 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org: Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Wolfgang Schuster
Am 12.03.2014 um 15:12 schrieb Lars Huttar lars_hut...@sil.org: On 3/12/2014 10:05 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:00 schrieb Lars Huttar lars_hut...@sil.org: Hello, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
, I've got a running page head like this in my document: \def\CurrentUser{\cldcontext{os.resultofwhoami}} \def\Markname { Compiled \date by \CurrentUser \LUATEX +\ConTeXt\ \contextversion } and later: \setlayer[cropmark][preset=lefttop,x=3cm,y=-1.5\lineheight]{\Markname} But when I run

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Wolfgang Schuster
Am 12.03.2014 um 15:51 schrieb Lars Huttar lars_hut...@sil.org: This gets rid of the error, but it seems to prevent any expansion of the content of \CurrentUser, because the page head now literally looks like this: You can try to print the string in verbatim mode: \def\CurrentUser

Re: [NTG-context] confusion about expansion

2014-03-12 Thread Lars Huttar
On 3/12/2014 11:06 AM, Wolfgang Schuster wrote: Am 12.03.2014 um 15:51 schrieb Lars Huttar lars_hut...@sil.org mailto:lars_hut...@sil.org: This gets rid of the error, but it seems to prevent any expansion of the content of \CurrentUser, because the page head now literally looks like

[NTG-context] Problem with an environment

2014-03-06 Thread Fabrice Couvreur
I'm trying to built a template for evaluations of my students. I have a problem with the head environment that does not take into account the selected font and size. Regards, Fabrice \environment environ-2 \environment environ-3 \environment header \starttext \MyOtherHeader{Seconde GTA}{20

Re: [NTG-context] Rearrange Table of Contents section page numbers

2014-02-01 Thread Wolfgang Schuster
, there is no current chapter and so the head location for the chapter entry returns 0. Here is what I have so far: \startsetups [list:TOC] \starttabulate \currentlistentrypagenumber{} \hskip 1em \NC \currentlistentrytitle{} \NR \stoptabulate \stopsetups \definelistalternative

[NTG-context] Rearrange Table of Contents section page numbers

2014-01-31 Thread Thangalin
, there are syntax errors and the conditional expression assumes that the ToC is being placed on every page. This assumption allows it to resolve the namedstructureheadlocation value. For a ToC at the start of a document, there is no current chapter and so the head location for the chapter entry returns 0

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-13 Thread Wolfgang Schuster
Am 13.01.2014 um 04:41 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, Thanks for the tip: I’ll try to adapt what you suggest to the case of blocks and question-hint-answer, and then let you know if I succeed. Out of curiosity, how can one access the counter associated to an

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Jaroslav Hajtmar
Hello Otared and Wolfgang. Thanks for launching this example. Is there a possibility to write the answers into a more compact form (more columns, one paragraph, etc) like in any textbooks? I tried experimenting, but I was unable to put answers into a compact form. Thanks Jaroslav Hajtmar

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Otared Kavian
Hi Jaroslav, Actually the formatting of what you put in the block determined for example by \beginanswer The answer is… \endanswer is independent of the block mechanism: you can use whatever structure you want. In the example we exchanged on, an enumeration such

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Jaroslav Hajtmar
OK. Thanx very much - for me it is a useful thing... Jaroslav Hajtmar Dne 12.1.2014 17:08, Otared Kavian napsal(a): Hi Jaroslav, Actually the formatting of what you put in the block determined for example by \beginanswer The answer is… \endanswer is

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Wolfgang Schuster
Am 11.01.2014 um 20:01 schrieb Otared Kavian ota...@gmail.com: I will put this example on the wiki, but before doing so I have another question: can one add two automatic links at the end of each question so that one can navigate easily to the respective hint or answer corresponding to

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Wolfgang Schuster
Am 12.01.2014 um 21:47 schrieb Otared Kavian ota...@gmail.com: On 12 janv. 2014, at 21:30, Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 11.01.2014 um 20:01 schrieb Otared Kavian ota...@gmail.com: I will put this example on the wiki, but before doing so I have another

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-12 Thread Otared Kavian
Hi Wolfgang, Thanks for the tip: I’ll try to adapt what you suggest to the case of blocks and question-hint-answer, and then let you know if I succeed. Out of curiosity, how can one access the counter associated to an enumeration or an item? Also, if I understand correctly, the command

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-11 Thread Wolfgang Schuster
Am 11.01.2014 um 00:36 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, In mkiv, even using \startanswer, \stopanswer (and the same syntax with questions and hints) the blocks mechanism seems to be broken. The error message is still the following: \dostopnormalblock ...meter

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-11 Thread Otared Kavian
Hi Wolfgang, Many thanks for your attention and insight. With your code everything works as expected. In case others would be interested, I give here a slight modification of what you sent, which works very well with mkiv: I only added

Re: [NTG-context] ntg-context Digest, Vol 115, Issue 19

2014-01-10 Thread Jean-Guillaume
Date: Thu, 9 Jan 2014 14:24:35 +0100 From: Wolfgang Schuster schuster.wolfg...@gmail.com Subject: Re: [NTG-context] setuphead for in-paragraph head ? Message-ID: 76850319-0120-41e9-8a4e-46fe9a9cb...@gmail.com But this: \definehead [Exercise] [subsection] [after=] \starttext

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-10 Thread Otared Kavian
Hi Wolfgang, In mkiv, even using \startanswer, \stopanswer (and the same syntax with questions and hints) the blocks mechanism seems to be broken. The error message is still the following: \dostopnormalblock ...meter \c!after \par \egroup

[NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
Hi all, this is my first message here. In the subsection head, I would like to suppress the newline between the number and the text, so it behaves like some kind of numbered subsubject. I tried to modify some examples from the wiki, but without success. In http://wiki.contextgarden.net/Command

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: In the subsection head, I would like to suppress the newline between the number and the text, That's controlled by the “after” key. \setuphead [Exercise] [after=] My purpose is to define something like: \definehead[Exercise][subsection

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Patzer
On 2014–01–07 Marco Pallante wrote: […] What I get, however, is a table that starts at page 2 and not just after the chapter head. The table starts on page one here. Which version are you using? Marco signature.asc Description: Digital signature

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
Thanks for your reply, Marco. Here is a full example: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext After contexting it, it looks like: 1 (this is the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Marco Patzer
On 2014–01–09 Jean-Guillaume wrote: \starttext \definehead[Exercise][subsection] \setuphead [Exercise] [after=] \startExercise[]{(this is the exercise's title)} The exercise's content. \stopExercise \stoptext \definehead [Exercise] [subsection] [after=] \starttext

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jean-Guillaume
But this: \definehead [Exercise] [subsection] [after=] \starttext \startExercise [title=This is the exercise's title] The exercise's content. \stopExercise \stoptext results to: 1 This is the exercise's title The exercise's content. and I would like it to be: 1 This is the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 14:23 schrieb Jean-Guillaume jng...@gmail.com: But this: \definehead [Exercise] [subsection] [after=] \starttext \startExercise [title=This is the exercise's title] The exercise's content. \stopExercise \stoptext results to: 1 This is the exercise's title

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
Hi Jean Guillaume, I guess Marco Patzer and Wolfgang Schuster gave you already the appropriate answers. Nevertheless, I wanted to share with you the definitions I use for the kind of work you want to do: %%% begin example-exercise.tex %%% % defining \startexo,

Re: [NTG-context] Multipage xtables starts at the wrong page

2014-01-09 Thread Marco Pallante
that starts at page 2 and not just after the chapter head. The table starts on page one here. Which version are you using? Marco ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Dne 9.1.2014 15:19, Otared Kavian napsal(a): %%% begin example-exercise.tex %%% % defining

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Hello Jaroslav, I have something like the

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Aditya Mahajan
On Thu, 9 Jan 2014, Otared Kavian wrote: On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx Jaroslav Hajtmar Hello

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 16:36 schrieb Otared Kavian ota...@gmail.com: On 9 janv. 2014, at 15:48, Jaroslav Hajtmar hajt...@gyza.cz wrote: Hello Otared. I will throw this one... Thanx. Once I was using exercise-answer package for LaTeX. Is there anything like this to use in ConTeXt? Thanx

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Otared Kavian
Hi Wolfgang, Hi Aditya, Thanks for your attention. Unfortunately adding \keepblocks[question] the example I sent before does not work in mkiv, and changing location=hanging to alternative=hanging does not help neither… The error message in mkiv is:

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Wolfgang Schuster
Am 09.01.2014 um 18:36 schrieb Otared Kavian ota...@gmail.com: Hi Wolfgang, Hi Aditya, Thanks for your attention. Unfortunately adding \keepblocks[question] the example I sent before does not work in mkiv, and changing location=hanging to alternative=hanging does

Re: [NTG-context] setuphead for in-paragraph head ?

2014-01-09 Thread Jaroslav Hajtmar
Hello Wolfgang, Otared and Aditya. Thanks for your advice and treatments. It is there a complete working example? I am sorry, but I am not able to achieve the proposed modifications to make it work. Thanx. Jaroslav Hajtmar Dne 9.1.2014 18:41, Wolfgang Schuster napsal(a): Am 09.01.2014

[NTG-context] Multipage xtables starts at the wrong page

2014-01-07 Thread Marco Pallante
\startxcell Applicability \stopxcell \stopxrow } \stopxtablebody \stopxtable \stoptext What I get, however, is a table that starts at page 2 and not just after the chapter head. If the number of rows is smaller and the table fit the first page, then it starts at the right place. What I'm

[NTG-context] Malayalam shaping with mkiv/LuaTeX

2014-01-04 Thread Rajeesh K Nambiar
+ -- end end end @@ -560,7 +616,7 @@ local function deva_reorder(head,start,s local lastcons = nil local basefound = false -if start.char == c_ra and halant[n.char] and reph then +if char_ra[start.char] and halant[n.char] and reph then -- if syllable starts

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-05 Thread Lars Huttar
=empty,footer=footerpagenumber,number=no,align={middle,nothyphenated,verytolerant},style=ssbf] \starttext \section{My Own Section} \dorecurse{15}{ \input knuth \par } \stoptext I would love to know what the default properties of the \chapter head are, so we could know what we're inheriting

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Wolfgang Schuster
\setuppagenumbering[location=footer] before the \starttext, we get the page numbering we want, but it's on every page, not just the first. Is there something wrong with our setup head? This works only when your heading forces a page break with the “page=yes” setting in \setuphead. Wolfgang

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Lars Huttar
] \setuphead[section][page=no,header=empty,footer=footerpagenumber,number=no,align={middle,nothyphenated,verytolerant},style=ssbf] \starttext \section{My Own Section} \dorecurse{15}{ \input knuth \par } \stoptext I would love to know what the default properties of the \chapter head are, so we

Re: [NTG-context] footer page number on first page of section: doesn't appear

2013-12-04 Thread Aditya Mahajan
of the \chapter head are, so we could know what we're inheriting, or how to set up section to do what we want without inheriting unknown properties from chapter. (Untested): Looking at the code, it looks that any value other than page=, (i.e, page=empty) should work. Did you try the above example

Re: [NTG-context] Is there documentation for the memo module?

2013-10-27 Thread Wolfgang Schuster
] \setupmemosection[head][style=bold] %\setupmemosection[content][align={right,broad}] \startmemo [opening={Dear Mr. Wilson,}, subject={Ideas for a new typesetting system}, closing={Best regards}, signature={John Simmons}] \dorecurse{4}{\input knuth\par} \stopmemo Wolfgang

[NTG-context] Bugfix in strc-doc

2013-09-28 Thread Aditya Mahajan
\somenameheadnumber{whatever}{last} gives an error if the head 'whatever' hasn't been used. This can be avoided using -if data then +if data and data.references then in line 772 of strc-doc.lua. Aditya

Re: [NTG-context] question about linespace adjustment

2013-09-24 Thread Lars Huttar
... whereas \tfc changes the *font*, not the *body* font? Lars You can look into font-pre.mkiv OK. I'm looking at it, http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/font-pre.mkiv Is there anything in particular you had in mind that I can learn from it? I found some aliases

[NTG-context] devanagari rendering (2 errors)

2013-09-09 Thread Peter Graif
consonant in the same word. A picture, in case it's more helpful: http://i.imgur.com/MpIwd9w.png I tried to look at the code in hopes of offering a fix, but I'm afraid it was way over my head. If there's anything else I can do to help, I'd be happy for the opportunity. Best regards, Peter

Re: [NTG-context] devanagari rendering (2 errors)

2013-09-09 Thread Hans Hagen
when conjoining with another subsequent consonant in the same word. A picture, in case it's more helpful: http://i.imgur.com/MpIwd9w.png I tried to look at the code in hopes of offering a fix, but I'm afraid it was way over my head. If there's anything else I can do to help, I'd be happy

Re: [NTG-context] Another issue with my magazine

2013-09-05 Thread Hans Hagen
On 9/4/2013 9:51 PM, Mikoláš Štrajt wrote: On 2013-09-04 Hans Hagen wrote: first of all you need to switch to mkiv ... more change on tips and solutions then OK. I have switched to mkiv. What now about my head whitespace problems. well, first provide a mkiv example ... less code than

Re: [NTG-context] Another issue with my magazine

2013-09-04 Thread Hans Hagen
here, but without any effect % - make vertical space between article head and author name shorter (also in general : modify vertical spaces of heads) % % Regards Mikoláš Štrajt % % PS: You can use this e-mail as source code of my solution. :-D first of all you need to switch to mkiv ... more

Re: [NTG-context] Another issue with my magazine

2013-09-04 Thread Mikoláš Štrajt
On 2013-09-04 Hans Hagen wrote: first of all you need to switch to mkiv ... more change on tips and solutions then OK. I have switched to mkiv. What now about my head whitespace problems. -- Mikolas Strajt___

[NTG-context] Another issue with my magazine

2013-09-03 Thread Mikoláš Štrajt
space between article head and author name shorter (also in general : modify vertical spaces of heads) % % Regards Mikoláš Štrajt % % PS: You can use this e-mail as source code of my solution. :-D %%% %%% FOLLOWING IS STYLE AS IS USED IN REAL LIFE %%% %%% % Čeština \enableregime[utf] % Fonty

Re: [NTG-context] setuplabeltext doesn't adjust the part label (with MkIV)

2013-08-31 Thread Sanjoy Mahajan
=\v!chapter (as for the chapter head setup). Should the part bodypart be automatically included? -Sanjoy ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

[NTG-context] Hidden sections

2013-08-23 Thread Mikoláš Štrajt
them in TOC and page headers. So there will be no „Poetry“ head in text but „Poetry“ will be shown in page header and TOC. Unfortunately, the trick from http://wiki.contextgarden.net/Titles#Flushing_ section_head_data_without_typesetting_them_in_the_text seems to not work for me. Thanks for help

Re: [NTG-context] Hidden sections

2013-08-23 Thread Wolfgang Schuster
stories, programming). I need to hide section heads in text but to show them in TOC and page headers. So there will be no „Poetry“ head in text but „Poetry“ will be shown in page header and TOC. Unfortunately, the trick from http://wiki.contextgarden.net/Titles

Re: [NTG-context] Locating pdf files in the texmf directory structure

2013-08-05 Thread Marco Patzer
header \defineletterelement[layer][head][example]{% \framed[background=logohead,frame=off,align=left]{% \externalfigure[UMA_Seal_200_Maroon.pdf][height=3.1cm]} } \setupletter[ signature={\externalfigure[signature-blue.pdf]} ] If you provide code, please create working examples, not just

[NTG-context] Broken nightly? (2013.08.03)

2013-08-04 Thread Kip Warner
... The latter referenced file is available here: https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Leading_Characters/Arda_Ba%C5%9Ft%C3%BCrk.tex#L103 Respectfully, PS Please copy me if you need further information, as I am not currently

[NTG-context] Locating pdf files in the texmf directory structure

2013-08-04 Thread Michael Ash
this involve tracking as discussed in http://wiki.contextgarden.net/Command/externalfigure ? Thank you very much for guidance. best, Michael % Define logo for the first page header \defineletterelement[layer][head][example]{% \framed[background=logohead,frame=off,align=left]{% \externalfigure

Re: [NTG-context] PDF-Toc text is wrong for new \start? commands

2013-07-16 Thread Andres Conrado
] \definecolor[maroon][h=990033] \setuplanguage [en] [date={dd, month, year}] \setupletteroptions [language=english, bodyfont={rm,12pt}, ] % Define logo for the first page \defineletterelement[layer][head][example]% {\framed[background=logohead,height=25mm,frame=off,align=left]% {\externalfigure

[NTG-context] Some questions about the letter module

2013-07-15 Thread Michael Ash
\usemodule[letter] \setuppapersize[letter][letter] \definecolor[maroon][h=990033] \setuplanguage [en] [date={dd, month, year}] \setupletteroptions [language=english, bodyfont={rm,12pt}, ] % Define logo for the first page \defineletterelement[layer][head][example]% {\framed[background

[NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
[language=english, bodyfont={rm,12pt}, ] % Define logo for the first page \defineletterelement[layer][head][example]% {\framed[background=logohead,height=25mm,frame=off,align=left]% {\externalfigure[dummy]}} % We put our logo in the head \setupletterlayer[head] [alternative=example, x=9mm, y=10mm

Re: [NTG-context] Some questions about the letter module

2013-07-12 Thread Michael Ash
guidance. Yours, Michael \usemodule[letter] \setuppapersize[letter][letter] \definecolor[maroon][h=990033] \setuplanguage [en] [date={dd, month, year}] \setupletteroptions [language=english, bodyfont={rm,12pt}, ] % Define logo for the first page \defineletterelement[layer][head

Re: [NTG-context] suggestion: setups for \startitem

2013-07-06 Thread Wolfgang Schuster
\stopitemize \stoptext How to achieve the result of #1 with the syntax in #2? You have the change the definition for \startitem but I would go for a bigger change which includes also \head, \txt etc. To do this one could write \startitem[alternative=head,text=…] one could use

Re: [NTG-context] suggestion: setups for \startitem

2013-07-06 Thread Hans Hagen
On 7/6/2013 12:10 PM, Wolfgang Schuster wrote: To do this one could write \startitem[alternative=head,text=…] one could use it as synonym for \starthead or with \startitem[alternative=symbol,text=…] as alternative for \sym. Since references are lost with this method you can write

Re: [NTG-context] Possible bug with new \start ... \stop way for title, chapter, subject, etc.?

2013-06-29 Thread Wolfgang Schuster
is a modified version of the older code which uses the new MkIV mechanism to create customized head layouts which gobbles also the space for \startsection. \defineheadalternative [head:inleftmargin] [alternative=horizontal, renderingsetup=head:inleftmargin] \startsetups[head:inleftmargin

[NTG-context] how to use \dimexpr and fractional values

2013-06-28 Thread Thomas A. Schmitz
my head around \numexpr etc. in the etex manual, but couldn't really figure out what to do. Thanks, and all best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread Marco Patzer
On 2013–06–03 honyk wrote: How can I keep numeration and title together? You can create a custom head alternative. The following code is copied from the source, I only replace the \par with \kern\headnumberdistance. Have a look at strc-ren.mkiv for other layouts. \setuphead [section

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread honyk
Marco, thanks a lot, it gives me exactly what I wanted! But to be honest, I expected a single option for this :-) Jan On 2013–06–03 honyk wrote: How can I keep numeration and title together? You can create a custom head alternative. The following code is copied from the source, I only

Re: [NTG-context] Two questions about registers

2013-06-02 Thread Marcin Borkowski
interline space (confirmed by doing \showgrid). What should I do to prevent this from happening? Me again: seems it was an ID10T error, the problem was insufficient magnification in the pdf viewer. Solution wikified under Registers. The problem with head style of the title of the register is still

Re: [NTG-context] footnote rollover message in PDFs (with interaction)

2013-05-19 Thread Alan Bowen
of other hyperlink links, say, a reference to a chapter or a section? when setting up a section head you can say interaction=list --**--**- Hans Hagen | PRAGMA ADE

Re: [NTG-context] footnote rollover message in PDFs (with interaction)

2013-05-15 Thread Hans Hagen
On 5/15/2013 4:13 PM, Alan Bowen wrote: Yes, two-way coupling for footnotes works (though as you say, it goes unnoticed if everything is no the same page. But what of other hyperlink links, say, a reference to a chapter or a section? when setting up a section head you can say interaction=list

[NTG-context] MkIV problem+fix with \framed[location=depth / height / hanging]

2013-05-14 Thread Sietse Brouwer
of this e-mail. It works; but it is a pure-bred example of cargo cult programming, i.e. lots of 'making it look right' and very little understanding, so you will probably want to check it. [1] http://repo.or.cz/w/context.git/blob/HEAD:/tex/context/base/pack-rul.mkiv All the best, Sietse \setupcolors

[NTG-context] Grid typesetting: aligning section to top of textarea

2013-05-13 Thread Sietse Brouwer
%% * align top of reference line with external baseline. %% but grid=yes may disable that. location={top, hanging}, ]{\AntykwaChapter #1}} %% The head-specific grid setup comes here \setuphead[subject] [header=high, % no header; extend textarea into header area page

Re: [NTG-context] Issue with 2013.04.30 00:31

2013-05-07 Thread Hans Hagen
and 5.2) https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Environment.tex I am using ConTeXt 2013.04.30 00:31, LuaTeX beta-0.77.0-2013042719 (TeX Live 2013/dev/Debian)(rev 4635), and LuajitTeX version beta-0.77.0-2013042721 (TeX Live 2013/dev

[NTG-context] Issue with 2013.04.30 00:31

2013-05-06 Thread Kip Warner
in the latter file since line one is merely a comment. But perhaps this is due to something in my environment file? https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Environment.tex I am using ConTeXt 2013.04.30 00:31, LuaTeX beta-0.77.0-2013042719 (TeX Live

[NTG-context] Draw a line below the header texts

2013-04-27 Thread Tim Li
Chapter} this is the second chapter \section{section 1} \page \section{section 2} the second page of the second chapter \stoptext The rule shouldn't be above the chapter head ``1 First Chapter at page 1 and page 4 should be true empty, since it is just before Chapter 2 and has no contents

Re: [NTG-context] Lucida doesn't work in TL 2013 / latest ConTeXt

2013-04-19 Thread George N. White III
___ -- George N. White III aa...@chebucto.ns.ca Head of St. Margarets Bay, Nova Scotia ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Tim Li
Hi, maybe, codes is our language :-) % define a new head\definehead[backmatterchapter][chapter] \starttext \startfrontmatter \title{Preface} \completecontent \stopfrontmatter \startbodymatter \chapter{First Chapter} \stopbodymatter \startbackmatter \backmatterchapter{Backmatter} \stopbackmatter

Re: [NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Wolfgang Schuster
Am 17.04.2013 um 17:59 schrieb Tim Li timli2...@outlook.com: Hi, maybe, codes is our language :-) % define a new head \definehead[backmatterchapter][chapter] […] The chapter title Backmatter in the backmatter won't appear in the Contents. Why? How can I make it appear

Re: [NTG-context] Vanishing chapter title from Contents

2013-04-17 Thread Tim Li
:-) % define a new head \definehead[backmatterchapter][chapter] […] The chapter title Backmatter in the backmatter won't appear in the Contents. Why? How can I make it appear in the Contents? You have to redefine the \completecontent command to include “backmatterchapter” in the list of headings

Re: [NTG-context] Too many word-breaks in consecutive lines

2013-04-13 Thread Hans Hagen
, and even (far) beyond that. Chess has quite precise rules (and I wonder if a chess program will choose an nice but risky step over a winning one) while typesetting also involves esthetics and therefore only a simulation of what goes on into someones head can help out. It will probably take some

Re: [NTG-context] TOC: Chapters with and without page-numbers

2013-03-15 Thread Jonathan Barchi
and \setuphead commands, along with possibly defining a new head that inherits from chapter (\definehead[name][chapter], then \setuphead[name]). I don't really have time to play much with this now, but see the following links for a bunch more information on the commands above and on section heads in general

Re: [NTG-context] About Chapter head definition and FunnyFrame

2013-03-03 Thread john Culleton
On Mon, 3 Sep 2012 06:35:16 +0200 Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Am 03.09.2012 um 05:34 schrieb Jeong Dalyoung hak...@me.com: Dear all, I have two questions. 1. I defined \Myheader and use it to shape the chapter head as following: \def\Myheader#1

[NTG-context] Epigraphs (was About Chapter head definition and FunnyFrame)

2013-03-03 Thread Wolfgang Schuster
Am 03.03.2013 um 15:52 schrieb john Culleton j...@wexfordpress.com: Is there a facility in MKIV for creating an epigraph after a chapter head? The Memoir class in LaTeX has such a command. I'll look up \definheadalternative. Maybe it covers it, maybe not. It depends which solution you

[NTG-context] Some questions

2013-01-25 Thread Alain Delmotte
Hi, Now some questions to solve the problems I have when I try to follow the tutorial ConTeXt an excursion. I think it is for mkII and I use mkIV and that there has been many changes in between. - The example at the bottom of page 11 and page 12 gives me an error: ! Argument of \head

Re: [NTG-context] Some questions

2013-01-25 Thread Marco Patzer
On 2013–01–25 Alain Delmotte wrote: I think it is for mkII and I use mkIV and that there has been many changes in between. Indeed. - The example at the bottom of page 11 and page 12 gives me an error: ! Argument of \head has an extra }. \starttext \startitemize \starthead

Re: [NTG-context] Some questions

2013-01-25 Thread Alain Delmotte
Hi, Le 25/01/2013 15:47, Marco Patzer a écrit : On 2013–01–25 Alain Delmotte wrote: - The example at the bottom of page 11 and page 12 gives me an error: ! Argument of \head has an extra }. \starttext \startitemize \starthead kraamschudden\hfill (child welcoming) \stophead

Re: [NTG-context] Bug in label and setuphead

2013-01-18 Thread Aditya Mahajan
On Fri, 18 Jan 2013, Wolfgang Schuster wrote: Am 17.01.2013 um 19:20 schrieb Aditya Mahajan adit...@umich.edu: \setuphead[whatever][label=whatever] does not change anything. This looks like a bug to me. Otherwise, what is the right way of changing the label of a section head? \setuphead

[NTG-context] Bug in label and setuphead

2013-01-17 Thread Aditya Mahajan
Hi, (This is based on a question on tex.se: http://tex.stackexchange.com/q/94170/323) If a new head is defined based on an existing head, it still uses the label of the previous head. \definehead[whatever][chapter] \setuplabeltext[en][whatever=Whatever~] \setuplabeltext[en][chapter

Re: [NTG-context] Bug in label and setuphead

2013-01-17 Thread Wolfgang Schuster
Am 17.01.2013 um 19:20 schrieb Aditya Mahajan adit...@umich.edu: Hi, (This is based on a question on tex.se: http://tex.stackexchange.com/q/94170/323) If a new head is defined based on an existing head, it still uses the label of the previous head. \definehead[whatever][chapter

[NTG-context] link to component

2013-01-11 Thread Daniel Schopper
opens, if it has been compiled by itself before, otherwise the link is just going nowhere) instead of the page in product.pdf On the other hand, hyperlinks to a chapter/... head work as expected. I haven't used interaction much until now, so I might well be missing something, but this seems like

Re: [NTG-context] link to component

2013-01-11 Thread Daniel Schopper
: The line/page numbers on the link is correct, but the hyperlinks points to _component.pdf_ (which opens, if it has been compiled by itself before, otherwise the link is just going nowhere) instead of the page in product.pdf On the other hand, hyperlinks to a chapter/... head work as expected. I

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Hans Hagen
(to be specific: transparency). Any hint on how to do it? here's an example (I'll add it to the cld manual): \starttext \definecolor[mytransparency][a=1,t=.5] \startluacode local enabled = false local count = 0 function userdata.processmystuff(head) if enabled then count = count + 1

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Andre Caldas
Another question... function userdata.processmystuff(head) Shall I use this? userdata = userdata or {} \startbuffer whatever \hbox{you} want \stopbuffer How do I identify a specific node? Like... \startbuffer Will this be \boxtobechanged{transparent?} \stopbuffer André Caldas

Re: [NTG-context] Node for startbuffer.

2013-01-09 Thread Hans Hagen
On 1/9/2013 9:57 PM, Andre Caldas wrote: Another question... function userdata.processmystuff(head) Shall I use this? userdata = userdata or {} \startbuffer whatever \hbox{you} want \stopbuffer How do I identify a specific node? Like... \startbuffer Will this be \boxtobechanged

[NTG-context] Broken header=repeat in extreme tables

2013-01-08 Thread Jannik Voges
] \startxtablehead \startxrow \startxcell head one \stopxcell \startxcell head two \stopxcell \stopxrow \stopxtablehead \startxtablebody \dorecurse{100}{\startxrow

Re: [NTG-context] New module: simplesteps.

2012-12-14 Thread Andre Caldas
running head). That was the laziest way I could imagine :P I guess that's what I want to do. I just don't have the necessary knowledge yet. ;-) Some remarks: - you should rename simplesteps.mkiv to t-simplesteps.mkiv, indicating that it is a thirdparty module I will. I think I will have

Re: [NTG-context] New module: simplesteps.

2012-12-14 Thread Otared Kavian
but that should be taken as a placeholder at most. In my own slide module I use \{start,stop}section with the option placehead=no and rely on the page header to display the slide title (i.e. current section running head). That was the laziest way I could imagine :P I guess that's what I want to do. I just

Re: [NTG-context] New module: simplesteps.

2012-12-13 Thread Philipp Gesang
to display the slide title (i.e. current section running head). That was the laziest way I could imagine :P Some remarks: - you should rename simplesteps.mkiv to t-simplesteps.mkiv, indicating that it is a thirdparty module - if you plan on expanding the code you eventually will come

[NTG-context] Problematic Nightly (2012.12.01 13:03)

2012-12-02 Thread Kip Warner
don't see anything unusual on line 16: https://bazaar.launchpad.net/~avaneya/avaneya/trunk/view/head:/Documentation/Contributors/Handbook/Preface/Preface.tex PS Please cc me, as I am not currently subscribed on the list currently. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail

Re: [NTG-context] Underlined section

2012-11-30 Thread Marco Patzer
the most flexible way of implementing a structure head design. See also: http://wiki.contextgarden.net/Titles \definehead [mysection] [section] \setuphead [mysection] [alternative=mysection] \defineheadalternative [mysection] [renderingsetup=setup:mysection] \defineframedtext

<    2   3   4   5   6   7   8   9   10   11   >