Re: [NTG-context] columns(ets) and itemize[columns]
Am 17.05.2009 um 23:31 schrieb Alan BRASLAU: Hello, I just completed a big project making heavy use of columnset, columnsetspan and paragraphs. Very powerful! Two questions, first: What is the real difference between columns and columnset? I am a bit confused* about their coexistence. Is this purposeful or necessary (or is it simply historical)? Is \startcolumns simply an unnamed, default columnset? columns and columnset are two different mechanism two produce a document with text and two or more columns. the columns mechanism is the older one with limited control about the placement of figures but allows you to mix one column and multicolumns text on a page. columnsets are a new version of the column mechanism with more control about the placement of figures and other features like spanned columns etc. (look at the manual for more) and is better suited for magazine like layouts (Vit Zyka posted a few nice examples a few years ago). (*and the wiki page needs to be clarified...) the wiki is from users for users, feel free to correct the articles Second question, maybe a bug? \startitemize[columns] does not interact well: I suspect that it could or should use paragraphs internally rather than columns so as to work within a column(set). that's a limitation in tex, when you use the 'columns' key for itemize the items are typeset with a \startcolumns / \stopcolumns before and after the environment and you can nest columns /columnset environments (a tex limitation) but in normal one column text this is not the case and you can use multicolumn items in most cases (in a few cases streamlayer are necessary, e.g. within framedtext) but you can \startcolumns \startsimplecolumns \startitemize \item one \item two ... \stopitemize \stopsimplecolumns \stopcolumns 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] \textrules in header
Hans Hagen wrote (2001-10-18 (13:09)): At 09:40 AM 10/18/2001 +, Peter Jander wrote: Hi, I want a line to separate the header from the text body. Now if I say \setupheader[after=\textrule] the line starts in the margin. The length is the width of the text (which is ok). The same happens with a \hairline. Any suggestions on how I can make the line span just the text block? \setupbackgrounds[header][text] [frame=on,topframe=off,leftframe=off,rightframe=off] \setuplayout[header=18pt,headerdistance=12pt] \starttext \input tufte \stoptext Why doesn't Peter's solution work? It is the first that a new user will think about (well, I did, at least :-). And the rules really are something that logically belongs to the header, not to the background. For example, when you start a new chapter, and switch off the header on its first page, then you want the rule to disappear as well, and not to switch it off separately by changing the state of the background. (By the way, how would that work? Can you give a \setuphead solution?) Marco Hi, Sorry to bump this very old thread, but I've searched a long time to find this solution : \setupheader[text][after=\hrule height 1pt] Hope it helps Bob ___ 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] formula-style alignment
Am 17.05.2009 um 21:23 schrieb afsmith: Hey again, ntg-context. I would like to align one piece of a line to the left, and another piece of the same line to the right, sort of like numbered math equations, except not math. Additionally I would like to do this inside a narrowed block \starttext \input knuth \startnarrower \input knuth \dontleavehmode\framed[width=\localhsize,align=normal]{left\hfill right} \stopnarrower \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] underbar to space
Am 17.05.2009 um 19:01 schrieb Xan: Hi, I just want to do \underbar{\ \ \ \ \ \ \ \ \ \ \ } for doing something like: __ . When I do that ConTeXt does not underbar me the spaces. The same applies for \underbar{\space \space \space } How can I get that \underbar underbars the spaces even? \usemodule[educat] \setupcolors[state=start] \setuptextbackground [answerarea] [framecolor=black, rulethickness=\linewidth, background=, alternative=1] \starttext text \answerspace [n=10] { } text text \answerspace [m=10] { } text \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] replacement of \...@. ?
Am 15.05.2009 um 22:11 schrieb Peter Münster: On Thu, 14 May 2009, Wolfgang Schuster wrote: @Hans: There is something wrong with \nonfrenchspacing (or spacefactor) in mkiv. Indeed. See also: http://tracker.luatex.org/view.php?id=117 Another test file, as you can see (ConTeXt and Hans extended plain TeX) it happens only with OT fonts but not with Type1. \font\one=cmr10 \font\two=file:texgyrepagella-regular \bgroup A A A \primitive\sfcode`A=2000 A A A \egroup \bgroup\one A A A \primitive\sfcode`A=2000 A A A \egroup \bgroup\two A A A \primitive\sfcode`A=2000 A A A \egroup \bye Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] interlinespace
Hi all, I'm probably forgetting something very obvious, but could someone tell me how I can make the linespace in the second paragraph of this example smaller? Thanks a lot! Thomas \usetypescript[palatino] \setupbodyfont[palatino,20pt] \starttext \input tufte {\switchtobodyfont[10pt] \setupinterlinespace[line=12pt] \input tufte } \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] interlinespace
Thomas A. Schmitz wrote: Hi all, I'm probably forgetting something very obvious, but could someone tell me how I can make the linespace in the second paragraph of this example smaller? Thanks a lot! Thomas \usetypescript[palatino] \setupbodyfont[palatino,20pt] \starttext \input tufte {\switchtobodyfont[10pt] \setupinterlinespace[line=12pt] \input tufte } {\switchtobodyfont[10pt] \setupinterlinespace[line=12pt] \input tufte \par } Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] interlinespace
Am 18.05.2009 um 11:53 schrieb Thomas A. Schmitz: Hi all, I'm probably forgetting something very obvious, but could someone tell me how I can make the linespace in the second paragraph of this example smaller? Thanks a lot! Thomas \usetypescript[palatino] \setupbodyfont[palatino,20pt] \starttext \input tufte {\switchtobodyfont[10pt] \setupinterlinespace[line=12pt] \input tufte } \par Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] how to prevent header at page bottom
Hi Aditya, Your solution works for normal text following the header. But if I have a framed text with a background, which also has a before={\testpage[3]} (\definetextbackground[FramedText][ ...,before={\testpage[3]},...]) and the section starts with such a framed text, it can still go wrong. And I guess it can also go wrong if a section starts with a figure. Is there some way to specify that if less than a certain number of items (lines of text, frames, figures etc.) fit on the remainder of the current page, the next page should be taken? Thanks in advance, Jos From: ntg-context-requ...@ntg.nl ntg-context-requ...@ntg.nl To: ntg-context@ntg.nl Sent: Thursday, May 14, 2009 5:21:26 PM Subject: ntg-context Digest, Vol 59, Issue 85 Send ntg-context mailing list submissions to ntg-context@ntg.nl To subscribe or unsubscribe via the World Wide Web, visit http://www.ntg.nl/mailman/listinfo/ntg-context or, via email, send a message with subject or body 'help' to ntg-context-requ...@ntg.nl You can reach the person managing the list at ntg-context-ow...@ntg.nl When replying, please edit your Subject line so it is more specific than Re: Contents of ntg-context digest... Today's Topics: 1. Re: How to prevent header at page bottom (Aditya Mahajan) 2. Re: beta: figure boundingbox (Hans Hagen) 3. Re: bugs in beta (footnotes) (Hans Hagen) 4. Re: docs (Mari Voipio) 5. Re: Updating bug: linux-64 (bbvo...@home.nl) 6. Re: Updating bug: linux-64 (Taco Hoekwater) 7. Re: docs (R. Bastian) 8. Re: beta (12.05.2009,22:36): footnote marker and overprinting (Hans Hagen) 9. Re: Updating bug: linux-64 (Arthur Reutenauer) -- Message: 1 Date: Thu, 14 May 2009 10:02:32 -0400 (EDT) From: Aditya Mahajan adit...@umich.edu Subject: Re: [NTG-context] How to prevent header at page bottom To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: alpine.lnx.2.00.0905141001180.6...@ybpnyubfg.ybpnyqbznva Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed On Thu, 14 May 2009, Jos van Gisbergen wrote: Hi, I have defined my own header: \definehead[myhead][subsection] \setuphead[myhead][ page=no, number=no ] All works fine, except sometimes the head appears at page bottom and the text starts on the next page. How can I specify that if less than, say, 3 lines of text fit on the current page below the head, the head and text should start on the next page. \testpage[3] checks that you have space for atleast 3 lines in the current page. So you can use \setuphead[myhead][before={\testpage[3]\blank}] Aditya -- Message: 2 Date: Thu, 14 May 2009 16:09:24 +0200 From: Hans Hagen pra...@wxs.nl Subject: Re: [NTG-context] beta: figure boundingbox To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: 4a0c2614.1040...@wxs.nl Content-Type: text/plain; charset=ISO-8859-1; format=flowed Peter Rolf wrote: Hans Hagen schrieb: Peter Rolf wrote: Hi, while comparing the PDF of mkii and mkiv I noticed a slight differ in the boundingboxes (bb) of MP figures. While all mkii bb have the form [0 0 w h], the mkiv counterparts use [-1 -1 w+1 h+1]. So the bb of mkiv is enlarged 1bp in all directions. Is this intended? harmless ... it prevents clipping of lines mh, you mean if something is \framed (with default frame settings)? if the bbox goes through the middle of a line in an xform then you get (in acrobat) clipped lines so this avoids that problem - 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 - -- Message: 3 Date: Thu, 14 May 2009 16:08:13 +0200 From: Hans Hagen pra...@wxs.nl Subject: Re: [NTG-context] bugs in beta (footnotes) To: mailing list for ConTeXt users ntg-context@ntg.nl Message-ID: 4a0c25cd.6030...@wxs.nl Content-Type: text/plain; charset=ISO-8859-1; format=flowed Wolfgang Schuster wrote: Am 12.05.2009 um 19:07 schrieb Henning Hraban Ramm: Only footnotes in section titles don't work - should they? [...] I couldn't construct a minimal failing example - any hints? No solution but here is a test file: \setupinteraction[state=start] \starttext \section{foo\footnote{bar}} \stoptext repaired - 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 |
Re: [NTG-context] how to prevent header at page bottom
Am 18.05.2009 um 12:07 schrieb Jos van Gisbergen: Hi Aditya, Your solution works for normal text following the header. But if I have a framed text with a background, which also has a before={\testpage[3]} (\definetextbackground[FramedText][ ...,before={\testpage[3]},...]) and the section starts with such a framed text, it can still go wrong. And I guess it can also go wrong if a section starts with a figure. Is there some way to specify that if less than a certain number of items (lines of text, frames, figures etc.) fit on the remainder of the current page, the next page should be taken? Send a example. 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] interlinespace
On May 18, 2009, at 11:56 AM, Taco Hoekwater wrote: {\switchtobodyfont[10pt] \setupinterlinespace[line=12pt] \input tufte \par } *palmforehead* Thanks, Taco and Wolfgang! Painful... All best Thomas ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] formula-style alignment
Thanks Wolfgang. That works... Now how about inside a definition or subject header? Here is an example. \localhsize in this case seems to resolve to a width of 0, making the contained text break as often as it can... \defineframed[lrframe][ width=\localhsize, align=normal, rulethickness=1pt] \setuplayout[header=0pt,footer=0pt] \definedescription[topdesc][ inbetween={\blank[none]}, headstyle={\bf}, style={\tf\rm}, location=top, width=broad] \define[3]\CHRONDESC {\starttopdesc {\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower \stoptopdesc} \definehead[mysubject][subject] \setuphead[mysubject][style={\bf}] \define[3]\CHRONSUB {\mysubject{\dontleavehmode\lrframe{#1\hfill#2}} \startnarrower[left]{#3}\stopnarrower} \showframe[text] \starttext \startnarrower[left] \dontleavehmode\lrframe[width=broad] {leftleftleft \hfill right rightrightright} \stopnarrower \crlf \startnarrower[left] \dontleavehmode\lrframe[width=\localhsize] {leftleftleftleft\hfill right rightrightright} \stopnarrower \crlf \CHRONDESC {This happened from June 08 to June 09} {06/08--06/09} {\CHRONDESC {This happened from June 08 to December 08} {06/08--12/08} {\input tufte } \CHRONDESC {This happened from January 09 to June 09} {01/09--06/09} {\input zapf }} \CHRONDESC {This happened from June 09 to July 09} {06/09-07/09} {\input knuth } \crlf \CHRONSUB {This happened from June 08 to June 09} {06/08--06/09} {\CHRONSUB {This happened from June 08 to December 08} {06/08--12/08} {\input tufte } \CHRONSUB {This happened from January 09 to June 09} {01/09--06/09} {\input zapf }} \crlf \stoptext Am 17.05.2009 um 21:23 schrieb afsmith: Hey again, ntg-context. I would like to align one piece of a line to the left, and another piece of the same line to the right, sort of like numbered math equations, except not math. Additionally I would like to do this inside a narrowed block \starttext \input knuth \startnarrower \input knuth \dontleavehmode\framed[width=\localhsize,align=normal]{left\hfill right} \stopnarrower \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] columns(ets) and itemize[columns]
On Monday 18 May 2009 08:45:16 Wolfgang Schuster wrote: Am 17.05.2009 um 23:31 schrieb Alan BRASLAU: Two questions, first: What is the real difference between columns and columnset? I am a bit confused* about their coexistence. Is this purposeful or necessary (or is it simply historical)? Is \startcolumns simply an unnamed, default columnset? columns and columnset are two different mechanism two produce a document with text and two or more columns. the columns mechanism is the older one with limited control about the placement of figures but allows you to mix one column and multicolumns text on a page. columnsets are a new version of the column mechanism with more control about the placement of figures and other features like spanned columns etc. (look at the manual for more) and is better suited for magazine like layouts (Vit Zyka posted a few nice examples a few years ago). Great! This is somewhat what I suspected (columns mechanism is the older one). Is there good reason to keep both mechanisms? That is, does the startcolumns mechanism have advantages? Can't one mix one column and multicolumns text on a page using columnsets? (*and the wiki page needs to be clarified...) the wiki is from users for users, feel free to correct the articles Of course, as soon as I feel that I understand the subject. Second question, maybe a bug? \startitemize[columns] does not interact well: I suspect that it could or should use paragraphs internally rather than columns so as to work within a column(set). that's a limitation in tex, when you use the 'columns' key for itemize the items are typeset with a \startcolumns / \stopcolumns before and after the environment and you can nest columns /columnset environments (a tex limitation) but in normal one column text this is not the case and you can use multicolumn items in most cases but you can \startcolumns \startsimplecolumns \startitemize \item one \item two ... \stopitemize \stopsimplecolumns \stopcolumns page-mul.tex ... %D Undocumented and still under development. \def\startsimplecolumns ... May I suggest that \startitemize[columns] internally use such a mechanism, perhaps when under a columns or columnset environment. Of course, this may be a bit tricky according to the following remark: (in a few cases streamlayer are necessary, e.g. within framedtext) Indeed! Inside framed text I used paragraphs to manually typset into columns; now I get to learn about streamlayers... 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] replacing words by underlines
At Saturday 24/01/2009 21:07, you wrote: Am 24.01.2009 um 19:00 schrieb Alan Stone: Hi, In the underneath example, how do you get each word replaced by an underline ? Or, if not possible, underlined word groups with correct underline breaks for multi-line phrases. \def\doUnderlineD#1% {\bgroup \setbox\scratchbox\hbox{#1}% \underbar{\hskip\wd\scratchbox}\space \egroup} \def\UnderlineD#1% {\processseparatedlist[#1][ ]\doUnderlineD\removeunwantedspaces} Wolfgang Ahoi, A finishing touch question... How do you cut off underbar parts which exceed \textwidth ? \showframe \setuplayout[width=7cm] \def\doUnderlineD#1% {\bgroup \setbox\scratchbox\hbox{#1}% \underbar{\hskip\wd\scratchbox}\space \egroup} \def\UnderlineD#1% {\processseparatedlist[#1][ ]\doUnderlineD\removeunwantedspaces} \starttext \UnderlineD{ cc d e vv www x yyy zzz} \stoptext Thanks in advance. 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] Fresh install t-letter module
Thank you! I've replaced the default.nli in my context tree with the file you send me. Now texexec letter.tex and texexec --xtx letter.tex works, but texexec --lua letter.tex fails with: -8schnipp- ConTeXt ver: 2009.05.14 16:44 MKIV fmt: 2009.5.18 int: english/english system : letter.top loaded (letter.top) fonts : preloading latin modern fonts bodyfont: 12pt rm is loaded language: language en is active system : module letter loaded (letter.tex system : module letter (line 2) already loaded systems : begin file letter at line 2 ! Undefined control sequence. l.3 \startletter -8schnapp- - Markus On Fri, May 15, 2009 at 3:34 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Fixed version is only (don't know how long it takes till you get it with the minimals), for the moment use the attached file. Sorry for the crash (which was my fault) but a few features I use in my module depend on the ConTeXt version (especially when you use MkIV). Wolfgang -- ---it's like this-- even samurai have teddy bears and even teddy bears get drunk ___ 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] Fresh install t-letter module
On Mon, 18 May 2009, Markus Hubig wrote: Thank you! I've replaced the default.nli in my context tree with the file you send me. Now texexec letter.tex and texexec --xtx letter.tex works, but texexec --lua letter.tex fails with: Change the name of your file something other than letter.tex Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Fresh install t-letter module
Am 18.05.2009 um 15:25 schrieb Aditya Mahajan: On Mon, 18 May 2009, Markus Hubig wrote: Thank you! I've replaced the default.nli in my context tree with the file you send me. Now texexec letter.tex and texexec --xtx letter.tex works, but texexec --lua letter.tex fails with: Change the name of your file something other than letter.tex ... and use 'context filename' for context mkiv. Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] underbar to space
En/na Wolfgang Schuster ha escrit: Am 17.05.2009 um 19:01 schrieb Xan: Hi, I just want to do \underbar{\ \ \ \ \ \ \ \ \ \ \ } for doing something like: __ . When I do that ConTeXt does not underbar me the spaces. The same applies for \underbar{\space \space \space } How can I get that \underbar underbars the spaces even? \usemodule[educat] \setupcolors[state=start] \setuptextbackground [answerarea] [framecolor=black, rulethickness=\linewidth, background=, alternative=1] \starttext text \answerspace [n=10] { } text text \answerspace [m=10] { } text \stoptext Wolfgang Thank you very much, Wolfgang. Xan. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Publication list indenting
I am trying to get my bibliography list to have indenting on all but the first line of each entry. I tried to apply the solution from http://wiki.contextgarden.net/Shaped_paragraphs but I can't get it to work in the publication list. I tried something like the following, but neither seemed to have any effect on the indenting. \definestartstop [exdent] [before={\startnarrower[left]\setupindenting[-\leftskip,yes]}, after=\stopnarrower] \setuppublicationlist[before={\startexdent},after={\stopexdent}] or \startexdent \placepublicationlist \stopexdent Thanks, Mike ___ 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] pandoc tables
Hi Taco, % context --lua test.tex works, yet % texexec --lua test.tex gives the single horizontal line, any idea why? i'm using same versions as before. Mohamed Taco Hoekwater wrote: Mohamed Bana wrote: attached is the output of pandoc -w context -o test.tex test.pdc texexec test.tex i'm wondering if context has support for this built in. here's the link; http://johnmacfarlane.net/pandoc/README.html#tables. could someone try compiling with luatex, i get a single horizontal line and nothing else. Output looks fine here: Creator:ConTeXt - 2009.05.14 16:44 Producer: LuaTeX-0.41.0 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 ___ ___ 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] MP newbie question
Hi, How do you make this work ? --- mpframed.tex --- %\def\myFrameAlternative{line} %\def\myFrameAlternative{dashes} \def\myFrameAlternative{dots} \startuniqueMPgraphic{name} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; show (\myFrameAlternative) ; if \myFrameAlternative = dashes : % if (\myFrameAlternative) = dashes : draw p dashed evenly scaled 2 ; % elseif (\myFrameAlternative) = dots : elseif \myFrameAlternative = dots : draw p dashed withdots scaled 2 ; else : draw p ; fi ; \stopuniqueMPgraphic \defineoverlay[myGraphic][\uniqueMPgraphic{name}] \starttext \framed[% offset=5mm, background=myGraphic, frame=off] {mp framed} \stoptext --- context.cmd mpframed -- Alan mpframed.log 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 : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] MP newbie question
On Mon, 18 May 2009, Alan Stone wrote: Hi, How do you make this work ? --- mpframed.tex --- %\def\myFrameAlternative{line} %\def\myFrameAlternative{dashes} \def\myFrameAlternative{dots} I usually do (untested) \chardef\myFrameAlternative \myFrameAlternative \zerocount %(or \plusone or \plustwo) and then \startuniqueMPgraphic{name} path p ; p := unitsquare xscaled \overlaywidth yscaled \overlayheight ; show (\myFrameAlternative) ; \ifcase \myFramedAlternative draw p dashed evenly scaled 2 ; \or draw p dashed with dots scaled 2 ; \or draw p; \fi if \myFrameAlternative = dashes : % if (\myFrameAlternative) = dashes : draw p dashed evenly scaled 2 ; % elseif (\myFrameAlternative) = dots : elseif \myFrameAlternative = dots : draw p dashed withdots scaled 2 ; else : draw p ; fi ; \stopuniqueMPgraphic \defineoverlay[myGraphic][\uniqueMPgraphic{name}] \starttext \framed[% offset=5mm, background=myGraphic, frame=off] {mp framed} \stoptext Aditya ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] pandoc tables
Mohamed Bana wrote: Hi Taco, % context --lua test.tex works, yet % texexec --lua test.tex gives the single horizontal line, any idea why? i'm using same versions No, none at all. Just take it as a hint: 'context' is definitely the best way to run mkiv ;) Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Publication list indenting
Hi Michael, Michael Bynum wrote: I am trying to get my bibliography list to have indenting on all but the first line of each entry. I tried to apply the solution from http://wiki.contextgarden.net/Shaped_paragraphs but I can't get it to work in the publication list. But doesn't it do that by itself? The apa (=default) style is like that. I tried something like the following, but neither seemed to have any effect on the indenting. That won't work, for sure. Best wishes, Taco ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] columns(ets) and itemize[columns]
Alan BRASLAU wrote: Great! This is somewhat what I suspected (columns mechanism is the older one). older but also conceptually different Is there good reason to keep both mechanisms? That is, does the startcolumns mechanism have advantages? Can't one mix one column and multicolumns text on a page using columnsets? yes, and there might be even more variants in the future as there is not one solution May I suggest that \startitemize[columns] internally use such a mechanism, perhaps when under a columns or columnset environment. Of course, this may be a bit tricky according to the following remark: no, the current itemize columns work nicely in the main vertical liust while simple columns are a box future mkiv versions might have better mechamisms Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : https://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___