* Strange behavior with context standalone (pgfplots) @ 2016-08-16 14:26 Fabrice Couvreur 2016-08-16 14:34 ` Hans Hagen 2016-08-16 17:06 ` Mojca Miklavec 0 siblings, 2 replies; 7+ messages in thread From: Fabrice Couvreur @ 2016-08-16 14:26 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1.1: Type: text/plain, Size: 171 bytes --] Hello, With context in distribution TeXLive 2016,no problem but with standalone context, I get the "0.01pt" text in the left corner of the graph. Thanks Fabrice [-- Attachment #1.1.2: Type: text/html, Size: 877 bytes --] [-- Attachment #1.2: ntg52.png --] [-- Type: image/png, Size: 24714 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Strange behavior with context standalone (pgfplots) 2016-08-16 14:26 Strange behavior with context standalone (pgfplots) Fabrice Couvreur @ 2016-08-16 14:34 ` Hans Hagen 2016-08-16 14:52 ` Fabrice Couvreur 2016-08-16 17:06 ` Mojca Miklavec 1 sibling, 1 reply; 7+ messages in thread From: Hans Hagen @ 2016-08-16 14:34 UTC (permalink / raw) To: ntg-context On 8/16/2016 4:26 PM, Fabrice Couvreur wrote: > Hello, > With context in distribution TeXLive 2016,no problem but with standalone > context, I get the "0.01pt" text in the left corner of the graph. no code / mwe > Thanks > Fabrice > > > > ___________________________________________________________________________________ > 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://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Strange behavior with context standalone (pgfplots) 2016-08-16 14:34 ` Hans Hagen @ 2016-08-16 14:52 ` Fabrice Couvreur 2016-08-16 16:13 ` Hans Hagen 2016-08-16 18:35 ` Herbert Voss 0 siblings, 2 replies; 7+ messages in thread From: Fabrice Couvreur @ 2016-08-16 14:52 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 3528 bytes --] HI Hans, Sorry, I forgot \usemodule[pgfplots] \pgfplotsset{compat=1.13} \usetikzlibrary[intersections] \usepgfplotslibrary[fillbetween] \starttext \starttikzpicture[/pgf/declare function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},] \switchtobodyfont[8pt] \startaxis [restrict x to domain=-3:5, xmax=5, xmin=-3, restrict y to domain=-3:3, ymax=3, ymin=-3, x=2cm, y=2cm, axis lines=center, axis line style =ultra thick, major tick style=black, xtick={-2,-1,...,4}, ytick={-2,-1,...,2}, yticklabels={,,}, xticklabels={,,}, extra x ticks={-3,5}, extra x tick label={\null}, extra y ticks={-3,3}, extra y tick label={\null}, extra tick style={tick style={draw=none}}, xlabel=$x$,ylabel=$y$, every axis x label/.style={ at={(ticklabel* cs:1.01)}, anchor=west, }, every axis y label/.style={ at={(ticklabel* cs:1.01)}, anchor=south, }, samples=1000, >=stealth] \addplot[smooth, draw=none, tension=0.6, name path=plot] coordinates{ (-2,-2.5) (-1.5,0)(-1,1.5) (-0.5,2) (0,1.5) (1,0) (2,-0.5) (3,0) (4,1.5) }; \path[name path=cut line] (-2,1.5) -- (4,1.5); \draw[thick,intersection segments={of=plot and cut line,sequence=L1}]; \draw[thick,intersection segments={of=plot and cut line,sequence=L2}]; \draw[thick, intersection segments={of=plot and cut line,sequence=L3}]; \node[fill=black,circle,scale=0.4] at (-2,-2.5){}; \node[fill=black,circle,scale=0.4] at (4,1.5){}; \node[below] at (-1.5,-1.5) {\math{{\cal C}_f}}; \node[below] at (1,0) {1}; \node[left] at (0,1) {1}; \node[below left] at (0,0) {0}; \stopaxis \stoptikzpicture \stoptext 2016-08-16 16:34 GMT+02:00 Hans Hagen <pragma@wxs.nl>: > On 8/16/2016 4:26 PM, Fabrice Couvreur wrote: > >> Hello, >> With context in distribution TeXLive 2016,no problem but with standalone >> context, I get the "0.01pt" text in the left corner of the graph. >> > > no code / mwe > > Thanks >> Fabrice >> >> >> >> ____________________________________________________________ >> _______________________ >> 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/list >> info/ntg-context >> webpage : http://www.pragma-ade.nl / http://tex.aanhet.net >> archive : http://foundry.supelec.fr/projects/contextrev/ >> wiki : http://contextgarden.net >> ____________________________________________________________ >> _______________________ >> >> > > -- > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl > ----------------------------------------------------------------- > ____________________________________________________________ > _______________________ > 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/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ [-- Attachment #1.2: Type: text/html, Size: 5742 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Strange behavior with context standalone (pgfplots) 2016-08-16 14:52 ` Fabrice Couvreur @ 2016-08-16 16:13 ` Hans Hagen 2016-08-16 18:35 ` Herbert Voss 1 sibling, 0 replies; 7+ messages in thread From: Hans Hagen @ 2016-08-16 16:13 UTC (permalink / raw) To: ntg-context On 8/16/2016 4:52 PM, Fabrice Couvreur wrote: > HI Hans, > Sorry, I forgot \start \switchtobodyfont[8pt] \starttikzpicture[/pgf/declare function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},] \startaxis ... \stop seems to be ok ... tikz probably overloads something that the bodyfont switch needs > \usemodule[pgfplots] > > \pgfplotsset{compat=1.13} > \usetikzlibrary[intersections] > \usepgfplotslibrary[fillbetween] > > \starttext > > \starttikzpicture[/pgf/declare > function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},] > \switchtobodyfont[8pt] > \startaxis > [restrict x to domain=-3:5, xmax=5, xmin=-3, > restrict y to domain=-3:3, ymax=3, ymin=-3, > x=2cm, > y=2cm, > axis lines=center, > axis line style =ultra thick, > major tick style=black, > xtick={-2,-1,...,4}, > ytick={-2,-1,...,2}, > yticklabels={,,}, > xticklabels={,,}, > extra x ticks={-3,5}, > extra x tick label={\null}, > extra y ticks={-3,3}, > extra y tick label={\null}, > extra tick style={tick style={draw=none}}, > xlabel=$x$,ylabel=$y$, > every axis x label/.style={ > at={(ticklabel* cs:1.01)}, > anchor=west, > }, > every axis y label/.style={ > at={(ticklabel* cs:1.01)}, > anchor=south, > }, > samples=1000, > >=stealth] > \addplot[smooth, > draw=none, > tension=0.6, > name path=plot] > coordinates{ > (-2,-2.5) (-1.5,0)(-1,1.5) (-0.5,2) > (0,1.5) (1,0) (2,-0.5) > (3,0) (4,1.5) > }; > > \path[name path=cut line] (-2,1.5) -- (4,1.5); > > \draw[thick,intersection segments={of=plot and cut line,sequence=L1}]; > > \draw[thick,intersection segments={of=plot and cut line,sequence=L2}]; > > \draw[thick, intersection segments={of=plot and cut line,sequence=L3}]; > > \node[fill=black,circle,scale=0.4] at (-2,-2.5){}; > \node[fill=black,circle,scale=0.4] at (4,1.5){}; > > \node[below] at (-1.5,-1.5) {\math{{\cal C}_f}}; > \node[below] at (1,0) {1}; > \node[left] at (0,1) {1}; > \node[below left] at (0,0) {0}; > > \stopaxis > > \stoptikzpicture > > \stoptext > > > 2016-08-16 16:34 GMT+02:00 Hans Hagen <pragma@wxs.nl > <mailto:pragma@wxs.nl>>: > > On 8/16/2016 4:26 PM, Fabrice Couvreur wrote: > > Hello, > With context in distribution TeXLive 2016,no problem but with > standalone > context, I get the "0.01pt" text in the left corner of the graph. > > > no code / mwe > > Thanks > Fabrice > > > > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / > http://www.ntg.nl/mailman/listinfo/ntg-context > <http://www.ntg.nl/mailman/listinfo/ntg-context> > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > <http://foundry.supelec.fr/projects/contextrev/> > wiki : http://contextgarden.net > ___________________________________________________________________________________ > > > > -- > > ----------------------------------------------------------------- > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl > <http://www.pragma-ade.nl> | www.pragma-pod.nl > <http://www.pragma-pod.nl> > ----------------------------------------------------------------- > ___________________________________________________________________________________ > If your question is of interest to others as well, please add an > entry to the Wiki! > > maillist : ntg-context@ntg.nl <mailto:ntg-context@ntg.nl> / > http://www.ntg.nl/mailman/listinfo/ntg-context > <http://www.ntg.nl/mailman/listinfo/ntg-context> > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > <http://foundry.supelec.fr/projects/contextrev/> > wiki : http://contextgarden.net > ___________________________________________________________________________________ > > > > > ___________________________________________________________________________________ > 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://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ___________________________________________________________________________________ > -- ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl ----------------------------------------------------------------- ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Strange behavior with context standalone (pgfplots) 2016-08-16 14:52 ` Fabrice Couvreur 2016-08-16 16:13 ` Hans Hagen @ 2016-08-16 18:35 ` Herbert Voss 2016-08-16 21:58 ` Fabrice Couvreur 1 sibling, 1 reply; 7+ messages in thread From: Herbert Voss @ 2016-08-16 18:35 UTC (permalink / raw) To: ntg-context Am 16.08.2016 um 16:52 schrieb Fabrice Couvreur: > \usemodule[pgfplots] > > \pgfplotsset{compat=1.13} > \usetikzlibrary[intersections] > \usepgfplotslibrary[fillbetween] > > \starttext > > \starttikzpicture[/pgf/declare > function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},] > \switchtobodyfont[8pt] > \startaxis [...] \starttext \starttikzpicture[ /pgf/declare function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);}, font={\switchtobodyfont[8pt]} ] % \startaxis [...] Herbert ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Strange behavior with context standalone (pgfplots) 2016-08-16 18:35 ` Herbert Voss @ 2016-08-16 21:58 ` Fabrice Couvreur 0 siblings, 0 replies; 7+ messages in thread From: Fabrice Couvreur @ 2016-08-16 21:58 UTC (permalink / raw) To: mailing list for ConTeXt users [-- Attachment #1.1: Type: text/plain, Size: 1166 bytes --] Hi, Thanks Herbert and Hans, your solutions work both Fabrice 2016-08-16 20:35 GMT+02:00 Herbert Voss <Herbert.Voss@fu-berlin.de>: > Am 16.08.2016 um 16:52 schrieb Fabrice Couvreur: > > \usemodule[pgfplots] >> >> \pgfplotsset{compat=1.13} >> \usetikzlibrary[intersections] >> \usepgfplotslibrary[fillbetween] >> >> \starttext >> >> \starttikzpicture[/pgf/declare >> function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},] >> \switchtobodyfont[8pt] >> \startaxis >> > > [...] > \starttext > > \starttikzpicture[ > /pgf/declare function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);}, > font={\switchtobodyfont[8pt]} > ] > % > \startaxis > [...] > > Herbert > > ____________________________________________________________ > _______________________ > 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/list > info/ntg-context > webpage : http://www.pragma-ade.nl / http://tex.aanhet.net > archive : http://foundry.supelec.fr/projects/contextrev/ > wiki : http://contextgarden.net > ____________________________________________________________ > _______________________ > [-- Attachment #1.2: Type: text/html, Size: 2704 bytes --] [-- Attachment #2: Type: text/plain, Size: 485 bytes --] ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Strange behavior with context standalone (pgfplots) 2016-08-16 14:26 Strange behavior with context standalone (pgfplots) Fabrice Couvreur 2016-08-16 14:34 ` Hans Hagen @ 2016-08-16 17:06 ` Mojca Miklavec 1 sibling, 0 replies; 7+ messages in thread From: Mojca Miklavec @ 2016-08-16 17:06 UTC (permalink / raw) To: mailing list for ConTeXt users On 16 August 2016 at 16:26, Fabrice Couvreur wrote: > > Hello, > With context in distribution TeXLive 2016,no problem but with standalone context, I get the "0.01pt" text in the left corner of the graph. I'm also getting ,0.100pt at the beginning of one of the documents, even though I still didn't figure out what exactly triggers that. Plus an error at close source > 5 > 65 > /usr/local/texlive/2016/texmf-dist/tex/generic/pgf/libraries/pgflibraryplothandlers.code.tex tex error > tex error on line 570 in file /usr/local/texlive/2016/texmf-dist/tex/generic/pgf/frontendlayer/tikz/tikz.code.tex: ! Illegal unit of measure (pt inserted) <to be read again> , <argument> 0.000, 0.100 \pgfutil@emu@@unpack ...pt\pgf@xb =#2pt\pgf@xc =#3 pt \pgfutil@emu@mix ... \string \color@ #1\endcsname \pgf@ya =\pgf@xa \pgf@yb =... \pgfutil@colorlet ...ix \pgf@marshal !white!\@nil \xdef \pgf@marshal {\noexp... l.570 ...l@colorlet{tikz@axis@middle}{gray!50!white} 560 \def\tikz@shade@angle{0} 561 562 \pgfdeclareverticalshading[tikz@axis@top,tikz@axis@middle,tikz@axis@bottom]{axis}{100bp}{% 563 color(0bp)=(tikz@axis@bottom); 564 color(25bp)=(tikz@axis@bottom); 565 color(50bp)=(tikz@axis@middle); 566 color(75bp)=(tikz@axis@top); 567 color(100bp)=(tikz@axis@top)} 568 569 \pgfutil@colorlet{tikz@axis@top}{gray} 570 >> \pgfutil@colorlet{tikz@axis@middle}{gray!50!white} 571 \pgfutil@colorlet{tikz@axis@bottom}{white} 572 573 \pgfdeclareradialshading[tikz@ball]{ball}{\pgfqpoint{-10bp}{10bp}}{% 574 color(0bp)=(tikz@ball!15!white); 575 color(9bp)=(tikz@ball!75!white); 576 color(18bp)=(tikz@ball!70!black); 577 color(25bp)=(tikz@ball!50!black); 578 color(50bp)=(black)} 579 580 \pgfutil@colorlet{tikz@ball}{blue} ? open source > 5 > 66 > /usr/local/texlive/2016/texmf-dist/tex/generic/pgf/modules/pgfmodulematrix.code.tex But I didn't yet have time to fully investigate (I started noticing this problem recently in an old document). Mojca ___________________________________________________________________________________ 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://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___________________________________________________________________________________ ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2016-08-16 21:58 UTC | newest] Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-08-16 14:26 Strange behavior with context standalone (pgfplots) Fabrice Couvreur 2016-08-16 14:34 ` Hans Hagen 2016-08-16 14:52 ` Fabrice Couvreur 2016-08-16 16:13 ` Hans Hagen 2016-08-16 18:35 ` Herbert Voss 2016-08-16 21:58 ` Fabrice Couvreur 2016-08-16 17:06 ` Mojca Miklavec
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).