Re: [NTG-context] replacement for \getcitedata

2016-07-12 Thread Michael Eidenbenz
thanks. but i'm encountering my old problem: \externalfigure[\cite[file][Eidenbenz2016]] gives me an error. Do I need a lua approach here? Michael > On 12 Jul 2016, at 16:09, Alan BRASLAU wrote: > > On Tue, 12 Jul 2016 10:51:06 +0200 > Michael Eidenbenz

[NTG-context] Setting \textrules

2016-07-12 Thread Fabrice Couvreur
Hello, I would like the text of the property is in italic without using the environment {\it}. Is this the best way when I use \setuptextrules[width=-1ex] ? thank you, Fabrice ### \definetypeface [mainface] [rm] [serif] [palatino] [default]

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Thanks Wolfgang and Aditya Fabrice 2016-07-12 21:04 GMT+02:00 Wolfgang Schuster : > Fabrice Couvreur > 12. Juli 2016 um 20:41 > > How filling the number ? > > \startusableMPgraphic{NumberHead} > draw outlinetext.b >

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
On 07/12/2016 10:03 PM, Hans Hagen wrote: > On 7/12/2016 9:39 PM, Henri Menke wrote: >> Dear Aditya and Hans, >> >> I'm not so sure about it being a bug in pgfplots. I played a little and >> encountered the following. > > As Aditya pointed out, these (probably used for tracing) colors are >

Re: [NTG-context] replacement for \getcitedata

2016-07-12 Thread Alan BRASLAU
On Tue, 12 Jul 2016 20:39:27 +0200 Michael Eidenbenz wrote: > but i'm encountering my old problem: > > \externalfigure[\cite[file][Eidenbenz2016]] > > gives me an error. This is not the right approach, as explained earlier. Alan

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Hans Hagen
On 7/12/2016 9:39 PM, Henri Menke wrote: Dear Aditya and Hans, I'm not so sure about it being a bug in pgfplots. I played a little and encountered the following. As Aditya pointed out, these (probably used for tracing) colors are defined in such a way that they don't go via the context

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Alan BRASLAU
What is the fuss? \starttext \startMPcode draw origin--right scaled 1cm withpen pencircle scaled 1pt withcolor gray ; \stopMPcode \stoptext works just fine... :-) Alan ___ If your question is of

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
Dear Aditya and Hans, I'm not so sure about it being a bug in pgfplots. I played a little and encountered the following. > \usemodule[tikz] > \starttext > > % Original gray > \blackrule[color=gray,width=1cm,height=1pt] > > \starttikzpicture > \draw[gray,line width=1pt] (0,0) -- (1,0); >

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Wolfgang Schuster
Fabrice Couvreur 12. Juli 2016 um 20:41 How filling the number ? \startusableMPgraphic{NumberHead} draw outlinetext.b ("\bf\namedheadnumber{chapter}") (withcolor "lightgray") (withpen pencircle scaled .1) ysized 60pt ;

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Aditya Mahajan
On Tue, 12 Jul 2016, Fabrice Couvreur wrote: this is more modern (the method, not the font): How filling the number ? \starttext \startMPpage draw outlinetext.d ("Hello") (withpen pencircle scaled 0.1bp withcolor red) ysized 60pt ; \stopMPpage

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
> > this is more modern (the method, not the font): How filling the number ? 2016-07-12 17:56 GMT+02:00 Hans Hagen : > On 7/12/2016 5:21 PM, Fabrice Couvreur wrote: > >> Compiling this file returns files ntg46-mpgraph.log ntg46-mpgraph.tex >> ntg46-mpgraph.mpy ntg46-mpgraph.pdf

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Aditya Mahajan
On Tue, 12 Jul 2016, Hans Hagen wrote: On 7/12/2016 5:07 PM, Aditya Mahajan wrote: On Tue, 12 Jul 2016, Hans Hagen wrote: On 7/12/2016 3:44 PM, Henri Menke wrote: Dear Hans, thanks for your reply. Indeed there are color definitions in `pgfutil-context.def`. However, they are commented

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Hans Hagen
On 7/12/2016 5:07 PM, Aditya Mahajan wrote: On Tue, 12 Jul 2016, Hans Hagen wrote: On 7/12/2016 3:44 PM, Henri Menke wrote: Dear Hans, thanks for your reply. Indeed there are color definitions in `pgfutil-context.def`. However, they are commented out with the message % no need for x

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Hans Hagen
On 7/12/2016 5:21 PM, Fabrice Couvreur wrote: Compiling this file returns files ntg46-mpgraph.log ntg46-mpgraph.tex ntg46-mpgraph.mpy ntg46-mpgraph.pdf ntg46-mpgraph.tuc this is more modern (the method, not the font): \startusableMPgraphic{NumberHead} draw outlinetext.d

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Compiling this file returns files ntg46-mpgraph.log ntg46-mpgraph.tex ntg46-mpgraph.mpy ntg46-mpgraph.pdf ntg46-mpgraph.tuc % macros=mkvi \setuppagenumbering[location=footer] \startusableMPgraphic{NumberHead} picture r ; r := image ( graphictext

[NTG-context] different default size when imposing documents

2016-07-12 Thread Pablo Rodriguez
Hans, after enabling image scaling in \insertpages (https://mailman.ntg.nl/pipermail/ntg-context/2016/086114.html), I’m afraid that the default value and compatibility in imposition is broken. The minimal sample is the following: \setuppapersize [A5][A4,landscape] \setuparranging [2UP]

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Aditya Mahajan
On Tue, 12 Jul 2016, Hans Hagen wrote: On 7/12/2016 3:44 PM, Henri Menke wrote: Dear Hans, thanks for your reply. Indeed there are color definitions in `pgfutil-context.def`. However, they are commented out with the message % no need for x colors (users can load it if needed) ...

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Hans Hagen
On 7/12/2016 3:30 PM, Fabrice Couvreur wrote: Thank youfor the information, but it remains to delete the files ... mpgraph.log fwiw, mkiv normally doesn't have such files Hans - Hans

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Hans Hagen
On 7/12/2016 3:44 PM, Henri Menke wrote: Dear Hans, thanks for your reply. Indeed there are color definitions in `pgfutil-context.def`. However, they are commented out with the message % no need for x colors (users can load it if needed) ... %\pgfutil@definecolor{gray}{gray}{0.5} If I add

Re: [NTG-context] replacement for \getcitedata

2016-07-12 Thread Alan BRASLAU
On Tue, 12 Jul 2016 10:51:06 +0200 Michael Eidenbenz wrote: > is there a way to extract data from the bib database to use it in a > macro? > > something like a replacement for the old \getcitedata \cite[title] [Eidenbenz2016] (Any field can be obtained with this

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
Dear Hans, thanks for your reply. Indeed there are color definitions in `pgfutil-context.def`. However, they are commented out with the message > % no need for x colors (users can load it if needed) > ... > %\pgfutil@definecolor{gray}{gray}{0.5} If I add > \csname

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Thank you for the information, but it remains to delete the files ... mpgraph.log It takes maybe write a script. Fabrice 2016-07-12 14:42 GMT+02:00 Willi Egger : > context —purgeall is your friend. The pdfs you will have to delete > manually. > > Willi > > On 12 jul. 2016, at

Re: [NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Willi Egger
context —purgeall is your friend. The pdfs you will have to delete manually. Willi > On 12 jul. 2016, at 12:44, Fabrice Couvreur > wrote: > > > Hello, > One of my command uses a macro build from Metafun. The compilation generates > many files. > How to delete

Re: [NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Hans Hagen
On 7/12/2016 1:53 PM, Henri Menke wrote: Dear list, I wanted to draw some nice pictures using TikZ and pgfplots, but then I noticed that the colors of the ticks in my pgfplots graph were unusually bright and it looked very weird. So I set up a test \usemodule[tikz] \starttext

[NTG-context] Different colors in LaTeX and ConTeXt

2016-07-12 Thread Henri Menke
Dear list, I wanted to draw some nice pictures using TikZ and pgfplots, but then I noticed that the colors of the ticks in my pgfplots graph were unusually bright and it looked very weird. So I set up a test > \usemodule[tikz] > \starttext > \starttikzpicture > \draw[help lines,very thick]

[NTG-context] Remove files that are not needed (Metafun)

2016-07-12 Thread Fabrice Couvreur
Hello, One of my command uses a macro build from Metafun. The compilation generates many files. How to delete files in the formats mpgraph.log, mpgraph.mpy, mpgraph.pdf, mpgraph.tex and mpgraph.tuc ? thank you, Fabrice

[NTG-context] replacement for \getcitedata

2016-07-12 Thread Michael Eidenbenz
is there a way to extract data from the bib database to use it in a macro? something like a replacement for the old \getcitedata thanks! ___ If your question is of interest to others as well, please add an entry to