Re: [NTG-context] Problem with external cross-references

2012-03-05 Thread Hans Hagen
On 4-3-2012 01:44, Jean-Philippe Rey wrote: Hello Hans, Le 2 mars 2012 à 20:59, Hans Hagen a écrit : On 25-2-2012 17:47, Jean-Philippe Rey wrote: Hello everybody, I'm trying to use external cross-references between two files but I can't make it work with MkIV. I am using ConTeXt current

Re: [NTG-context] Paragraph beginning with { doesn't flow around a float

2012-03-05 Thread Hans Hagen
On 4-3-2012 02:09, Jean-Philippe Rey wrote: Hello everybody, I found a problem with text flowing around a float. As far as I understand the problem, if a paragraph begins with a {, it doesn't flow around a float.. Here is a minimal example : a tex artefact ... use one of: \noindent { ...

Re: [NTG-context] Command in enumeration title

2012-03-05 Thread Stefan Müller
On Fri, 02 Mar 2012 21:03:34 +0100, Hans Hagen wrote: On 26-2-2012 14:34, Stefan Müller wrote: Hi Michael, thanks for your answer. The macro \Word is a predefined macro that capitalizes the first letter of its argument. E.g. \Word{title} should expand to Title, but it doesn't in my

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-05 Thread Hans Hagen
On 4-3-2012 11:20, Pablo Rodríguez wrote: \starttext \startlinenumbering \dorecurse{10}{\input zapf\par\input knuth} \stoplinenumbering \stoptext currently it's not possible but it's no big deal to add that feature at some point as it's a matter of keeping track of first/last numbers; for

Re: [NTG-context] is it possible to have first and last line numbers from page?

2012-03-05 Thread luigi scarso
2012/3/4 Pablo Rodríguez oi...@web.de On 03/04/2012 12:04 PM, Wolfgang Schuster wrote: Am 04.03.2012 um 11:20 schrieb Pablo Rodríguez: I wanted to be able to have in the headers the first and last line number from page. This feature is extremely useful when typesetting some kinds of

[NTG-context] [OT] Github compromised

2012-03-05 Thread luigi scarso
https://lwn.net/Articles/485162/ -- 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

Re: [NTG-context] A question

2012-03-05 Thread Hans Hagen
On 3-3-2012 21:22, Aydemir, Oz wrote: Hans: Do you think you could kindly provide an example how to include or embed an mp3 or m4a or any audio file in ConTeXt? Thank you in advance. \definerenderingwindow [example] [width=0pt,height=0pt,frame=off] \setupinteraction[state=start]

Re: [NTG-context] Bug in ConTeXt? Conflict in titles, sections and bibliography (was bibliography problems)

2012-03-05 Thread Hans Hagen
On 3-3-2012 09:44, Jaroslav Hajtmar wrote: Hello ConTeXist. I present an bug with which I have been seeing over the last few versions of Context. In collaboration with Thomas, who helped me find the perfect minimal example, I managed to finally find out what is the core of my problem. But it is

Re: [NTG-context] Referencing a definition

2012-03-05 Thread Hans Hagen
On 4-3-2012 23:52, Kip Warner wrote: Hey list, I have a definition, like so... \startdefinition[definition:Foo]{Foo} Definition of foo here... \stopdefinition I'd like to reference it in the same way I would a section like \in{section}[Node]. How can I do the same with a definition such that

Re: [NTG-context] TOC: alternative=c not working?

2012-03-05 Thread Wolfgang Schuster
Am 05.03.2012 um 08:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, the following sample doesn't give the dotted style (#.# Name page) of the TOC - dots are missing: t-TOC.mkiv \setupcombinedlist[content][alternative=c] \starttext \completecontent \page

[NTG-context] Footnotes gone

2012-03-05 Thread Kip Warner
Hey list, For the first time in several months, today's nightly build actually managed to digest my book without crashing or bailing. I'm using 2012.03.05. There is one thing I noticed though and that is all of my footnotes are now invisible. The number next to them is visible, but the text

Re: [NTG-context] Including command output

2012-03-05 Thread Kip Warner
On Sun, 2012-03-04 at 23:20 -0500, Aditya Mahajan wrote: If you want to use the automagic way, you can define \BazaarRevision to redefined \BazaarRevision, for example: \def\BazaarRevision {\ctxlua{context.setevalue( BazaarRevision, os.resultofbzr

Re: [NTG-context] Referencing a definition

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 18:04 +0100, Hans Hagen wrote: \definedescription[test] \starttext \starttest[ward] {one} \input ward \stoptest bla bla \at{page}[ward] we define \about[ward] \stoptext Hey Hans. I think that might be a good workaround until I'm confident that that's the best

[NTG-context] \definedescription usage

2012-03-05 Thread Kip Warner
Hey list, I'd like the contents of my \startdefinition \stopdefinition pairs to have their title above them on a line of their own, but am having problems with the usage: \definedescription[definition] [location=top, hang=20, headcolor=colour_head, headstyle=boldslanted,

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Kip Warner
On Sun, 2012-03-04 at 23:26 -0500, Aditya Mahajan wrote: On Sun, 4 Mar 2012, Kip Warner wrote: Hey list, I'd like an itemized list using the following format... Article I ... Article II ... Article III ... ...and so on. I've tried defining the behaviour with...

Re: [NTG-context] Including command output

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Sun, 2012-03-04 at 23:20 -0500, Aditya Mahajan wrote: If you want to use the automagic way, you can define \BazaarRevision to redefined \BazaarRevision, for example: \def\BazaarRevision {\ctxlua{context.setevalue(

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Sun, 2012-03-04 at 23:26 -0500, Aditya Mahajan wrote: On Sun, 4 Mar 2012, Kip Warner wrote: Hey list, I'd like an itemized list using the following format... Article I ... Article II ... Article III ... ...and so on. I've tried defining the

Re: [NTG-context] Including command output

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 22:05 -0500, Aditya Mahajan wrote: The attached file works at my end. It works at my end as well, but just not as part of my book. No. It is defining \BazaarVersion once and then reusing the result. Add \loggingall to your file to see what is happening. It still bails.

Re: [NTG-context] Including command output

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Mon, 2012-03-05 at 22:05 -0500, Aditya Mahajan wrote: The attached file works at my end. It works at my end as well, but just not as part of my book. Hard to debug without the actual test file. No. It is defining \BazaarVersion once and then

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 22:10 -0500, Aditya Mahajan wrote: Thanks Aditya. A couple questions for you. \defineitemgroup[article] \setupitemgroup [article] [ left={Article }, stopper=, symbol=R, before=\blank, after=\blank, distance=0.5em, ]

Re: [NTG-context] Including command output

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 22:15 -0500, Aditya Mahajan wrote: Use {\loggingall \BazaarRevision } I added the above to my environment, but this is all I see. I think this is the same as last time: + /usr/share/texmf/tex/context/third/simplefonts/t-simplefonts.lua) {vertical mode: \tracingstats}

Re: [NTG-context] Including command output

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Mon, 2012-03-05 at 22:15 -0500, Aditya Mahajan wrote: Use {\loggingall \BazaarRevision } I added the above to my environment, but this is all I see. Can you attach your complete log file? Aditya

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 22:10 -0500, Aditya Mahajan wrote: \starttext \startarticle \item First article \item Second article \stoparticle Again Another thing I just noticed is that using \startarticle[start=20] before an item block doesn't always begin counting at that. On some

Re: [NTG-context] Including command output

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 22:38 -0500, Aditya Mahajan wrote: Can you attach your complete log file? Attached. -- Kip Warner -- Software Engineer OpenPGP encrypted/signed mail preferred http://www.thevertigo.com resolversresolving loading configuration file

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Mon, 2012-03-05 at 22:10 -0500, Aditya Mahajan wrote: Thanks Aditya. A couple questions for you. \defineitemgroup[article] \setupitemgroup [article] [ left={Article }, stopper=, symbol=R, before=\blank, after=\blank,

Re: [NTG-context] Including command output

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Mon, 2012-03-05 at 22:38 -0500, Aditya Mahajan wrote: Can you attach your complete log file? Attached. The error is not due to the macro \BazaarRevision. The log file shows that the group (for {\loggingall \BazaarRevison}) is closed properly; the

Re: [NTG-context] Including command output

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 22:50 -0500, Aditya Mahajan wrote: The error is not due to the macro \BazaarRevision. The log file shows that the group (for {\loggingall \BazaarRevison}) is closed properly; the error is displayed after that. So, something else in your setup is causing the error. It

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Kip Warner
On Mon, 2012-03-05 at 22:44 -0500, Aditya Mahajan wrote: Thats how itemgroup are configured. You cannot mix assignments (key=value) with options. I don't follow. What is the difference between this, \setupitemgroup [article] [ left={Article }, stopper=, symbol=R,

[NTG-context] Referring to items

2012-03-05 Thread Kip Warner
Hey list, I am following the instructions here but they do not seem to be working: http://wiki.contextgarden.net/Enumerations#Referring_to_items I have an item block typeset with the following: \startitemize[R,2*broad][start=11] \setupitemize[left=(, right=)] \item[first_item]

Re: [NTG-context] Including command output

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Mon, 2012-03-05 at 22:50 -0500, Aditya Mahajan wrote: The error is not due to the macro \BazaarRevision. The log file shows that the group (for {\loggingall \BazaarRevison}) is closed properly; the error is displayed after that. So, something else in

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Aditya Mahajan
On Mon, 5 Mar 2012, Kip Warner wrote: On Mon, 2012-03-05 at 22:44 -0500, Aditya Mahajan wrote: Thats how itemgroup are configured. You cannot mix assignments (key=value) with options. I don't follow. What is the difference between this, \setupitemgroup [article] [ left={Article },

Re: [NTG-context] Including command output

2012-03-05 Thread Kip Warner
On Tue, 2012-03-06 at 00:04 -0500, Aditya Mahajan wrote: Why don't you use the first version (\initializebazaarversion and \usebazaarversion)? \def\initializeBazaar {\ctxlua{context(\\global\\edef\\BazaarRevision{\%s}, os.resultofbzr revno | tr -d '\\n')}}

Re: [NTG-context] Itemize Prefixes

2012-03-05 Thread Kip Warner
On Tue, 2012-03-06 at 00:22 -0500, Aditya Mahajan wrote: ConTeXt checks if the argument of \setupitemgroup has an assignment (key=value), then it calls a version of \setparameters; otherwise it calls a version of \processcommalist. So, if you use assignments and options in the same command,

[NTG-context] Simple bibliography

2012-03-05 Thread Jaroslav Hajtmar
Hello ConTeXist. Unfortunately, I give up. The standard way to use the bibliography fail (output still is not sorted in the order they came citing). I can not even after many hours of testing and experimenting get win. Therefore I decide that I am looking now other ways. Does anyone have

Re: [NTG-context] \definedescription usage

2012-03-05 Thread Wolfgang Schuster
Am 06.03.2012 um 03:05 schrieb Kip Warner: Hey list, I'd like the contents of my \startdefinition \stopdefinition pairs to have their title above them on a line of their own, but am having problems with the usage: \definedescription[definition] [location=top, alternative=top,

Re: [NTG-context] TOC: alternative=c not working?

2012-03-05 Thread Procházka Lukáš Ing . - Pontex s . r . o .
... That is! Thank you. Lukas On Mon, 05 Mar 2012 21:30:57 +0100, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 05.03.2012 um 08:40 schrieb Procházka Lukáš Ing. - Pontex s. r. o.: Hello, the following sample doesn't give the dotted style (#.# Name page) of the