[NTG-context] Whitespace and quotechar in database module

2012-12-18 Thread Marco Patzer
Hi, the following two database examples produce different output due to the white space between the field separator and the quotechar. \usemodule [database] \defineseparatedlist [CSV] [quotechar=, before={\starttabulate[|l|l|]}, after=\stoptabulate, first=\NC,last=\NR,

[NTG-context] Centered multiline chapter title

2012-12-18 Thread hanak
Hello, I need to format my chapters in the following way: - The chapters are centered (midaligned). - Some chapters are long, so they have to be multilined. - The chapter title should be in capital letters, but in the header should it be without capitalisation. - When the chapter

Re: [NTG-context] Whitespace and quotechar in database module

2012-12-18 Thread Hans Hagen
On 12/18/2012 9:20 AM, Marco Patzer wrote: Hi, the following two database examples produce different output due to the white space between the field separator and the quotechar. \usemodule [database] \defineseparatedlist [CSV] [quotechar=, before={\starttabulate[|l|l|]},

Re: [NTG-context] framed algorithm / float: problems with line break

2012-12-18 Thread Wolfgang Schuster
Am 17.12.2012 um 13:14 schrieb Andreas Mang m...@imt.uni-luebeck.de: Dear all, Quick access: there is no line break in case algorithmic is used together with framed as a float. I'd like to put some pseudocode in my document. I've used the algorithmic module. Since I'd like to refer to

Re: [NTG-context] Centered multiline chapter title

2012-12-18 Thread Wolfgang Schuster
Am 17.12.2012 um 21:29 schrieb ha...@wpb.cz: Hello, I need to format my chapters in the following way: - The chapters are centered (midaligned). - Some chapters are long, so they have to be multilined. - The chapter title should be in capital letters, but in the header should

Re: [NTG-context] framed algorithm / float: problems with line break

2012-12-18 Thread Andreas Mang
Dear Wolfgang, thanks for looking into this. Works nicely. I can add a “color” key to the algorithmic environment which allows you to set the color with \setupalgorithmic and you don’t need the \white command after \startalgorithmic anymore. The coloring in my minimal example was simply

[NTG-context] Count the words per line (Philipp Gesang)

2012-12-18 Thread H. Özoguz
Am 18.12.2012 11:17, schrieb ntg-context-requ...@ntg.nl: Usage: \usemodule[wordsperline] \starttext \startlinestats \dorecurse{42}{% \input knuth\par \input ward\par \input tufte\par \input zapf\par }

[NTG-context] DocBook

2012-12-18 Thread Roger Mason
Hello all, I have a manuscript to review that I have managed to coerce into DocBook xml. I'd like to turn it into context so that I can mark it up in a comfortable environment. I just tried Simon Pepping's DocBookInContext package from 2003, but it fails on the provided test document: !

Re: [NTG-context] DocBook

2012-12-18 Thread Wolfgang Schuster
Am 18.12.2012 um 12:31 schrieb Roger Mason rma...@mun.ca: Hello all, I have a manuscript to review that I have managed to coerce into DocBook xml. I'd like to turn it into context so that I can mark it up in a comfortable environment. I just tried Simon Pepping's DocBookInContext

Re: [NTG-context] DocBook

2012-12-18 Thread Thomas Weißschuh
Hi Roger, pandoc is not an option for me at the moment: I am currently using Arch Linux and have not been able to get their Haskell installation to finish successfully. Have you tried to use the third party haskell repo? They provide a precompiled package haskell-pandoc. [haskell] #

Re: [NTG-context] DocBook

2012-12-18 Thread Hans Hagen
On 12/18/2012 12:47 PM, Wolfgang Schuster wrote: Am 18.12.2012 um 12:31 schrieb Roger Mason rma...@mun.ca: Hello all, I have a manuscript to review that I have managed to coerce into DocBook xml. I'd like to turn it into context so that I can mark it up in a comfortable environment. I

Re: [NTG-context] DocBook

2012-12-18 Thread Roger Mason
Wolfgang, Thomas, Hans, On 12/18/2012 09:51 AM, Hans Hagen wrote: On 12/18/2012 12:47 PM, Wolfgang Schuster wrote: Am 18.12.2012 um 12:31 schrieb Roger Mason rma...@mun.ca: Hello all, I have a manuscript to review that I have managed to coerce into DocBook xml. I'd like to turn it into

Re: [NTG-context] Transparency without colors.

2012-12-18 Thread Hans Hagen
On 12/18/2012 5:07 PM, Andre Caldas wrote: Hello! In my simplesteps module, I'd like to adjust the transparency of the foreground color. The file tex/context/base/colo-ini.mkiv suggests that there is a way to do that: % Currently in mkiv transparency is implemented independent of color. This

[NTG-context] Module for Commutative Diagrams.

2012-12-18 Thread Andre Caldas
Hello! Some days ago, I have written a module for writing commutative diagrams using MetaPost. Definition of commutative diagrams: https://duckduckgo.com/?q=commutative+diagrams The module lives here, now: https://bitbucket.org/andrecaldas/context-commutativediagrams The module still needs a

Re: [NTG-context] Transparency without colors.

2012-12-18 Thread Andre Caldas
How can I define the transparency of some text? http://wiki.contextgarden.net/Color I want to set up the transparency without messing with the colors (that were setup by the user). André Caldas. ___ If your

Re: [NTG-context] Wrong float numbering with default=top

2012-12-18 Thread Marco Patzer
On 2012–12–08 Marco Patzer wrote: Thanks. It does not break anything in the final document and all numbers are correct. Referring to the figures is messed up: \useMPlibrary [dum] \setupfloat [figure] [default=top] \ctxlua{structures.lists.autoreorder = true} \starttext \input knuth

Re: [NTG-context] Customize footnotes

2012-12-18 Thread Wolfgang Schuster
Am 18.12.2012 um 16:21 schrieb MANUEL GONZALEZ SUAREZ gonzalezsman...@uniovi.es: Hello again. I am working with a document in which I am asked to appear footnotes followed, i. e.: text text text text text 1 Footnote 2 Footnote 3 Footnote … \setupnote

Re: [NTG-context] Wrong float numbering with default=top

2012-12-18 Thread Hans Hagen
On 12/18/2012 6:13 PM, Marco Patzer wrote: On 2012–12–08 Marco Patzer wrote: Thanks. It does not break anything in the final document and all numbers are correct. Referring to the figures is messed up: \useMPlibrary [dum] \setupfloat [figure] [default=top]