Re: [NTG-context] referring to floats in xml

2011-03-20 Thread R. Ermers
Thanks, Aditya, The first problem is adequately solved by adding []. I'll prepare an example for the second problem. A related problem is referring to sections and other blocks. Cows cows cows cows. As I told in The title is mapped as follows (lpath): \xmlsetsetup{#1}{section/title}{xml:sectio

[NTG-context] More bibl-apa.tex modifications

2011-03-20 Thread Pontus Lurcock
Hello, I have found another minor problem in the bibl-apa style (ConTeXt v. 2011.02.25 22:03), this time for Master's theses, which get an extra space between the phrase ‘Master's Thesis,’ and the university's name and address, thus: Smith, A. B. (2000). A Thesis Title. Master's thesis, City, Co

Re: [NTG-context] Feature request: setuppapersize

2011-03-20 Thread Aditya Mahajan
On Sun, 20 Mar 2011, C. wrote: Did you try \setuppapersize[A5][A5] ? According to http://wiki.contextgarden.net/Reference/en/setuppapersize second argument (the print paper size) is A4 by default. About two months back I had requested that the second argument be made optional. Hans had implem

[NTG-context] circled number for item head

2011-03-20 Thread Jeong Dalyoung
Dear all, I'd like to use circled number for item head. I found one method which use a counter as follows: \def\circlednum#1{\uchar{36}{95+#1}} \defineconversion[myitem][\circlednum] \starttext \startitemize[myitem, pack] \item 111 \item 222 \item 333 \item 444 \item 555 \stopitemize \stoptext

Re: [NTG-context] Feature request: setuppapersize

2011-03-20 Thread C.
Did you try \setuppapersize[A5][A5] ? According to http://wiki.contextgarden.net/Reference/en/setuppapersize second argument (the print paper size) is A4 by default. > -Ursprüngliche Nachricht- > Von: Aditya Mahajan [mailto:adit...@umich.edu] > Gesendet: Samstag, 19. März 2011 18:59 > An:

Re: [NTG-context] Footnote disappears (TABLE, itemize)

2011-03-20 Thread Wolfgang Schuster
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 >

[NTG-context] Footnote disappears (TABLE, itemize)

2011-03-20 Thread 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

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Wolfgang Schuster
Am 20.03.2011 um 16:46 schrieb Tom: > Thank you, Wolfgang. Your table is most helpful. This can probably be found > in the documentation but not where I looked. This probably relates to the > recent discussion regarding manuals for novices. > > My observation is that \completecontent and \comple

[NTG-context] pdfboxes (mkiv)

2011-03-20 Thread Peter Rolf
Hi Hans, there is a typo in lpdf-mis.lua local function pagespecification() local pageheight = tex.pdfpageheight local box = pdfarray { -- can be cached boxvalue(leftoffset), boxvalue(pageheight-topoffset-height), ^^ should

Re: [NTG-context] referring to floats in xml

2011-03-20 Thread Aditya Mahajan
On Sun, 20 Mar 2011, R. Ermers wrote: Dear All, My xml docbook file contains a number of graphics. Some are regular figures, some are edgefigures. I have two questions in this respect. Understanding these snippets is difficult without a minimal working example. A. referring to floats \p

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Aditya Mahajan
On Sun, 20 Mar 2011, Tom wrote: Thank you, Wolfgang. Your table is most helpful. This can probably be found in the documentation but not where I looked. This probably relates to the recent discussion regarding manuals for novices. You could help by adding this information to the wiki, at a pla

[NTG-context] Table of Contents entries without page numbers

2011-03-20 Thread Tom
It is relatively easy to create table of contents entries without chapter numbers, but I can't figure out how to include entries without page numbers. I want to place a title page, 'Appendices,' in the ToC after the last chapter and before the first appendix. I can easily create the page using \tit

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Tom
Thank you, Wolfgang. Your table is most helpful. This can probably be found in the documentation but not where I looked. This probably relates to the recent discussion regarding manuals for novices. My observation is that \completecontent and \completeindex are treated like chapter starts in that

Re: [NTG-context] ... and emoticons

2011-03-20 Thread Wolfgang Schuster
Am 20.03.2011 um 14:51 schrieb Philipp A.: > On modern Linux distributions, there is support for the ellipsis (…) on the > keyboard layout; The combination is [AltGr+.] > > On Windows, there is at least Microsoft KLC. While the possibilities are > inferior, simple key combinations like the one

Re: [NTG-context] ... and emoticons

2011-03-20 Thread Philipp A.
On modern Linux distributions, there is support for the ellipsis (…) on the keyboard layout; The combination is [AltGr+.] On Windows, there is at least Microsoft KLC. While the possibilities are inferior

Re: [NTG-context] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Wolfgang Schuster
Am 20.03.2011 um 14:37 schrieb Tom: > Minimals MKIV ignores the structureenvironment blocks when the suffix is > 'matter' but applies them if the suffix is 'part.' Furthermore, they are > applied in \starttext if between \startfrontmatter -- \stopfrontmatter, etc. > blocks and error if between \s

[NTG-context] [***SPAM***] Minimals ignores structureblockenvironment for frontmatter etc.

2011-03-20 Thread Tom
Minimals MKIV ignores the structureenvironment blocks when the suffix is 'matter' but applies them if the suffix is 'part.' Furthermore, they are applied in \starttext if between \startfrontmatter -- \stopfrontmatter, etc. blocks and error if between \startfrontpart -- \stopfrontpart, etc. blocks.

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Mojca Miklavec
On Sun, Mar 20, 2011 at 12:35, Wolfgang Schuster wrote: > > Am 20.03.2011 um 11:04 schrieb Mojca Miklavec: > >> On Sun, Mar 20, 2011 at 08:34, Pontus Lurcock wrote: >>> On Sun 20 Mar 2011, Wolfgang Schuster wrote: >>> Another option is to disable only a single feature: \definefontfe

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Wolfgang Schuster
Am 20.03.2011 um 11:04 schrieb Mojca Miklavec: > On Sun, Mar 20, 2011 at 08:34, Pontus Lurcock wrote: >> On Sun 20 Mar 2011, Wolfgang Schuster wrote: >> >>> Another option is to disable only a single feature: >>> >>> \definefontfeature[notrep][trep=no] >>> \def\realquotesingle{{\addfs{notrep}'}

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Mojca Miklavec
On Sun, Mar 20, 2011 at 08:34, Pontus Lurcock wrote: > On Sun 20 Mar 2011, Wolfgang Schuster wrote: > >> Another option is to disable only a single feature: >> >> \definefontfeature[notrep][trep=no] >> \def\realquotesingle{{\addfs{notrep}'}} > > Thanks, that's more elegant. I've updated the wiki pa

[NTG-context] referring to floats in xml

2011-03-20 Thread R. Ermers
Dear All, My xml docbook file contains a number of graphics. Some are regular figures, some are edgefigures. I have two questions in this respect. A. referring to floats \placeedgefigure [\xmlatt{#1}{id}] {\xmlfirst{#1}{/caption}} {\framed[frame=off]{\setlayer[graphics]{\xmlfirst{#1}{/imageobje

[NTG-context] beware: fontclass ignored

2011-03-20 Thread Reviczky, Adam
Hi Using context experimental 2011.03.18 I get this line when using definebodyfontenvironment: fonts > beware: fontclass ignored (if needed use: [fontclass][size][settings]) Minimal example: http://wiki.contextgarden.net/Reference/en/definebodyfontenvironment %%% \starttext \define

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Pontus Lurcock
On Sun 20 Mar 2011, Wolfgang Schuster wrote: > Another option is to disable only a single feature: > > \definefontfeature[notrep][trep=no] > \def\realquotesingle{{\addfs{notrep}'}} Thanks, that's more elegant. I've updated the wiki page to include it. Pont __

Re: [NTG-context] Text with background (overlay with a line by MP)

2011-03-20 Thread Wolfgang Schuster
Am 19.03.2011 um 23:13 schrieb Aditya Mahajan: > On Sat, 19 Mar 2011, Procházka Lukáš wrote: > >> Hello, >> >> I'm trying to create an overlay - text with a line drawn bellow. >> >> [...] >> >> How to do it? > > You do not need yshifted. But you need to set the bounding box of the > resulti

Re: [NTG-context] Producing quotesingle glyph

2011-03-20 Thread Wolfgang Schuster
Am 19.03.2011 um 23:41 schrieb Pontus Lurcock: > Thanks, Mojca and Khaled! > > Taking trep out of the default features works nicely, but since in > this case I want quote-replacement as the default and straight > quotes only occasionally, I ended up with the following solution: > > \definefontf

[NTG-context] more "missing or ungrouped '=' after"

2011-03-20 Thread Reviczky, Adam
Hi I'm getting the same lines by using setupfields (in widgets), but this time I don't even get an output. Here's the minimal example: %%% \starttext \setupfields [label,frame,horizontal] [offset=4pt,height=fit,framecolor=green,background=screen,backgroundscreen=.80] [height=40pt,width=100pt,al