Re: [NTG-context] Basic TeX question, how to redefine ^^M

2007-04-19 Thread Hans Hagen
Aditya Mahajan wrote: > On Fri, 20 Apr 2007, Zhichu Chen wrote: > > >> Hi everybody, >> = >> \def\^^M{\endgraf\page[yes]} >> = >> nothing happened. >> >> So I'm lost. Can you tell me how to make it? >> > > This seems to work for me: > > \starttext > \

[NTG-context] paragraph numbering & in[..] with paragraph resolution

2007-04-19 Thread Henning Haeske
Hi, as I am still new to context I really have no idea how to realize following: After each paragraph I like to have at the right bottom corner a small number. This number shout increase with every paragraph. The counting should restart after every heading (doesn't care which level). How can I

Re: [NTG-context] Basic TeX question, how to redefine ^^M

2007-04-19 Thread Zhichu Chen
Hi Aditya, Thank you for pointing out my foolish mistake. On 4/20/07, Aditya Mahajan <[EMAIL PROTECTED]> wrote: On Fri, 20 Apr 2007, Zhichu Chen wrote: > Hi everybody, > = > \def\^^M{\endgraf\page[yes]} > = > nothing happened. > > So I'm lost. Can you

Re: [NTG-context] Basic TeX question, how to redefine ^^M

2007-04-19 Thread Aditya Mahajan
On Fri, 20 Apr 2007, Zhichu Chen wrote: > Hi everybody, > = > \def\^^M{\endgraf\page[yes]} > = > nothing happened. > > So I'm lost. Can you tell me how to make it? This seems to work for me: \starttext \catcode`\^^M=\active \def^^M{\page[yes]} This Test

[NTG-context] Basic TeX question, how to redefine ^^M

2007-04-19 Thread Zhichu Chen
Hi everybody, I want to insert some special thing between every paragraph, e.g., I'd like to make each paragraph on seperated pages. Then I use: = \appendtoks\feedcurrentpage\to\everypar \def\feedcurrentpage{\page[yes]} = and ConTeXt gives

Re: [NTG-context] mirrored pages

2007-04-19 Thread Horacio Suarez
Incredible. Thankyou very much. I cant believe I didn´t see that. From: Hans Hagen <[EMAIL PROTECTED]> Reply-To: mailing list for ConTeXt users To: mailing list for ConTeXt users Subject: Re: [NTG-context] mirrored pages Date: Thu, 19 Apr 2007 22:27:27 +0200 Horacio Suarez wrote: > I�ve ma

Re: [NTG-context] mirrored pages

2007-04-19 Thread Hans Hagen
Horacio Suarez wrote: > I�ve made a mistake and replyed to Mari Voipio. Sorry, Mari. > > I need to print in a laser printer mirrored. The page should as is > viewed in a mirror. All the pages. Fliped horizontally. \setuppapersize[A4][A4,mirrored] \starttext \dorecurse{10}{\input tufte \relax} \

Re: [NTG-context] mirrored pages

2007-04-19 Thread Horacio Suarez
Thankyou very much!! From: Wolfgang Schuster <[EMAIL PROTECTED]> Reply-To: mailing list for ConTeXt users To: ntg-context@ntg.nl Subject: Re: [NTG-context] mirrored pages Date: Thu, 19 Apr 2007 20:40:20 +0200 On Thu, 19 Apr 2007 17:39:57 + "Horacio Suarez" <[EMAIL PROTECTED]> wrote: > I´

Re: [NTG-context] mirrored pages

2007-04-19 Thread Wolfgang Schuster
On Thu, 19 Apr 2007 17:39:57 + "Horacio Suarez" <[EMAIL PROTECTED]> wrote: > I´ve made a mistake and replyed to Mari Voipio. Sorry, Mari. > > I need to print in a laser printer mirrored. The page should as is viewed in > a mirror. All the pages. Fliped horizontally. > > Thankyou very much.

Re: [NTG-context] Vertical alignment of framed text

2007-04-19 Thread Aditya Mahajan
On Thu, 19 Apr 2007, Vyatcheslav Yatskovsky wrote: > Hello Mojca, > > Is there need for \strut at all? The definitions > > \def\hotkey#1{\inframed[corner=00, offset=0pt]{\ #1\ }} > > and > > \def\hotkey#1{\inframed[corner=00,offset=0pt]{\strut\ #1\ }} > > work equally well and I can see no differe

Re: [NTG-context] Vertical alignment of framed text

2007-04-19 Thread Mojca Miklavec
On 4/19/07, Vyatcheslav Yatskovsky wrote: > Hello Mojca, > > Is there need for \strut at all? The definitions No. You get it by default unless you explicitely disable it. I just didn't understand why you wanted to set the height explicitely. > \def\hotkey#1{\inframed[corner=00, offset=0pt]{\ #1\

Re: [NTG-context] Vertical alignment of framed text

2007-04-19 Thread Vyatcheslav Yatskovsky
Hello Mojca, Is there need for \strut at all? The definitions \def\hotkey#1{\inframed[corner=00, offset=0pt]{\ #1\ }} and \def\hotkey#1{\inframed[corner=00,offset=0pt]{\strut\ #1\ }} work equally well and I can see no difference. I (wrongly) supposed that \strut version can prevent the frame

Re: [NTG-context] mirrored pages

2007-04-19 Thread Horacio Suarez
I´ve made a mistake and replyed to Mari Voipio. Sorry, Mari. I need to print in a laser printer mirrored. The page should as is viewed in a mirror. All the pages. Fliped horizontally. Thankyou very much. From: Hans Hagen <[EMAIL PROTECTED]> Reply-To: mailing list for ConTeXt users To: mail

[NTG-context] ConTeXt release 2007.04.17

2007-04-19 Thread Taco Hoekwater
Hi all, I am pleased to announce that the new ConTeXt release from Hans Hagen can be downloaded as of now from the Pragma ADE website or one of its mirrors. http://www.pragma-ade.com/context/current/cont-tmf.zip http://context.aanhet.net/context/current/cont-tmf.zip http://mirro

[NTG-context] paragraph numbering & in[..] with paragraph resolution -> semantic refering

2007-04-19 Thread Henning Haeske
Hi, as I am still new to context I really have no idea how to realize following: After each paragraph I like to have at the right bottom corner a small number. This number shout increase with every paragraph. The counting should restart after every heading (doesn't care which level). How can I

Re: [NTG-context] colored footnode numbers

2007-04-19 Thread Thomas A. Schmitz
\setupfootnotes[color=red, textstyle=\tfxx\high, textcommand={\color[red]}] You know what a minimal example is? HTH Thomas On Apr 19, 2007, at 2:43 PM, Henning Haeske wrote: > Hi, > > I want to color the footnote-numbers: the ref-number in the text > und the

Re: [NTG-context] Vertical alignment of framed text

2007-04-19 Thread Vyatcheslav Yatskovsky
Hello, Please, don't take me as too much exacting man, but Mojca's (partial) solution \def\hotkey#1{\inframed[corner=00]{\ #1\ }} is more suitable for me than the Wolfgangs's (complete) one: \defineframed [dohotkey] [strut=yes,corner=00,frameoffset=-0.2em,location=low] \definehspace[hotkey]

[NTG-context] colored footnode numbers

2007-04-19 Thread Henning Haeske
Hi, I want to color the footnote-numbers: the ref-number in the text und the ref-number at the bottom. I got the bottom-number colored with \setupfootnotes[color=hauptfarbe] but how can I color the footnote-number inside the text? Thanks, H. __

Re: [NTG-context] Vertical alignment of framed text

2007-04-19 Thread Peter Rolf
Hi Vyatcheslav, Vyatcheslav Yatskovsky wrote: > Hello, > > > Thank you Wolfgang, but > > > \defineframed > >[hotkey][offset=4pt,corner=00,location=low] > > > produces too big frames, while > > > \defineframed > >[hotkey][height=\lineheight,offset=4pt,corner=00,location=low] > >

Re: [NTG-context] Font adventures

2007-04-19 Thread Taco Hoekwater
Rolf Marvin Bøe Lindgren wrote: > I have set up my own typescript file which seems, under normal > circumstances, to work pretty well. It can be viewed in all its > glory on http://www.grendel.no/misc/type-roffe.tex. it is mainly > being used by an accompanying file at http://www.grendel.n

Re: [NTG-context] bibtex: "et al." and missing spacing before "et"

2007-04-19 Thread Taco Hoekwater
Tobias Burnus wrote: > Hello, > > if I tex the following example, I get: > "Hu{\it et al.}" without space between "Hu" and "et". > Any idea why this happens? This is with: This turned out to be a missing \relax in t-bib.tex. Look for this line in t-bib (around 650), and add a \relax after the

Re: [NTG-context] \hyphenateurl and publication list: No breaking of the URL

2007-04-19 Thread Taco Hoekwater
Tobias Burnus wrote: > Hello, > > I have the problem that the DOI is not hyphenated and sticks into the > margin. > Interestingly, the biburl is hyphenated. > > With my patch for t-bib (sent half a day ago), I get hypherlinks for DOI > and biburl, but in that case also the biburl does not get h

[NTG-context] Font adventures

2007-04-19 Thread Rolf Marvin Bøe Lindgren
I have set up my own typescript file which seems, under normal circumstances, to work pretty well. It can be viewed in all its glory on http://www.grendel.no/misc/type-roffe.tex. it is mainly being used by an accompanying file at http://www.grendel.no/misc/cont- roffe.tex. I can normally

Re: [NTG-context] mirrored pages

2007-04-19 Thread luigi scarso
> I frankly don't know if my solution is the most elegant one, but this > works for me: Given that you are elegant , then your solutions will be elegants . :) > Mari > (who found out about mirrored margins with the trial-and-error method > before the wiki existed...) luigi (who believe that egrep

Re: [NTG-context] mirrored pages

2007-04-19 Thread Hans Hagen
Horacio Suarez wrote: > Hello all: > > Is there a way to obtain a mirrored pdf? > > I don�t have a postscript printer. I been doing that in Acrobat using > a plugin, but I�m trying to avoid Adobe Acrobat. > > i�m using context 2007.02.21 11:55, running from SciTe, Ghostscript > 8.56 and GSview 4.

Re: [NTG-context] mirrored pages

2007-04-19 Thread Mari Voipio
On Wed, 18 Apr 2007, Horacio Suarez wrote: > Is there a way to obtain a mirrored pdf? Mirrored in what way? (I use Acrobat when necessary, but I'm not familiar with the plug-ins, which is why I have to ask...) Do you mean mirror margins, i.e. inside and outside margins instead of left and ri

[NTG-context] \hyphenateurl and publication list: No breaking of the URL

2007-04-19 Thread Tobias Burnus
Hello, I have the problem that the DOI is not hyphenated and sticks into the margin. Interestingly, the biburl is hyphenated. With my patch for t-bib (sent half a day ago), I get hypherlinks for DOI and biburl, but in that case also the biburl does not get hyphenated (nor does the DOI). Any idea

Re: [NTG-context] missing/misconfigured fonts question

2007-04-19 Thread Taco Hoekwater
Jeremy Johnson wrote: > > Any ideas on what's wrong with my font setup in ConTeXt? This happens when pdftex reads map files intended for dvipdfmx, and it normally means the TEXFONTMAPS setting in texmf.cnf is not correct. Here I have: TEXFONTMAPS = .;$TEXMF/fonts/map/{$progname,pdftex,dvips,}

Re: [NTG-context] \setupurl and urlalternative

2007-04-19 Thread Taco Hoekwater
Tobias Burnus wrote: > Hi, > > what does actually the urlalternative option of \setupurl do? It does absolutely nothing, afaics. Best, Taco ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] bib + local & global citations

2007-04-19 Thread Taco Hoekwater
Tobias Burnus wrote: > Taco Hoekwater wrote: >> you need \placepublications[option=continue] >> > Thanks Taco. > > Could you update your bib module based on the attached patch, unless > your module already contains all those changes. > > I don't know whether > -\c!otherstext={ et al.},

Re: [NTG-context] Keeping it single valued

2007-04-19 Thread Mikael Persson
Hi Arnold, this is no exact answer, but possibly the reason why: First, have a look at: \starttext \startbuffer[figure] numeric scf, t[]; 3.2scf=2.4in; path fun; fun:=(0,-1)..(1,.5){right}..(1.9,.2){right}..{curl .1}(3.2,2); fun:=fun scaled scf; drawpath fun; drawpoints fun; \stopbuffer \placef

Re: [NTG-context] Prescript in ConTeXt

2007-04-19 Thread Taco Hoekwater
Aditya Mahajan wrote: > Actually, I only want a pre superscipt, so the following works for me > > \def\presuper#1#2% >{\mathop{}% To prevent preceeding mathord atoms to approach > \mathopen{\vphantom{#2}}^{#1}% To prevent space between prescript > % and nex