[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] colon in caption
Hi all, I have the question how to put a (pure) colon into a figure or table caption. \let\floatcaptionsuffix=: \placefigure[fig:cow]{cow}{\externalfigure[cow]} produces: Figure 1.: cow What I want is: Figure 1: cow i.e. the colon without the additionally dot. Does somebody know a solution for this simple problem? With many thanks for any hint, Albrecht ___ 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] question about MPpositiongraphic
Hi all, first, best wishes for the New Year to all of you - may 2009 bring peace and fortune and world domination for ConTeXt! And my little question - trivial for the resident experts, I guess, but I can't find a solution: I want to write a little macro that will allow me to place a thin curved line under letters (metrical symbol for synizesis). Now that metafun is so fast in mkiv, I thought I'd use a MPpositiongraphic for that purpose, but my problem is that I can't make the graphic really local - when it is used more than once in a document, Metafin uses the last values for all occurrences. I tried grouping and the save command, but to no avail. Here's an example that shows the problem: \startMPpositiongraphic{placesynizesis} StartPage ; begingroup ; save a ; initialize_box(\MPpos{\MPvar{self}}) ; numeric a ; a = ExHeight/6 ; z1 = llxy ; z2 = lrxy ; z3 = 1/2[z1,z2] ; z4 = ((x1 + 2a),(y1 - 2a)) ; z5 = (x3, (y3 - 4a)) ; z6 = ((x2 - 2a),(y2 - 2a)) ; path syn ; syn := z4 .. z5 .. z6 ; pickup pencircle scaled a ; draw syn ; anchor_box(\MPanchor{\MPvar{self}}) ; endgroup ; StopPage ; \stopMPpositiongraphic% \setMPpositiongraphic{POS}{placesynizesis} \define[1]\synizesis {\hpos{POS}{#1}} \starttext \switchtobodyfont[25pt] test: \synizesis{au} and \synizesis{aeiou} \stoptext Any solution to this conundrum? All best 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 ___
Re: [NTG-context] question about MPpositiongraphic
Am 03.01.2009 um 15:02 schrieb Thomas A. Schmitz: Hi all, first, best wishes for the New Year to all of you - may 2009 bring peace and fortune and world domination for ConTeXt! And my little question - trivial for the resident experts, I guess, but I can't find a solution: I want to write a little macro that will allow me to place a thin curved line under letters (metrical symbol for synizesis). Now that metafun is so fast in mkiv, I thought I'd use a MPpositiongraphic for that purpose, but my problem is that I can't make the graphic really local - when it is used more than once in a document, Metafin uses the last values for all occurrences. I tried grouping and the save command, but to no avail. Here's an example that shows the problem: \startMPpositiongraphic{placesynizesis} StartPage ; begingroup ; save a ; initialize_box(\MPpos{\MPvar{self}}) ; numeric a ; a = ExHeight/6 ; z1 = llxy ; z2 = lrxy ; z3 = 1/2[z1,z2] ; z4 = ((x1 + 2a),(y1 - 2a)) ; z5 = (x3, (y3 - 4a)) ; z6 = ((x2 - 2a),(y2 - 2a)) ; path syn ; syn := z4 .. z5 .. z6 ; pickup pencircle scaled a ; draw syn ; anchor_box(\MPanchor{\MPvar{self}}) ; endgroup ; StopPage ; \stopMPpositiongraphic% \setMPpositiongraphic{POS}{placesynizesis} \define[1]\synizesis {\hpos{POS}{#1}} \starttext \switchtobodyfont[25pt] test: \synizesis{au} and \synizesis{aeiou} \stoptext Any solution to this conundrum? \newcount\synizesisnumber \define[1]\synizesis {\advance\synizesisnumber\plusone \setMPpositiongraphic{POS-\number\synizesisnumber}{placesynizesis} \hpos{POS-\number\synizesisnumber}{#1}} 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] colon in caption
Am 02.01.2009 um 16:20 schrieb alkau...@uni-potsdam.de: Hi all, I have the question how to put a (pure) colon into a figure or table caption. \let\floatcaptionsuffix=: \placefigure[fig:cow]{cow}{\externalfigure[cow]} produces: Figure 1.: cow What I want is: Figure 1: cow i.e. the colon without the additionally dot. Does somebody know a solution for this simple problem? \setupcaptions[stopper={:}] 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] line spacing in frame with centered text
Hi, How do you get a uniform line spacing in the following frames where it's not the case ? \setuplayout[header=0pt,footer=0pt] \def\myFrameSetupA{\setupframed[width=\textwidth,frame=on,top=\vss,bottom=\vss,align=middle]} \def\myFrameSetupB{\setupframed[width=\textwidth,frame=on,location=middle,align=middle,offset=15pt]} \def\myFrameTextA{Text\\In A\\Frame} \def\myFrameTextB{Text\blank[medium]In A\blank[medium]Frame} \def\myFrameA{\framed[height=50mm]{\bf\myFrameTextA}} \def\myFrameB{\framed[height=50mm]{\bf\myFrameTextB}} \def\myFrameC{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextA}} \def\myFrameD{\framed[height=50mm]{\switchtobodyfont[35pt]\bf\myFrameTextB}} \def\myFrameOne{\myFrameSetupA\myFrameA} % OK \def\myFrameTwo{\myFrameSetupA\myFrameB} % OK \def\myFrameThree{\myFrameSetupA\myFrameC} % line spacing is not uniform \def\myFrameFour{\myFrameSetupA\myFrameD} % line spacing is not uniform \def\myFrameFive{\myFrameSetupB\myFrameA} % OK \def\myFrameSix{\myFrameSetupB\myFrameB} % OK \def\myFrameSeven{\myFrameSetupB\myFrameC} % line spacing is not uniform \def\myFrameEight{\myFrameSetupB\myFrameD} % line spacing is not uniform \starttext \myFrameOne \blank \myFrameTwo \blank \myFrameThree \blank \myFrameFour \page \myFrameFive \blank \myFrameSix \blank \myFrameSeven \blank \myFrameEight \stoptext -- Best, Alan ___ 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] line spacing in frame with centered text
Am 03.01.2009 um 18:12 schrieb Alan STONE: Hi, How do you get a uniform line spacing in the following frames where it's not the case ? \setuplayout[header=0pt,footer=0pt] \def\myFrameSetupA{\setupframed[width=\textwidth,frame=on,top= \vss,bottom=\vss,align=middle]} \def\myFrameSetupB{\setupframed[width= \textwidth,frame=on,location=middle,align=middle,offset=15pt]} \def\myFrameTextA{Text\\In A\\Frame} \def\myFrameTextB{Text\blank[medium]In A\blank[medium]Frame} Add a \par after the last line. \def\myFrameTextA{Text\\In A\\Frame\par} \def\myFrameTextB{Text\blank[medium]In A\blank[medium]Frame\par} 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 ___