Re: [NTG-context] I can't put footnote
En/na Hans Hagen ha escrit: Xan wrote: Hans, I can't do footnote with the most simple file, that I attach. Why. I'm desesperated. seems that you're running mkii ... the following is not permitted as 'note' is actually the internal footnote class so you basically redefine footnote (footnotes happen to be notes in the footer) \defineenumeration [note] [definition] [text={Nota},style=tf,titlestyle=bf,indenting=yes] so, use something else than note (mkiv is not so sensitive for this as there notes are enumerations whils in mkii only the rendering of the note is a description) Hans Thank you very much, Hans. This is definitely the reason of that error. The conclusion is that we always should define command with non-english names ;-) And yes, I have mkii. Sorry. I should mentioned it. Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I can't put footnote
On Thu, 23 Jul 2009, Xan wrote: Thank you very much, Hans. This is definitely the reason of that error. The conclusion is that we always should define command with non-english names Or uppercase names (as suggested in the manual)! Cheers, Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I can't put footnote
On Thu, Jul 23, 2009 at 1:17 PM, Peter Münster pmli...@free.fr wrote: On Thu, 23 Jul 2009, Xan wrote: Thank you very much, Hans. This is definitely the reason of that error. The conclusion is that we always should define command with non-english names Or uppercase names (as suggested in the manual)! Cheers, Peter or camel case -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] I can't put footnote
Hi, Anyone could help me please. I attach a document with I have problems. When I comment out the footnote in line 402, then I get an error. Can anyone could see what happens? Thanks in advance, Xan. % interface=en output=pdftex %\environment capcalera.context % Capçalera % Regime \enableregime[utf] % Choose a font \setupbodyfont [cmr,11pt] % cmr, 11pt % Be tolerant with paragraph building \setuptolerance [horizontal,verytolerant,stretch] % Choose a language, and associated hyphenation rules. %\language [ca] \mainlanguage[ca] % Page number \setuppagenumbering [location={footer}] % White space between paragraphs %\setupwhitespace [big] % Paper size \setuppapersize [a4] % Margins %\setuplayout [grid=yes, footer=0.5\footerheight, header=0.5\headerheight] %\setuplayout[footer=2cm, header=2cm] %\showlayout %\showframe %\showsetups % Format de marges %\setuplayout[topspace=1.5cm, % marge d'adalt %margin=1.5cm, %marges dels costats %header=1.0cm,%separació entre adalt i primera lÃnia %footer=1.0cm,%separació entre abaix i darrera lÃnia %width=fit,height=fit,backspace=2cm] % Enable colors and activate hyperlinks \setupcolors [state=start] \definecolor[lightblue][r=0.5, g=0.5, b=1.0] %\setupinteraction [state=start, color=lightBlue] %\setupurl[style=small, space=yes] \setupurl[space=yes] % Enumerate the URLs %\useURL[wiki][http://wiki.contextgarden.net][][\ConTeXt\ wiki] %\useURL[nagorko-pdf][http://www.math.bgu.ac.il/~barakw/probseminar/nagorko/slides.pdf][][http://www.math.bgu.ac.il/\~{}barakw/\quad\quad\quad\quad probseminar/nagorko/slides.pdf] %\useURL[govern-me][http://sgtrelinst.caib.es/llibrestil/00index.html][][http://sgtrelinst.caib.es/llibrestil/00index.html] %\useURL[context-manual-pdf][http://www.pragma-ade.com/general/manuals/cont-eni.pdf][][http://www.pragma-ade.com/general/manuals/ cont-eni.pdf] %\useURL [contextgarden] [{http://www.contextgarden.net}] %\useURL [mccammond][{http://www.math.ucsb.edu/~jon.mccammond/geogrouptheory/}][] [{\tf http://www.math.ucsb.edu/\~{}jon.mccammond/geogrouptheory/}] % Fonts %% Chapters... \setupheads[align=flushleft] \setuphead[chapter][style={\tfd\bf}] \setuphead[section][style={\bfc}, header=nomarking] \setuphead[subsection][style={\bfb}] \setuphead[subsubsection][style={\bfa}] %\setuphead[section][textstyle=bold] % Bibliography options % BIBTEX \usemodule[bib] \usemodule[bibltx] \setupbibtex[database=memoria,sort=author] \setuppublications [alternative=ams,numbering=yes, sorttype=bbl, criterium=cite]% \setupheadtext[ca][pubs=Referències] \setuppublicationlist[authoretallimit=3] \setuppublicationlist[authoretaltext={\it\ et al.}] \setuppublicationlist[authoretaldisplay=1] %Indentation \setupheads[indentnext=yes] \setupindenting[yes,small,first] %\setupformulae[indentnext=yes] % Vertical spaces between paragraphs \setupwhitespace[small] %Itemize \setupitemize[each][indentnext=no,margin=2em] % [identnext=yes,margin=2em] \setupitemize[each][headstyle=bold] %\setupitemize[a][right=),stopper=] % Mathematical packets \usemodule[newmat] \usemodule[math-ams] % Heads and footers %\setupfootertexts[][{\tfx \currentdate}] %\setupfootertexts[\pagenumber/\lastpage] %\setupfooter[text][before=\hrule] %\setupheader[text][after=\hrule] %\setupheadertexts[{\tfx Mà ster de Matemà tiques}][{\tfx \jobname.\ConTeXt{}.\currentdate}] %\setupheadertexts[][{\tfx \currentdate}] % hyphenating \hyphenation{do-cu-ment} \hyphenation{pro-ble-ma} \hyphenation{es-crip-tu-ra} \hyphenation{ge-ne-ra-lit-za-ció} \hyphenation{cor-res-po-nents} \hyphenation{pa-rells} \hyphenation{ge-ne-rat} % Modules \usemodule[tikz] \usemodule[pgfmath] \usetikzlibrary[mindmap,arrows,calc,decorations.pathmorphing,decorations.markings] %\usetikzlibrary[trees] % AMSTHM equivalent %% Exercici \defineenumeration [exercici] [text={Problema},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,left={\bgroup\bf},right={\egroup},width=fit,before={\bgroup\startframedtext[background=screen,frame=off,width=broad]},after={\stopframedtext\egroup}] %% Lema \defineenumeration [lema] [text={Lema}, % Què es mostra before={\blank[big]}, % abans de lema, un bigskip after={\blank[big]}, % després de lema, un bigskip headstyle=bold, % Negreta per la capçaleras %between=\blank, % Entre Lemmes una lÃnia en blanc titledistance=.5em, % espai entre número i parèntesis. textdistance=.5em, % espai entre ) i text stopper={.\space}, % Com acaba. Després de parèntesis un '.' location=serried, width=fit, % que ocupi tot l'espai style=italic, % estil del text title=yes, % si puc posar o no arguments opcionals titlestyle=bf, % estil del tÃtol way=bytext, % enumerar en tot el document conversion=numbers,indenting=yes] % enumera amb arabic %% Proposició, corol·laris, teoremes. %% Comparteix els nombres amb lema %% Si volem que vagin a part, hem de posar 'number=proposition' \defineenumeration
Re: [NTG-context] I can't put footnote
Xan wrote: Hi, Anyone could help me please. I attach a document with I have problems. When I comment out the footnote in line 402, then I get an error. Can anyone could see what happens? it's the version info that is causing the trouble, comment that line - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I can't put footnote
En/na Hans Hagen ha escrit: Xan wrote: Hi, Anyone could help me please. I attach a document with I have problems. When I comment out the footnote in line 402, then I get an error. Can anyone could see what happens? it's the version info that is causing the trouble, comment that line No, with the version line commented I get the same error: Presentacions de grups [3.3] [4.4] [5.5] subsubsubject : - El problema de la paraula ! Missing number, treated as zero. to be read again [ \setcounter ...name #1\endcsname {\the \numexpr #2 \relax } \footnote -\setnote [ \v!footnote ] l.402 ...t de generadors de $G({\cal P})$\footnote {Recordem que abusem del l... ? x Why? Thanks for helping me, Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I can't put footnote
Xan wrote: No, with the version line commented I get the same error: i don't get that error so i need a smaller test file Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] I can't put footnote
=proposition' \defineenumeration [proposition] [lema] [text={Proposició}] \defineenumeration [corollary] [lema] [text={Corol·lari}] \defineenumeration [theorem] [lema] [text={Teorema}] %% Definició \defineenumeration [definition] [lema] [text={Definició},style=tf,titlestyle=bf,indenting=yes] \defineenumeration [notation] [definition] [text={Notació},style=tf,titlestyle=bf,indenting=yes] \defineenumeration [note] [definition] [text={Nota},style=tf,titlestyle=bf,indenting=yes] %% Demostració \defineenumeration[demo][text={Demostració.\space},number=no,location=serried,width=fit,headstyle=italic,indentnext=yes,between=\blank,textdistance=.5em,closesymbol={\mathematics{\Box}},style=normal,indenting=yes] % Table of contents %% dots between... and subsubsubsection are not listed \setupcombinedlist[content][level=4,alternative=c] %% section = bold. % width= 10mm -- less space between num-letter %% line break after section. \setuplist[section][style=bold,width=10mm] \setuplist[section][before=\blank] %% margin = 10 mm. Put the subsection just bottom section. \setuplist[subsection][margin=10mm,width=10mm] \setuplist[subsubsection][margin=20mm,width=10mm] %\setuplist[subsection] %[distance=1em] % section = bold. % % Això ho trec d'un manual: %\setuplist[subsection] % [margin=1em, % numbercommand=\NumCom] %\def\NumCom#1{\hbox to 2em{\hfill #1}} % Set Ãndex like Ãndex de continguts \setupheadtext [ca] [content=Ãndex] % Definitions/abbreviations \define[1]\dist{d(\sigma_g(#1), \sigma_h(#1))} \define[1]\imp{{\bgroup\startframedtext[background=screen,frame=on,width=broad]#1\stopframedtext\egroup}} %\define[1]\imp{{\bgroup\startframedtext[background=color,backgroundcolor=lightblue,frame=on,width=broad]#1\stopframedtext\egroup}} % SPLIT \def\startsplit {\startalign} % no number by default \def\stopsplit {\doalignNR[+][]\crcr % for a number on last line \stopalign} % Other \setupunderbar[alternative=b] % Fix underline style % For putting underline with spaces: \underbar{\dorecurse{40}~} % Define new register for the Index of Symbols \defineregister[symbol][symbols] % Start the text \starttext %\version[concept] \subsubsubject{El problema de la paraula} Sigui $G$ un grup i $X$ un subconjunt de $G$. Aleshores l'aplicació $\pi \colon {(X \cup X^{-1})}^* \to G$\symbol{$\pi$} consistent a enviar cada lletra $x \in X$ a l'element corresponent $\pi(x) = x \in G$ es pot estendre de manera natural a totes les paraules de $X \cup X^{-1}$ de la forma següent: \startitemize[n] \item $\pi(x^{-1}) = \pi(x)^{-1}$ per a tot $x \in X$. \item Per a tota paraula $w = w_1 \ldots w_r$ sobre $X \cup X^{-1}$, \startformula \pi(w) = \pi(w_1) \cdots \pi(w_r) \in G. \stopformula \stopitemize Per tant, $\pi$ és un morfisme de monoides entre ${(X \cup X^{-1})}^*$ i $G$. De forma òbvia, si $X$ és un conjunt de generadors de $G$, aleshores $\pi$ és exhaustiva. En particular, si ${\cal P} = \langle X \mid R \rangle$ és una presentació, aleshores, com que $X$ és un conjunt de generadors de $G({\cal P})%$\footnote{Recordem que abusem del llenguatge, identificant $\iota(X)$ i $X$, i que, realment, $\iota(X)$ és el generador de $G(\cal{P})$.} , llavors $\pi \colon {(X \cup X^{-1})}^* \to G({\cal P})$ és un morfisme exhaustiu. \stoptext This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6) (format=cont-en 2009.3.12) 22 JUL 2009 22:38 entering extended mode %-line parsing enabled. (/usr/share/texmf/web2c/natural.tcx) **debug.context emergencyend (./debug.context ConTeXt ver: 2007.09.28 16:52 MKII fmt: 2009.3.12 int: english/english language: language en is active system : cont-new loaded (/usr/share/texmf/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/usr/share/texmf/tex/context/base/cont-new.mkii) (/usr/share/texmf/tex/context/base/cont-mtx.tex)) system : cont-old loaded (/usr/share/texmf/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/usr/share/texmf/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys.rme loaded (/etc/texmf/tex/context/user/cont-sys.rme (/usr/share/texmf/tex/context/base/type-tmf.tex) (/usr/share/texmf/tex/context/base/type-siz.tex) (/usr/share/texmf/tex/context/base/type-one.tex) (/usr/share/texmf/tex/context/base/type-akb.tex)) bodyfont: 12pt rm is loaded language: patterns en-ec:ec-1-2:3 uk-ec:ec-2-2:3 de-texnansi:tex nansi-3-2:3 de-ec:ec-4-2:3 fr-texnansi:texnansi-5-2:3 fr-ec:ec-6-2:3 es-ec:ec-7-2:3 pt-texnansi:texnansi-8-2:3 pt-ec:ec-9-2:3 it-texnansi :texnansi-10-2:3 it-ec:ec-11-2:3 nl-texnansi:texnansi-12-2:3 nl-ec:ec- 13-2:3 cz-il2:il2-14-2:3 cz-ec:ec-15-2:3 sk-il2:il2-16-2:3 sk-ec:ec -17-2:3 pl-pl0:pl0-18-2:3 pl-ec:ec-19-2:3 pl-qx:qx-20-2:3 loaded specials: tex,postscript,rokicki loaded \openout3 = `debug.tui
[NTG-context] should footnote columns work?
Footnotes are not put into columns in the test file below. In longer files, the line separating footnotes from the text overlaps the last line or two of the text. MTXrun | current version: 2009.06.14 21:01 This is LuaTeX, Version beta-0.40.5-2009061123 (Web2C 2009) luatex.web = v2471 test file: \setupfootnotes[n=2,columndistance=3em] \starttext \input bryson\footnote{Bryson} \input davis\footnote{Davis} \stoptext - This message has been scanned by Postini anti-virus software. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] problem with \footnote and \FlushStep (MKIV)
Peter Münster wrote: Some weeks ago, this worked fine, but today: \usemodule[pre-stepwise] \setupinteraction[state=start] \starttext \chapter{Footnote appears too early} \StartSteps bla\FlushStep \footnote{footnote}\FlushStep bla\FlushStep \StopSteps footnotes are now flushed completely differently; in mkii (and previous mkiv) they were typeset directly and as such got the properties (like layers) kind of frozen; in mkiv we now store them in their original form which means that later on they can reflow in whatever way they want in the future i can consider storing some more more info (in this case layers) with the note but we need to be carefull with it; providing a quick solution has not my preference as it cripples the code - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] problem with \footnote and \FlushStep (MKIV)
Hello, Some weeks ago, this worked fine, but today: \usemodule[pre-stepwise] \setupinteraction[state=start] \starttext \chapter{Footnote appears too early} \StartSteps bla\FlushStep \footnote{footnote}\FlushStep bla\FlushStep \StopSteps \chapter{Footnote appears too late} \StartSteps \startitemize \item bla\FlushStep \footnote{footnote}\FlushStep \item bla\FlushStep \stopitemize \StopSteps \page Here it's ok: \StartSteps bla\FlushStep \footnote{footnote}\FlushStep bla\FlushStep \StopSteps \stoptext TIA for any help! Peter -- Contact information: http://pmrb.free.fr/contact/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] beta (2009-06-01): footnote marker not moved
Hi, this is still not fixed. In mkiv the marker (asterisk) is not moved with it's corresponding footnote text. Best wishes, Peter \def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}} \setupfootnotes [bodyfont=6pt, textcolor=black, before=,after=, rule=off, numberconversion={set 2}, % distance=-2em, margindistance=-2em, numbercommand=\NoteNumber] \def\MyFootnote#1{\footnote{\hskip3em #1}} \starttext \startlocalfootnotes \vbox\bgroup\hsize=78mm\dontcomplain \startitemize[4] \item die Ausgabe erfolgt als PDF/X-4p\MyFootnote{ISO 15930-7:2008} \stopitemize \egroup \stoplocalfootnotes % footnote marker is not moved! \moveright70mm\hbox{\placelocalfootnotes} \stoptext inline: footnote.png___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Beta version 2009.05.27 16:26, \footnote and \section
Hi Hans, The issue I reported some time ago regarding \scetion and \footnote with mkiv, is still there: mkiv, LuaTeX version 40, LuaTeX revision 1, (LuaTeX date stamp 2009050813), ConTeXt version 2009.05.27 16:26. The issue is as follows: the text of the \footnote used in the title of a \section does not show up at the bottom of the page: here is a minimal test: %%% begin example \starttext \section{Testing a section\footnote{Actually for testing footnotes in the title of a section\dots}} % This footnote does not show up \startitemize \item test\footnote{This is a silly remark\dots} \item test\footnote{This is a silly remark, inside an item\dots} \stopitemize test\footnote{This is another silly remark but outside items\dots} \stoptext end example Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Beta version 2009.05.27 16:26, \footnote and \section
Otared Kavian wrote: Hi Hans, The issue I reported some time ago regarding \scetion and \footnote with mkiv, is still there: mkiv, LuaTeX version 40, LuaTeX revision 1, (LuaTeX date stamp 2009050813), ConTeXt version 2009.05.27 16:26. ok, solved in next beta - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Beta version 2009.05.27 16:26, \footnote and \section
On 27 mai 09, at 23:25, Hans Hagen wrote: […] ok, solved in next beta Thanks for your attention: I will test that beta. Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Beta 2009.05.20 00:02, \footnote and \section
On 20 mai 09, at 00:13, Hans Hagen wrote: Hi, I uploaded a beta. Not that many fixes (if someone can collect structure related bugs ...), only a few. […] Hans Hi Hans, I noticed that a small issue is still there with \scetion \footnote with mkiv, ConTeXt ver: 2009.05.20 00:02 MKIV fmt: 2009.5.20 int: english/ english The text of the \footnote used in the title of a \section does not show up at the bottom of the page: here is a minimal test: %%% begin example \starttext \section{Testing a section\footnote{Actually for testing footnotes in the title of a section\dots}} \startitemize \item test\footnote{This is a silly remark\dots} \item test\footnote{This is a silly remark, inside an item\dots} \stopitemize test\footnote{This is another silly remark but outside items\dots} \stoptext end example The other issues with \fotnote are now solved, as far as I can say with my bug-testing… Best regards: OK ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (12.05.2009, 22:36): footnote marker and overprinting
Peter Rolf wrote: Hi, just in case this slipped someone's mind :) I still get an error about an undefined control sequence (\PDFobjectreferenceB) and the footnote marker (star) is not moved with the footnote (\moveright). The attached example code (with overprinting) breaks with the mentioned error. The attached picture shows the problem with the separated footnote marker. It can be created with the other versions (without overprinting) of the \NoteNumber and \MyFootnote macros. it's \def\MyFootnote#1{\footnote {\hskip3em \startproperty[overprint]#1\stopproperty}} (i'll make \startoverprint which is actually kind of low level unexpandable but not \dostartproperty which is not intended as user command) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta (12.05.2009, 22:36): footnote marker and overprinting
Hans Hagen schrieb: Peter Rolf wrote: Hi, just in case this slipped someone's mind :) I still get an error about an undefined control sequence (\PDFobjectreferenceB) and the footnote marker (star) is not moved with the footnote (\moveright). The attached example code (with overprinting) breaks with the mentioned error. The attached picture shows the problem with the separated footnote marker. It can be created with the other versions (without overprinting) of the \NoteNumber and \MyFootnote macros. it's \def\MyFootnote#1{\footnote {\hskip3em \startproperty[overprint]#1\stopproperty}} sorry, i couldn't resist. \dostartoverprint was the more 'sexy' alternative ;) to tell the truth i can't quite remember why i chose this one. but i'm sure that i have tested everthing related to overprint. (i'll make \startoverprint which is actually kind of low level unexpandable but not \dostartproperty which is not intended as user command) ah, perfect a nice and melodic user command without any expansion problems :) many thanks! - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] beta (12.05.2009, 22:36): footnote marker and overprinting
Hi, just in case this slipped someone's mind :) I still get an error about an undefined control sequence (\PDFobjectreferenceB) and the footnote marker (star) is not moved with the footnote (\moveright). The attached example code (with overprinting) breaks with the mentioned error. The attached picture shows the problem with the separated footnote marker. It can be created with the other versions (without overprinting) of the \NoteNumber and \MyFootnote macros. Best wishes, Peter \def\NoteNumber#1{\hbox to 15pt{\hfill\black \dostartoverprint#1\dostopoverprint}} %\def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}} \setupfootnotes [bodyfont=6pt, textcolor=black, before=,after=, rule=off, numberconversion={set 2}, % distance=-2em, margindistance=-2em, numbercommand=\NoteNumber] \def\MyFootnote#1{\footnote{\hskip3em \dostartoverprint#1\dostopoverprint}} %\def\MyFootnote#1{\footnote{\hskip3em #1}} \starttext \startlocalfootnotes \vbox\bgroup\hsize=78mm\dontcomplain \startitemize[4] \item die Ausgabe erfolgt als PDF/X-4p\MyFootnote{ISO 15930-7:2008} \stopitemize \egroup \stoplocalfootnotes % footnote marker is not moved! \moveright70mm\hbox{\placelocalfootnotes} \stoptext inline: footnote.png___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnote numbers size in heads
Hello all: using defaults setings, footnote numbers size in heads are too big. I usually use \chapter{Capitulo 1\switchtobodyfont[9]\footnote{texto del footnote}\switchtobodyfont[11]} and works fine. But if I have a chapter head with a footnote in the middle: \chapter{Capitulo 1\switchtobodyfont[9]\footnote{texto del footnote}\switchtobodyfont[11] continua el titulo} the result is not correct. How can I fix this? tahnkyou in adavance. Horacio Suarez _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote numbers size in heads
Hi, please repost your question (with a working example - \starttext ... \stoptext) in a new thread and don't hijack other threads for your question, the messages are hard to find. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta: problem with footnote
Wolfgang Schuster wrote: \starttext \vbox{text in a vbox\footnote{footnote in a vbox}} % \hbox works! \stoptext ok, i can catch that error; the footnote is still not visible due to the fact that it's too deeply nested in a box (tex feature, unrelated to context); you can use postponefootes cum suis to catch that to some extend Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta: problem with footnote
Hi Idris and Peter, donno if this has been reported before... I get the follwing error message with the latest beta (2009-04-10): I get something similar with TOC processing: Can one of you make a example where the error is reproducable. @Peter, the xp code is now part of the normal mkiv code. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta: problem with footnote
Wolfgang Schuster schrieb: Hi Idris and Peter, donno if this has been reported before... I get the follwing error message with the latest beta (2009-04-10): I get something similar with TOC processing: Can one of you make a example where the error is reproducable. will try (a matter of free time) @Peter, the xp code is now part of the normal mkiv code. Greetings, Peter 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 : https://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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta: problem with footnote
Am 12.04.2009 um 15:25 schrieb Peter Rolf: Can one of you make a example where the error is reproducable. not minimal (no time), but it should be sufficient to isolate the cause of error. also: if its to easy to solve, Hans can not listen to music (debug- modus) enough. ;) %\def\NoteNumber#1{\hbox to 15pt{\hfill\black \dostartoverprint#1\dostopoverprint}} \def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}} \setupfootnotes [bodyfont=6pt, textcolor=black, before=,after=, rule=off, conversion={set 1}, % distance=-2em, margindistance=-2em, numbercommand=\NoteNumber] %\def\MyFootnote#1{\footnote{\hskip3em \dostartoverprint#1\dostopoverprint}} \def\MyFootnote#1{\footnote{\hskip3em #1}} \starttext \startlocalfootnotes \vbox\bgroup\hsize=78mm\dontcomplain \startitemize[4] \item die Ausgabe erfolgt als PDF/X-4p\MyFootnote{ISO 15930-7:2008} \stopitemize \egroup \stoplocalfootnotes \stoptext you narrowed it down but stopped just before goal :) \starttext \vbox{text in a vbox\footnote{footnote in a vbox}} % \hbox works! \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] beta: problem with footnote
Wolfgang Schuster schrieb: Hi Idris and Peter, donno if this has been reported before... I get the follwing error message with the latest beta (2009-04-10): I get something similar with TOC processing: Can one of you make a example where the error is reproducable. not minimal (no time), but it should be sufficient to isolate the cause of error. also: if its to easy to solve, Hans can not listen to music (debug-modus) enough. ;) same error message... ! LuaTeX error r:/tex/texmf-context/tex/context/base/strc-not.lua:143: attempt to index field 'pagenumber' (a nil value) stack traceback: r:/tex/texmf-context/tex/context/base/strc-not.lua:143: in function 'deltapage' main ctx instance:1: in main chunk. \domovednote ...tructure.notes.deltapage(#1,#2)} \or \symbol [#3]\or \symbo... \dohighlow ...\scratchdimen \hbox {\dodohighlow #5 }}\ht \scratchbox \struthe... \dogotofixed ...reference {#2}#1\relax }}}\else #1 \fi } \gotopagespecial ...currenttargetpage {#4}\else #4 \fi \endgroup l.2 ... {page}{0}{}{\primaryreferencefoundaction} \doprocessreferenceelse ...eferenceprefix ,#1)} \doresetgotowhereever ... l.22 ... als PDF/X-4p\MyFootnote{ISO 15930-7:2008} ? @Peter, the xp code is now part of the normal mkiv code. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ %\def\NoteNumber#1{\hbox to 15pt{\hfill\black \dostartoverprint#1\dostopoverprint}} \def\NoteNumber#1{\hbox to 15pt{\hfill\black #1}} \setupfootnotes [bodyfont=6pt, textcolor=black, before=,after=, rule=off, conversion={set 1}, % distance=-2em, margindistance=-2em, numbercommand=\NoteNumber] %\def\MyFootnote#1{\footnote{\hskip3em \dostartoverprint#1\dostopoverprint}} \def\MyFootnote#1{\footnote{\hskip3em #1}} \starttext \startlocalfootnotes \vbox\bgroup\hsize=78mm\dontcomplain \startitemize[4] \item die Ausgabe erfolgt als PDF/X-4p\MyFootnote{ISO 15930-7:2008} \stopitemize \egroup \stoplocalfootnotes \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] beta: problem with footnote
Hi, donno if this has been reported before... I get the follwing error message with the latest beta (2009-04-10): [..] {r:/tex/texmf/fonts/map/dvips/lm/lm-rm.map}] ! LuaTeX error r:/tex/texmf-context/tex/context/base/strc-not.lua:143: attempt to index field 'pagenumber' (a nil value) stack traceback: r:/tex/texmf-context/tex/context/base/strc-not.lua:143: in function 'deltapage' main ctx instance:1: in main chunk. \domovednote ...tructure.notes.deltapage(#1,#2)} \or \symbol [#3]\or \symbo... \dohighlow ...\scratchdimen \hbox {\dodohighlow #5 }}\ht \scratchbox \struthe... \dogotofixed ...reference {#2}#1\relax }}}\else #1 \fi } \gotopagespecial ...currenttargetpage {#4}\else #4 \fi \endgroup l.2 ... {page}{0}{}{\primaryreferencefoundaction} \doprocessreferenceelse ...eferenceprefix ,#1)} \doresetgotowhereever ... l.163 ...rd{PDF/X-4p}\MyFootnote{ISO 15930-7:2008} ? Same code works fine with beta 2009-04-06 (not tested with xp). Best wishes, Peter ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] automatic footnote rule in MKIV
as I said before, in Persian we have two footnotes, one for Persian and the other for English, if the first footnote in a pageis English, then footnote rule will appear on left hand side and if the first footnote in a pgeis persian, the footnote appears on right . handside. this is the code taken from xepersian which does automatic footnoterule, it produces a file-name.fot %%% % % % footnote setup% % % %%% \ifx \CatEscape\undefined \chardef\CatEscape=0 \chardef\CatOpen=1 \chardef\CatClose=2 \chardef\CatIgnore=9 \chardef\CatLetter=11 \chardef\CatOther=12 \chardef\CatActive=13% is defined in Plain already \chardef\CatUsCode=\catcode`\_ \fi \catcode`\_=\CatLetter% top level macro file \de...@fn{% \hbox to \columnwidth {\beginR \vbox{\kern -3\p@ \hrule width .4\columnwidth \kern2@}\hfil\endr}} \de...@fn{% \hrule width .4\columnwidth\kern 2@} \d...@makefnmark{\hbox{$^{\hbox{\scriptsize\@thefnmark}...@th$}} \def\leftfootnoterule{\global\def\footnoterule...@fn}} \def\rightfootnoterule{\global\def\footnoterule...@fn}} \leftfootnoterule %%% \beginprog \newread\old_foot_file \newwrite\foot_file \def\foot_file_name{\jobname.fot\relax} \def\init_footnote{% \openin\old_foot_file\foot_file_name \ifeof\old_foot_file \closein\old_foot_file \else \closein\old_foot_file \read_foot_file \fi \immediate\openout\foot_file\foot_file_name \immediate\write\foot_file{\relax}% \global\let\init_footnote\relax } \newcount\foot_name_no % for generating footnote mark names \newcount\autofootnote \def\fnpp_next_footnote{% \init_footnote \global\advance\foot_name_...@ne \global\advanc...@footnote\@ne \edef\do_write{% \immediate\write\foot_file{% \string\advance\autofootno...@ne \string\expandafter\xdef \string\csname\space f...@\number\foot_name_no \endcsname{% \string\number\autofootnote }% }% }% \do_write \global\autofootnote 0\csname f...@\number\foot_name_no \endcsname \relax } \def\read_foot_file{% \begingroup \catcod...@\catletter \catcode`\^^M\CatIgnore \input \foot_file_name \endgroup } \let\fnpp_orig_outputpag...@outputpage \d...@outputpage{% \ifx \init_footnote\relax \immediate\write\foot_file{\autofootnot...@}% \fi \fnpp_orig_outputpage } \let\FnppOrigFootnote=\footnote% save original bindings \let\FnppOrigFootnotemark=\footnotemark \def\footnote{% \...@ifnextchar[%% ] (Emacs) \...@xfootnote {\fnpp_next_footnote \ifnum\autofootnote=1\rightfootnoterule\fi \...@xfootnote[\the\c@footnote] % }% } \def\footnotemark{% \...@ifnextchar[%% ] (Emacs) \...@xfootnotemark {\fnpp_next_footnote \ifnum\autofootnote=1\rightfootnoterule\fi \...@xfootnotemark[\the\c@footnote]}% } \def\footnotemarkLR{% \...@ifnextchar[%% ] (Emacs) \...@xfootnotemark {\fnpp_next_footnote \ifnum\autofootnote=1\leftfootnoterule\...@xfootnotemark[\the\c@footnote]}% } \newif...@romanfootnum \providerobustcmd{\Footnote}[1]{% \bgroup \footnotemarkLR% \renewcommand{\thefootnote}{...@romanfootnum\rmfamily{\@arabi...@footnote }\el...@arabic\c@footnote\fi}% \...@rtlfalse\footnotetext{\rmfamily#1}% \egroup } \...@romanfootnumfalse \def\persianfootnu...@romanfootnumfalse} \def\romanfootnu...@romanfootnumtrue} \declareoption{romanfootnum...@romanfootnumtrue} \ProcessOptions \ifx \...@minipagerestore\relax \l...@minipagerestore\@empty \fi \...@addto@mac...@minipagerestore{% \let\footnote\FnppOrigFootnote } \let\fnpp_orig_maketitle=\maketitle \def\maketitle{% \begingroup \let\footnotemark\FnppOrigFootnotemark \fnpp_orig_maketitle \endgroup } \catcode`\_=\CatUsCode %%% % % %End of footnote setup% % % %%% ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote inside footnote
Am 03.02.2009 um 21:10 schrieb Khaled Hosny: How to get a second level footnote that is typeset with it own numbering, some thing like: Main text body[1] has two footnotes[2]. -- 1. First level footnote[1] 2. Another one -- 1. Second level footnote. Currently the footnote will just go after the parent one. \definenote[subfootnote][location=page] \starttext Main text body\footnote{First level footnote\subfootnote{Second level footnote.}} has two footnotes\footnote{Another one}. \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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnote inside footnote
How to get a second level footnote that is typeset with it own numbering, some thing like: Main text body[1] has two footnotes[2]. -- 1. First level footnote[1] 2. Another one -- 1. Second level footnote. Currently the footnote will just go after the parent one. Regards, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote inside footnote
On Tue, Feb 03, 2009 at 09:45:12PM +0100, Wolfgang Schuster wrote: Am 03.02.2009 um 21:10 schrieb Khaled Hosny: \definenote[subfootnote][location=page] \starttext Main text body\footnote{First level footnote\subfootnote{Second level footnote.}} has two footnotes\footnote{Another one}. \stoptext Thanks! Any idea how to indent the subfootnote list? I tried 'before=\hskip0.05\textwidth', but then the rule gone away, 'indenting=big' doesn't have any effect and things like: before=\bigskip\hrule width 0.25\textwidth\medskip\hskip0.05\textwidth is an overkill, I think. Regards, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote inside footnote
Am 03.02.2009 um 23:44 schrieb Khaled Hosny: On Tue, Feb 03, 2009 at 09:45:12PM +0100, Wolfgang Schuster wrote: Am 03.02.2009 um 21:10 schrieb Khaled Hosny: \definenote[subfootnote][location=page] \starttext Main text body\footnote{First level footnote\subfootnote{Second level footnote.}} has two footnotes\footnote{Another one}. \stoptext Thanks! Any idea how to indent the subfootnote list? I tried 'before=\hskip0.05\textwidth', but then the rule gone away, 'indenting=big' doesn't have any effect and things like: before=\bigskip\hrule width 0.25\textwidth\medskip\hskip0.05\textwidth is an overkill, I think. You need the description env. for footnote to change the left margin. \setupnote [subfootnote] [rule=\vbox{\hskip\dimexpr1em+1pt\relax\blackrule[width=. 2\hsize,height=\noteparameter{rulethickness},depth=0pt]}] \setupnotedefinition [subfootnote] [width=1em, distance=2pt, location=text, text=\hfill] 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote inside footnote
On Wed, Feb 04, 2009 at 12:26:09AM +0100, Wolfgang Schuster wrote: You need the description env. for footnote to change the left margin. \setupnote [subfootnote] [rule=\vbox{\hskip\dimexpr1em+1pt\relax\blackrule[width=. 2\hsize,height=\noteparameter{rulethickness},depth=0pt]}] \setupnotedefinition [subfootnote] [width=1em, distance=2pt, location=text, text=\hfill] Thanks very much, I got exactly what I wanted :) Regards, Khaled -- Khaled Hosny Arabic localizer and member of Arabeyes.org team signature.asc Description: Digital signature ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote and linenumbering
Am 02.01.2009 um 16:58 schrieb Thomas Engel: Hello, I have problems with footnote in an area with \startlinenumbering -- \stoplinenumbering. No footnote will be generated. Is this an error? Or it is not possible to use footnote within linenumbering? It's a side effect of the MkII code but it works in MkIV. 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] footnote and linenumbering
* Wolfgang Schuster schuster.wolfg...@googlemail.com [090104 12:30]: Hi Wolfgang, It's a side effect of the MkII code but it works in MkIV. thanks for the hint. I switched to MKIV and it's working now. Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnote and linenumbering
Hello, I have problems with footnote in an area with \startlinenumbering -- \stoplinenumbering. No footnote will be generated. Is this an error? Or it is not possible to use footnote within linenumbering? I'm working with Context 2008.05.21 Thanks Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnote n=0 error
\setupfootnotes[n=0,columndistance=3em,] seems to cause a problem with context ver: 2008.10.23 When it's commented out, everything is fine. When it is left in, I get the error below. Thanks! mjg ConTeXt ver: 2008.10.23 17:32 MKIV fmt: 2008.10.27 int: english/ english [snip] fonts : resetting map file list {/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf-context/ fonts/map/pdftex/context/original-empty.map} fonts : using map file: original-base {/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf-context/ fonts/map/pdftex/context/original-base.map} fonts : using map file: lm-math {/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf/fonts/map/ dvips/lm/lm-math.map} fonts : using map file: lm-rm {/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf/fonts/map/ dvips/lm/lm-rm.map} fonts : using map file: original-ams-base {/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf-context/ fonts/map/pdftex/context/original-ams-base.map} fonts : using map file: original-ams-euler {/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf-context/ fonts/map/pdftex/context/original-ams-euler.map} fonts : using map file: original-public-lm {/Volumes/Data/Users/mjg14747/Applications/context/tex/texmf-context/ fonts/map/pdftex/context/original-public-lm.map} [1.1] ! Missing } inserted. inserted text } to be read again \unvbox \doplacenoteinserts ...ing \unvcopy \else \unvbox \fi \currentnoteins \or \i... \next3 ...oprocessnotes {\doplacenoteinserts }{#1} \doprocesscommaitem argument \relax footnote, endnote,linenote \doprocesscommalist ...aitem \gobbleoneargument #1 ,]\relax \global \advance ... ... l.120 \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnote numeration
hello all: In the following example, footnote doesn´t reset numbers by chapter. If I rem out all o some of the \part ´s, it wotks. When there is a part with only one chapter, the next chapter doesn´t reset the footnote number. All footnote markers should be 1. What is wrong? Thankyou in adavance! \setupfootnotes[way=bychapter] \setuphead[part,chapter][page=no,placehead=yes] \starttext \part Primera parte \chapter Pepe\footnote{Motoneta} \part Segunda parte \chapter Juan\footnote{de los palotes} \chapter Maria\footnote{de nadie} \part tercera parte \chapter Julieta\footnote{demente} \part cuarta parte \chapter Jamon\footnote{crudo} \stoptext Horacio Suarez _ _ News, entertainment and everything you care about at Live.com. Get it now! http://www.live.com/getstarted.aspx___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] how to color footnote?
... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. Does this make sense? Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] how to color footnote?
... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. Does this make sense? Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to color footnote?
Steffen Wolfrum wrote: ... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. \setupfootnotedefinition[before={\color[green]}] Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to color footnote?
Am 22.09.2008 um 18:38 schrieb Taco Hoekwater: Steffen Wolfrum wrote: ... while dealing with colored elements: having the footnote number (down in front of the footnote text) in dark green is not that bad, just, why can't it be colored in an other way? I tried in vain both in \setupfootnotes and \setupfootnotedefinition: numbercolor, color... Only \setupfootnotes[textcolor=magenta] affects the footnote number in the main text. But nothing changes in the footnote area. \setupfootnotedefinition[before={\color[green]}] Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact that interaction carries its own color, elements can be re-colored by their own color definition (see above). Only the number of the note in front of the footnote text always gets overridden by interaction color! This distinction I didn't expect. Why should exclusively that poor little number not be allowed to have its own color? Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to color footnote?
On Mon, 22 Sep 2008, Steffen Wolfrum wrote: Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact that interaction carries its own color, elements can be re-colored by their own color definition (see above). Only the number of the note in front of the footnote text always gets overridden by interaction color! Because it is overridden by interaction color. This distinction I didn't expect. Why should exclusively that poor little number not be allowed to have its own color? There should be a better way to do this (set interaction color and interaction style of each element separately), but for your case you can use \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to color footnote?
THAT'S GREAT: Am 22.09.2008 um 21:32 schrieb Aditya Mahajan: On Mon, 22 Sep 2008, Steffen Wolfrum wrote: Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact that interaction carries its own color, elements can be re-colored by their own color definition (see above). Only the number of the note in front of the footnote text always gets overridden by interaction color! Because it is overridden by interaction color. It gets overridden by interaction color because it is overriden by interaction color? This distinction I didn't expect. Why should exclusively that poor little number not be allowed to have its own color? There should be a better way to do this (set interaction color and interaction style of each element separately), but for your case you can use \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext It's like a game for kids ... who finds the 10 differences between Aditya's lines and Steffen's lines? =o) Next try? Volunteers! Who get's the little darkgreen footnote number paint in red ... nobody??? Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to color footnote?
On Mon, 22 Sep 2008, Steffen Wolfrum wrote: THAT'S GREAT: :) Am 22.09.2008 um 21:32 schrieb Aditya Mahajan: On Mon, 22 Sep 2008, Steffen Wolfrum wrote: Ahh, now I see where my problem lays: \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext Despite the fact that interaction carries its own color, elements can be re-colored by their own color definition (see above). Only the number of the note in front of the footnote text always gets overridden by interaction color! Because it is overridden by interaction color. It gets overridden by interaction color because it is overriden by interaction color? :) Ok, I guess I should read what I write. What I meant was that interaction is added last, so everything gets overridden by interaction colors. This distinction I didn't expect. Why should exclusively that poor little number not be allowed to have its own color? There should be a better way to do this (set interaction color and interaction style of each element separately), but for your case you can use \setupcolors[state=start] \starttext \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\color[green]}] test\footnote{test} \stoptext It's like a game for kids ... who finds the 10 differences between Aditya's lines and Steffen's lines? =o) Next try? Volunteers! Who get's the little darkgreen footnote number paint in red ... nobody??? Hopefully, will past e the correct thing this time \setupcolors[state=start] \setupinteraction[state=start] \setupfootnotes[textcolor=magenta] \setupfootnotedefinition[before={\setupinteraction[color=blue]}] \starttext \section[one] {Fist} test\footnote{test} See section \in[one]. \stoptext 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] footnote and its reference
Hi, is there an option (penalty maybe) to adjust how hard TeX / ConTeXt should try keeping a footnote-mark and the first two line of its footnote on the same page? thanks, Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] no linebreak before footnote after vertical line
Hi, to prevent long abbreviations from being hyphenated I use the vertical line. That's fine in most cases. Only, bad luck if there is a footnote following and this at the end of the line: \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla |WikiPOBia|\footnote{note}. \stoptext ... on my machine the second line starts with the footnote marker 1. Is there a general solution to avoid this bad coincidence? Thanks, Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no linebreak before footnote after vertical line
On Wed, Aug 13, 2008 at 10:36 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, to prevent long abbreviations from being hyphenated I use the vertical line. That's fine in most cases. Only, bad luck if there is a footnote following and this at the end of the line: \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla |WikiPOBia|\footnote{note}. \stoptext ... on my machine the second line starts with the footnote marker 1. Is there a general solution to avoid this bad coincidence? \hyphenation{WikiPOBia} 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no linebreak before footnote after vertical line
Am 13.08.2008 um 15:42 schrieb Wolfgang Schuster: On Wed, Aug 13, 2008 at 10:36 AM, Steffen Wolfrum [EMAIL PROTECTED] wrote: Hi, to prevent long abbreviations from being hyphenated I use the vertical line. That's fine in most cases. Only, bad luck if there is a footnote following and this at the end of the line: \starttext bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla |WikiPOBia|\footnote{note}. \stoptext ... on my machine the second line starts with the footnote marker 1. Is there a general solution to avoid this bad coincidence? \hyphenation{WikiPOBia} well, I meant a more general solution, like tuning up the vertikal line to a no hyphen inbetween and no linebreak afterwards - character?! Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no linebreak before footnote after vertical line
Steffen Wolfrum wrote: schrieb Wolfgang Schuster: Steffen Wolfrum wrote: bla bla bla |WikiPOBia|\footnote{note}. \stoptext ... on my machine the second line starts with the footnote marker 1. Is there a general solution to avoid this bad coincidence? \hyphenation{WikiPOBia} well, I meant a more general solution, like tuning up the vertikal line to a no hyphen inbetween and no linebreak afterwards - character?! Actually, you are misusing the || command. It is supposed to be used to explicitly *allow* breaking at the left of the first and at the right of the second |. The fact that the inbetween text does not hyphenate is a side-effect, not the main feature. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] no linebreak before footnote after vertical line
Am 13.08.2008 um 19:04 schrieb Taco Hoekwater: Steffen Wolfrum wrote: schrieb Wolfgang Schuster: Steffen Wolfrum wrote: bla bla bla |WikiPOBia|\footnote{note}. \stoptext ... on my machine the second line starts with the footnote marker 1. Is there a general solution to avoid this bad coincidence? \hyphenation{WikiPOBia} well, I meant a more general solution, like tuning up the vertikal line to a no hyphen inbetween and no linebreak afterwards - character?! Actually, you are misusing the || command. It is supposed to be used to explicitly *allow* breaking at the left of the first and at the right of the second |. The fact that the inbetween text does not hyphenate is a side-effect, not the main feature. oh. ... that's why! steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography Module -- footnote/endnote citation style possible?
Michael Hofer wrote: Hi! Is there a possibility to use footnotes or endnotes with the citation system of the bib module? I didn't find anything about that topic in the mailing list archive, Context wiki or module documentation. After thinking about this post for a while, I still have no idea what you want achieve. Please elaborate a bit. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bibliography Module -- footnote/endnote citation style possible?
Hi! Is there a possibility to use footnotes or endnotes with the citation system of the bib module? I didn't find anything about that topic in the mailing list archive, Context wiki or module documentation. Thanks. Best regards, michael. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Bibliography Module -- Footnote/Endnote citation possible?
Hi! Is there a possibility to use footnotes or endnotes with the citation system of the bib module? I didn't found anything about that topic in the mailing list archive, Context wiki or module documentation. Thanks. Best regards, michael. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Bibliography Module -- Footnote/Endnote citation possible?
On Jul 20, 2008, at 2:43 AM, Michael Hofer wrote: Hi! Is there a possibility to use footnotes or endnotes with the citation system of the bib module? I didn't found anything about that topic in the mailing list archive, Context wiki or module documentation. Thanks. Best regards, michael. You'll have to be more specific, I don't understand your question. What do you want to achieve? Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Footnote in section: Compilation stops on TUO file
I don't understand this error: (/usr/local/texlive/2007/../texmf-local/tex/context/base/spec-tst.tex) interaction : active(./prd_05.tuo) (./prd_05.tuo! Improper alphabetic constant.to be read again\footnote argument \ifnum `\footnote =255 32 \else `\footnote \fi \utfdiv #1-\the \numexpr \ifcase \numexpr #1 \relax 0\else (#1- [EMAIL PROTECTED] )/\utf... \PDFunicodechar ...bers [EMAIL PROTECTED] {\number \utfdiv {#1} [EMAIL PROTECTED] \lchexnumbers [EMAIL PROTECTED] {... \nodoPDFuni ...ar {\ifnum `#1=255 32\else `#1 \fi } \doPDFuni \bookmarktext ...-?und?Erziehungsauftrag \footnote {H.?P.,? Humanist?R..l.176 ...ion for Europe}{2--0-7-0-0-0-0-0--49} {50} %? eNo pages of output. It seems to be caused by this line, i.e. by the footnote: \section{Bildungs- und Erziehungsauftrag\footnote{H. P., Humanist Road to European Citizenship, Zitate aus Verfassungen, 15.\,12.\,2007}} And in the TUO file there's: \mainreference{}{fnt:t:5}{2--0-6-5-0-0-0-0--45}{46}{}%\pospxywhd{text: 47}{47}{42.67912pt}{62.59607pt}{327.20668pt}{489.38742pt}{0.0pt}% \listentry{subsection}{76}{}{Baden-Württemberg}{2--0-6-6-16-0-0-0--46} {47}%\listentry{subsection}{77}{}{Bayern}{2--0-6-6-17-0-0-0--46}{47}% \listentry{subsection}{78}{}{Brandenburg}{2--0-6-6-18-0-0-0--46}{47}% \listentry{subsection}{79}{}{Berlin}{2--0-6-6-19-0-0-0--46}{47}% \listentry{subsection}{80}{}{Bremen}{2--0-6-6-20-0-0-0--46}{47}% \listentry{section}{81}{}{Bildungs- und Erziehungsauftrag\footnote {H. P., Humanist Road to European Citizenship, Zitate aus Verfassungen, 15.\,12.\,2007}}{2--0-6-7-0-0-0-0--46}{47}% \mainreference{}{fnt:f:6}{2--0-6-7-0-0-0-0--46}{47}{}%\listentry {subsection}{115}{}{Hessen}{2--0-6-7-34-0-0-0--46}{47}%\listentry {subsection}{116}{}{Mecklenburg-Vorpommern}{2--0-6-7-35-0-0-0--46} {47}%\listentry{subsection}{117}{}{Niedersachsen} {2--0-6-7-36-0-0-0--46}{47}% What's wrong? Greetlings from Lake Constance! Hraban --- http://www.fiee.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote in section: Compilation stops on TUO file
On Sat, 5 Apr 2008, Henning Hraban Ramm wrote: I don't understand this error: (/usr/local/texlive/2007/../texmf-local/tex/context/base/spec-tst.tex) interaction : active(./prd_05.tuo) (./prd_05.tuo! Improper alphabetic constant.to be read again\footnote argument \ifnum `\footnote =255 32 \else `\footnote \fi \utfdiv #1-\the \numexpr \ifcase \numexpr #1 \relax 0\else (#1- [EMAIL PROTECTED] )/\utf... \PDFunicodechar ...bers [EMAIL PROTECTED] {\number \utfdiv {#1} [EMAIL PROTECTED] \lchexnumbers [EMAIL PROTECTED] {... \nodoPDFuni ...ar {\ifnum `#1=255 32\else `#1 \fi } \doPDFuni \bookmarktext ...-?und?Erziehungsauftrag \footnote {H.?P.,? Humanist?R..l.176 ...ion for Europe}{2--0-7-0-0-0-0-0--49} {50} %? eNo pages of output. It seems to be caused by this line, i.e. by the footnote: \section{Bildungs- und Erziehungsauftrag\footnote{H. P., Humanist Road to European Citizenship, Zitate aus Verfassungen, 15.\,12.\,2007}} You can try \section{blah blah \nomarking{\footnote{...}} or \section{blah blah \nolist{\footnote{...}}} 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote in section: Compilation stops on TUO file
Am 2008-04-05 um 17:35 schrieb Aditya Mahajan: On Sat, 5 Apr 2008, Henning Hraban Ramm wrote: It seems to be caused by this line, i.e. by the footnote: \section{Bildungs- und Erziehungsauftrag\footnote{H. P., Humanist Road to European Citizenship, Zitate aus Verfassungen, 15.\,12.\, 2007}} You can try \section{blah blah \nomarking{\footnote{...}} or \section{blah blah \nolist{\footnote{...}}} Thanks for the hint, but it doesn't work - neither with one nor with both. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote in section: Compilation stops on TUO file
Hi, On Sat, 05 Apr 2008 13:17:34 -0600, Henning Hraban Ramm [EMAIL PROTECTED] wrote: You can try \section{blah blah \nomarking{\footnote{...}} or \section{blah blah \nolist{\footnote{...}}} Thanks for the hint, but it doesn't work - neither with one nor with both. Greetlings from Lake Constance! Hraban Did you remember to flush the old tuo file first? :-) Best wishes Idris -- Professor Idris Samawi Hamid, Editor-in-Chief International Journal of Shi`i Studies Department of Philosophy Colorado State University Fort Collins, CO 80523 -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote in section: Compilation stops on TUO file
HI, I had similar trouble in my rather big document. It seemed to appear randomly. Sometimes it disappeared when I changed fonts or added some blank lines before problematic part. Finally I found that all my problems disappear when I avoid using these tables http://wiki.contextgarden.net/Table replacing them by http://wiki.contextgarden.net/TABLE So ... if you use tables Regards Zdenek On Sat, 5 Apr 2008 15:21:26 +0200 Henning Hraban Ramm [EMAIL PROTECTED] wrote: It seems to be caused by this line, i.e. by the footnote: \section{Bildungs- und Erziehungsauftrag\footnote{H. P., Humanist Road to European Citizenship, Zitate aus Verfassungen, 15.\,12.\,2007}} ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote in section: Compilation stops on TUO file
Am 2008-04-05 um 21:52 schrieb Idris Samawi Hamid: You can try \section{blah blah \nomarking{\footnote{...}} or \section{blah blah \nolist{\footnote{...}}} Thanks for the hint, but it doesn't work - neither with one nor with both. Did you remember to flush the old tuo file first? :-) I deleted all temp files after every try, that should be enough. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote in section: Compilation stops on TUO file
Am 2008-04-05 um 23:11 schrieb zs: Finally I found that all my problems disappear when I avoid using these tables http://wiki.contextgarden.net/Table replacing them by http://wiki.contextgarden.net/TABLE So ... if you use tables No, I use TABLEs and tabulates, but not around this footnote. Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Columnsets and footnote placement
Hi, Is there a way to place footnotes when using columnsets, so that they [the footnotes] span across the bottom of the page, like they do when using \startcolumn? TIA, Elliot ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Detail on footnote placement (vertical, page)
Hi, if, at the last page of a chapter, there is only little text (e.g. 10% of text-height) is it then possible to attach the footnote-rule and the footnote-text directly under the text (but only this page – the other pages should place the footnote-text flush-bottom) in order to avoid a huge empty white space between body-text and footnote-text? Steffen ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] additional footnote (quite late)
Hi, sometimes – just before the printer heats up his machine – there is something important too add, but yet the footnote-numbering can't be changed anymore (see example below please): \starttext First sentence.\footnote{First footnote} Something added\footnote[-]{In-between footnote}. Second sentence.\footnote{Second footnote} \stoptext Do you know a reliable way to make footnote In-between footnote labeled 1a (in text and page end)? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] split footnote bug
Hi, it seems this thread got lost. For it describes a quite ugly phenomenon I dare to post it again again. Please, have a look at this 3-page example: \newdimen\XVertikal \XVertikal=12pt \setupbodyfont[postscript,10pt] \setupinterlinespace[line=\XVertikal] \setuplayout [width=113mm,height=48\XVertikal, backspace=20mm,topspace=15mm, header=\XVertikal,headerdistance=0.5\XVertikal, footer=3.5\XVertikal,footerdistance=0pt, location=middle,marking=on,grid=yes] \showframe \showgrid \showgridboxes \showstruts \starttext \dorecurse{10}{\input ward\footnote{\input tufte \relax}} \stoptext On page 2 the bottom most line slips down lower than on the other pages. I observed this behavior in a 450 pages book and the amount the bottom line goes down when footnotes a split is always the same. Is this because of unhappy values in setuplayout or is it a bug? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split footnote bug
The bug seems independent of the values in \setuplayout. See this really minimal example, look at page 2: \showframe \showgrid \starttext \dorecurse{8}{\input tufte\footnote{\input ward \input tufte \relax}} \stoptext Steffen (To Taco: even playing with \topskip doesn't help. The down-slipping stays.) On Mon, 26 Feb 2007 10:24:12 +0100, Steffen Wolfrum wrote: Hi, it seems this thread got lost. For it describes a quite ugly phenomenon I dare to post it again again. Please, have a look at this 3-page example: \newdimen\XVertikal \XVertikal=12pt \setupbodyfont[postscript,10pt] \setupinterlinespace[line=\XVertikal] \setuplayout [width=113mm,height=48\XVertikal, backspace=20mm,topspace=15mm, header=\XVertikal,headerdistance=0.5\XVertikal, footer=3.5\XVertikal,footerdistance=0pt, location=middle,marking=on,grid=yes] \showframe \showgrid \showgridboxes \showstruts \starttext \dorecurse{10}{\input ward\footnote{\input tufte \relax}} \stoptext On page 2 the bottom most line slips down lower than on the other pages. I observed this behavior in a 450 pages book and the amount the bottom line goes down when footnotes a split is always the same. Is this because of unhappy values in setuplayout or is it a bug? Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] split footnote bug
As there was no reply at all on this thread I got in fear that the slipping last line of a split footnote is a basic TeX bug, well known and maybe inevitable?! So I tried to reproduce the same situation in LaTeX (as I don't know the plain TeX equivalent): \documentclass[11pt]{article} \begin{document} \input tufte \input ward\footnote{\input ward \input tufte \relax} \input tufte \input ward\footnote{\input ward \input tufte \relax} \input tufte \input ward\footnote{\input ward \input tufte \relax} \end{document} Good news: this works! So it seems only to be a ConTeXt internal bug, and not part of the TeX core. Hans, it's your turn :o) Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote bug(?) with columns and vertical stretch
Hi, This is a test file that shows the possible bug I posted yesterday: \setupalign[height] \setupinterlinespace[stretch=0.05] \setupfootnotes[location=columns] \starttext \startcolumns \dorecurse{5}{\input knuth}\footnote{bla bla bla bla bla bla bla bla} \dorecurse{5}{\input knuth} \stopcolumns \stoptext Thanks, Ricard Roca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote numbering broken ?
Hi, shouldn't the following work? \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext Steffen This is pdfeTeX, Version 3.141592-1.30.4-2.2 (Web2C 7.5.5) \write18 enabled. (/usr/local/TeXLive/texmf.pkgs/web2c/natural.tcx) entering extended mode (./table_test.tex ConTeXt ver: 2006.11.23 14:46 MK II fmt: 2007.2.4 int: english/english ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote numbering broken ?
On Thu, 8 Feb 2007, Steffen Wolfrum wrote: Hi, shouldn't the following work? \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext Steffen There seems to be a typo in core-not. The following works \unprotect \definenote[\v!footnote] \protect \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext In core-not.tex the spaces should be removed from \definenote [\v!footnote ] \definenote [\v!endnote ] [\c!location=\v!none] % else no break Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote numbering broken ?
Aditya Mahajan wrote: On Thu, 8 Feb 2007, Steffen Wolfrum wrote: Hi, shouldn't the following work? \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext Steffen There seems to be a typo in core-not. The following works \unprotect \definenote[\v!footnote] \protect \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext In core-not.tex the spaces should be removed from \definenote [\v!footnote ] \definenote [\v!endnote ] [\c!location=\v!none] % else no break hm, these spaces are ignored, just try a\relax a a\relaxa -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote numbering broken ?
On Thu, 8 Feb 2007, Hans Hagen wrote: Aditya Mahajan wrote: On Thu, 8 Feb 2007, Steffen Wolfrum wrote: Hi, shouldn't the following work? \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext Steffen There seems to be a typo in core-not. The following works \unprotect \definenote[\v!footnote] \protect \starttext \setnumber[footnote]{3} test\footnote{x} \stoptext In core-not.tex the spaces should be removed from \definenote [\v!footnote ] \definenote [\v!endnote ] [\c!location=\v!none] % else no break hm, these spaces are ignored, just try a\relax a a\relaxa Why does Steffen's code not work, while it works if I add \definenote[\v!footnote]? Another strange thing is that the following works \starttext \footnote{test} \setnumber[footnote]{3} x\footnote{test again} \stoptext But the footnote number is not incremented in \starttext \setnumber[footnote]{3} x\footnote{test} \stoptext Could it because of the loading order of file? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote bug(?) with columns and vertical stretch
Hi to all, With \start/\stopcolumns (not columnsets) footnotes work well if grid is enabled. If grid is not enabled and vertical stretch is wanted, with \setupalign[height] \setupinterlinespace[stretch=some value] footnotes disappear. It remains the reference mark in the middle of the text and the space left at the end of the column, but there is no footnote. Changing \setupfootnotes[location=columns, page, etc] does nothing, but endnotes do work. Is this a bug? Thanks in advance, Ricard Roca ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote in columns/sets?
Good evening. Since I've got no answer, I date to resent my question once more, and even to add to it. I typeset a document in two columns on the grid. I use both columns, and columnsets. I place footnotes in the lastcolumn. \setupfootnotes [rule=off, way=bypage, location=lastcolumn, conversion=set 3] \setupfootnotedefinition [location=left, width=fit, hang=1] 1) How can I set interlinespace to a smaller distance? (I don't care that the footnote lines would not be on the grid---I prefer it to a very loose interlinespace.) I guess that there is better way than to write \footnote{\setupinterlinespace[line=9pt] ...\par} Moreover, it doesn't work well since on the first line is apparently inserted a strut. 2) In columnsets, the footnotes appear in the column where they are referenced, not in the last (the second) column. How can I force it to the second column? Many thanks for your answers. M.K. ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote in columns interlinespace
Good noon. I typeset a document in two columns on the grid. Footnotes I place in the columns. \setupfootnotes [rule=off, way=bypage, location=columns, conversion=set 3, before={\blank[line]}] \setupfootnotedefinition [location=left,width=fit, sample={\mathematics{\star\star\star}\ },hang=1] How can I set interlinespace to a smaller distance? (I don't care that the footnote lines would not be on the grid---I prefer it to a very loose interlinespace.) I guess that there is better way than to write \footnote{\setupinterlinespace[line=9pt] ...\par} Moreover, it doesn't work well since on the first line is apparently inserted a strut. Many thank for you help. Michal Kvasnicka ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] footnotes and footnote markers on SPREAD
Hi, there seems to be a rule that footnotes and footnote markers have to be kept on the same page -- even if there stays a lot of white space at the bottom. Is there also a kind of penalties to modify the rule like this: Keeping on the same page would be best, but on the same SPREAD is fine enough?! Steffen ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
On Thursday 11 January 2007 13:54, Aditya Mahajan wrote: How about? \unprotect \def\rightdelimitedtextmark {\delimitedtextparameter\c!right} \protect Hi Aditya, I've run with your patch for a while. It fixes the missing footnote problem and I haven't noticed it causing any new problems. While you're on a winning streak, perhaps you'd like to look at another problem in the same area? When \quotation is used instead of \startquotation a footnote number is skipped: \starttext \setupquotation[right={''\footnote{First}}] \quotation{Skips footnote number.} \stoptext This happens with or without your \rightdelimitedtextmark patch. Thanks, --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
Hi Mike, Mike Bird wrote: However that was a more complicated test case because it involved the bib module and cite. Also it referred to problems with footnotes in vertical mode whereas the new test case includes the footnote in setupdelimitedtext/right where it appears to be in horizontal mode. In fact the new test case is similar to the workaround actually suggested in: http://archive.contextgarden.net/message/20061203.141335.f50b33ff.en.html Meanwhile, I have created: https://foundry.supelec.fr/tracker/index.php?func=detailaid=63group_id=21atid=164 Feel free to add extra wishes there, if needed. Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
Hi Taco, On Thursday 11 January 2007 01:51, Taco Hoekwater wrote: https://foundry.supelec.fr/tracker/index.php?func=detailaid=63group_id=21 atid=164 That page says: \setupquotation[right={''\footnote{First}}] is not usable because it gets fed into \symbol[] Material is passed through \symbol BEFORE assigning to right: \definedelimitedtext [\v!quotation] [\c!left={\symbol[\c!leftquotation]}, \c!right={\symbol[\c!rightquotation]}, \c!leftmargin=\v!standard] If right is subsequently passed through \symbol again, I haven't been able to find where it is done. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
On Thu, 11 Jan 2007, Mike Bird wrote: Hi Taco, On Thursday 11 January 2007 01:51, Taco Hoekwater wrote: https://foundry.supelec.fr/tracker/index.php?func=detailaid=63group_id=21 atid=164 That page says: \setupquotation[right={''\footnote{First}}] is not usable because it gets fed into \symbol[] Material is passed through \symbol BEFORE assigning to right: \definedelimitedtext [\v!quotation] [\c!left={\symbol[\c!leftquotation]}, \c!right={\symbol[\c!rightquotation]}, \c!leftmargin=\v!standard] If right is subsequently passed through \symbol again, I haven't been able to find where it is done. How about? \unprotect \def\rightdelimitedtextmark {\delimitedtextparameter\c!right} % was {\hsmash{\delimitedtextparameter\c!right}} \protect \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext I do not know why the right delimited is hsmased. Maybe to prevent line breaks? Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
Hi Mike, Can you look through the list archive a bit? There was a thread begin december last year about the exact same topic. http://archive.contextgarden.net/ Best, Taco Mike Bird wrote: In this example, the first footnote number appears correctly in the body of the page but the first footnote is never placed in the footer. The second footnote is handled correctly. Therefore the first footnote is not merely deferred but lost. \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote: Can you look through the list archive a bit? There was a thread begin december last year about the exact same topic. Hi Taco, I assume you're referring to this thread: http://archive.contextgarden.net/thread/20061206.202611.e8722446.en.html However that was a more complicated test case because it involved the bib module and cite. Also it referred to problems with footnotes in vertical mode whereas the new test case includes the footnote in setupdelimitedtext/right where it appears to be in horizontal mode. In fact the new test case is similar to the workaround actually suggested in: http://archive.contextgarden.net/message/20061203.141335.f50b33ff.en.html Changing just \MyMagic in the suggested workaround to avoid \cite gives: \definedelimitedtext [myquotation] [left={\symbol[leftquotation]}, right={\symbol[rightquotation]\MyMagic}, leftmargin=standard] \long\def\startcitedquotation[#1]#2\stopcitedquotation {\bgroup \def\MyMagic{~\footnote{#1}} \startmyquotation #2\stopmyquotation \egroup} \starttext \startcitedquotation[schmitz2006] overly beautiful pusillanimous sesquipedalian longwinded \stopcitedquotation \stoptext - which also loses the footnote. The thread included another possible workaround at: http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html - but that lost all the power of setupdelimitedtext. Therefore I suggest that my simple test case is still worthy of consideration: \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext For those who need footnoted or cited quotations, another workaround is to \setupquotation[location=text]. This retains the power of \setupdelimitedtext without running into the bug which I suspect lies in or near \dostopdelimitedtexpar. You may have to fiddle with \par and/or \nospace to get the layout exactly as desired. --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote lost
On Wed, 10 Jan 2007, Mike Bird wrote: On Wednesday 10 January 2007 01:06, Taco Hoekwater wrote: Can you look through the list archive a bit? There was a thread begin december last year about the exact same topic. The thread included another possible workaround at: http://archive.contextgarden.net/message/20061204.095032.227c83ef.en.html - but that lost all the power of setupdelimitedtext. Can you explain which features of setupdelimitedtext you want. Maybe they can be implemented by copying things to setupnarrower. %--8- \def\startfootnotequotation {\dosingleempty\dostartfootnotequotation} \long\def\dostartfootnotequotation[#1]#2#3\stopfootnotequotation {\bgroup \par \startnarrower \symbol[leftquotation]% #3\removeunwantedspaces \symbol[rightquotation]% \footnote[#1]{#2} \stopnarrower \par \egroup} \startfootnotequotation[ref]{First Footnote} \input knuth \stopfootnotequotation Knuth said (see \in footnote[ref]) %-8--- Aditya ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote lost
In this example, the first footnote number appears correctly in the body of the page but the first footnote is never placed in the footer. The second footnote is handled correctly. Therefore the first footnote is not merely deferred but lost. \starttext \setupquotation[right={''\footnote{First}}] \startquotation Loses footnote. \stopquotation \setupquotation[right={''}] \quotation{OK}\footnote{Second} \stoptext --Mike Bird ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] footnote numbering
hello I insist in a question: I have: \setupfootnotes[way=bychapter] but it doesn´t restart the footnote numbering at chapter. But if I write: \setupfootnotes[way=bysection] It does restart each \section. Is the sintax ok? What i´m doing wrong? The last book i´ve fix it inseriting fake and empty chapters, but now it doesn´t work. Please help! _ FREE pop-up blocking with the new MSN Toolbar - get it now! http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote Setup
Hi, I would like to setup the footnotes so that the footnote in the textbody shows slanted (or just different) to the rest of the text and in sans serif, to avoid some confusion with exponents. So far what I have tried, does not seem to work. In setupfoonotes, style and numbercommand seem to only affect the style for the footnote at the bottom of the page, but not the footnote inside the textbody. Any ideas on how to achieve this? Thanks, Pepe ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnote number in header
Hi, maybe that the use of \nomarking is an option. However this will place an ellipsis in the title \setupheadertexts[][{\getmarking[section][current]}] \starttext \completecontent \chapter{Chapter number one\footnote{Footnote of chapter one}} \input tufte \section{Section one in chapter one \nomarking{\footnote{Footnote nomarking for section one}}} \input tufte \stoptext Willi Horacio Suarez wrote: Hello I have footnotes in titles and titles appears in all right page headers. The problem is that in the header appears a superscript number, adding 1 each time it appears. How can I avoid it? Thankyou _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] footnote number in header
Thankyou very much. I´ve fixed it using \marking, making a mark for use in the headerstexts instead of chapter. Now, the footnote number in titles (chapters) is veri big. If someone want to tell me the solution... I saw that almost anything is posible but ones have to search... thankyou. Hi, maybe that the use of \nomarking is an option. However this will place an ellipsis in the title \setupheadertexts[][{\getmarking[section][current]}] \starttext \completecontent \chapter{Chapter number one\footnote{Footnote of chapter one}} \input tufte \section{Section one in chapter one \nomarking{\footnote{Footnote nomarking for section one}}} \input tufte \stoptext Willi Horacio Suarez wrote: Hello I have footnotes in titles and titles appears in all right page headers. The problem is that in the header appears a superscript number, adding 1 each time it appears. How can I avoid it? Thankyou _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] footnote number in header
Hello I have footnotes in titles and titles appears in all right page headers. The problem is that in the header appears a superscript number, adding 1 each time it appears. How can I avoid it? Thankyou _ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Footnote not marked in narrative
David Arnold wrote: All, How can I have a footnote that is not marked in the narrative? Use \footnotetext Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote not marked in narrative
All, How can I have a footnote that is not marked in the narrative? ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Space between footnote number and text
[EMAIL PROTECTED] wrote: Thank you for the response! Here is what I found. The code you suggested... \def\specialcommand#1{\high{#1}~~~} \setupfootnotes[n=0,numbercommand=\specialcommand] \setupfootnotedefinition[distance=0pt] ...actually produced *more* space between the footnote number and the text of the footnote. However, I removed the three tilde (~~~) characters and I got *no* space between the footnote number and text, which is what I wanted to achieve. That was somewhat on purpose ;) A couple of other questions though: Can you send me an example file? Some trickery is needed, which is much easier with testable input. Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Space between footnote number and text
I felt a little bad about asking everyone else to do my work for me, so I did take a stab at solving my footnote line-break issue :). I came up with something that seems to work, but I'm not sure it is the simplest or best way to do it. Basically, I used something from your last post (the \specialcommand) to turn off the default footnote number completely and instead include the footnote number as part of the footnote text: % Create a counter that will act as our footnote labels\newcounter\MyFootnoteLabel % Create a special command to turn off the default footnote number\def\TurnOffDefFootNum#1{} % Set up footnoting in paragraph form (n=0) with no default footnote number\setupfootnotes[n=0,way=bypage,numbercommand=\TurnOffDefFootNum] % Create macro to replace standard footnote macro. This macro will include% the footnote number as part of the footnote text so that we can keep it from% getting split onto a different line from the footnote text\def\fnote#1{\footnote[\MyFootnoteLabel]{\note[\MyFootnoteLabel]~#1}\increment\MyFootnoteLabel} % Test with some output\starttext Now\fnote{Footnote number one} %is\fnote{Footnote number two} %the\fnote{Footnote number three} %time\fnote{Footnote number four} %for\fnote{Footnote number five} %all\fnote{Footnote number six} %good\fnote{Footnote number seven} %men\fnote{Footnote number eight} %to\fnote{Footnote number nine} %come\fnote{Footnote number ten} %to\fnote{Footnote number eleven} %the\fnote{Footnote number twelve} %aid\fnote{Footnote number thirteen} %of\fnote{Footnote number fourteen} %their\fnote{Footnote number fifteen} %country.\fnote{Footnote number sixteen} % \stoptext I put a non-breaking space in this example, but it seems to work with no space there as well. It is hard to get a number to split on purpose anyway, but I found that by successively adding"i" characters to any footnote text, I could eventually cause the next footnote to leave its number on one line and its text on the next. However, after the above, the first word of the footnote text seems to stay with the footnote number regardless, which is what I wanted. I would be interested in knowing though if there is a simpler solution. Also, any idea what might be causing some whole footnotes to appear on, say, page 11, when the text that references the footnote is on page 10? Is this something I just have to fix by tweaking my main text? Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Space between footnote number and text
[EMAIL PROTECTED] wrote: Does anyone know of a way to get rid of the space between a footnote number and the footnote text? I am formatting my footnotes in paragraph form (n=0) and sometimes the footnote numbers actually appear at the end of a line with the text wrapped around to the beginning of the next line (which doesn't look very attractive). I would prefer there to be no space at all between the footnote number and the text, but if there has to be one, it seems like it should be a non-breaking space. Is there a way to fix this? Can you try this? \def\specialcommand#1{\high{#1}~~~} \setupfootnotes[n=0,numbercommand=\specialcommand] \setupfootnotedefinition[distance=0pt] Cheers, taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Space between footnote number and text
Thank you for the response! Here is what I found. The code you suggested... \def\specialcommand#1{\high{#1}~~~}\setupfootnotes[n=0,numbercommand=\specialcommand]\setupfootnotedefinition[distance=0pt] ...actually produced *more* space between the footnote number and the text of the footnote. However, I removed the three tilde (~~~) characters and I got *no* space between the footnote number and text, which is what I wanted to achieve. A couple of other questions though: 1) My footnotes sometimes still "break" in that the footnote number will be at the end of a line and the footnote text at the beginning of the next line. I tried putting one of the non-breaking space (~) tilde characters back in, just to see if that would prevent the break. However, it *does not* prevent the break...the footnote number and text are still separated. Is there any way to force footnote numbers to be on the same line as the first word of the footnote? 2) Sometimes the last few footnote numbers in the body of my main text appear with a small arrow next to them. These footnotes end up on the next page of text rather than on the page where they are referenced. What is the best solution to this type of thing? 3) Is there a way to turn off hyphenation in the main body of my text, such as with "\nohyphens", but turn *on* hyphenation in the text of the footnotes. My main text is ancient Greek, while my footnotes are mostly English. The Greek is hard to read if it is hyphenated, but I get much better formatting in the footnotes if hyphenation is turned on. Thanks for the help. I am much closer to what I want now. Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Space between footnote number and text
Does anyone know of a way to get rid of the space between a footnote number and the footnote text? I am formatting my footnotes in paragraph form (n=0) and sometimes the footnote numbers actually appear at the end of a line with the textwrapped around tothe beginning of the next line (which doesn't look very attractive). I would prefer there to be no space at all between the footnote number and the text, but if there has to be one, it seems like it should be a non-breaking space. Is there a way to "fix" this? Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
[NTG-context] Footnote Formatting
I am new to ConTeXt and have two questions about footnote formatting. I have noticed that there is always a space between the footnote number and the actual text of the footnote. My first question is: How can I eliminate this space or at the very least replace the space with a non-breaking space. On my system, the footnote numbers sometimes appear at the end of a line while the footnote text wraps around to the next line. Also, I am formatting my footnotes with \setupfootnotes[n=0,...] so that they appear at the bottom of the page in paragraph form (i.e., not one footnote per line). Due to a section change in the document, I may restart footnote numbering at "1" in the middle of a page. When this happens, I would like to indent footnote #1 just like you would indent a paragraph. My second question is: Can this be done? Any help offered will be greatly appreciated! Jeff Dodson _ Call Anyone, Anytime, Anywhere in the World - FREE! Free Internet calling from NetZero Voice Visit http://www.netzerovoice.com today! ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning
I'v tried it and I get a page number but only on one page, not all the document. Should I be taking a look at anything else to make it work an every page ? Sorry for my newbie questions... you need to set the layer each page [...] It works great. Thanks. I will be adding it to the wiki, as soon as I have the time. Miguel Queirós ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] Two Problems: Colored Chapter and Footnote positioning
Mojca Miklavec wrote: On 4/18/06, Miguel Queiros wrote: Hello, I'm facing two problems. The first one has to do with the fact that if I use \color[darkblue]{\chapter{Capitulo 1}} the line with \setuphead[chapter][header=empty] seems to be ignored because the chapter page gets the header too. I'v attached an example in the file capitulo-cores.tex. Use \bgroup \setuphead[chapter][color=darkblue] \chapter{Capitulo 1} \egroup or \start \setuphead[chapter][color=darkblue] \chapter{Capitulo 1} \stop or \definehead[alternativechapter][chapter] \setuphead[alternativechapter][color=darkblue] \alternativechapter{Capitulo N} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context