Re: [NTG-context] Multiple pleas for help (long)
Am 01.06.10 00:29, schrieb Scott Steele: If anyone has any insight on how to keep the footnotes from having their numbers in the margin and from having line-breaks after each one, that is the only issue from the original email that is still unsolved, I think. ——— In Latex, \fancybreak was part of a package called, I believe, fancyheader or fancypage. It produced a break frequently seen in published prose (I'm currently reading {\em Bluebeard} where Kurt Vonnegut uses it liberally) with significant vertical space between two paragraphs and, centered both in that vertical space as well as horizontally, a number of well-spaced marks. There are usually 3 marks, and they are frequently asterisks or traditional dingbats/fleurons. This sort of break is generally used when the author wishes to indicate a break more significant than a change in paragraph but short of an outright new chapter. \def\FancyBreak{\par\blank\hfill* * *\hfill\hfill\par\blank} \define\FancyBreak {\blank \midaligned{* * *} \blank} 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] Indents, enumerations, and modes (mk2+mk4)
Dear all, I have two questions regarding using spacing in enumerations. Depending on a mode being enabled, I would like to add a command at the beginning of an enumeration (I want to place something in the margin, but it doesn't actually matter what I do, only when). As shown in the minimal example below, invoking the macro that does something, a little extra space is added. I don't know why, it is probably something very TeX-basic I am ignorant of. So: How do I get rid of the extra space? The problem occurs both in mk2 and mk4, I would prefer a solution that also works in mk2. Thanks! Matthias \def\mma{ \startmode [mma] {} \stopmode } \def\enwidth{5em} \defineenumeration [example] [text=Example, way=bysubsection, location=hanging, width=\enwidth, letter=rm] \starttext \enablemode[mma] \startexample \mma \input tufte \stopexample %% \disablemode[mma] \startexample \mma \input tufte \stopexample %% \startexample \input tufte \stopexample \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] Indents, enumerations, and modes (mk2+mk4)
Am 02.06.10 00:14, schrieb Matthias Weber: Dear all, I have two questions regarding using spacing in enumerations. Depending on a mode being enabled, I would like to add a command at the beginning of an enumeration (I want to place something in the margin, but it doesn't actually matter what I do, only when). As shown in the minimal example below, invoking the macro that does something, a little extra space is added. I don't know why, it is probably something very TeX-basic I am ignorant of. So: How do I get rid of the extra space? The problem occurs both in mk2 and mk4, I would prefer a solution that also works in mk2. Thanks! Matthias \def\mma{ \startmode[mma] {} \stopmode } \def\mma {\startmode[mma]% not sure here ...% \stopmode} or use setups \startsetups[mma] \startmode[mma] ... \stopmode \stopsetups \startexample \setups[mma] \stopexample 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] Strange expansion behavior in XML/luatex
I see, and for the single case it works. Also saving is fine, I am using it. Unfortunately, my example was too reduced :-). In fact, I have a problem with more complex documents, for example, think about: Some caption Text. Now, if I want not to only typeset a caption, but also to store it and reuse it later (typeset it twice, e.g. in the marging or elsewhere in the page, ...), it fails (on \processaction, \doif, ...). So, if I understand, there is a way to modify my XML template to be safe during expanding -- I would use self unexpandable macros). Another way is problematic, as \edef inside \edef causes problems? Is it true or there is some other way? Thank you, Martin Dne 1.6.2010 0:10, Hans Hagen napsal(a): On 29-5-2010 12:01, Martin Kolařík wrote: I do not know, if it is a bug or a feature :-); but notwithstanding the fact, similar code I used in MkII worked very well. effectively you as for: \starttext \edef\content{\processaction[x][something=>A thing, nothing=>Hic sunt leones]} \stoptext and that will not work; ok, we could make processaction unexpandable but i'm sure that you want something different you can save the content this way: \edef\content{#1} and do this later on: \xmlflush{\content} 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 ___
Re: [NTG-context] Strange expansion behavior in XML/luatex
On 1-6-2010 9:03, Martin Kolařík wrote: I see, and for the single case it works. Also saving is fine, I am using it. Unfortunately, my example was too reduced :-). In fact, I have a problem with more complex documents, for example, think about: Some caption Text. Now, if I want not to only typeset a caption, but also to store it and reuse it later (typeset it twice, e.g. in the marging or elsewhere in the page, ...), it fails (on \processaction, \doif, ...). can't you just filter the caption then? in principle you can access each element everywhere - 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 ___
Re: [NTG-context] Title page layout
On Tuesday 01 June 2010 00:31:11 Scott Steele wrote: > I'm trying to anchor a table or box containing my title and subtitle to the > bottom right corner of the textblock (on a title page). The following comes > very close to doing what I want, but there is still some vertical space > between the bottom of the text of the subtitle and the last major > horizontal gridline. How can I have the subtitle text be (above and) flush > with the last major horizontal gridline in the same way that it is flush > with the rightmost vertical gridline? NOTE: Small adjustments to the > example I provide might not be helpful for me since, in actuality, I'm > using Adobe Jenson, which makes both the metrics and the expression of the > problem slightly different. You might want to look into collectors: http://wiki.contextgarden.net/Collectors 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Strange expansion behavior in XML/luatex
I the case probably yes. Now I have new info how to continue with my MkII-->MkIV conversion, so I will do. I prefer to keep the XML schema and the style as clean and simple as possible, but this does not necessarily mean that the typesetting code itself will be clean and simple too :-), Thanks for now; I will ask you, if I do not succeed :-), Martin Dne 1.6.2010 9:51, Hans Hagen napsal(a): On 1-6-2010 9:03, Martin Kolařík wrote: I see, and for the single case it works. Also saving is fine, I am using it. Unfortunately, my example was too reduced :-). In fact, I have a problem with more complex documents, for example, think about: Some caption Text. Now, if I want not to only typeset a caption, but also to store it and reuse it later (typeset it twice, e.g. in the marging or elsewhere in the page, ...), it fails (on \processaction, \doif, ...). can't you just filter the caption then? in principle you can access each element everywhere - 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 ___
Re: [NTG-context] Strange expansion behavior in XML/luatex
On 1-6-2010 10:17, Martin Kolařík wrote: I the case probably yes. Now I have new info how to continue with my MkII-->MkIV conversion, so I will do. I prefer to keep the XML schema and the style as clean and simple as possible, but this does not necessarily mean that the typesetting code itself will be clean and simple too :-), indeed, as the problems themselves don't change there is no guarantee that the outcome looks clean; this is also why using external tools (like xslt) is not making things easier and cleaner 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] floatcombinations, localfloats [mkiv]
Hello, I can't get floatcombinations to work in mkiv: \starttext \placefigure [none]{} {\startfloatcombination [2*1] \placefigure {.}% {\externalfigure [.]} \placefigure {.}% {\externalfigure [.]} \stopfloatcombination} \stoptext (some definitions are missing: forcelocalfloats, resetlocalfloats, noflocalfloats) Best wishes Thomas This is LuaTeX, Version beta-0.60.1-2010052906 (Web2C 2010/pretest) (rev 3685) ConTeXt ver: 2010.06.01 00:18 MKIV fmt: 2010.6.1 int: english/english ___ 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] first-setup.sh
Hi all, esp. Mojca, I don't know if anything changed recently, but first-setup.sh doesn't fetch the latest beta for me anymore, even when I feed it the "-- context=beta" switch. At first, I thought it was a glitch, but I have now tried on 3 different computers, and after running first-setup.sh, I always get MTXrun | main context file: /Users/tas/context/tex/texmf-context/tex/ context/base/context.tex MTXrun | current version: 2010.05.24 13:05 even though the beta version 2010.05.27 has been available for a while. Am I missing something, or has something changed? 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] first-setup.sh
On Tue, Jun 1, 2010 at 12:49 PM, Thomas A. Schmitz wrote: > Hi all, esp. Mojca, > > I don't know if anything changed recently, but first-setup.sh doesn't fetch > the latest beta for me anymore, even when I feed it the "--context=beta" > switch. At first, I thought it was a glitch, but I have now tried on 3 > different computers, and after running first-setup.sh, I always get > > MTXrun | main context file: > /Users/tas/context/tex/texmf-context/tex/context/base/context.tex > MTXrun | current version: 2010.05.24 13:05 > confirmed in my linux 32bit box -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] first-setup.sh
On Tue, Jun 1, 2010 at 12:49, Thomas A. Schmitz wrote: > Hi all, esp. Mojca, > > I don't know if anything changed recently, but first-setup.sh doesn't fetch > the latest beta for me anymore, even when I feed it the "--context=beta" > switch. At first, I thought it was a glitch, but I have now tried on 3 > different computers, and after running first-setup.sh, I always get > > MTXrun | main context file: > /Users/tas/context/tex/texmf-context/tex/context/base/context.tex > MTXrun | current version: 2010.05.24 13:05 You can always check if something is wrong on "your computer" or on server by taking a look at http://minimals.contextgarden.net/current/context/beta/tex/context/base/ and checking the version there. It seems that this version is exactly the same as on server, so it's a problem on our server. > even though the beta version 2010.05.27 has been available for a while. Am I > missing something, or has something changed? Interesting. Hans has changed configuration of his rsync server. I have noticed that while fetching docs, but didn't think about the fact that this has influenced fetching of the latest context as well. Hans has sent me another address for rsync, but that one is empty. Hans, I need the name of rsync server now (may be sent off-list) ... Mojca ___ 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] BibLaTeX
I frequently use LaTeX with BibLaTeX and the BibLaTeX-Chicago Style package to typeset scholarly material. For me, BibLaTeX is a great tool. However, I am attracted to ConTeXt because, coming from a desktop-publishing background, ConTeXt gives me more/easier control over document layout and structure. Thus I began to dream of a "chocolate + peanut butter" combination of the two. I would like to know if anyone has thoughts on the possibility of using BibLaTeX & Biber with ConTeXt -- perhaps through a wrapper module of some kind? I don't understand the internals of LaTeX or ConTeXt well enough to know if this is a ridiculous question. I respect the ConTeXt Bib module, but BibLaTeX-Chicago offers exactly what I'm looking for. Both BibLaTeX and ConTeXt use e-TeX, and the internals of BibLaTeX appear not to be LaTeX-specific. So, would it be possible to write a ConTeXt module that bypasses Bib and provides an interface between ConTeXt bibliography commands and BibLaTeX/Biber? Thanks, PPN ___ 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] BibLaTeX
Peter Park Nelson wrote: Both BibLaTeX and ConTeXt use e-TeX, and the internals of BibLaTeX appear not to be LaTeX-specific. So, would it be possible to write a ConTeXt module that bypasses Bib and provides an interface between ConTeXt bibliography commands and BibLaTeX/Biber? It should be possible, but I do not have time. 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 : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Slides: uncover things piecewise
Hi, I use the »simpleslides« module for a presentation and I wonder if it is possible to uncover things piecewise. Take the following example: \usemodule [simpleslides] \starttext \SlideTitle {My Topic} \startitemize \item First % Visible by default \item Second % Gray by default \item Third % Gray by default \stopitemize \stoptext I want to achieve the following: The first item should be visible by default. The second and third items are not visible or grayed out. The by jumping to the (physically) next slide (for the audience it's still the same page) the second item will be displayed and so on... I've found some old pieces of code in the mail archive but didn't get it to work. Kind regards Marco ___ 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 ___