[NTG-context] Full page figure

2012-09-24 Thread Mikoláš Štrajt
Hello everybody in list. I have drawn title page for my book on paper, later scanned it. And now I want to add it to my book as a first page. But there is the a problem. When I place it as a figure it is too large to fit on page. I have discovered [size=fit] argument, but this places it inside

[NTG-context] metapost dashpattern (on 1) not shown in Mountain Lion Preview

2012-09-24 Thread Xiao-Yong Jin
Dear all,I just upgrade to Mountain Lion and found out that "dashed dashpattern (on 1)" no longer shows any line in Preview.  The attached file is a snapshot of the Preview window showing the pdf file generated by the following code.\starttext\startMPpagedraw unitsquare scaled 4cm dashed dashpatter

Re: [NTG-context] Multi-paragraph quotations according to AP

2012-09-24 Thread Bill Meahan
On 09/24/2012 07:08 PM, Sietse Brouwer wrote: \setupquotation[repeat=yes, middle=“] \startquotation bsdf bsdf bsdf \stopquotation Problem in my test file :( Works fine if I create a new file and put in bits and pieces from my test file rather than running the whole thing. I u

Re: [NTG-context] ndash and mdash

2012-09-24 Thread Troy Henderson
The following work \uchar{32}{19} (for the -- ndash) > \def\ndash{\uchar{32}{19}\autoinsertnextspace} > \uchar{32}{20} (for the --- mdash) > \def\mdash{\uchar{32}{20}\autoinsertnextspace} but it would be preferable to be able to use -- and --- instead of \ndash and \mdash. Troy _

[NTG-context] ndash and mdash

2012-09-24 Thread Troy Henderson
When using the Type 1 versions of the Lucida fonts, -- and --- don't work as expected. However, the following do work in their place. \uchar{32}{19} (for the -- ndash) \uchar{32}{20} (for the --- mdash) Can I redefine -- and --- to use the \uchar commands? Troy Henderson ___

Re: [NTG-context] Multi-paragraph quotations according to AP

2012-09-24 Thread Sietse Brouwer
> Unfortunately, I get _two_ open-quote marks on the first paragraph and a > space between the open-quote mark and the first word of the other > paragraphs. This works correctly for me, using 20120916 23:18 MKIV: \setupquotation[repeat=yes, middle=“] \startquotation bsdf bsdf bsdf \

Re: [NTG-context] Multi-paragraph quotations according to AP

2012-09-24 Thread Bill Meahan
On 09/24/2012 05:24 PM, Sietse Brouwer wrote: \setupquotation[repeat=yes, middle=“] or \setupdelimitedtext[quotation][repeat=yes, middle=“] The repeat key specifies whether to put something at the start of intervening paragraphs; the middle key tells us what to put there. If you have time, cou

Re: [NTG-context] Multi-paragraph quotations according to AP

2012-09-24 Thread Marcin Borkowski
Dnia 2012-09-24, o godz. 23:24:31 Sietse Brouwer napisał(a): > If you have time, could you add a note explaining those keys to > http://wiki.contextgarden.net/Command/setupdelimitedtext > ? I'd be much obliged. I ninja'd you! (Know the power of procrastination;)!) > Kind regards, and good luck

Re: [NTG-context] Current source directory.

2012-09-24 Thread Peter Münster
On Mon, Sep 24 2012, Peter Münster wrote: > \starttext > PWD: \cldcontext{io.popen"pwd":read()} > \stoptext Or better: \starttext PWD: \cldcontext{environment.runpath} \stoptext -- Peter ___ If your ques

Re: [NTG-context] Current source directory.

2012-09-24 Thread Peter Münster
On Mon, Sep 24 2012, Andre Caldas wrote: > Is there a way to know the directory of the currently being processed > source file? This works with mkiv: \starttext PWD: \cldcontext{io.popen"pwd":read()} \stoptext -- Peter

Re: [NTG-context] Multi-paragraph quotations according to AP

2012-09-24 Thread Sietse Brouwer
Hi Bill, Bill Meahan wrote: > \startquotation .. \stopquotation easily takes care of the open on the first > paragraph and close at the end of the last. What I can't figure out is how > to put an open quotation mark on the intervening paragraphs. \setupquotation[repeat=yes, middle=“] or \setupdel

[NTG-context] Current source directory.

2012-09-24 Thread Andre Caldas
Hello! Is there a way to know the directory of the currently being processed source file? Something like dirname(__FILE__) in PHP. Cheers, André Caldas. ___ If your question is of interest to others as well, please

[NTG-context] Multi-paragraph quotations according to AP

2012-09-24 Thread Bill Meahan
One of the things I do with ConTeXt is publish a newsletter. The organization I publish for requires me to conform to the Associated Press (AP) Stylebook for all grammar, punctuation and usage. The AP Stylebook requires every paragraph in a quotation to have an "open quotation mark" but only th

Re: [NTG-context] Problem with PocketDiary

2012-09-24 Thread Wolfgang Schuster
Am 24.09.2012 um 15:21 schrieb Marcin Borkowski : > Dnia 2012-09-23, o godz. 10:42:08 > Wolfgang Schuster napisał(a): > >> It’s a bug in the pocketdiayry code when the \color command is used. >> >> This snippet from the code shows two problems. >> >> context.bTD({style="red"})context(d) cont

Re: [NTG-context] Image/float & infinite loop

2012-09-24 Thread Hans Hagen
On 24-9-2012 16:51, Procházka Lukáš Ing. - Pontex s. r. o. wrote: \starttext \placefigure[place]{}{\externalfigure[cow]} \showexternalfigures[alternative=a] \stoptext \showexternalfigures is obsolete in mkiv .. i've removed it (it calls itself after loading a module that doesn't exist) .

[NTG-context] Image/float & infinite loop

2012-09-24 Thread Procházka Lukáš Ing . - Pontex s . r . o .
Hello, the following code goes into an infinite loop: \starttext \placefigure[place]{}{\externalfigure[cow]} \showexternalfigures[alternative=a] \stoptext I'm getting: mtx-context | run 1: luatex --fmt="c:/Ctx-Beta/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dd

Re: [NTG-context] Problem with PocketDiary

2012-09-24 Thread Marcin Borkowski
Dnia 2012-09-23, o godz. 10:42:08 Wolfgang Schuster napisał(a): > It’s a bug in the pocketdiayry code when the \color command is used. > > This snippet from the code shows two problems. > > context.bTD({style="red"})context(d) context("~") > context.labeltext(n) context("~\\color[black]") con

Re: [NTG-context] Proposal: making [[article]] and [[Article]] equivalent on the wiki

2012-09-24 Thread Sietse Brouwer
>> PS: can anyone please explain me what's with >> http://wiki.contextgarden.net/First-setup.sh I remember being unable to decide between the Windows name or the Linux name at the time, like the donkey caught between two haystacks, which is how this muddle came about. Then it got worse when I

Re: [NTG-context] Proposal: making [[article]] and [[Article]] equivalent on the wiki

2012-09-24 Thread Arthur Reutenauer
> PS: can anyone please explain me what's with > http://wiki.contextgarden.net/First-setup.sh > it's almost "an infinite chain" of redirects ... The real page, > http://wiki.contextgarden.net/First-setup, is the one that actually > makes least sense to me. It's a chain of 2, which is a littl

Re: [NTG-context] Russian sentence in Czech text in Mark II in ConTeXt Suite installation on Linux in UTF8

2012-09-24 Thread Mojca Miklavec
On Wed, Sep 19, 2012 at 1:19 PM, Michal Kvasnička wrote: > Hallo. > > I have to typeset one Russian sentence (cyrillic) in a Czech document > in ConTeXt Mark II (texexec) in ConTeXt Suite (minimal installation) > on Linux. I use UTF8 encoding. Is there any simple way to do it? I'm > willing to acce

Re: [NTG-context] Proposal: making [[article]] and [[Article]] equivalent on the wiki

2012-09-24 Thread Sietse Brouwer
On Mon, Sep 24, 2012 at 10:24 AM, Mojca Miklavec wrote: > Hello, > > did someone, by any chance, already make that change? No, it hasn't happened yet. What makes you ask? The only change so far is that I moved all lowercased articles to the Title-cased place. I did this because the lowercased en

Re: [NTG-context] Proposal: making [[article]] and [[Article]] equivalent on the wiki

2012-09-24 Thread Mojca Miklavec
Hello, did someone, by any chance, already make that change? On Wed, Sep 19, 2012 at 2:11 PM, Sietse Brouwer wrote: > Hello, all, > > The wiki currently has $wgCapitalLinks = false; meaning that if one > wishes to link to e.g. [[Columns]] inside a sentence one must write > "See the [[Columns|colu

[NTG-context] Header-Footer-Layout

2012-09-24 Thread Arne Runge
Hi, I would like to have a doublesided layout with: - a titlepage with neither header nor footer, - a frontpart with pagesnumbers(left/right) in roman - a bodypart with pagesnumbers(left/right) in arabic - an appendix with pagesnumbers(left/right) in arabic - first page of a chapter should not