Re: [NTG-context] local footnotes and captions
I'm not quite I understand: Are you saying I should leave the caption in "global scope"? Regarding the second version: Shouldn't that be: \startlocalfootnotes \footnotetext[asdf]{asdf} % this %\footnotetext[asdf]{\footnote{asdf}} % instead of this \startplacetable[title={A breakfast table.\note[asdf]}] \placelegend {\starttable[|l|r|] \HL \VL Spam \footnote {lovely}\VL Bacon \footnote {wonderful} \VL\FR \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} \VL\LR \HL \stoptable} {\placelocalfootnotes} \stopplacetable \stoplocalfootnotes ? Best, Denis > -Ursprüngliche Nachricht- > Von: ntg-context Im Auftrag von Hans Hagen > via ntg-context > Gesendet: Donnerstag, 16. Juni 2022 14:13 > An: Denis Maier via ntg-context > Cc: Hans Hagen > Betreff: Re: [NTG-context] local footnotes and captions > > On 6/16/2022 12:43 PM, Denis Maier via ntg-context wrote: > > Hi, > > > > another experiment with footnotes in captions, this time local footnotes : > > > > %%% > > > > \setupcaptions[location=top] > > > > \starttext > > > > \startlocalfootnotes > > > > \placetable > > > > % The caption > > > > {A breakfast table.\footnote{asdf}} > > > > % the table > > > > \placelegend > > > > {\starttable[|l|r|] > > > > \HL > > > > \VL Spam \footnote {lovely} \VL Bacon \footnote > > {wonderful} \VL\FR > > > > \VL Eggs \footnote {wonderful} \VL Spam \footnote > > {lovely} \VL\LR > > > > \HL > > > > \stoptable} > > > > % the footnotes > > > > {\placelocalfootnotes} > > > > \stoplocalfootnotes > > > > \stoptext > > > > %%% > > > > Two observations : > > > > 1. the footnote numbering is a bit odd, shouldn’t the footnote in the > > caption be numbered with 1? > > > > 2. The footnote in the caption is not included in the local footnotes. > > Why is that? > \starttext > > \startplacetable[title={A breakfast table.\footnote{asdf}}] > \startlocalfootnotes > \placelegend > {\starttable[|l|r|] > \HL > \VL Spam \footnote {lovely}\VL Bacon \footnote > {wonderful} \VL\FR > \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} > \VL\LR > \HL > \stoptable} > {\placelocalfootnotes} > \stoplocalfootnotes > \stopplacetable > > \startlocalfootnotes > \footnotetext[asdf]{\footnote{asdf}} > \startplacetable[title={A breakfast table.\note[asdf]}] > \placelegend > {\starttable[|l|r|] > \HL > \VL Spam \footnote {lovely}\VL Bacon \footnote > {wonderful} \VL\FR > \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} > \VL\LR > \HL > \stoptable} > {\placelocalfootnotes} > \stopplacetable > \stoplocalfootnotes > > \stoptext > > > - >Hans Hagen | PRAGMA ADE >Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : > https://bitbucket.org/phg/context-mirror/commits/ > 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnotes and captions
On 6/16/2022 12:43 PM, Denis Maier via ntg-context wrote: Hi, another experiment with footnotes in captions, this time local footnotes : %%% \setupcaptions[location=top] \starttext \startlocalfootnotes \placetable % The caption {A breakfast table.\footnote{asdf}} % the table \placelegend {\starttable[|l|r|] \HL \VL Spam \footnote {lovely} \VL Bacon \footnote {wonderful} \VL\FR \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} \VL\LR \HL \stoptable} % the footnotes {\placelocalfootnotes} \stoplocalfootnotes \stoptext %%% Two observations : 1. the footnote numbering is a bit odd, shouldn’t the footnote in the caption be numbered with 1? 2. The footnote in the caption is not included in the local footnotes. Why is that? \starttext \startplacetable[title={A breakfast table.\footnote{asdf}}] \startlocalfootnotes \placelegend {\starttable[|l|r|] \HL \VL Spam \footnote {lovely}\VL Bacon \footnote {wonderful} \VL\FR \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} \VL\LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \stopplacetable \startlocalfootnotes \footnotetext[asdf]{\footnote{asdf}} \startplacetable[title={A breakfast table.\note[asdf]}] \placelegend {\starttable[|l|r|] \HL \VL Spam \footnote {lovely}\VL Bacon \footnote {wonderful} \VL\FR \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} \VL\LR \HL \stoptable} {\placelocalfootnotes} \stopplacetable \stoplocalfootnotes \stoptext - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] local footnotes and captions
Hi, another experiment with footnotes in captions, this time local footnotes : %%% \setupcaptions[location=top] \starttext \startlocalfootnotes \placetable % The caption {A breakfast table.\footnote{asdf}} % the table \placelegend {\starttable[|l|r|] \HL \VL Spam \footnote {lovely} \VL Bacon \footnote {wonderful} \VL\FR \VL Eggs \footnote {wonderful} \VL Spam \footnote {lovely} \VL\LR \HL \stoptable} % the footnotes {\placelocalfootnotes} \stoplocalfootnotes \stoptext %%% Two observations : 1. the footnote numbering is a bit odd, shouldn't the footnote in the caption be numbered with 1? 2. The footnote in the caption is not included in the local footnotes. Why is that? Denis ___ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] footnotes in floating tables
I am using the following to style floating tables and am having some difficulties with footnotes in the tables. \enableregime[utf] \setupbodyfont[modern] \setupbodyfont[11pt] \setupfloats[location=middle,spacebefore=0ex,spaceafter=8ex] \setupcaptions[location=top,inbetween={\blank[0cm]},spaceafter=2ex,spacebefore=1ex,headstyle=\sc] \setupTABLE[frame=off,offset=0ex] \setupTABLE[c][distance=0.6em] \def\tableheadrulethickness{1.0pt} \defineframed[footnoteframed]\setupframed[footnoteframed][width=\hsize,frame=off,align=right,top=\hbox\bgroup,bottom=\egroup] % Use the set of symbols that has become customary in many publications for footnote marks, whose % origin seems to be lost in the misty dawn of history: \defineconversion[tablefootnoteconversion][*,†,‡,§,\textbar\textbar,¶] \starttext %%% Begin title page. \startalignment[center] {\ssb Title} \stopalignment %%% End title page. Hello. { \placetable[top,page][table]{ Caption 1. }{ \bTABLE% \bTR{}\bTD{}X \eTD\bTD{}Y\eTD\eTR% \bTR{}\bTD{}1 \eTD\bTD{}2\eTD\eTR% \eTABLE% } } { \setupfootnotes[conversion=tablefootnoteconversion] % MkII % \setupnotation[footnote][numberconversion=tablefootnoteconversion] % MkIV \startlocalfootnotes \setupTABLE[r][1][bottomframe=on,align=low,rulethickness=\tableheadrulethickness] \setupTABLE[r][each][align={flushleft,verytolerant,hyphenated}] % Hyphenate words in table body \setupTABLE[r][1][align={flushleft,low,verytolerant,nothyphenated}] % but not in header row. \placetable[top,page][table]{ Table 2 caption.\footnote{Footnote in caption. Footnote in caption. Footnote in caption. Footnote in caption. Footnote in caption. Footnote in caption. }\footnote{Second footnote in caption.} \placelocalfootnotes }{ \placelegend{ \bTABLE% \bTR{}\bTD{}A\note[Footnote_mark_1] \eTD\bTD{}B\note[Footnote_mark_2]\eTD\eTR% \bTR{}\bTD{}1 \eTD\bTD{}2\eTD\eTR% \eTABLE% \footnotetext[Footnote_mark_1]{Footnote to column A. Footnote to column A. Footnote to column A. Footnote to column A.}\footnotetext[Footnote_mark_2]{Footnote to column B.} }{ \footnoteframed{\placelocalfootnotes} \stoplocalfootnotes } } } \stoptext MkII --- this comes close to what I want. - Captions are centered above the TABLE, more or less, and long captions are constrained to a width having reasonable relationship to the width of the TABLE. - Footnotes in the caption appear in a block of reasonable width at the bottom of the caption above the TABLE. - Footnotes in the TABLE appear in a block below the TABLE whose left margin matches the TABLE's left margin. - Symbols are being used for footnote marks. Problems: - I'd like the very short caption of the first table to be centered above the TABLE, but what I actually get seems to be paragraph with an invisible right margin that is centered over the TABLE, but at the text does not reach the paragraph's right margin, it looks misaligned. The same misaligment occurs in the second table's caption, though it is not so objectionable there as the footnotes' texts fill the width. - The block of footnote texts of the TABLE is not wrapped at a reasonable width --- they seem to be left-aligned, but their right margin runs off the page. - I'd like one numbering scheme for the for the whole table (caption and TABLE), such that the caption's notes are numbered *, † and the TABLE's notes are ‡, §. What I actually get is *, † for both, i.e., the numbering resets between caption and TABLE. - I'd like commas separating multiple footnote marks next to each other, as in the caption in the example. - Minor: I'd like to suppress the table from being placed on the the first page of the document as it floats above the title block, confusingly. A minor problem as realstically a table is unlikely to be placed this early in a real document. MkIV (with change from \setupfootnotes to \setupnotation[footnote] as noted) --- there are several new problems. - The caption's footnotes are not printed, though their marks are. - The TABLE's footnote marks are not printed (unknown references), but the notes themselves are (though wrongly). - The texts of all the footnotes in the TABLE are run together into a single line that doesn't break at all. ___ 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
Re: [NTG-context] Animation captions (was: error in animation)
Am 08.10.2014 um 05:19 schrieb Jeong Dal hak...@me.com: Dear Woldgang, I searched \definepairedbox and found several discussions as following: http://www.ntg.nl/pipermail/ntg-context/2005/014315.html https://www.mail-archive.com/ntg-context@ntg.nl/msg71401.html In the above examples, it took a long sentences as a caption while my example don’t allow multiple lines. I inserted \crlf but it is not working. The difference is that “side by side”(example above) and “top and bottom”(example below). Is there a way of allowing multiple lines? I mixed up the order of arguments, the text goes into the second argument and the figure etc. is put into the first argument, e.g. \useMPlibrary[dum] \starttext \placelegend{\externalfigure[dummy][width=8cm]}{\input ward } \blank \placelegend[width=\textwidth]{\externalfigure[dummy][width=8cm]}{\input ward } \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] [***SPAM***] Re: [***SPAM***] How to reduce vertical spacing after this table
Wolfgang, thank you very much, for the solution to the problem I was having. I am surprised tha placelegend was necessary. I thought that simiply putting the placefootnotes inside the caption would be sufficient. The solution you provided works well. Much appreciated. Wolfgang Schuster schuster.wolfg...@gmail.com wrote: Am 06.07.2013 um 11:09 schrieb hwit...@gmail.com: I'Ve been trying dozens of combinations to try to reduce the vertical space between the a table and the local footer to some items in the table, but have just been running into a wall. Here is a minimal example. For my application there is just too much space between the bottom of the table and the footnote. That is the problem. Also is there a more elegant way to get the footnote aligned under the table to the left side. I am using narrower to force it to postion. This doesn't show up right in the minimal, but it works. Help in solving this would be greatly appreciated. % \defineconversion[fnsym][\m{\dagger},\m{*},\m{**},\m{***}] % footnote header symbols \starttext \subject{Subject Name} \blank \startlocalfootnotes % [conversion=set fnsym] \setupnotation[footnote][numberconversion=fnsym,rule=off] % change footnote symbols \midaligned { \placetable[here,none][]{} { \setuptables[bodyfont=10pt,after=\nowhitespace,spaceafter=none] \starttable[|c|c|c|c|c|c|c|c|c|] \HL \VL X-ITEM \VL \VL$\oplus$ \footnote[hanzi]{Traditional Characters} \VL \VL$\oplus$ \note[hanzi]\VL\VL$\oplus$ \VL \VL$\oplus$ \VL\MR \VL Y-ITEM\VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus$ \VL \VL$\oplus$ \VL\MR \HL \stoptable } } \setupnarrower[left=2.5cm] % to align footnote under the table \startnarrower[left] \placelocalfootnotes[here] \stopnarrower \stoplocalfootnotes \setupnotation[footnote][numberconversion=n,rule=on] % restore footnotes to global \stoptext Slightly modified solution I already wrote three hours ago for another thread regarding a similar question: \defineconversion[fnsym][\m{\dagger},\m{*},\m{**},\m{***}] \starttext \subject{Subject Name} \startplacetable[location={force,none}] \startlocalfootnotes \setupnotation[footnote][numberconversion=fnsym] \startplacelegend \startcontent \starttable[|c|c|c|c|c|c|c|c|c|][bodyfont=10pt] \HL \VL X-ITEM \VL \VL $\oplus$\footnote[hanzi]{Traditional Characters} \VL \VL $\oplus$\note[hanzi] \VL \VL $\oplus$ \VL \VL $\oplus$ \VL\MR \VL Y-ITEM \VL \VL $\oplus$ \VL \VL$\oplus$ \VL \VL $\oplus$ \VL \VL $\oplus$ \VL\MR \HL \stoptable \stopcontent \startcaption \placelocalfootnotes \stopcaption \stopplacelegend \stoplocalfootnotes \stopplacetable \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] List of bugs and quirks
Hi Hans, maybe after the current is made (which happens sometime within the next two weeks) best make sure that we have no serious bugs (experimental features apart) I think it's better to start a new thread for this issue. I maintain a small list of bugs and quirks which I would like to share. I don't know if the issues are considered bugs or not. I posted most of them to the mailing list at some point, but AFAIK they have not been fixed for whatever reason. Usually there are simple workarounds or I have some code which fixes the issue. Others are still unresolved. Act upon as you see fit. % %% Wrong spacing in \unit when no number is given \starttext \starttabulate \NC wrong spacing \EQ (\unit{micro mol}) \NC\NR \NC spacing OK\EQ (µmol) \NC\NR \NC spacing OK\EQ (3\,µmol)\NC\NR \NC spacing OK\EQ (3 \unit{micro mol}) \NC\NR \NC spacing OK\EQ (\unit{3 micro mol}) \NC\NR \stoptabulate \stoptext % %% Newline after \placelegend fails \starttext \startplacelegend \startcontent Foo \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext % %% way setting does not work in \setupcaptions %% The way setting cannot be applied globally to all floats using %% \setupcaptions. For the prefix value it works. \setupblackrules [width=4cm, height=1cm] %% prefix is applied, way is not \setupcaptions [prefix=no, way=bytext] %% prefix and way are applied %% \setupcaption %% [figure, table] %% [prefix=no, %%way=bytext] \starttext \dorecurse{2}{% \startchapter [title=Chapter] \dorecurse{2}{% \startplacefigure \blackrule \stopplacefigure \startplacetable \blackrule \stopplacetable} \stopchapter} \stoptext % %% Wide descriptions protruding into the margin \definedescription [description] [alternative=hanging, width=broad] \starttext \startdescription{conclusion that} \input knuth \stopdescription \startdescription{conclusion that the designer of a new system must not only be literally} \input knuth \stopdescription \stoptext % %% interaction mode focus=current does not work for footnotes and floats \setupinteraction [state=start,focus=standard] \starttext \in{figure}[foo] \startplacefigure [reference=foo] \stopplacefigure \stoptext % %% the \stop… line of database module environment must not be indented, %% spurious line otherwise \usemodule [database] \defineseparatedlist [CSV] [before=\bTABLE, after=\eTABLE, first=\bTR, last=\eTR, left=\bTD, right=\eTD] \starttext %% indentation with spaces works \startCSV alpha, 10 beta, 20 gamma, 30 \stopCSV %% indentation with tabs produces spurious extra line \startCSV alpha, 10 beta, 20 gamma, 30 \stopCSV %% some weird indentation works, but looks awkward \startplacetable \startCSV alpha, 10 beta, 20 gamma, 30 \stopCSV \stopplacetable \stoptext % %% MetaPost Location throws error \startuseMPgraphic{foo} %% works %% fill Field[Header][Text]; %% error fill Area[Header][Text] shifted Location[Header][Text]; \stopuseMPgraphic \starttext \useMPgraphic{foo} \stoptext % Marco 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] List of bugs and quirks
On 3/27/2013 7:55 PM, Marco Patzer wrote: Hi Hans, maybe after the current is made (which happens sometime within the next two weeks) best make sure that we have no serious bugs (experimental features apart) I think it's better to start a new thread for this issue. I maintain a small list of bugs and quirks which I would like to share. I don't know if the issues are considered bugs or not. I posted most of them to the mailing list at some point, but AFAIK they have not been fixed for whatever reason. Usually there are simple workarounds or I have some code which fixes the issue. Others are still unresolved. Act upon as you see fit. well, if something really crashes due to some 'programming' error it's indeed a bug (i tend to add such tests then to the test suite so that it gets checked) other cases depend a bit on how complex it is to deal with it given the tex language, take this one: % %% Newline after \placelegend fails \starttext \startplacelegend \startcontent Foo \stopcontent \startcaption Bar \stopcaption \stopplacelegend \stoptext If you want that, you also want \starttext \startplacelegend \startcontent Foo Bar \stopcontent \startcaption Bar Foo \stopcaption \stopplacelegend \stoptext That's actually a side effect of how such a mechanism is implemented but in this case it can be catched (at the cost of a bit less efficiency). The problem then is that after a while one wonders why the particular lines of code were there. (you can test / look into the zip on the ftp server) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] \starttabulate inside a \placelegend is not working
Hi, I would like to put a table (\starttabulate ... \stoptabulate) inside a \placelegend in order to have local footnotes. The compilation is OK for \starttable but failing with \starttabulate. Some help please? Thanks Charles \starttext \startlocalfootnotes \placetable{A table with footnotes.} \placelegend {\starttable[|l|r|] \HL \VL One\footnote{First} \VL Two\footnote{Second} \VL\FR \VL Three\footnote{Third} \VL Four\footnote{Fourth} \VL\LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \startlocalfootnotes \placetable{A table with footnotes.} \placelegend {\starttabulate[|l|c|c|c|] \HL \NC \NC One \NC Two \NC Three \NC\NR \HL \NC Ten \NC \checkmark\footnote{First} \NC \NC \NC \NC\NR \NC Twenty \NC \checkmark \NC \checkmark\footnote{Second} \NC \NC \NC\NR \HL \stoptabulate} {\placelocalfootnotes} \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Document with only figures
Am 16.11.2011 um 13:42 schrieb Charles: I put the \placefigure (w/o the page option) of the first figure inside a \centerbox and it's working. There are simpler ways to place a caption below the figure: \setuppairedbox[legend][align=middle] \starttext \centerbox{\placelegend{\externalfigure[cow]}{A dutch cow}} \centerbox{\placelegend{\externalfigure[mill]}{A mill}} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame around float and its caption, how to?
Am 25.09.2011 um 18:10 schrieb Stefan Müller: Hi list, I'm using 201100920 00:09 MkIV standalone. Some time ago Marcin Borkowski asked [1] on this list about framing floats together with their captions. It seems to be unanswered and now I stumbled upon a similar problem. I want to have a figure with a caption together in a frame as wide as the surrounding text, aka \textwidth and the caption filling the available horizontal space. I.e. I want something like \setupcaption[width=\textwidth] \starttext \placefigure[here]{\input tufte}{\externalfigure[cow]} \stoptext with a frame around it. Found this in my mail archive: % engine=pdftex \setupexternalfigures[location={local,global,default}] \setupfloats[frame=on,frameoffset=1mm] \starttext \section{A figure with a background} \placefigure {none} {\placelegend {\externalfigure[mill][scale=2000]} {\placefloatcaption[figure]{A dutch mill}}} \stoptext It works only with MkII because \placefloatcaption isn’t yet rewritten for the new 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Frame around float and its caption, how to?
Thank you for taking a look at this. Too bad your solution is only MkII. The document I'm currently working on is to be written in APA style and unfortunately the frame around figure+caption is required... I'm not really interested in changing to MkII... ;) I hope there can also be a not too involed solution for this in MkIV. Best regards, Stefan On 25.09.2011 18:32, Wolfgang Schuster wrote: Am 25.09.2011 um 18:10 schrieb Stefan Müller: Hi list, I'm using 201100920 00:09 MkIV standalone. Some time ago Marcin Borkowski asked [1] on this list about framing floats together with their captions. It seems to be unanswered and now I stumbled upon a similar problem. I want to have a figure with a caption together in a frame as wide as the surrounding text, aka \textwidth and the caption filling the available horizontal space. I.e. I want something like \setupcaption[width=\textwidth] \starttext \placefigure[here]{\input tufte}{\externalfigure[cow]} \stoptext with a frame around it. Found this in my mail archive: % engine=pdftex \setupexternalfigures[location={local,global,default}] \setupfloats[frame=on,frameoffset=1mm] \starttext \section{A figure with a background} \placefigure {none} {\placelegend {\externalfigure[mill][scale=2000]} {\placefloatcaption[figure]{A dutch mill}}} \stoptext It works only with MkII because \placefloatcaption isn’t yet rewritten for the new 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Footnote disappears (TABLE, itemize)
Am 20.03.2011 um 22:08 schrieb Vedran Miletić: Hi, the following code makes first footnote disappear. \starttext \placetable{My table}{\bTABLE \bTR \bTD {\bf Something} \eTD \bTD \startitemize[1, packed] \item First \item Second\footnote{test1} hello \item Third\footnote{test2} hello \stopitemize \eTD \eTR \eTABLEbody \eTABLE} \stoptext Add \automigrateinserts or use local footnotes, be aware that floats and footnotes don’t work well together. \starttext \placetable {My table} {\startlocalfootnotes \placelegend {\bTABLE \bTR \bTD {\bf Something} \eTD \bTD \startitemize[1, packed] \item First \item Second\footnote{test1} hello \item Third\footnote{test2} hello \stopitemize \eTD \eTR \eTABLE} {\placelocalfootnotes} \stoplocalfootnotes} \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] startlocalfootnotes
Hi, it seems that it is not longer possible to set options for local footnotes. \starttext \startbuffer \bTABLE \bTR \bTD one \footnote{\dorecurse{10}{abcd }} \eTD \bTD two \eTD \eTR \bTR \bTD three fout five six seven eight nine \eTD \bTD ten \eTD \eTR \eTABLE \stopbuffer \startlocalfootnotes[n=0,location={text,none}] \placelegend[n=2]{\getbuffer}{\placelocalfootnotes} \stoplocalfootnotes Has the syntax changed? Greeting Andreas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Wolfgang— Using tabulate does seem, to help: I still get odd labeling and a no page break. \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptabulate [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes, header=repeat] \placetable [split, top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttabulatehead \HL \NC {Column A} \NC {Column B} \NC\SR \HL \stoptabulatehead \starttabulate[|p(11.5pc)|p(11.5pc)|] \NC {1[4].341||345 [= F21.82||86]} \NC{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC\NC\AR \stoptabulate \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes} } \stoplocalfootnotes} \stop \stoptext On Nov 23, 2009, at 02;51,46 , Wolfgang Schuster wrote: Am 23.11.2009 um 08:49 schrieb Taco Hoekwater: it seems that TaBlE does not support splitting p() columns and (iirc) TABLE does. TABLE doesn't (each cell is a \framed) but tabulate does Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Wolfgang— I have switched the minimal example to tabulate. The problem is that this entails little progress because I can find no documentation that explains (a) how to format (e.g., center) the content of specific cells---\REF does not seem to work any more. (b) how to get weighted rules---\HL[3] no longer works (c) how to avoid getting the label for the table on the first page (d) how to get a decent page break. I have checked Hans' MAPs article as we all as the wiki. There is reference to a new tabulate module that you were working on, but the link goes nowhere. I can work around (a) and (b) if I have to, but (c) and (d) are crucial. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptabulate [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes header=repeat] \placetable [split, top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttabulatehead \HL \NC {Column A} \NC {Column B} \NC\SR \HL \stoptabulatehead \starttabulate[|p(11.5pc)|p(11.5pc)|] \NC {1[4].341||345 [= F21.82||86]} \NC{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC\NC\AR \stoptabulate \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \stoptext On Nov 23, 2009, at 02;51,46 , Wolfgang Schuster wrote: Am 23.11.2009 um 08:49 schrieb Taco Hoekwater: it seems that TaBlE does not support splitting p() columns and (iirc) TABLE does. TABLE doesn't (each cell is a \framed) but tabulate does Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Wolfgang— Using tabulate does seem, to help: I still get odd labeling and a no page break. \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptabulate [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes, header=repeat] \placetable [split, top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttabulatehead \HL \NC {Column A} \NC {Column B} \NC\SR \HL \stoptabulatehead \starttabulate[|p(11.5pc)|p(11.5pc)|] \NC {1[4].341||345 [= F21.82||86]} \NC{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC\NC\AR \NC \NC \input knuth\NC\AR \NC \input knuth\NC \NC\AR \stoptabulate \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes} } \stoplocalfootnotes} \stop \stoptext On Nov 23, 2009, at 02;51,46 , Wolfgang Schuster wrote: Am 23.11.2009 um 08:49 schrieb Taco Hoekwater: it seems that TaBlE does not support splitting p() columns and (iirc) TABLE does. TABLE doesn't (each cell is a \framed) but tabulate does Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Fwd: local footnote (Tables) problem
I apologize to the list for the second message. My keyboard and trackpad have gone sticky and unpredictable, and I misfired. The message below (the first message) is the one that I wanted to send. Please ignore the second. A. Begin forwarded message: From: Bowen Alan C. acbo...@princeton.edu Date: 11 23, 2009 17:26:37 EST To: mailing list for ConTeXt users ntg-context@ntg.nl Subject: Re: [NTG-context] local footnote (Tables) problem Wolfgang— I have switched the minimal example to tabulate. The problem is that this entails little progress because I can find no documentation that explains (a) how to format (e.g., center) the content of specific cells---\REF does not seem to work any more. (b) how to get weighted rules---\HL[3] no longer works (c) how to avoid getting the label for the table on the first page (d) how to get a decent page break. I have checked Hans' MAPs article as we all as the wiki. There is reference to a new tabulate module that you were working on, but the link goes nowhere. I can work around (a) and (b) if I have to, but (c) and (d) are crucial. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptabulate [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes header=repeat] \placetable [split, top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttabulatehead \HL \NC {Column A} \NC {Column B} \NC\SR \HL \stoptabulatehead \starttabulate[|p(11.5pc)|p(11.5pc)|] \NC {1[4].341||345 [= F21.82||86]} \NC{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC \NC\AR \stoptabulate \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \stoptext On Nov 23, 2009, at 02;51,46 , Wolfgang Schuster wrote: Am 23.11.2009 um 08:49 schrieb Taco Hoekwater: it seems that TaBlE does not support splitting p() columns and (iirc) TABLE does. TABLE doesn't (each cell is a \framed) but tabulate does Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Please excuse my persistence. The following is a minimal file illustrating a problem that I am having with a multipage table with local footnotes. Setting split=yes or split=repeat in \setuptables produces obviously unsatisfactory results. What I need is a multipage table that has good page divisions and puts the table's label on the last page only. I have been unable to find documentation that would help with this yet. I am using MK2 in today’s Context in the Context Minimals. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=repeat] \placetable [split,top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttablehead \HL[3] \NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC \NC\AR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] local footnote (Tables) problem
Wolfgang— I adapted the file that you sent me so that the table extends beyond one page. But, as you will see, the table still prints on just one page. Moreover, if I set split=repeat, the header prints twice (?) more. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes] \placetable [top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttablehead \HL[3] \NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC \NC\AR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Alan I believe that you need to use \starttables\stoptables rather than \starttable\stoptable. See: http://wiki.contextgarden.net/Tables_Overview Alan On Wednesday 18 November 2009 20:20:06 Bowen Alan C. wrote: Wolfgang— I adapted the file that you sent me so that the table extends beyond one page. But, as you will see, the table still prints on just one page. Moreover, if I set split=repeat, the header prints twice (?) more. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes] \placetable [top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttablehead \HL[3] \NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC\NC\AR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Thanks, Alan. I tried that---it is what I ordinarily use---and am sad to report that it makes no difference: the problem persists. Alan On Nov 18, 2009, at 15;19,00 , Alan BRASLAU wrote: Alan I believe that you need to use \starttables\stoptables rather than \starttable\stoptable. See: http://wiki.contextgarden.net/Tables_Overview Alan On Wednesday 18 November 2009 20:20:06 Bowen Alan C. wrote: Wolfgang— I adapted the file that you sent me so that the table extends beyond one page. But, as you will see, the table still prints on just one page. Moreover, if I set split=repeat, the header prints twice (?) more. Alan \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes] \placetable [top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttablehead \HL[3] \NC \REF[c]{Column A} \NC \REF[c]{Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \NC \input knuth\NC \NC\AR \NC \NC \input knuth \NC\AR \NC \input knuth\NC\NC\AR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Many thanks, Wolfgang. This works perfectly. I will try my hand at updating the wiki entry on local notes in Table(s), once I have worked your solution through more carefully. Best, Alan On Nov 15, 2009, at 11;16,29 , Wolfgang Schuster wrote: Am 14.11.2009 um 17:05 schrieb Bowen Alan C.: After further experimentation, I am still stumped; so I am resending this. \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes] \placetable [top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttablehead \HL[3] \NC \REF[c]{\switchtobodyfont[11pt]Column A} \NC \REF[c]{\switchtobodyfont[11pt]Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] local footnote (Tables) problem
Am 14.11.2009 um 17:05 schrieb Bowen Alan C.: After further experimentation, I am still stumped; so I am resending this. \showframe \starttext \dorecurse{3}{\input knuth\par} \start \setuptables [bodyfont=9pt, width=\textwidth, rulethickness=0.03em, distance=big, split=yes] \placetable [top,nonumber] [tab:Table03] {Table 3} {\startlocalfootnotes[conversion=character,bodyfont=9pt] \placelegend {\startframedtext[frame=off,offset=none,width=fit] \starttablehead \HL[3] \NC \REF[c]{\switchtobodyfont[11pt]Column A} \NC \REF[c]{\switchtobodyfont[11pt]Column B} \NC\SR \HL \stoptablehead \starttable[|p(11.5pc)|p(11.5pc)|] \NC \REF[c]{1[4].341||345 [= F21.82||86]} \NC\REF[c]{6.29.3||4} \NC\SR \NC Text A\note[a]\NC Text B\note[b]\NC\SR \stoptable \stopframedtext} {\footnotetext[a]{A local footnote.} \footnotetext[b]{Another local footnote.} \hskip2pc\mbox{\placelocalfootnotes}} \stoplocalfootnotes} \stop \stoptext Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] local footnote (Tables) problem
After further experimentation, I am still stumped; so I am resending this. The attached file will compile only if I comment out (a) header=2pc in \setuplayout or (b) \setupbodyfont[lmodern,rm,10.5pt] or (c) \placelegend or (d) \dorecurse{3}{\input knuth} I am running MK2 using the penultimate beta in the ConTeXt Minimals. There is no improvement when I run the file on the ConteXt wiki (latest beta). Any help will be greatly appreciated. Alan LocalNotes.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] local footnote (Tables) problem
I am having a problem placing local footnotes in a table using\placelegend. The attached file will compile only if I comment out (a) header=2pc in \setuplayout or (b) \setupbodyfont[lmodern,rm,10.5pt] or (c) \placelegend or (d) \dorecurse{3}{\input knuth} I am stumped as to why this should be so. There is obviously something that I am just not seeing. I am running MK2 using the latest beta in the ConTeXt Minimals. Any help will be greatly appreciated. Alan LocalNotes.tex Description: Binary data ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Tables query (notes, MKII)
Hi Alan, I tried your code. Here with the latest beta and minimals from 11-06-2009 MKIV: I get the footnotes at the left margin and they will fill the whole width of the table and break lines correctly. However the conversion of the numbers into characters does not work. Instead the [conversion=characters] is displayed at the top of the file. - I assume, that this is an issue related to the new sectioning code... Otherwise compliation of your code in MKII results in a correct conversion of the numbers to characters, but indeed the width is restricted to a fairly small column. You can circumvent this by adding a width= to the list of options [conversion=characters, width= \.9\textwidth] Kind regards Willi On Jun 9, 2009, at 5:43 PM, Bowen Alan C. wrote: I need a table that has local notes, but have not been able to get them into the proper position (at the left margin of the table) or the the proper length ( extending full length of table if needed). What am I missing in the following reduced example? \starttext \startlocalfootnotes[conversion=character] \placetable[][] {} \placelegend {\starttables[|p|p|p|p|p|p|] \NC numbers \NC (*) \footnote{This is the first footnote.} \NC stuff \footnote{This is the second footnote.} \NC stuff\footnote{This is the third footnote.} \NC more stuff\footnote{This is the fourth footnote} \NC and yet more\NC\SR \HL \stoptables} {\placelocalfootnotes} \stoplocalfootnotes \stoptext 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 __ _ ___ 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] Tables query (notes, MKII)
Thanks, Willi. I am now using the very latest ConTeXt minimals and find that setting width=fit works too. All best, Alan On Jun 11, 2009, at 11;05,47 , Willi Egger wrote: Hi Alan, I tried your code. Here with the latest beta and minimals from 11-06-2009 MKIV: I get the footnotes at the left margin and they will fill the whole width of the table and break lines correctly. However the conversion of the numbers into characters does not work. Instead the [conversion=characters] is displayed at the top of the file. - I assume, that this is an issue related to the new sectioning code... Otherwise compliation of your code in MKII results in a correct conversion of the numbers to characters, but indeed the width is restricted to a fairly small column. You can circumvent this by adding a width= to the list of options [conversion=characters, width= \.9\textwidth] Kind regards Willi On Jun 9, 2009, at 5:43 PM, Bowen Alan C. wrote: I need a table that has local notes, but have not been able to get them into the proper position (at the left margin of the table) or the the proper length ( extending full length of table if needed). What am I missing in the following reduced example? \starttext \startlocalfootnotes[conversion=character] \placetable[][] {} \placelegend {\starttables[|p|p|p|p|p|p|] \NC numbers \NC (*) \footnote{This is the first footnote.} \NC stuff \footnote{This is the second footnote.} \NC stuff\footnote{This is the third footnote.} \NC more stuff\footnote{This is the fourth footnote} \NC and yet more\NC\SR \HL \stoptables} {\placelocalfootnotes} \stoplocalfootnotes \stoptext 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 ___ ___ 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] Tables query (notes, MKII)
I need a table that has local notes, but have not been able to get them into the proper position (at the left margin of the table) or the the proper length ( extending full length of table if needed). What am I missing in the following reduced example? \starttext \startlocalfootnotes[conversion=character] \placetable[][] {} \placelegend {\starttables[|p|p|p|p|p|p|] \NC numbers \NC (*) \footnote{This is the first footnote.} \NC stuff \footnote{This is the second footnote.} \NC stuff\footnote{This is the third footnote.} \NC more stuff\footnote{This is the fourth footnote} \NC and yet more\NC\SR \HL \stoptables} {\placelocalfootnotes} \stoplocalfootnotes \stoptext 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] Tables query (notes, MKII)
After some experimentation, it became clear that to place the local notes properly, one must use \note[...] and \footnotetext[...]{}, and put the series of \footnotetext entries just before \placelocalfootnotes. A. On Jun 9, 2009, at 11;43,46 , Bowen Alan C. wrote: I need a table that has local notes, but have not been able to get them into the proper position (at the left margin of the table) or the the proper length ( extending full length of table if needed). What am I missing in the following reduced example? \starttext \startlocalfootnotes[conversion=character] \placetable[][] {} \placelegend {\starttables[|p|p|p|p|p|p|] \NC numbers \NC (*) \footnote{This is the first footnote.} \NC stuff \footnote{This is the second footnote.} \NC stuff\footnote{This is the third footnote.} \NC more stuff\footnote{This is the fourth footnote} \NC and yet more\NC\SR \HL \stoptables} {\placelocalfootnotes} \stoplocalfootnotes \stoptext 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 ___ ___ 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
Hans Hagen 写道: i uploaded a beta with some fixes The following bug is still there. ! Argument of \dotripletestemptyx has an extra }. inserted text \par to be read again } \doif #1#2-\edef \!!stringa {#1} \edef \!!stringb {#2}\ifx \!!stringa \!!str... \dostructurecountercomponent ...\c!title }\v!none {\setfalse \hasstructureco... \docompletefloat ...c!title ={#4},\c!bookmark =][] \globallet \currentfloatnu... argument ...\footnote {Test footnote.}}\nextbox \else \docompletefloat {ta... ... l.12 {\placelocalfootnotes} Example: \starttext \startlocalfootnotes \placetable{Test table\footnote{Test footnote.}} \placelegend{ \starttable[|l|l|] \HL \NC East \NC North \NC \FR \NC West \NC South \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \stoptext Best wishes, Wei-Wei ___ 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
Hans Hagen 写道: I uploaded a beta just before leaving for bachotek. Quite some structure (lua) code has been overhauled and i need to finish some bits. Have fun! As I'm redoing the backend as well as cross referencing some interaction features might be broken but normally they are easy to fix (once i know what fails). So, best collect all bugs while i'm away so that i can deal with then at once. I got an error here. ! Argument of \dotripletestemptyx has an extra }. inserted text \par to be read again } \doif #1#2-\edef \!!stringa {#1} \edef \!!stringb {#2}\ifx \!!stringa \!!str... \dostructurecountercomponent ...\c!title }\v!none {\setfalse \hasstructureco... \docompletefloat ...c!title ={#4},\c!bookmark =][] \globallet \currentfloatnu... argument ...\footnote {Test footnote.}}\nextbox \else \docompletefloat {ta... ... l.13 {\placelocalfootnotes} Minimal example: \starttext \startlocalfootnotes \placetable{Test table\footnote{Test footnote.}} \placelegend{ \starttable[|l|l|] \HL \NC East \NC North \NC \FR \NC West \NC South \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes \stoptext 2. And another thing I have mentioned before. I just want to arise your attention. The underlines set by textbackground are not stable. Their vertical positions are not predictable. Minimal example: \startuseMPgraphic{mpos:par:columnset:textuline} \iftracepositions show_multi_pars \else draw_multi_pars \fi ; path p ; p := boundingbox currentpicture ; currentpicture := currentpicture shifted (0,0.1*StrutDepth) ; setbounds currentpicture to p ; \stopuseMPgraphic \definetextbackground [underline] [location=text, alternative=1, mp=mpos:par:columnset:textuline, background=, frame=off] \starttext \underline{blurblur} \underline{blurblur} \underline{blurblur} \underline{blurblur} \stoptext Best wishes, Wei-Wei ___ 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] new beta
Wei-Wei Guo wrote: Hi, The reproduction of the footnote problem is tricky. And it seems it's not a Chinese related problem. Here is the example: %=== \starttext \chapter{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful. \input knuth \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \input knuth \startlocalfootnotes \placetable{Complex Table\footnote{An test table.}} \placelegend{ \starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second Half} \NC \FR \DC\DL[4] \DR \NC\NC 1st Qtr \NC 2nd Qtr \NC 3rd Qtr \NC 4th Qtr \NC \LR \HL \NC East \NC 20.4 \NC7.4\NC 90 \NC20.4 \NC \FR \NC West \NC 30.6 \NC 338.6\NC 34.6 \NC31.6 \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes %= The problem: The second footnote are generated twice. The duplicated footnote appears only when \section, \startlocalfootnotes, and other \footnote are there. I cannot reproduce the 1▲ problem I have said before. It more tricky. Best wishes, Wei-Wei Yanrui Li 写道: 3. Footnote number has a weird triangle mark beside, like 1▲. Example: I cannot reproduce the problem with default settings. Maybe it's a problem related with Chinese. What Chinese fonts do you have? Can I use Yanrui Li's zhfonts.tex in my examples? Hi, Wei-Wei, the third one can also work. You can post your example with zhfonts.tex which use Adobe Song and Kai fonts. I think that Hans have these fonts. there was a bug in the flusher (footnotes can have 3 states: insert, postpone and save) however, your example also needs a fix: watch the start-stop local place as otherwise the note in the caption ends of nowhere here you have insert's (outer ones), a local one (in the table) and a postponed one (in the graphic); the postponed one might end up at the wrong place; future mkiv might handle that better but first we need to reach a reasonable state of compatibility and then we can start hacking around in the page code (inserts are somewhat special in tex) \starttext \chapter{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful. \section{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful. \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \placetable {Complex Table\footnote{An test table.}} {\startlocalfootnotes \placelegend {\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second Half} \NC \FR \DC\DL[4] \DR \NC\NC 1st Qtr \NC 2nd Qtr \NC 3rd Qtr \NC 4th Qtr \NC \LR \HL \NC East \NC 20.4 \NC7.4\footnote{inside.}\NC 90 \NC20.4 \NC \FR \NC West \NC 30.6 \NC 338.6\NC 34.6 \NC31.6 \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes} flush'm \stoptext maybe clean up this example a bit (smaller table) and wikify it - 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] new beta
Hans Hagen 写道: there was a bug in the flusher (footnotes can have 3 states: insert, postpone and save) however, your example also needs a fix: watch the start-stop local place as otherwise the note in the caption ends of nowhere here you have insert's (outer ones), a local one (in the table) and a postponed one (in the graphic); the postponed one might end up at the wrong place; future mkiv might handle that better but first we need to reach a reasonable state of compatibility and then we can start hacking around in the page code (inserts are somewhat special in tex) \starttext \chapter{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful. \section{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful. \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \placetable {Complex Table\footnote{An test table.}} {\startlocalfootnotes \placelegend {\starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second Half} \NC \FR \DC\DL[4] \DR \NC\NC 1st Qtr \NC 2nd Qtr \NC 3rd Qtr \NC 4th Qtr \NC \LR \HL \NC East \NC 20.4 \NC7.4\footnote{inside.}\NC 90 \NC20.4 \NC \FR \NC West \NC 30.6 \NC 338.6\NC 34.6 \NC31.6 \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes} flush'm \stoptext maybe clean up this example a bit (smaller table) and wikify it I wikified it, but there is a problem with the generate picture by context: - The footnote inside the table are not shown right under the table. And I have a further question. Is it possible to put the footnote of table head under the table instead of at the bottom of the page? I think it would be more reasonable of putting the footnote under the table. Best wishes, Wei-Wei ___ 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] new beta
Hi, The reproduction of the footnote problem is tricky. And it seems it's not a Chinese related problem. Here is the example: %=== \starttext \chapter{First} Way to \ConTeXt\footnote{It's also the title of Yanrui Li's tutorial.} is painful. \input knuth \section{Second} But \ConTeXt is amazing.\footnote{Yanrui Li's tutorial too.} \input knuth \startlocalfootnotes \placetable{Complex Table\footnote{An test table.}} \placelegend{ \starttable[|l|n3.1 |n3.1 |n3.1 |n3.1 |] \HL \NC\NC \Use{2}[c]{First Half} \NC \Use{2}[c]{Second Half} \NC \FR \DC\DL[4] \DR \NC\NC 1st Qtr \NC 2nd Qtr \NC 3rd Qtr \NC 4th Qtr \NC \LR \HL \NC East \NC 20.4 \NC7.4\NC 90 \NC20.4 \NC \FR \NC West \NC 30.6 \NC 338.6\NC 34.6 \NC31.6 \NC \LR \HL \stoptable} {\placelocalfootnotes} \stoplocalfootnotes %= The problem: The second footnote are generated twice. The duplicated footnote appears only when \section, \startlocalfootnotes, and other \footnote are there. I cannot reproduce the 1▲ problem I have said before. It more tricky. Best wishes, Wei-Wei Yanrui Li 写道: 3. Footnote number has a weird triangle mark beside, like 1▲. Example: I cannot reproduce the problem with default settings. Maybe it's a problem related with Chinese. What Chinese fonts do you have? Can I use Yanrui Li's zhfonts.tex in my examples? Hi, Wei-Wei, the third one can also work. You can post your example with zhfonts.tex which use Adobe Song and Kai fonts. I think that Hans have these fonts. ___ 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] local footnotes
Hi Thomas, thank you very much, this works fine. But, something must have been changed, that my old program settings suddenly didn't work. Greetings Albrecht On Fri, 20 Feb 2009, Thomas Floeren wrote: Hi Albrecht, have you tried my proposal from 13.2.08? (http://archive.contextgarden.net/message/20090213.144419.432c095e.en.html) Maybe there is a better solution (?) but with my context installation and mkII it just works fine this way. Greetings Thomas \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} % \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\note[foot:b] \eTD\bTD 26.1 \eTD\eTR \eTABLE } \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} {\placelocalfootnotes} \stoplocalfootnotes \stoptext -Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Albrecht Kauffmann Gesendet: Freitag, 20. Februar 2009 09:18 An: mailing list for ConTeXt users Betreff: [NTG-context] local footnotes Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, 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 ___ ___ 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] local footnotes
Hi Albrecht, have you tried my proposal from 13.2.08? (http://archive.contextgarden.net/message/20090213.144419.432c095e.en.html) Maybe there is a better solution (?) but with my context installation and mkII it just works fine this way. Greetings Thomas \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} % \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\note[foot:b] \eTD\bTD 26.1 \eTD\eTR \eTABLE } \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} {\placelocalfootnotes} \stoplocalfootnotes \stoptext -Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Albrecht Kauffmann Gesendet: Freitag, 20. Februar 2009 09:18 An: mailing list for ConTeXt users Betreff: [NTG-context] local footnotes Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, 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 ___ ___ 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] local footnotes
Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, 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] local footnotes
Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, 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 ___
Re: [NTG-context] local footnotes
-Ursprüngliche Nachricht- Von: ntg-context-boun...@ntg.nl [mailto:ntg-context-boun...@ntg.nl] Im Auftrag von Albrecht Kauffmann Gesendet: Mittwoch, 11. Februar 2009 16:35 An: mailing list for ConTeXt users Betreff: [NTG-context] local footnotes Hi all, please have a look to the following small table with its own footnotes: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\footnote[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\footnote[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} \eTD\bTD 26.1 \eTD\eTR \eTABLE } {\placelocalfootnotes} \stoplocalfootnotes \stoptext The problem is that the footnotes are printed centered over a very small linewidth. To avoid this I can put every footnote text in a \hbox and then use \leftaligned{\placelocalfootnotes}}, but this is rather cumbersome. Has anyone a better solution? With many thanks in advance, Albrecht Hi, maybe like this: \setupoutput[pdftex] \starttext \startlocalfootnotes[n=0,conversion=characters] \placetable[here][]{} % \placelegend { \tfx \setupTABLE [frame=off] \bTABLE \bTR\bTD 1990 \eTD\bTD 1991 \eTD\eTR \bTR\bTD 2.\note[foot:a] \eTD\bTD 19.0 \eTD\eTR \bTR\bTD 3.\note[foot:b] \eTD\bTD 26.1 \eTD\eTR \eTABLE } \footnotetext[foot:a]{Bezogen auf das Jahresmittel der Gesamtbevoelkerung} \footnotetext[foot:b]{Bezogen auf das Jahresmittel der Stadtbevoelkerung} {\placelocalfootnotes} \stoplocalfootnotes \stoptext This gives footnotes at textwidth. Greetings 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 ___ ___ 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 of text after a table
Hallo Albrecht, hast Du diese (siehe Anhang) beiden Antworten übersehen? MfG, Steffen. Anfang der weitergeleiteten E-Mail: Von: Taco Hoekwater [EMAIL PROTECTED] Datum: 24. November 2008 09:20:32 MEZ An: mailing list for ConTeXt users ntg-context@ntg.nl Betreff: Re: [NTG-context] line of text after a table Antwort an: mailing list for ConTeXt users ntg-context@ntg.nl Albrecht Kauffmann wrote: Hi all, would it be able to write a line after a table or figure (e.g.: Data source: ...) that will be handled as a part of the float object? Just do \placefigure[]{}{\externalfigure[cow.pdf]\crlf Data source: .. } 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 ___ Anfang der weitergeleiteten E-Mail: Von: Wolfgang Schuster [EMAIL PROTECTED] Datum: 24. November 2008 09:32:19 MEZ An: mailing list for ConTeXt users ntg-context@ntg.nl Betreff: Re: [NTG-context] line of text after a table Antwort an: mailing list for ConTeXt users ntg-context@ntg.nl On Mon, Nov 24, 2008 at 9:20 AM, Taco Hoekwater [EMAIL PROTECTED] wrote: Albrecht Kauffmann wrote: Hi all, would it be able to write a line after a table or figure (e.g.: Data source: ...) that will be handled as a part of the float object? Just do \placefigure[]{}{\externalfigure[cow.pdf]\crlf Data source: .. } \placefigure[]{}{\placelegend{\externalfigure[cow.pdf]}{Data source: ...}} Regards, 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] line of text after a table
On Mon, Nov 24, 2008 at 9:20 AM, Taco Hoekwater [EMAIL PROTECTED] wrote: Albrecht Kauffmann wrote: Hi all, would it be able to write a line after a table or figure (e.g.: Data source: ...) that will be handled as a part of the float object? Just do \placefigure[]{}{\externalfigure[cow.pdf]\crlf Data source: .. } \placefigure[]{}{\placelegend{\externalfigure[cow.pdf]}{Data source: ...}} Regards, 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] Figures and Captions
On Wed, Jul 30, 2008 at 3:39 PM, Ernesto Schirmacher [EMAIL PROTECTED] wrote: Dear ConTeXt experts, I would like to achieve the following effect when placing figures and tables: ***Start example*** FIGURE 1.2 Effect of Monotone Transformations (a pdf-file containing the graphic goes here) Caption text at the bottom of the figure ***Stop example*** Currently I'm using the following code (that puts the figure title and caption together) \placeFIGURE [here][fig:sml] {\figTitle{Effect of monotone transformations.} The left-hand panel shows $20$ points $(x_i,y_i)$ sampled at random from a bivariate standard normal distribution. The points on the right-hand panel are given by the monotone transformation $(x_i,y_i) \mapsto (\exp(x_i), \exp(2 y_i))$.} {\startcombination[2*1] {\externalfigure[sml1a-id-sca][width=0.4\textwidth]}{} {\externalfigure[sml1a-tr-sca][width=0.4\textwidth]}{} \stopcombination} Any suggestions on how to set up figure titles at the top of the figure and caption text at the bottom of the figure? Thank you very much for any suggestions, \setupcaption[figure][location=top] \starttext \placefigure {Example figure} {\placelegend {\blackrule[width=4cm,height=4cm]} {further explanations to the figure}} \stoptext Regards, 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] ConTeXt-ifying Kile
] \definetabulate[name][name][text] \definetext[name][position][text][text][text] # \definetextbackground \definetextposition[name][settings] # \definetextvariable[settings][???][???] \definetype[name][settings] # \definetypeface \definetyping[file|typing|name][settings] \defineversion[name][numbers] # \defineXMLargument # \defineXMLcommand # \defineXMLenvironment # \defineXMLenvironmentsave # \defineXMLgrouped # \defineXMLgsave # \defineXMLgstore # \defineXMLignore # \defineXMLnested # \defineXMLpickup # \defineXMLprocess # \defineXMLsave # \defineXMLsavecontent # \defineXMLsingular # \defineXMLstore # \defXMLstring \description{text}text \determineheadnumber[section] \determinelistcharacteristics[names][settings] # \digits \disableinteractionmenu[position|name][references] # \disablemode # \doglobal # \dogotopar # \doif # \doifcommon # \doifcommonelse # \doifdefined # \doifdefinedelse # \doifelse # \doifelsenothing # \doifelsevalue # \doiffieldelse # \doifflagged # \doifinset # \doifinsetelse # \doifmode # \doifmodeelse # \doifnextcharelse # \doifnot # \doifnotcommon # \doifnotflagged # \doifnothing # \doifnotinsetelse # \doifnotmode # \doifnotvalue # \doifsomething # \doiftext # \doiftextelse # \doifundefined # \doifundefinedelse # \doifvalue # \doifXMLdata # \doifXMLdataelse # \doifXMLop # \doifXMLparelse # \doloop # \donothing # \dontleavehmode \donttest # \dorecurse # \dostepwiserecurse # \dowithnextbox # \dowithnextboxcontent # \empty \emptylines[number] # \emptytoks # \enablemode # \endstrut \enumeration # \environment # \EQ # \eTABLE # \eTABLEbody # \eTABLEfoot # \eTABLEhead # \eTABLEnext # \eTD # \eTH # \eTR # \exitloop # \expanded \externalfigure[file][settings] \field[name] \fieldstack[name][names][settings] \fillinfield[text]{text} \fillinline[settings] \fillinrules[settings]{text}{text} \fillintext[settings]{text}{text} \fitfield[name] \fixedspaces # \FLOWchart # \flushcollector # \flushlayer # \flushXMLelement \followprofile{text}[text] \followprofileversion{text}[text][text] \followversion{text}[text] \footnote[reference]{text} \footnotetext[reference]{text} \forceblocks[names][names] # \forgetall # \FR \fraction{text}{text} \framed[settings]{text} \framedtext[settings] \from[reference] \getbuffer[name] # \getfiguredimensionsonly # \getmarking[name][options] # \getvalue # \getvariable # \globalletvalue \godown[dimension] \goto{text}{text}[references] \gotobox{text}[references] \graycolor[text] \grid[options] # \gsaveXMLasdata \hairline \head[references] \headnumber[section] \headtext{text} # \hfilll \hideblocks[names][names] \high{text} # \HL \hl[number] # \hpos # \hspace # \ifconditional # \ifdefined # \iftrialtypesetting # \ifundefined \in{text}{text}[reference] # \includeFLOWchart # \includemenu # \increment \indentation \indenting[options] \inframed[settings]{text} \ininner[+|-|low][reference]{text} \inleft[+|-|low][reference]{text} \inline[reference] \inmargin[+|-|low][reference]{text} \inothermargin[+|-|low][reference]{text} \inouter[+|-|low][reference]{text} \inright[+|-|low][reference]{text} \installlanguage[name][options] \interactionbar[settings] \interactionbuttons[settings][names] \item[references] \items[settings]{text} \its[references] \keepblocks[names][all|names] \labeling[reference] \labels[name] \labeltext{text} \language[language code] \leftaligned{text} # \letgvalue # \letvalue \listsymbol[name]{text} # \loadmapfile \loadsorts \loadsynonyms # \localhsize \logfields \lohi[low]{text}{text} \low{text} # \LR \mainlanguage[language code] \mar[references]{text} \marginrule[number]{text} \margintext[+|-|low][reference]{text} \marking[name]{text} \markversion \mathematics{text} \mediaeval{text} \midaligned{text} \mirror{text} \MONTH{text} \month{text} \moveongrid[options] # \MR \name{text} # \NC # \newcounter # \nextbox \nextsection \nocap{text} \noheaderandfooterlines \noindenting \nolist{text} \nomarking{text} \nomoreblocks \nomorefiles \nop \nospace \note[reference] \notopandbottomlines \nowhitespace # \NR \numbers{text} \overbar{text} \overbars{text text} # \overlaybutton # \overlayfigure \overstrike{text} \overstrikes{text text} \packed \page[options] \pagereference[reference] \pagetype[name] \paragraph \part[references]{text} \periods[number] \placebookmarks[names][names|all] \placecombinedlist[name][settings] \placecombinedlist[name][settings] # \placefigure \placefloat[options][references]{text}{text} \placefootnotes[settings] \placeformula[references]{text}$$ $$ # \placelayer \placelegend{text}{text} \placelist[names][settings] \placelistoffloats \placelistofsorts \placelistofsynonyms \placelocalfootnotes[settings] \placelogos[names] \placeongrid[settings{text} \placeontopofeachother{text}{text} \placereferencelist[names] \placeregister[name][settings] \placeregister[settings] \placerule[name] \placesidebyside{text}{text} \placesubformula[references]{text}$$ $$ \placetextvariable[name] # \plusone # \plustwo \position(numbers){text} \positiontext[name]{text} # \prependtoks
Re: [NTG-context] combination with an additional line centered in a placefigure?
On Thu, 22 Nov 2007 22:02:24 +0100 Peter Schorsch [EMAIL PROTECTED] wrote: \placefigure [force][fig:xy] {captiontext} {\placelegend {\startcombination[2*1] {\externalfigure[xxx]}{} {\externalfigure[yyy]}{} \stopcombination} {Quelle: XY}} Thanks, both solutions work. Is there something simelar for placelegend in splitfloat? \splitfloat {\placetable[][]{tablecaptiontext}} {very very long HTML-Table} I need to add a legend - also as a HTML-Table, so I tried: \splitfloat {\placetable[][]{tablecaptiontext}} {\placelegend {very very long HTML-Table} {legend HTML-Table}} But this is not working - strangly an Missing-} error comes up but all brakets are closed. Is there any other way to put a legend at the end of a multi-page HTML-Table? Ciao, P. You don't need \splitfloat because you can use the split parameter for \placetable. \placelegend can not be used for content that has to split after pages but you my the following trick for tables. \starttext \placetable [split] {Table Caption} {\bTABLE \bTABLEbody \dorecurse{50}{\bTR\bTD Text text text \eTD\bTD Text text text \eTD \eTR} \eTABLEbody \bTABLEfoot \bTR\bTD[frame=off,nx=2,align=middle] Taken from book xx \eTD\eTR \eTABLEfoot \eTABLE} \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] combination with an additional line centered in a placefigure?
\placefigure [force][fig:xy] {captiontext} {\placelegend {\startcombination[2*1] {\externalfigure[xxx]}{} {\externalfigure[yyy]}{} \stopcombination} {Quelle: XY}} Thanks, both solutions work. Is there something simelar for placelegend in splitfloat? \splitfloat {\placetable[][]{tablecaptiontext}} {very very long HTML-Table} I need to add a legend - also as a HTML-Table, so I tried: \splitfloat {\placetable[][]{tablecaptiontext}} {\placelegend {very very long HTML-Table} {legend HTML-Table}} But this is not working - strangly an Missing-} error comes up but all brakets are closed. Is there any other way to put a legend at the end of a multi-page HTML-Table? Ciao, P. ___ 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] combination with an additional line centered in a placefigure?
2007/11/16, Peter Schorsch [EMAIL PROTECTED]: Hi, as soon I enter the cbox-line the combination is not longer centered. I tried to embed the combination in a cbox, but that had no effect. Has anyone a hint how to center the combination successfullly? \starttext \placefigure [force][fig:xy] {captiontext} {\startcombination[2*1] {\externalfigure[xxx][]}{} {\externalfigure[yyy][]}{} \stopcombination \cbox{\tfx Quelle: XY} } \stoptext Thanks, P. \setuplegend [align=middle, bodyfont=small] \starttext \placefigure [force][fig:xy] {captiontext} {\placelegend {\startcombination[2*1] {\externalfigure[xxx]}{} {\externalfigure[yyy]}{} \stopcombination} {Quelle: XY}} \stoptext You can define legend commands with \definepairedbox (see core-mis.tex) and you can skip the second pair of brackets after \externalfigure. 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] Why does every new \setupTABLE add more whitespace to the left of table?
This is what I meant: \starttext \startbuffer \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[r][1][topframe=on,bottomframe=on] \bTABLE \bTR\bTD \input knuth \relax \eTD\eTR \eTABLE \stopbuffer % vertical mode \getbuffer % horizontal mode %\dontleavehmode\getbuffer \placetable[frame=off] {whow} {\placelegend[align={right}] {\dontleavehmode\getbuffer} {NOTE: hmode or not hmode the legend is still off to the left} } \stoptext On 7/4/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/7/4, Hamid Kamrani [EMAIL PROTECTED]: Not exactly. I only framed it in order to demonstrate my problem. You may encounter it even when you don't explicitly frame the table. I became aware of it when I noticed that my legends under the table were slightly off to the left. That means that the code that joins the legend to the table must put an invisible frame around the table. \starttext \showframe \startbuffer \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \bTABLE \bTR\bTD text \eTD\eTR \eTABLE \stopbuffer % vertical mode \getbuffer % horizontal mode \dontleavehmode\getbuffer \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 ___ ___ 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] Why does every new \setupTABLE add more whitespace to the left of table?
2007/7/4, Hamid Kamrani [EMAIL PROTECTED]: This is what I meant: \starttext \startbuffer \startsetups table \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[c][1][align=right] \setupTABLE[r][1][topframe=on,bottomframe=on] \bTABLE \bTR\bTD \input knuth \relax \eTD\eTR \eTABLE \stopbuffer \stopsetups % vertical mode \getbuffer % horizontal mode %\dontleavehmode\getbuffer \placetable[frame=off] {whow} {\placelegend[align={right}] {\dontleavehmode\getbuffer} {\setups{table}} % the second argument is a hbox {NOTE: hmode or not hmode the legend is still off to the left} } \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] Tables localfootnote alignment
Hi Dave, I don't know enough about it, to give you a clean solution. Just ignore the rest, if someone gives a better (more general) solution. Peter Dave schrieb: Hi all, I am trying to add footnotes to a table but need for them to be aligned on the left (flush) edge of the table. I've tried everything I can think of but I'm stuck (with deadlines looming). Below is a quick example Many thanks, Dave %%% % TeXExec | context source date: 2007.04.17 12:51 %%% setupcaption[table][location=top] \starttext \showframe % Portrait \startlocalfootnotes[n=0] \placetable [page] [table1] {Caption goes here} \placelegend { % Rules \setupTABLE[frame=off] \setupTABLE[column][first][leftframe=off] \setupTABLE[column][last][rightframe=off] \setupTABLE[row][first][topframe=on,bottomframe=on] \setupTABLE[row][last][bottomframe=on] % Alignment \setupTABLE[column][1][align=right] \setupTABLE[column][2][align=right] \setupTABLE[column][3][align=right] % Width \setupTABLE[option=stretch] % Table \bTABLE % Heading \bTR\bTH Column 1\footnote{footnote for column 1} \eTH\bTH Column 2\footnote{fn 4 col 2} \eTH\bTH Description \eTH\eTR % Body \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \eTABLE } {\framed{% +1 {\placelocalfootnotes} } % \framed with defined width for alignment {\framed[width=\textwidth,align=right] {\ruledhbox{\hskip10mm\placelocalfootnotes}} % \hbox } the values needed for width= and \hskip may vary from table to table \stoplocalfootnotes % Landscape \startlocalfootnotes[n=0] \placetable [90] [table2] {Caption goes here} \placelegend { % Rules \setupTABLE[frame=off] \setupTABLE[column][first][leftframe=off] \setupTABLE[column][last][rightframe=off] \setupTABLE[row][first][topframe=on,bottomframe=on] \setupTABLE[row][last][bottomframe=on] % Alignment \setupTABLE[column][1][align=right,width=6cm] \setupTABLE[column][2][align=right,width=5cm] \setupTABLE[column][3][align=right,width=11cm] % Width \setupTABLE[option=stretch,textwidth=22cm] % Table \bTABLE % Heading \bTR\bTH Column 1\footnote{footnote for column 1} \eTH\bTH Column 2\footnote{fn 4 col 2} \eTH\bTH Description \eTH\eTR % Body \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \eTABLE } {\framed{% {\placelocalfootnotes} } {\framed[width=\textheight,align=right] {\ruledhbox{\hskip5mm\placelocalfootnotes}} } \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 ___ ___ 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] Tables localfootnote alignment
2007/6/15, Peter Rolf [EMAIL PROTECTED]: Hi Dave, I don't know enough about it, to give you a clean solution. Just ignore the rest, if someone gives a better (more general) solution. Peter Dave schrieb: Hi all, I am trying to add footnotes to a table but need for them to be aligned on the left (flush) edge of the table. I've tried everything I can think of but I'm stuck (with deadlines looming). Below is a quick example Many thanks, Dave Hi David, Peter gave you the first hint with the width-key in \framed and the \hbox. I can give a better solution for your problem but you have to write the commands in the right way to get it working, what I mean is you should put braces around \placelegend. \defineframed[noteframed] \setupframed [noteframed] [width=\hsize, align=right, %height=fit, top=\hbox\bgroup, bottom=\egroup] \starttext \startlocalfootnotes[n=0] \placetable {Caption} {\placelegend {\bTABLE[width=6cm] \bTR\bTD A\footnote{a} \eTD\bTD B\footnote{b} \eTD\eTR \eTABLE} {\noteframed{\placelocalfootnotes}}} \stoplocalfootnotes \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] Tables localfootnote alignment
Thank you both for your replies! I've updated the footnote page on the wiki with Wolfgang's suggestion. Dave On 6/15/07, Wolfgang Schuster [EMAIL PROTECTED] wrote: 2007/6/15, Peter Rolf [EMAIL PROTECTED]: Hi Dave, I don't know enough about it, to give you a clean solution. Just ignore the rest, if someone gives a better (more general) solution. Peter Dave schrieb: Hi all, I am trying to add footnotes to a table but need for them to be aligned on the left (flush) edge of the table. I've tried everything I can think of but I'm stuck (with deadlines looming). Below is a quick example Many thanks, Dave Hi David, Peter gave you the first hint with the width-key in \framed and the \hbox. I can give a better solution for your problem but you have to write the commands in the right way to get it working, what I mean is you should put braces around \placelegend. \defineframed[noteframed] \setupframed [noteframed] [width=\hsize, align=right, %height=fit, top=\hbox\bgroup, bottom=\egroup] \starttext \startlocalfootnotes[n=0] \placetable {Caption} {\placelegend {\bTABLE[width=6cm] \bTR\bTD A\footnote{a} \eTD\bTD B\footnote{b} \eTD\eTR \eTABLE} {\noteframed{\placelocalfootnotes}}} \stoplocalfootnotes \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 ___ ___ 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] Tables localfootnote alignment
Hi all, I am trying to add footnotes to a table but need for them to be aligned on the left (flush) edge of the table. I've tried everything I can think of but I'm stuck (with deadlines looming). Below is a quick example Many thanks, Dave %%% % TeXExec | context source date: 2007.04.17 12:51 %%% setupcaption[table][location=top] \starttext % Portrait \startlocalfootnotes[n=0] \placetable [page] [table1] {Caption goes here} \placelegend { % Rules \setupTABLE[frame=off] \setupTABLE[column][first][leftframe=off] \setupTABLE[column][last][rightframe=off] \setupTABLE[row][first][topframe=on,bottomframe=on] \setupTABLE[row][last][bottomframe=on] % Alignment \setupTABLE[column][1][align=right] \setupTABLE[column][2][align=right] \setupTABLE[column][3][align=right] % Width \setupTABLE[option=stretch] % Table \bTABLE % Heading \bTR\bTH Column 1\footnote{footnote for column 1} \eTH\bTH Column 2\footnote{fn 4 col 2} \eTH\bTH Description \eTH\eTR % Body \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \eTABLE } {\framed{% {\placelocalfootnotes} } \stoplocalfootnotes % Landscape \startlocalfootnotes[n=0] \placetable [90] [table2] {Caption goes here} \placelegend { % Rules \setupTABLE[frame=off] \setupTABLE[column][first][leftframe=off] \setupTABLE[column][last][rightframe=off] \setupTABLE[row][first][topframe=on,bottomframe=on] \setupTABLE[row][last][bottomframe=on] % Alignment \setupTABLE[column][1][align=right,width=6cm] \setupTABLE[column][2][align=right,width=5cm] \setupTABLE[column][3][align=right,width=11cm] % Width \setupTABLE[option=stretch,textwidth=22cm] % Table \bTABLE % Heading \bTR\bTH Column 1\footnote{footnote for column 1} \eTH\bTH Column 2\footnote{fn 4 col 2} \eTH\bTH Description \eTH\eTR % Body \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \bTR\bTD test \eTD\bTD test \eTD\bTD test \eTD\eTR \eTABLE } {\framed{% {\placelocalfootnotes} } \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 ___
Re: [NTG-context] using \startfiguretext ... \stopfiguretext
* h h extern [EMAIL PROTECTED] [Dec 11, 2004 14:05]: It might not be the only way, this should work: \placefigure [here] [fig:somelabel] {Caption} \placelegend{Figure} {Text} Hm, yeah, that works OK. I was hoping for something that made a little ik, let's give you a cue: I don't understand...is that an ik, as in I disapprove? \placefigure {What a caption} {\placelegend {\externalfigure[cow.pdf]} {\input zapf \relax}} \placefigure {What a caption} {\placelegend[location=right] {\externalfigure[cow.pdf]} {\input zapf \relax}} using buffers makes sense here: \startbuffer lots of text \stopbuffer \placefigure {What a caption} {\placelegend {\externalfigure[cow.pdf]} {\getbuffer}} Yeah, that's a good suggestion, nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] using \startfiguretext ... \stopfiguretext
Nikolai Weibull wrote: * David Munger [EMAIL PROTECTED] [Dec 09, 2004 17:10]: It might not be the only way, this should work: \placefigure [here] [fig:somelabel] {Caption} \placelegend{Figure} {Text} Hm, yeah, that works OK. I was hoping for something that made a little ik, let's give you a cue: \placefigure {What a caption} {\placelegend {\externalfigure[cow.pdf]} {\input zapf \relax}} \placefigure {What a caption} {\placelegend[location=right] {\externalfigure[cow.pdf]} {\input zapf \relax}} using buffers makes sense here: \startbuffer lots of text \stopbuffer \placefigure {What a caption} {\placelegend {\externalfigure[cow.pdf]} {\getbuffer}} 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 - ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] using \startfiguretext ... \stopfiguretext
Hi NIkolai, It might not be the only way, this should work: \placefigure [here] [fig:somelabel] {Caption} \placelegend{Figure} {Text} Nikolai Weibull wrote : How do I get a figure with text that is displayed like Figure Text Caption where we first have the figure, then a description of it below, and finally a caption? So far I've only managed to get the text to appear to the left or right of the figure. nikolai ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context
Re: [NTG-context] using \startfiguretext ... \stopfiguretext
* David Munger [EMAIL PROTECTED] [Dec 09, 2004 17:10]: It might not be the only way, this should work: \placefigure [here] [fig:somelabel] {Caption} \placelegend{Figure} {Text} Hm, yeah, that works OK. I was hoping for something that made a little more sense, but this seems to be fine. I'm still hoping for a slightly more pleasant solution, but until then, is there a way to set the style of Text? There's bodyfont, but how do I get \it? nikolai -- ::: name: Nikolai Weibull:: aliases: pcp / lone-star / aka ::: ::: born: Chicago, IL USA:: loc atm: Gothenburg, Sweden::: ::: page: www.pcppopper.org :: fun atm: gf,lps,ruby,lisp,war3 ::: main(){printf(linux[\021%six\012\0],(linux)[have]+fun-97);} ___ ntg-context mailing list [EMAIL PROTECTED] http://www.ntg.nl/mailman/listinfo/ntg-context