Re: [NTG-context] temporarily disabling enumeration numbering

2010-04-05 Thread Vianney le Clément
The patch seems to break \footnote: \unprotect % workaround \def\@@makedescription[#1]#2% {\postponenotes % new, assumes grouping \doenumerationcheckconditions{#1}% \dodescriptioncomponent[\c!reference=#1,\c!label={\descriptionparameter\c!text},\c!title={#2},\c!bookmark=,\c!list=][]%

Re: [NTG-context] temporarily disabling enumeration numbering

2010-04-05 Thread Wolfgang Schuster
Am 05.04.10 15:39, schrieb Vianney le Clément: The patch seems to break \footnote: New attempt. \unprotect % strc-des.mkiv \def\@@makedescription[#1]#2% {\postponenotes % new, assumes grouping \edef\currentdescriptionreference{#1}% \doenumerationcheckconditions

[NTG-context] Numbered enumerations in MK-IV (howto) ?

2010-03-16 Thread gummybears
Hi, In MK-II the following enumeration worked, sadly in MK-IV they don't. I browsed the internet, tried the proclaim solution and searched the mailing list for an solution, found that several people experiencing the same problem with different numbering schemes. Tried several of the proposed

Re: [NTG-context] Numbered enumerations in MK-IV (howto) ?

2010-03-16 Thread Bernhard Rosensteiner
Hi, hope that helps (see attachment). best regards Bernhard Am 16.03.2010 um 14:22 schrieb gummybears: Hi, In MK-II the following enumeration worked, sadly in MK-IV they don't. I browsed the internet, tried the proclaim solution and searched the mailing list for an solution, found

Re: [NTG-context] Numbered enumerations in MK-IV (howto) ?

2010-03-16 Thread Mehdi Omidali
On 3/16/2010 4:52 PM, gummybears wrote: Hi, In MK-II the following enumeration worked, sadly in MK-IV they don't. I browsed the internet, tried the proclaim solution and searched the mailing list for an solution, found that several people experiencing the same problem with different

[NTG-context] Undesired indent in enumerations (mk4)

2010-02-12 Thread Matthias Weber
Dear all, when I have an enumeration with empty text (i.e. text={},), mk4 produces undesired indenting. mk2 works ok. Here a minimal example: \setupbodyfont [10pt] \defineenumeration [exercise] [before=\blank, after=\blank, way=bysection, text={}, start=1, location=hanging, letter=rm

[NTG-context] Problem With an Enumeration After a Forced Float

2010-01-29 Thread Tad Ashlock
Hi All, Here's a corner case for you: place a figure with the 'force' option, followed by an enumeration with a background. Like this (also attached as tadtest1.tex): \defineenumeration[enum][before={\startbackground},after

Re: [NTG-context] More questions about hiding/reusing blocks

2010-01-24 Thread Hans Hagen
, as indicated. I would prefer to have the text Exercise in the enumeration to become a hyperlink to the corresponding solution, and vice versa for the text Solution. Is there a way of doing this (or something similar)? actually in mkii there is (using symbols pointing to the companion that can be clicked

[NTG-context] More questions about hiding/reusing blocks

2010-01-22 Thread Matthias Weber
? If so, how? Then, I'd like to have little inconspicuous hyperlinks from the exercise to its solution and back. So far, I can only do this manually, as indicated. I would prefer to have the text Exercise in the enumeration to become a hyperlink to the corresponding solution, and vice versa

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-05 Thread Curiouslearn
that enumeration numbers are out of page and you don't see them. ___ 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

Re: [NTG-context] defineenumeration does not work with MKIV. Works with MKII

2010-01-04 Thread Vladimir Lomov
=middle] \starttext \defineenumeration[problem][text= ,location=inleft] \setupenumerations[problem][stopper=)] \problem problem 1 \problem problem 2 \stoptext In okular (or Adobe Reader) you see that enumeration numbers are out of page and you don't see them

[NTG-context] Conflict between blackboard bold font and enumerations

2009-12-31 Thread Ogam Géry
Hi, I've got a problem with \blackboard. When I use it in the title of an enumeration (title=yes in setupenumerations), I get this error during compilation: ! Incomplete \iffalse; all text was ignored after line x. inserted text \fi For instance: \starttext \defineenumeration[hello

[NTG-context] Help watned for numbered descriptions

2009-11-30 Thread Otared Kavian
or enumeration. Has anyone run into such a situation? The example below shows what I need to do (but actually I wasn't able to add the section number as a prefix to the number…). Best regards: OK begin \newcounter\Lemmacount \setcounter\Lemmacount1 \def\Lemmanumber% {\global\increment\Lemmacount

Re: [NTG-context] Help watned for numbered descriptions

2009-11-30 Thread Hans Hagen
description or enumeration. Has anyone run into such a situation? is quite trivial but there is an inheritance bug in mkiv so more later - Hans Hagen | PRAGMA ADE

Re: [NTG-context] Help watned for numbered descriptions

2009-11-30 Thread Aditya Mahajan
On Mon, 30 Nov 2009, Otared Kavian wrote: Another issue with this approach would be that then if one wants to have for example a Conjecture or a Guess, one has to define a new description or enumeration. One way around this is the following. \defineenumeration[proclaim][text=,style=slanted

Re: [NTG-context] Help watned for numbered descriptions

2009-11-30 Thread Otared Kavian
description or enumeration. One way around this is the following. \defineenumeration[proclaim][text=,style=slanted,title=yes,titleleft=,titleright=,location=serried,width=fit] and then \startproclaim{Definition} .. \stopproclaim etc. Aditya

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Curiouslearn
No one wants to help on this? I would appreciate any help. Am I missing something too obvious? I tried some other options but they do not help. Thanks. On Wed, Nov 11, 2009 at 5:16 PM, Curiouslearn curiousle...@gmail.comwrote: Hello All, I have defined the following enumeration

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Wolfgang Schuster
' to your enumeration setup. 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

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Curiouslearn
to make sure that, that is the best way). Thanks very much for your help. % Defining Problem enumeration \defineenumeration [Problem] [location=top, text=Problem, between=\blank, before=\blank, after=\blank] % Changing the location of the page numbers so that they appear in the footer

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Wolfgang Schuster
Am 12.11.2009 um 22:56 schrieb Curiouslearn: Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I put a negative number. But is there an option that gives a regular space as between any two words, or do I have to play with the negative distance number

Re: [NTG-context] reducing the space after the enumeration heading

2009-11-12 Thread Curiouslearn
Thanks Wolfgang. 'width=fit,distance=...' option does the trick. On Thu, Nov 12, 2009 at 5:03 PM, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 12.11.2009 um 22:56 schrieb Curiouslearn: Thanks Wolfgang. Here is a working example. The use of distance reduces the space if I

[NTG-context] reducing the space after the enumeration heading

2009-11-11 Thread Curiouslearn
Hello All, I have defined the following enumeration: \defineenumeration [Problem] [location=top, text=Problem, between=\blank, before=\blank, after=\blank] Now for one of the problems, I want the heading Problem 13 to appear not on the top, but on the left. So before this particular problem I

Re: [NTG-context] Define exercise captions

2009-11-04 Thread Vyatcheslav Yatskovsky
Thank you, Aditya, for help! My further questions: Why after={}or after= does not remove the space between enumeration caption and next paragraph? For example: \defineenumeration[exercise][title=yes, text=Вправа, prefix=yes, prefixset=section, titleleft=, titleright=, after=] \exercise

Re: [NTG-context] Define exercise captions

2009-11-04 Thread Aditya Mahajan
On Thu, 5 Nov 2009, Vyatcheslav Yatskovsky wrote: Thank you, Aditya, for help! My further questions: Why after={}or after= does not remove the space between enumeration caption and next paragraph? For example: \defineenumeration[exercise][title=yes, text=Вправа, prefix=yes, prefixset

Re: [NTG-context] Define exercise captions

2009-11-04 Thread Vyatcheslav Yatskovsky
Please, disregard my last question about enumeration setup. Now I know more and created definition that works fine for me: \defineenumeration[exercise][title=yes, text=Вправа, prefix=yes, prefixset=section, titleleft=, titleright=, after=, inbetween={\blank[medium]}] The trick

Re: [NTG-context] Define exercise captions

2009-11-02 Thread Vyatcheslav Yatskovsky
Hello Aditya, Thanks for help again. However, the result is far from OK. [title=yes, text=Вправа, way=bysection, prefix=yes, width=broad] I use enumeration within subsubsection, namely 1.3.1. If I put prefix=yes, the first exercise is 1.3.1.1. That is, it is numbered within subsubsection

Re: [NTG-context] Define exercise captions

2009-11-02 Thread Longmin Wang
On Mon, Nov 02, 2009 at 01:31:02PM +0200, Vyatcheslav Yatskovsky wrote: Hello Aditya, Thanks for help again. However, the result is far from OK. [title=yes, text=Вправа, way=bysection, prefix=yes, width=broad] I use enumeration within subsubsection, namely 1.3.1. If I put prefix=yes, the first

Re: [NTG-context] Problem or bug with enumerations in latest ConTeXt beta

2009-10-26 Thread Kevin D. Robbins
three problems I currently have using an enumeration for code listings. The first problem is that \placelist[enumeration:listing] errors out with: has to do with the fact that the list is not initialized (i'll add a test for that) and therefore variables are not resolved using the parent chain

Re: [NTG-context] Enumeration bug

2009-10-12 Thread luigi scarso
On Sun, Oct 11, 2009 at 4:10 PM, Willi Egger w.eg...@boede.nl wrote: Hi all, There might be a bug in the enumeration environment. First the enumeration definition contains the option location=top. When an enumeration item is started while there is already a figure placed left

[NTG-context] Enumeration bug

2009-10-11 Thread Willi Egger
Hi all, There might be a bug in the enumeration environment. First the enumeration definition contains the option location=top. When an enumeration item is started while there is already a figure placed left, then the enumeration tag shows up as expected, however the text

[NTG-context] mathalign with \{ ?

2009-09-02 Thread Xan
put braces and do that enumeration formula is at middle possition (not in first or last line, just in the middle). I use Aditya manual but I did not see it. Xan. ___ If your question is of interest to others as well

Re: [NTG-context] mathalign with \{ ?

2009-09-02 Thread Aditya Mahajan
have MKII. How can I put braces and do that enumeration formula is at middle possition (not in first or last line, just in the middle). I use Aditya manual but I did not see it. Can you visually show what you want to achieve? Aditya

Re: [NTG-context] Initialisation problem enumeration and way=bysection

2009-08-19 Thread Hans Hagen
B. Vogel wrote: Hi all, I have an enumeration: example that will reset by section. Using my own header: Mysection the enumeration is not reset by section. The second instance shows the failure. However, after a \section it suddenly works. And there is a problem with the sectioncounter

Re: [NTG-context] Initialisation problem enumeration a nd way=bysection

2009-08-19 Thread B. Vogel
On Wednesday 19 August 2009, Hans Hagen wrote: B. Vogel wrote: Hi all, I have an enumeration: example that will reset by section. Using my own header: Mysection the enumeration is not reset by section. The second instance shows the failure. However, after a \section it suddenly

[NTG-context] Initialisation problem enumeration and way=bysection

2009-08-18 Thread B. Vogel
Hi all, I have an enumeration: example that will reset by section. Using my own header: Mysection the enumeration is not reset by section. The second instance shows the failure. However, after a \section it suddenly works. And there is a problem with the sectioncounter as well

Re: [NTG-context] How to move an inframed block?

2009-08-15 Thread rrvhassel
] \definecolor[agvbrown][r=.8,g=.4078,b=.2392] % define other things \setuplabeltext[en][chapter=Chapter\,] \setuplabeltext[en][section=Section\,] % Enumeration \defineenumeration[definition][text=Definition] \setupenumerations[definition][location=serried,width=broad,headstyle=italic, inbetween

Re: [NTG-context] Change whitespace before item?

2009-08-12 Thread Uriel Avalos
at 9:11 PM, U Avalos amscopub- m...@yahoo.com wrote: Say I want to change the whitespace before an item in an enumeration. The diagram below: |.(a) Item 2 |.(b) item 2 Say I want to change the whitespace (represented by the dots) in a list? How can I do that? Tried

Re: [NTG-context] Change whitespace before item?

2009-08-12 Thread Uriel Avalos
in an enumeration. The diagram below: |.(a) Item 2 |.(b) item 2 Say I want to change the whitespace (represented by the dots) in a list? How can I do that? Tried various settings: changing margin, adding hskip, but nothing seems to do the trick. There doesn't seem to be anything

[NTG-context] Change whitespace before item?

2009-08-11 Thread U Avalos
Say I want to change the whitespace before an item in an enumeration. The diagram below: |.(a) Item 2 |.(b) item 2 Say I want to change the whitespace (represented by the dots) in a list? How can I do that? Tried various settings: changing margin, adding hskip, but nothing seems

Re: [NTG-context] Change whitespace before item?

2009-08-11 Thread Wolfgang Schuster
Am 11.08.2009 um 17:41 schrieb U Avalos: Say I want to change the whitespace before an item in an enumeration. The diagram below: |.(a) Item 2 |.(b) item 2 Say I want to change the whitespace (represented by the dots) in a list? How can I do that? Tried various settings

Re: [NTG-context] Change whitespace before item?

2009-08-11 Thread Derek CORDEIRO
On Tue, Aug 11, 2009 at 9:11 PM, U Avalos amscopub-m...@yahoo.com wrote: Say I want to change the whitespace before an item in an enumeration. The diagram below: |.(a) Item 2 |.(b) item 2 Say I want to change the whitespace (represented by the dots) in a list? How can I do

Re: [NTG-context] Change whitespace before item?

2009-08-11 Thread U Avalos
projects... I'm really trying to make this work for me though :) On Tuesday 11 August 2009 12:42:35 Wolfgang Schuster wrote: Am 11.08.2009 um 17:41 schrieb U Avalos: Say I want to change the whitespace before an item in an enumeration. The diagram below: |.(a) Item 2 |.(b) item 2

Re: [NTG-context] Change whitespace before item?

2009-08-11 Thread U Avalos
the whitespace before an item in an enumeration. The diagram below: |.(a) Item 2 |.(b) item 2 Say I want to change the whitespace (represented by the dots) in a list? How can I do that? Tried various settings: changing margin, adding hskip, but nothing seems to do the trick

[NTG-context] enumerations and definehead

2009-08-08 Thread B. Vogel
Hi all, How do I reset an enumeration with my own header? See the example below. The build-in section works and my own header fails. Tia, Bernard % MKIV beta % MTXrun | current version: 2009.08.07 11:22 % linux-32 \definehead[Mysection][section] \setuphead[Mysection] [after=\nowhitespace

[NTG-context] Indent after formula in enumeration

2009-05-30 Thread Xan
Hi, I have \setupformulae[indentnext=auto] but when I put a \startformula \stopformula in demo environment it does not indent. Why? What can I do for getting that? My environment is: \defineenumeration[demo][text={Demostració.\space}, number=no,location=serried,width=fit,headstyle=italic,

Re: [NTG-context] Indent after formula in enumeration

2009-05-30 Thread Aditya Mahajan
On Sat, 30 May 2009, Xan wrote: Hi, I have \setupformulae[indentnext=auto] but when I put a \startformula \stopformula in demo environment it does not indent. Why? What can I do for getting that? My environment is: \defineenumeration[demo][text={Demostració.\space},

Re: [NTG-context] Indent after formula in enumeration

2009-05-30 Thread Xan
Thanks Aditya, but it does not work what it should? With: \defineenumeration[demo][text={Demostració.\space},number=no, location=serried,width=fit,headstyle=italic,indentnext=yes, between=\blank,textdistance=.5em,closesymbol={\mathematics{\Box}}, style=normal,indenting=yes] and \starttext

Re: [NTG-context] Indent after formula in enumeration

2009-05-30 Thread Xan
En/na Xan ha escrit: Thanks Aditya, but it does not work what it should? With: \defineenumeration[demo][text={Demostració.\space},number=no, location=serried,width=fit,headstyle=italic,indentnext=yes, between=\blank,textdistance=.5em,closesymbol={\mathematics{\Box}}, style=normal,indenting=yes]

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
En/na Xan ha escrit: Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,titleleft

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Aditya Mahajan
On Thu, 5 Mar 2009, Xan wrote: En/na Xan ha escrit: Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space

Re: [NTG-context] boldstyle for numbers in defineenumeration

2009-03-05 Thread Xan
En/na Aditya Mahajan ha escrit: On Thu, 5 Mar 2009, Xan wrote: En/na Xan ha escrit: Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em

[NTG-context] boldstyle for numbers in defineenumeration

2009-03-04 Thread Xan
Hi, Is it possible to put numerstyle=boldstyle in this enumeration?: \defineenumeration [exercici] [text={\startcolor[middlecyan]Exercici\stopcolor},headstyle=bold,between=\blank,titledistance=0em,textdistance=1em, stopper={.\space},location=serried,titleleft=(,titleright=),width=fit

[NTG-context] defineenumeration

2009-02-22 Thread batela
Dear Sirs, I need to define a enumeration with the text label = Remark. For that I define \defineenumeration[Remark][text=Remark]. The label for the subRemark should be subRemark. Is there a easy way to do that? The subRemark is a son of Remark and the numeration expected is: Remark 1

Re: [NTG-context] defineenumeration

2009-02-22 Thread Longmin Wang
\setupenumerations[subRemark][text=subRemark] On Sun, Feb 22, 2009 at 11:42:41AM +, batela wrote: Dear Sirs, I need to define a enumeration with the text label = Remark. For that I define \defineenumeration[Remark][text=Remark]. The label for the subRemark should be subRemark

Re: [NTG-context] indenting

2009-02-19 Thread Carlos Breton Besnier
Hi Xan. You may try: margin=yes, location=serried, Regards. 2009/2/18, Xan dxpubl...@telefonica.net: I have the following enumeration: \defineenumeration [definition] [text=Definició,headstyle=bold,style=italic, between=\blank,titledistance=.5em, textdistance=1em,stopper=.,location

[NTG-context] indenting

2009-02-18 Thread Xan
I have the following enumeration: \defineenumeration [definition] [text=Definició,headstyle=bold,style=italic, between=\blank,titledistance=.5em, textdistance=1em,stopper=.,location=hanging,titleleft=(,titleright=)] and when I use it (\startdefinition ... \stopdefinition) it appears

[NTG-context] FunnyFrame in an enumeration.

2008-12-23 Thread Fabrice
of an enumeration. I am able to obtain the main frame by a proper definition of the \definenumeration, but not the title ! For clarity, a sample test file is provided below. I have tried to look in the mailing list for some examples that can help me, but no luck ! Do you think this is something

Re: [NTG-context] chapter-like headings with separate numbering

2008-12-06 Thread Aditya Mahajan
. However, the second interlude is numbered with 'A' instead of 'B'. Is there a missing key=value pair, or is the approach completely wrong? An enumeration passes the duck test [1] for headings, so ... [1] http://en.wikipedia.org/wiki/Duck_test \defineenumeration [interlude] [before

Re: [NTG-context] chapter-like headings with separate numbering

2008-12-06 Thread Aditya Mahajan
] \stopsetups % And switch back on chapter pages \setuphead[chapter][before={\page[right]\def\CURRENTDIVISION{chapter}}] % Now define the enumeration \defineenumeration[interlude] [before=\setups{interlude}, conversion=Characters,way=bytext,list=interludeA

Re: [NTG-context] Changing margins mid-page?

2008-10-21 Thread Wolfgang Schuster
margin and break the text across pages. Hello, I, too, am trying to create a similar CV layout. As I have already reported in other emails to the list, I have been having trouble when the first thing after the title is an enumeration. More specifically, the first item of the enumeration

Re: [NTG-context] Changing margins mid-page?

2008-10-16 Thread Roars
Alexandros Frantzis wrote: Hello, I, too, am trying to create a similar CV layout. As I have already reported in other emails to the list, I have been having trouble when the first thing after the title is an enumeration. More specifically, the first item of the enumeration is not aligned

Re: [NTG-context] Changing margins mid-page?

2008-10-16 Thread Wolfgang Schuster
On Tue, Oct 14, 2008 at 10:28 PM, Alexandros Frantzis [EMAIL PROTECTED] wrote: I, too, am trying to create a similar CV layout. As I have already reported in other emails to the list, I have been having trouble when the first thing after the title is an enumeration. More specifically

Re: [NTG-context] Enumeration after section heading in margin

2008-10-14 Thread Alexandros Frantzis
{\inmargin{#1 #2}} When the text that follows the heading is a simple paragraph everything works as expected: Subject Text Text... Text Text... However when the first thing after the heading is an enumeration (or a table, for that matter) the enumeration is not aligned with the heading

Re: [NTG-context] Changing margins mid-page?

2008-10-14 Thread Alexandros Frantzis
a similar CV layout. As I have already reported in other emails to the list, I have been having trouble when the first thing after the title is an enumeration. More specifically, the first item of the enumeration is not aligned with the title in the margin (it is always placed a bit below

Re: [NTG-context] Enumeration after section heading in margin

2008-10-13 Thread Alexandros Frantzis
paragraph everything works as expected: Subject Text Text... Text Text... However when the first thing after the heading is an enumeration (or a table, for that matter) the enumeration is not aligned with the heading (it's lower than the heading): Subject * Item1

[NTG-context] Enumeration after section heading in margin

2008-10-10 Thread Alexandros Frantzis
everything works as expected: Subject Text Text... Text Text... However when the first thing after the heading is an enumeration (or a table, for that matter) the enumeration is not aligned with the heading (it's lower than the heading): Subject * Item1 * Item2 I have

[NTG-context] Equation numbers inside Theorem statements

2008-07-30 Thread Ernesto Schirmacher
Dear ConTeXt experts, I have another question regarding Theorems and equation numbers. I defined an enumeration that produces theorem statements in slanted style. Whenever I have an equation inside the theorem statement the equation number is also typeset in slanted style. But I would

Re: [NTG-context] Equation numbers inside Theorem statements

2008-07-30 Thread Wolfgang Schuster
On Wed, Jul 30, 2008 at 3:48 PM, Ernesto Schirmacher [EMAIL PROTECTED] wrote: Dear ConTeXt experts, I have another question regarding Theorems and equation numbers. I defined an enumeration that produces theorem statements in slanted style. Whenever I have an equation inside the theorem

Re: [NTG-context] Equation numbers inside Theorem statements

2008-07-30 Thread Aditya Mahajan
Quoting Wolfgang Schuster [EMAIL PROTECTED]: On Wed, Jul 30, 2008 at 3:48 PM, Ernesto Schirmacher [EMAIL PROTECTED] wrote: Dear ConTeXt experts, I have another question regarding Theorems and equation numbers. I defined an enumeration that produces theorem statements in slanted style

[NTG-context] Strange error in using backgrounds with enumerations

2008-07-13 Thread Aditya Mahajan
Hi, I am getting the following error while using backgrounds with enumeration. (Context ver: 2008.07.10 09:58 MKIV, LuaTeX, Version snapshot-0.28.0-2008070423) The error depends on the frame occuring at a particular location on the page, so the example is not so minimal. The error

Re: [NTG-context] Strange error in using backgrounds with enumerations

2008-07-13 Thread Hans Hagen
Aditya Mahajan wrote: Hi, I am getting the following error while using backgrounds with enumeration. (Context ver: 2008.07.10 09:58 MKIV, LuaTeX, Version snapshot-0.28.0-2008070423) The error depends on the frame occuring at a particular location on the page, so the example is not so

Re: [NTG-context] Strange error in using backgrounds with enumerations

2008-07-13 Thread Aditya Mahajan
On Sun, 13 Jul 2008, Hans Hagen wrote: Aditya Mahajan wrote: Hi, I am getting the following error while using backgrounds with enumeration. (Context ver: 2008.07.10 09:58 MKIV, LuaTeX, Version snapshot-0.28.0-2008070423) The error depends on the frame occuring at a particular location

Re: [NTG-context] context manuals sources

2008-06-29 Thread Taco Hoekwater
Alan Stone wrote: Hi, I'm trying to figure out the meaning and use of the c! and v! prefixes in commands in, for example, the layo-xx.tex source files at http://context.aanhet.net/svn/manuals/context/ aka... c is a constant (LHS), v is a variable (RHS enumeration). Best wishes, Taco

Re: [NTG-context] context manuals sources

2008-06-29 Thread Alan Stone
Euuuh, other than constant and variable... LHS, RHS and enumeration are like klingon to me. :O) Are these terms important to understand the code ? Alan On Sun, Jun 29, 2008 at 12:52 PM, Taco Hoekwater [EMAIL PROTECTED] wrote: Alan Stone wrote: Hi, I'm trying to figure out the meaning

Re: [NTG-context] context manuals sources

2008-06-29 Thread Charles P. Schaum
Best wishes, and welcome to the world of artificial languages. Charles On Sun, 2008-06-29 at 13:09 +0200, Alan Stone wrote: Euuuh, other than constant and variable... LHS, RHS and enumeration are like klingon to me. :O) Are these terms important to understand the code ? Alan On Sun

Re: [NTG-context] context manuals sources

2008-06-29 Thread Aditya Mahajan
On Sun, 29 Jun 2008, Alan Stone wrote: Euuuh, other than constant and variable... See http://wiki.contextgarden.net/System_Macros/Scratch_Variables LHS, RHS and enumeration are like klingon to me. :O) Are these terms important to understand the code ? While reading code you can simply

Re: [NTG-context] \indenting[next] and math = no vertical space before the formula

2008-04-30 Thread Mikael Persson
a formula inside an enumeration one gets double space before the formula. This is a test file that shows the problem: This is basically because in enumerations indenting is set to never. You can see the same affect with \setupindenting[no] \testtext One possible fix is to add

Re: [NTG-context] \indenting[next] and math = no vertical space before the formula

2008-04-30 Thread Mikael Persson
in an earlier mail in this thread (and also in an earlier post: http://archive.contextgarden.net/message/20070830.154143.005528b8.en.html ) And new minimals seem not to include the fourier fonts. If I set indenting=next (or first) in the enumeration, the file compiles... Sorry for complaining

Re: [NTG-context] \indenting[next] and math = no vertical space before the formula

2008-04-30 Thread Wolfgang Schuster
the fourier fonts. If I set indenting=next (or first) in the enumeration, the file compiles... Sorry for complaining about old versions of ConTeXt. I am finishing my PhD thesis, and have not found any nice combinations of text and math fonts in the new minimals. (I am not too fond of the lm

Re: [NTG-context] \indenting[next] and math = no vertical space before the formula

2008-04-30 Thread Aditya Mahajan
applied, If one now put a formula inside an enumeration one gets double space before the formula. This is a test file that shows the problem: This is basically because in enumerations indenting is set to never. You can see the same affect with \setupindenting[no] \testtext One

Re: [NTG-context] \indenting[next] and math = no vertical space before the formula

2008-04-30 Thread Mikael Persson
\snapmathtogrid\vbox * snip * Wolfgang This fix seems not to solve the problem entirely. With this fix applied, If one now put a formula inside an enumeration one gets double space before the formula. This is a test file that shows the problem: This is basically because

Re: [NTG-context] \indenting[next] and math = no vertical space before the formula

2008-04-28 Thread Mikael Persson
\snapmathtogrid\vbox * snip * Wolfgang This fix seems not to solve the problem entirely. With this fix applied, If one now put a formula inside an enumeration one gets double space before the formula. This is a test file that shows the problem: %%% Test file \setupindenting[yes,small

Re: [NTG-context] Software manual template request

2008-04-01 Thread Taco Hoekwater
is generated * 'ftype'must be one specific value from an enumeration list, default tex * mustexist must be a boolean, default false * dpimust be a number, and only applies if 'ftype' is 'pk', 'gf', or 'bitmap font'. It is the bitmap size. * f can either

Re: [NTG-context] Different os, different output (and other)

2008-04-01 Thread Diego Depaoli
2008/4/1, Aditya Mahajan [EMAIL PROTECTED]: Are Opensuse and freebsd using an older version of ConTeXt? (ctxtools --contextversion should tell the context version). There was a bug in enumeration and conversions which was fixed around the middle of last year. You're right. Ubuntu's version

Re: [NTG-context] Different os, different output (and other)

2008-03-31 Thread Aditya Mahajan
in enumeration and conversions which was fixed around the middle of last year. Another little question If in defineenumeration[anenumeration] I specify text={\bfc Title} and \startanenumeration{\bfc The History}\stopanenumeration Title and The History are not properly aligned (The History

[NTG-context] problem with startitemize and columns option

2008-03-03 Thread mikael MAUNIER
hi, I am trying to migrate from latex to context and i would like to create an enumeration using this minimal example : \startitemize[m,joinedup] \item\startitemize[a,columns,three] \item test 1 \item test 2 \item test 3

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-01-31 Thread morgan . brassel
an 'enumeration' block, is there an option to do that? Thank you for your patience! I still think that it would be great to have one option to indent absolutely all paragraphs... Best regards, Morgan Best wishes, Taco

Re: [NTG-context] Indenting (again!): a real problem in indentnext=yes

2008-01-31 Thread morgan . brassel
Selon Taco Hoekwater [EMAIL PROTECTED]: [EMAIL PROTECTED] wrote: Ok, it's clearer to me now. Then I've got one last question on the subject: I didn't manage to have paragraph indented inside an 'enumeration' block, is there an option to do that? Thank you for your patience

Re: [NTG-context] ConTeXt-ifying Kile

2008-01-02 Thread Matija Šuklje
# \doifXMLop # \doifXMLparelse # \doloop # \donothing # \dontleavehmode \donttest # \dorecurse # \dostepwiserecurse # \dowithnextbox # \dowithnextboxcontent # \empty \emptylines[number] # \emptytoks # \enablemode # \endstrut \enumeration # \environment # \EQ # \eTABLE # \eTABLEbody # \eTABLEfoot

Re: [NTG-context] itemize start=2

2007-08-29 Thread Wolfgang Schuster
\setupitemize[] and \setupitemgroup[[itemize][] Wolfgang Hi Wolfgang, \setupitemize is only macro for \setupitemgroup[itemize] and is generated with \defineitemgroup like many other setup commands. To start your enumeration with 2 you have to define your own number conversion. \def

Re: [NTG-context] itemize start=2

2007-08-29 Thread Wolfgang Werners-Lucchini
[[itemize][] Wolfgang Hi Wolfgang, \setupitemize is only macro for \setupitemgroup[itemize] and is generated with \defineitemgroup like many other setup commands. To start your enumeration with 2 you have to define your own number conversion. \def\nextnumber#1{\the\numexpr#1+1\relax

Re: [NTG-context] Law/Jurisdiction typesetting

2007-07-06 Thread Steffen Wolfrum
Intensive googling brought me these solutions for paragraph enumeration: 1) % Enumerate paragraphs \newcounter\ParNum \def\GuyPar{\doglobal\increment\ParNum\inleft{\ParNum}} \setupbodyfont[ber,10pt] \setupwhitespace[big] \starttext \section[sec-language]{How this Book Teaches You The Language

[NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
There are three decimal places, so $0.648=\frac{648}{1000}=\frac{81}{125}$. \stopanswer \endlonganswer \beginshortanswer \startanswer $\displaystyle \frac{81}{125}$ \stopanswer \endshortanswer Shortanswer and longanswer are blocks. Startanswer is an enumeration. I've tried this in other files and gotten

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
Here is another example, this time not within a block, but within an enumeration again: The source: \startproperty Let $a$ and $b$ be any numbers such that $a=b$. Then, if $c$ is any number other than zero, \placeformula[-] \startformula ac=bc.\index{equations+multiplication

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread Aditya Mahajan
On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1}{#2}}} and it should work fine

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread Aditya Mahajan
On Wed, 4 Jul 2007, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
:57 PM, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread Aditya Mahajan
On Wed, 4 Jul 2007, David Arnold wrote: On Jul 4, 2007, at 2:57 PM, Aditya Mahajan wrote: On Wed, 4 Jul 2007, David Arnold wrote: Here is another example, this time not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add

Re: [NTG-context] We have a problem --- Old file no longer compiles

2007-07-04 Thread David Arnold
not within a block, but within an enumeration again: The newmat module seems to be the culprit. After loading newmat add \unexpanded\def\frac#1#2{\mathematics{\genfrac{}{}{}\donothing{#1} {#2}}} and it should work fine. I do not really understand why this is failing. Aditya, Thanks

Re: [NTG-context] in text enumeration?

2007-05-10 Thread Aditya Mahajan
On Tue, 8 May 2007, Michael wrote: On 7 May 2007, Aditya Mahajan wrote: On Mon, 7 May 2007, Michael wrote: Hi, I'd like to define a 'enumeration' so I can type \doc, \doc, which expands to 'Document A', 'Document B' (so I don't have to keep track of the A/B/C. A defineenumeration does

<    1   2   3   4   5   6   >