Re: [NTG-context] More on XML and citations

2006-04-05 Thread Johannes Graumann
Taco Hoekwater wrote: >> Taco, how would I >> define a new 'cite' alternative along the lines >> of 'authoryear'/'authoryears' that would result in 'Author et. al., >> 2004'? > > Easiest is by using a special macro breaking it up in two bits, like so: > >\def\mycite#1{\cite[author][#1], \cit

Re: [NTG-context] Problem with encoding, XML and writetolist...

2006-04-05 Thread Martin Kolařík
Hi Hans and Vit, I've attached pdf and tex made with "texexec 8bit.tex" using the last beta (with cp1250 regime). The version chapterB is what I am using now, chapterA version is straightforward but not functional. >From this my ideas from last mail came -- when I am expanding \XMLflush >exact

[NTG-context] version dates confuse me after upgrade

2006-04-05 Thread Sanjoy Mahajan
I just upgraded following the instructions on the wiki, and wanted to check that it went well and that the newer ones were being found -- always a nightmare subject in *TeX* with paths configurable by a combination of environment variables, config files, and config files chosen by other env variabl

Re: [NTG-context] Myway on using mathalign

2006-04-05 Thread Aditya Mahajan
On Thu, 6 Apr 2006, WN wrote: > [EMAIL PROTECTED] wrote: >> On Wed, 5 Apr 2006, WN wrote: >>> One thing I want to do with a set of subformula's is >>> to reference the main formula but still subnumbering the equations >>> like >> >> Try this. Warning: I do not know everything that is happening he

Re: [NTG-context] placefigure: mysterious whitespace with 'rightmargi n'figures

2006-04-05 Thread David Arnold
Sanjoy, Hans had me do the following and it worked. \placefigure [inright,reset][fig:graphmap] {A mapping diagram for $f$.} {\externalfigure[graph1][width=\marginwidth]} On Apr 5, 2006, at 9:49 PM, Sanjoy Mahajan wrote: > I tested the following on the context live. Both figures are in the > m

[NTG-context] placefigure: mysterious whitespace with 'rightmargin' figures

2006-04-05 Thread Sanjoy Mahajan
I tested the following on the context live. Both figures are in the margin, but the first and second paragraphs have a large gap between them with figure 1 in the margin, beside the gap. My first theory was that the margin figure requires the whitespace (unlikely, I know). But that theory didn't

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Sanjoy Mahajan
Hans Hagen <[EMAIL PROTECTED]> wrote: > Sanjoy Mahajan wrote: > >context : ver: 2005.01.31 > >cont-en : ver: 2005.01.31 fmt: 2006.3.28 mes: english > > > > Maybe this context installation is too old for nocheck. On the other > > hand, it should complain then? > >

Re: [NTG-context] Extending the black circled numbers

2006-04-05 Thread nico
On Wed, 05 Apr 2006 22:52:33 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >> It seems to be related to some font loading stuff, since when I don't >> put >> \ss I haven't this. So, if I put the following in the test I have no >> more >> the problem. >> > strange, here it shows tw

Re: [NTG-context] Myway on using mathalign

2006-04-05 Thread WN
[EMAIL PROTECTED] wrote: On Wed, 5 Apr 2006, WN wrote: One thing I want to do with a set of subformula's is to reference the main formula but still subnumbering the equations like Try this. Warning: I do not know everything that is happening here. There may be some unexpected side effects.

Re: [NTG-context] [Fwd: Re: Miktex, Metapost and \loadfontfilesoncetrue]

2006-04-05 Thread WN
[EMAIL PROTECTED] wrote: Hi Wim, Let me know if you need perl help, ok? Taco Hi Taco, I am doing regular expression (regex) and I am trying to process my Latex files (a lot) to automate the translation to Context primitives. I am partially successfully but it is a complex job, so some of

Re: [NTG-context] Extending the black circled numbers

2006-04-05 Thread nico
On Wed, 05 Apr 2006 22:52:33 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > nico wrote: >> It seems to be related to some font loading stuff, since when I don't >> put >> \ss I haven't this. So, if I put the following in the test I have no >> more >> the problem. >> > strange, here it shows tw

Re: [NTG-context] Extending the black circled numbers

2006-04-05 Thread Hans Hagen
nico wrote: > It seems to be related to some font loading stuff, since when I don't put > \ss I haven't this. So, if I put the following in the test I have no more > the problem. > strange, here it shows twice the same size \starttext {\tracingall\setbox0\hbox{\ss 99}\the\wd0} \stoptext

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Hans Hagen
Sanjoy Mahajan wrote: >context : ver: 2005.01.31 >cont-en : ver: 2005.01.31 fmt: 2006.3.28 mes: english > > Maybe this context installation is too old for nocheck. On the other > hand, it should complain then? > i remember a bug (actually the mechanism is rathe

Re: [NTG-context] Extending the black circled numbers

2006-04-05 Thread Hans Hagen
nico wrote: > On Wed, 05 Apr 2006 21:59:36 +0200, nico <[EMAIL PROTECTED]> > wrote: > > >> On Wed, 05 Apr 2006 09:42:51 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: >> >> >> But there's something strange: the first circle is greater than the >> others >> (but the numbers have

Re: [NTG-context] Extending the black circled numbers

2006-04-05 Thread nico
On Wed, 05 Apr 2006 21:59:36 +0200, nico <[EMAIL PROTECTED]> wrote: > On Wed, 05 Apr 2006 09:42:51 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > > But there's something strange: the first circle is greater than the > others > (but the numbers have all the same size). Tracing a bit I

Re: [NTG-context] Extending the black circled numbers

2006-04-05 Thread nico
On Wed, 05 Apr 2006 09:42:51 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: But there's something strange: the first circle is greater than the others (but the numbers have all the same size). Tracing a bit I see that the first circle has a width=16.5333pt, the others 13.19997pt.

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Sanjoy Mahajan
From:Hans Hagen <[EMAIL PROTECTED]> > \useMPlibrary[dum] > \setupfloats[numbering=nocheck] > \starttext > \input tufte \placefigure[rightmargin]{first} {\externalfigure[dummy]} \par > \input knuth \placefigure[top]{second}{\externalfigure[dummy]} \par > \stoptext > > does commenting th

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Hans Hagen
Sanjoy Mahajan wrote: > Meanwhile I've been experimenting in baby steps, and numbering=yes does > what I want, as does specifying nothing about numbering. But > numbering=nocheck doesn't stop it, so I'm confused by what the nocheck > option does (doesn't cause me problems since the default is what

Re: [NTG-context] French punctuation: improvement needed

2006-04-05 Thread Hans Hagen
Renaud AUBIN wrote: > Hans Hagen a écrit : >> but why do you need defs at all >> >> Hans >> > Because if I don't use this def, I don't obtain correct spacing (i.e. > no space between the word and { ;, :, !, ? } ) ! > > Considering this sample: > > \setupoutput[pdftex] > > \enableregime[il9] >

Re: [NTG-context] Cite module: APA citation proposals

2006-04-05 Thread Taco Hoekwater
Mojca Miklavec wrote: > > PS: I noticed that some updates are being made about the modules, but > the following sites I am slowly fixing all those links. The contextgarden is the leading source of the module as well as the manual. > http://modules.contextgarden.net/bib (wrong link to the documen

Re: [NTG-context] French punctuation: improvement needed

2006-04-05 Thread Renaud AUBIN
I remember that french punctuation worked well in the past, then it doesn't work anymore... At this time, I thought that my problem are due to my document and correct the problem with the first def, then forget and think about other problems... See [NTG-context] French punctuation spacing not

Re: [NTG-context] French punctuation: improvement needed

2006-04-05 Thread Renaud AUBIN
Hans Hagen a écrit : but why do you need defs at all Hans Because if I don't use this def, I don't obtain correct spacing (i.e. no space between the word and { ;, :, !, ? } ) ! Considering this sample: \setupoutput[pdftex] \enableregime[il9] \useencoding[ffr] \mainlanguage[fr] \sta

Re: [NTG-context] Cite module: APA citation proposals

2006-04-05 Thread Mojca Miklavec
On 4/4/06, Johannes Graumann wrote: > Hello, > > I'm a biochemist and > the majority of my cited sources derives from www.pubmed.org, which I > import into BibTeX via pybliographic. I have some slight problems with the > formating as provided by the database and was wondering whether it's > possibl

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Hans Hagen
Sanjoy Mahajan wrote: > Taco's msg about no meaning yes made me wonder: what's the special case > or problem you were thinking of? > probably that the automatic renumbering sometimes interferes with non trivial sequential flushing > Perhaps Holland in the winter can offer the dark, rainy day (j

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Sanjoy Mahajan
Hans Hagen <[EMAIL PROTECTED]> wrote: > Sanjoy Mahajan wrote: > > Here \figuremacro figures out (sorry) that narrow figures go in the > > margin and wide figures go at the top of the page. But the page will > > look funny: The narrow figure will be numbered, say, Figure 10, and > > the wide figure

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Sanjoy Mahajan
Taco Hoekwater <[EMAIL PROTECTED]> wrote: > Hans Hagen wrote: > >>So 'numbering=yes' will number according to position on the page? > >> > > no > > To avoid confusion: > > When 'page' refers to the typeset result, then Hans' answer actually > means 'yes'. Or it should, at least. I remember files

Re: [NTG-context] French punctuation: improvement needed

2006-04-05 Thread Hans Hagen
Renaud AUBIN wrote: > Yes, in my product I use: > > \enableregime[il9] > \useencoding[ffr] > \mainlanguage[fr] > > just before \startproduct > > Taco's def works fine... but why do you need defs at all Hans -

Re: [NTG-context] French punctuation: improvement needed

2006-04-05 Thread Renaud AUBIN
Yes, in my product I use: \enableregime[il9] \useencoding[ffr] \mainlanguage[fr] just before \startproduct Taco's def works fine... Renaud do you use \useencoding[ffr]? Hans - Ha

Re: [NTG-context] Problem with encoding, XML and writetolist...

2006-04-05 Thread Hans Hagen
Vit Zyka wrote: > > So there is no need to have only 7-bit chars in tui/tuo etc.? All right, > I think this will be better also for sorting. Sounds promissing. > if the regime is the same for a whole document ... indeed Hans -

Re: [NTG-context] Problem with encoding, XML and writetolist...

2006-04-05 Thread Vit Zyka
Hans Hagen wrote: > Vit Zyka wrote: > >>Martin Kolařík wrote: >> >> >>>Hi Hans, >>> >>>I've analyzed the situation using different combinations of regimes and >>>encodings, including switching off handling (\donothandleactivecharacter) >>>and it seems to me, that every text with chars > 127, w

Re: [NTG-context] French punctuation: improvement needed

2006-04-05 Thread Hans Hagen
Renaud AUBIN wrote: > > Hi all, > > For my french document, I use: > > \def\activateSomeCharacters{% > \defineactivecharacter ! {\,\string!}% > \defineactivecharacter ? {\,\string?}% > \defineactivecharacter : {\,\string:}% > \defineactivecharacter ; {\,\string;}} > \activateSomeCharacters

Re: [NTG-context] French punctuation: improvement needed

2006-04-05 Thread Taco Hoekwater
Renaud AUBIN wrote: > > Is this possible to get this def smarter ? \defineactivecharacter : {\removelastspace \,\string:} Cheers, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] French punctuation: improvement needed

2006-04-05 Thread Renaud AUBIN
Hi all, For my french document, I use: \def\activateSomeCharacters{%   \defineactivecharacter ! {\,\string!}%   \defineactivecharacter ? {\,\string?}%   \defineactivecharacter : {\,\string:}%   \defineactivecharacter ; {\,\string;}} \activateSomeCharacters \appendtoks\activateSomeCharacters\

Re: [NTG-context] Problem with encoding, XML and writetolist...

2006-04-05 Thread Hans Hagen
Vit Zyka wrote: > Martin Kolařík wrote: > >> Hi Hans, >> >> I've analyzed the situation using different combinations of regimes and >> encodings, including switching off handling (\donothandleactivecharacter) >> and it seems to me, that every text with chars > 127, which is fully >> expanded

Re: [NTG-context] Problem with encoding, XML and writetolist...

2006-04-05 Thread Vit Zyka
Martin Kolařík wrote: > Hi Hans, > > I've analyzed the situation using different combinations of regimes and > encodings, including switching off handling (\donothandleactivecharacter) and > it seems to me, that every text with chars > 127, which is fully expanded (as > in 8bit.tex), must cause

Re: [NTG-context] Cite module: APA citation proposals

2006-04-05 Thread Taco Hoekwater
Hi Johannes, Johannes Graumann wrote: > 1) Titles from PubMed always end with a '.'. Since the cite module (at least > the version with Tetex in Debian unstable) does not check for the presence > of a '.', but just appends one, I end up with 2 '.'s after the title when > using a unmanipulated *.

Re: [NTG-context] Problems with Standalone distribution

2006-04-05 Thread Hans Hagen
[EMAIL PROTECTED] wrote: > As I said, I work with the standalone distri? > the minimal or the complete windows version (including scite etc) > And I thought, the binaries are from fptex, right? > sure > And if both texexec.ini's are removed: > > texexec complains: > > warning: texexec.ini

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Taco Hoekwater
Hans Hagen wrote: > Thomas Engel wrote: > >>Hello Hans, >> >> >>this is the message I got after running texexec pro_mcc_a3.tex. >>As you can see I have increased the memory size for mp. >>I have attached the two tex-files. >>Maybe there is a mistake in the mp-code. A pdf-file will be produced, >

Re: [NTG-context] Problem with encoding, XML and writetolist...

2006-04-05 Thread Hans Hagen
Martin Kolařík wrote: > Hi Hans, > > I've analyzed the situation using different combinations of regimes and > encodings, including switching off handling (\donothandleactivecharacter) and > it seems to me, that every text with chars > 127, which is fully expanded (as > in 8bit.tex), must cause

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Hans Hagen
Thomas Engel wrote: > Hello Hans, > > > this is the message I got after running texexec pro_mcc_a3.tex. > As you can see I have increased the memory size for mp. > I have attached the two tex-files. > Maybe there is a mistake in the mp-code. A pdf-file will be produced, > but if you check the outpu

Re: [NTG-context] Absolute positioning of grafics in ConTeXt

2006-04-05 Thread Vit Zyka
Johannes Fichtinger wrote: > Hi all, > > I'm quite new to ConTeXt, but I've been working with LaTeX for several years > now. Now I faced a problem which I'm not able to solve in LaTeX which > probably can be solved in ConTeXt: > > I need a possibility to set grafics in a book on exact, absolute

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Taco Hoekwater
Hans Hagen wrote: >>So 'numbering=yes' will number according to position on the page? >> > no To avoid confusion: When 'page' refers to the typeset result, then Hans' answer actually means 'yes'. Or it should, at least. I remember files where I had to run texexec twice though. I am not sure if

Re: [NTG-context] Metafun - Metapost capacity exceeded

2006-04-05 Thread Hans Hagen
Thomas Engel wrote: > Hello Hans, > > > this is the message I got after running texexec pro_mcc_a3.tex. > As you can see I have increased the memory size for mp. > I have attached the two tex-files. > Maybe there is a mistake in the mp-code. A pdf-file will be produced, > but if you check the outpu

Re: [NTG-context] Extending the black circled numbers

2006-04-05 Thread Hans Hagen
nico wrote: > On Tue, 04 Apr 2006 22:50:58 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: > >> nico wrote: >>> On Tue, 04 Apr 2006 14:44:28 +0200, Hans Hagen <[EMAIL PROTECTED]> wrote: >>> >>> nico wrote: > Hello, > > Typically the numbers are rendered white in black > circl

Re: [NTG-context] placefigure feature request ?

2006-04-05 Thread Hans Hagen
Sanjoy Mahajan wrote: > Hans Hagen wrote: > >> maybe >> \setupfloats[numbering=nocheck] >> does what you want >> > > I think I want the opposite. The documentation for \setupfloats at > says > > New option: > numbering yes nocheck (default

Re: [NTG-context] Problem with encoding, XML and writetolist...

2006-04-05 Thread Martin Kolařík
Hi Hans, I've analyzed the situation using different combinations of regimes and encodings, including switching off handling (\donothandleactivecharacter) and it seems to me, that every text with chars > 127, which is fully expanded (as in 8bit.tex), must cause difficulties, because TOC entry r