ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* tikz
@ 2007-08-09 16:19 Idris Samawi Hamid
  2007-08-09 16:28 ` tikz Hans Hagen
                   ` (2 more replies)
  0 siblings, 3 replies; 31+ messages in thread
From: Idris Samawi Hamid @ 2007-08-09 16:19 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

Dear gang,

The tikz module does not work in MKIV: Moving

\tex\latex\xkeyval

to

\tex\context\pgf\latex\xkeyval

seems to solve the problem.

And Happy Birthday Mojca!

Best wishes
Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2007-08-09 16:19 tikz Idris Samawi Hamid
@ 2007-08-09 16:28 ` Hans Hagen
  2007-08-09 17:43 ` tikz Aditya Mahajan
  2007-08-10  8:36 ` tikz Mojca Miklavec
  2 siblings, 0 replies; 31+ messages in thread
From: Hans Hagen @ 2007-08-09 16:28 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Mojca Miklavec

Idris Samawi Hamid wrote:
> Dear gang,
> 
> The tikz module does not work in MKIV: Moving
> 
> \tex\latex\xkeyval
> 
> to
> 
> \tex\context\pgf\latex\xkeyval

at least add \third

\tex\context\third\

> seems to solve the problem.
> 
> And Happy Birthday Mojca!
> 
> Best wishes
> Idris
> 


-- 

-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2007-08-09 16:19 tikz Idris Samawi Hamid
  2007-08-09 16:28 ` tikz Hans Hagen
@ 2007-08-09 17:43 ` Aditya Mahajan
  2007-08-09 18:00   ` tikz Idris Samawi Hamid
  2007-08-10  8:36 ` tikz Mojca Miklavec
  2 siblings, 1 reply; 31+ messages in thread
From: Aditya Mahajan @ 2007-08-09 17:43 UTC (permalink / raw)
  To: ntg-context

Quoting Idris Samawi Hamid <ishamid@colostate.edu>:

> Dear gang,
>
> The tikz module does not work in MKIV: Moving
>
> \tex\latex\xkeyval
>
> to
>
> \tex\context\pgf\latex\xkeyval
>
> seems to solve the problem.

shouldn't there be a xkeyval.tex in /tex/generic/xkeyval? 
/tex/latex/xkeyval should contain something for latex, and not for 
context.

I wish all packages on CTAN were distributed in TDS :-/

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2007-08-09 17:43 ` tikz Aditya Mahajan
@ 2007-08-09 18:00   ` Idris Samawi Hamid
  2007-08-09 18:35     ` tikz Aditya Mahajan
  0 siblings, 1 reply; 31+ messages in thread
From: Idris Samawi Hamid @ 2007-08-09 18:00 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Thu, 09 Aug 2007 11:43:09 -0600, Aditya Mahajan <adityam@umich.edu>  
wrote:

>> The tikz module does not work in MKIV: Moving
>>
>> \tex\latex\xkeyval
>>
>> to
>>
>> \tex\context\pgf\latex\xkeyval
>>
>> seems to solve the problem.
>
> shouldn't there be a xkeyval.tex in /tex/generic/xkeyval?
> /tex/latex/xkeyval should contain something for latex, and not for
> context.
>
> I wish all packages on CTAN were distributed in TDS :-/

not ctan:

http://modules.contextgarden.net/TikZ

Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2007-08-09 18:00   ` tikz Idris Samawi Hamid
@ 2007-08-09 18:35     ` Aditya Mahajan
  0 siblings, 0 replies; 31+ messages in thread
From: Aditya Mahajan @ 2007-08-09 18:35 UTC (permalink / raw)
  To: ntg-context

Quoting Idris Samawi Hamid <ishamid@colostate.edu>:

> On Thu, 09 Aug 2007 11:43:09 -0600, Aditya Mahajan <adityam@umich.edu>
> wrote:
>
>>> The tikz module does not work in MKIV: Moving
>>>
>>> \tex\latex\xkeyval
>>>
>>> to
>>>
>>> \tex\context\pgf\latex\xkeyval
>>>
>>> seems to solve the problem.
>>
>> shouldn't there be a xkeyval.tex in /tex/generic/xkeyval?
>> /tex/latex/xkeyval should contain something for latex, and not for
>> context.
>>
>> I wish all packages on CTAN were distributed in TDS :-/
>
> not ctan:
>
> http://modules.contextgarden.net/TikZ

move the /tex/latex/xkeyval directory to /tex/generic/xkeyval directory.

Had tikz and xkeyval been available in TDS on CTAN, there would be no 
need for having a separate context module for them.

Aditya
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2007-08-09 16:19 tikz Idris Samawi Hamid
  2007-08-09 16:28 ` tikz Hans Hagen
  2007-08-09 17:43 ` tikz Aditya Mahajan
@ 2007-08-10  8:36 ` Mojca Miklavec
  2 siblings, 0 replies; 31+ messages in thread
From: Mojca Miklavec @ 2007-08-10  8:36 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Idris Samawi Hamid

On 8/9/07, Idris Samawi Hamid wrote:
> Dear gang,
>
> The tikz module does not work in MKIV: Moving
>
> \tex\latex\xkeyval
>
> to
>
> \tex\context\pgf\latex\xkeyval
>
> seems to solve the problem.

I'm sorry. That has been reported long ago, but I "forgot" to upload
the new version. TikZ on the garden is now fixed and at the latest
version (1.18).

Mojca

PS: xkeyval is under tex/generic, which has been recently fixed in
TeXLive repository as well. And thanks for the wishes :)
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2019-11-27 15:42 tikz Ursula Hermann
                   ` (2 preceding siblings ...)
  2019-11-27 17:46 ` tikz Eric Détrez
@ 2019-11-27 23:01 ` Alan Braslau
  3 siblings, 0 replies; 31+ messages in thread
From: Alan Braslau @ 2019-11-27 23:01 UTC (permalink / raw)
  To: Ursula Hermann; +Cc: mailing list for ConTeXt users

You may want to take a look at the ConTeXt nodes module:

https://www.tug.org/TUGboat/tb39-1/tb121braslau-nodes.pdf

Alan



On Wed, 27 Nov 2019 15:42:43 +0000
Ursula Hermann <ursula.hermann@univie.ac.at> wrote:

> Hello everyone!
> 
> I have:
> \usemodule{tikz}
> 
> \starttext
> \starttikzpicture
> node {root}
> child {node {left}}
> child {node {right}
> child {node {child}}
> child {node {child}}
> }
> \stoptikzpicture
> \stoptext
> 
> Then after compiling I have the following mistake:
> 
> Command Line:   context.exe --synctex=-1 "picture test.tex"
> Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\doc\context\sources\general\manuals\nodes
> 
> 
> resolvers       | formats | executing runner 'run luametatex format': C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin/luametatex --jobname="picture test" --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./picture test.tex" --c:input="./picture test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin"
> This is LuaMetaTeX, Version 2.01.0
> open source     > level 1, order 1, name 'cont-yes.mkiv'
> system          >
> system          > ConTeXt  ver: 2019.11.13 00:08 MKIV beta  fmt: 2019.11.27  int: english/english
> system          >
> system          > 'cont-new.mkiv' loaded
> open source     > level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
> system          > beware: some patches loaded from cont-new.mkiv
> close source    > level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
> system          > files > jobname 'picture test', input './picture test', result 'picture test'
> fonts           > latin modern fonts are not preloaded
> languages       > language 'en' is active
> system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
> open source     > level 2, order 3, name './picture test.tex'
> fonts           > preloading latin modern fonts (second stage)
> fonts           > 'fallback modern-designsize rm 12pt' is loaded
> 
> tex error       > tex error on line 5 in file ./picture test.tex: ! Undefined control sequence
> 
> l.5 \starttikzpicture
> 
> 
> 1
>  2     \usemodule{tikz}
> 3
>  4     \starttext
> 5 >>  \starttikzpicture
>  6     node {root}
> 7     child {node {left}}
> 8     child {node {right}
> 9     child {node {child}}
> 10     child {node {child}}
> 11     }
> 12     \stoptikzpicture
> 13     \stoptext
> 
> 
> The control sequence at the end of the top line of your error message was never
> \def'ed. You can just continue as I'll forget about whatever was undefined.
> 
> 
> mtx-context     | fatal error: return code: 1
> 
> 
> _____________________________________________________________________
> 
> ConTeXt Compilation Report (Pages: 0)
> 
> Errors: 1   Warnings: 0   Bad Boxes: 0
> What is the mistake here?
> 
> Many Thanks
> Uschi

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2019-11-27 15:42 tikz Ursula Hermann
  2019-11-27 15:51 ` tikz Henning Hraban Ramm
  2019-11-27 17:06 ` tikz Martin Althoff
@ 2019-11-27 17:46 ` Eric Détrez
  2019-11-27 23:01 ` tikz Alan Braslau
  3 siblings, 0 replies; 31+ messages in thread
From: Eric Détrez @ 2019-11-27 17:46 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Le 27-11-2019 16:42, Ursula Hermann a écrit :
> Hello everyone!
> 
> I have:
> 
> \usemodule{tikz}
> 
> \starttext
> 
> \starttikzpicture
> 
> node {root}
> 
> child {node {left}}
> 
> child {node {right}
> 
> child {node {child}}
> 
> child {node {child}}
> 
> }
> 
> \stoptikzpicture
> 
> \stoptext


Lot of errors
  \usemodule[tikz] % [] instead of {}
\node % you forgot \
you must end with ; before \stoptikzpicture
____________________________________________________________________

-- 
Eric Détrez
Informatique
Lycée Faidherbe, Lille
Documents de cours en pdf :
faidherbe.org/~informatique
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2019-11-27 15:42 tikz Ursula Hermann
  2019-11-27 15:51 ` tikz Henning Hraban Ramm
@ 2019-11-27 17:06 ` Martin Althoff
  2019-11-27 17:46 ` tikz Eric Détrez
  2019-11-27 23:01 ` tikz Alan Braslau
  3 siblings, 0 replies; 31+ messages in thread
From: Martin Althoff @ 2019-11-27 17:06 UTC (permalink / raw)
  To: mailing list for ConTeXt users

In addition Hrabans note....

When using tikz, don't use filenames with spaces.

not: picture test.tex, better: picture-test.tex

Building may work, so possibly not your error, but some text about ....pgf may appear in
the PDF and empty files (here eg pictures) maybe created. 

bye, Martin

On Wed, 2019-11-27 at 15:42 +0000, Ursula Hermann wrote:
> Then after compiling I have the following mistake:
>  
> Command Line:   context.exe --synctex=-1 "picture test.tex"
> Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\doc\context\sources\general\manuals\nodes
>  

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2019-11-27 15:42 tikz Ursula Hermann
@ 2019-11-27 15:51 ` Henning Hraban Ramm
  2019-11-27 17:06 ` tikz Martin Althoff
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 31+ messages in thread
From: Henning Hraban Ramm @ 2019-11-27 15:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Am 2019-11-27 um 16:42 schrieb Ursula Hermann <ursula.hermann@univie.ac.at>:
> 
> Hello everyone!
>  
> I have: 
> \usemodule{tikz}

\usemodule[tikz]

(Didn’t check further.)


Grüßlinge, Hraban
---
https://www.fiee.net
http://wiki.contextgarden.net
https://www.dreiviertelhaus.de
GPG Key ID 1C9B22FD

___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* tikz
@ 2019-11-27 15:42 Ursula Hermann
  2019-11-27 15:51 ` tikz Henning Hraban Ramm
                   ` (3 more replies)
  0 siblings, 4 replies; 31+ messages in thread
From: Ursula Hermann @ 2019-11-27 15:42 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 3041 bytes --]

Hello everyone!

I have:
\usemodule{tikz}

\starttext
\starttikzpicture
node {root}
child {node {left}}
child {node {right}
child {node {child}}
child {node {child}}
}
\stoptikzpicture
\stoptext

Then after compiling I have the following mistake:

Command Line:   context.exe --synctex=-1 "picture test.tex"
Startup Folder: C:\Users\Hermann\Downloads\context-mswin\tex\texmf-context\doc\context\sources\general\manuals\nodes


resolvers       | formats | executing runner 'run luametatex format': C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin/luametatex --jobname="picture test" --fmt=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.fmt --lua=C:/Users/Hermann/Downloads/context-mswin/tex/texmf-cache/luatex-cache/context/5fe67e0bfe781ce0dde776fb1556f32e/formats/luametatex/cont-en.lui cont-yes.mkiv --c:currentrun=1 --c:fulljobname="./picture test.tex" --c:input="./picture test.tex" --c:kindofrun=1 --c:maxnofruns=9 --c:synctex="-1" --c:texmfbinpath="C:/Users/Hermann/Downloads/context-mswin/tex/texmf-mswin/bin"
This is LuaMetaTeX, Version 2.01.0
open source     > level 1, order 1, name 'cont-yes.mkiv'
system          >
system          > ConTeXt  ver: 2019.11.13 00:08 MKIV beta  fmt: 2019.11.27  int: english/english
system          >
system          > 'cont-new.mkiv' loaded
open source     > level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > beware: some patches loaded from cont-new.mkiv
close source    > level 2, order 2, name 'C:/Users/Hermann/Downloads/context-mswin/tex/texmf-context/tex/context/base/mkiv/cont-new.mkiv'
system          > files > jobname 'picture test', input './picture test', result 'picture test'
fonts           > latin modern fonts are not preloaded
languages       > language 'en' is active
system          > synctex functionality is enabled, expect 5-10 pct runtime overhead!
open source     > level 2, order 3, name './picture test.tex'
fonts           > preloading latin modern fonts (second stage)
fonts           > 'fallback modern-designsize rm 12pt' is loaded

tex error       > tex error on line 5 in file ./picture test.tex: ! Undefined control sequence

l.5 \starttikzpicture


1
 2     \usemodule{tikz}
3
 4     \starttext
5 >>  \starttikzpicture
 6     node {root}
7     child {node {left}}
8     child {node {right}
9     child {node {child}}
10     child {node {child}}
11     }
12     \stoptikzpicture
13     \stoptext


The control sequence at the end of the top line of your error message was never
\def'ed. You can just continue as I'll forget about whatever was undefined.


mtx-context     | fatal error: return code: 1


_____________________________________________________________________

ConTeXt Compilation Report (Pages: 0)

Errors: 1   Warnings: 0   Bad Boxes: 0
What is the mistake here?

Many Thanks
Uschi

[-- Attachment #1.2: Type: text/html, Size: 8946 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01 11:25 ` Tikz Peter Münster
@ 2009-10-01 16:51   ` David Arnold
  0 siblings, 0 replies; 31+ messages in thread
From: David Arnold @ 2009-10-01 16:51 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Peter,

I used the --extras=all and it worked!

Thanks.

D.

On Oct 1, 2009, at 4:25 AM, Peter Münster wrote:

> On Wed, 30 Sep 2009, David Arnold wrote:
>
>> All,
>> After installing context minimals, this no longer compiles with MKII:
>>
>> \usemodule[tikz]
>>
>> \starttext
>>
>> \starttikzpicture
>> \draw[gray] (-5,-5) grid (5,5);
>> \stoptikzpicture
>>
>> \stoptext
>
> Hello David,
>
> You should run: ./first-setup.sh --extras=all  (or --extras=tikz)
>
> Then you will get the t-tikz module.
>
>
>> system          : module tikz loaded
>> (./tikz.tex
>
> It seems, that you have a file tikz.tex in your local directory.  
> This is
> not so good, it's taken instead of the t-tikz module.
>
> Cheers, Peter
>
> -- 
> Contact information: http://pmrb.free.fr/contact/
>
>
> ___________________________________________________________________________________
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  6:10   ` Tikz David Arnold
  2009-10-01  6:17     ` Tikz luigi scarso
@ 2009-10-01 11:30     ` Peter Münster
  1 sibling, 0 replies; 31+ messages in thread
From: Peter Münster @ 2009-10-01 11:30 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 30 Sep 2009, David Arnold wrote:

> In the minmals directory:
> david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
> find: tikz: No such file or directory

Did you really run this command "find . grep 'tikz'" ?
This means, you will find all files in the current directory and in the
sub-directories "grep" and "tikz", and these 2 sub-directories probably
don't exist.

You want probably something like this:
find . -name tikz
or
find . -name "*tikz*"

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  5:42 Tikz David Arnold
  2009-10-01  5:58 ` Tikz luigi scarso
@ 2009-10-01 11:25 ` Peter Münster
  2009-10-01 16:51   ` Tikz David Arnold
  1 sibling, 1 reply; 31+ messages in thread
From: Peter Münster @ 2009-10-01 11:25 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Wed, 30 Sep 2009, David Arnold wrote:

> All,
> After installing context minimals, this no longer compiles with MKII:
> 
> \usemodule[tikz]
> 
> \starttext
> 
> \starttikzpicture
> \draw[gray] (-5,-5) grid (5,5);
> \stoptikzpicture
> 
> \stoptext

Hello David,

You should run: ./first-setup.sh --extras=all  (or --extras=tikz)

Then you will get the t-tikz module.


> system          : module tikz loaded
> (./tikz.tex

It seems, that you have a file tikz.tex in your local directory. This is
not so good, it's taken instead of the t-tikz module.

Cheers, Peter

-- 
Contact information: http://pmrb.free.fr/contact/


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  6:22       ` Tikz David Arnold
  2009-10-01  6:45         ` Tikz Thomas A. Schmitz
@ 2009-10-01  7:38         ` luigi scarso
  1 sibling, 0 replies; 31+ messages in thread
From: luigi scarso @ 2009-10-01  7:38 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1261 bytes --]

On Thu, Oct 1, 2009 at 8:22 AM, David Arnold <dwarnold45@suddenlink.net>wrote:

> Ran:
> first-setup.sh
>
> Then:
>
> david-arnolds-macbook-pro:context darnold$
> find: tikz: No such file or directory
>
> No tikz files.
>
> D.
>
>
So , it seems to me that you don't have tikz in your minimals anymore.
> Can you try to re-install?
>
> Ah -- sorry, bad english.
As Thomas wrote, pgf is not part of minimals .
Try to reinstall pgf from ctan;
if you can, it's better to make a symbolic link this time.
Or you can try to see if there are some options of rsync to preserve your
files,
but eventually you can end in messy and unusable minimals.

The idea of minimals is :" the minimum complete for a project"
and is good to have multiple minimals.
Actually I have
*) current -- reinstalled 2~3 times at year
*) beta -- can be reinstalled 2~3 time at week
*) beta-lunatic -- my project, frozen
*) beta-pdflualatex -- another experiment, not frozen
and a couple of current in production.
In you situation should say to make  a beta-pgf
To update
1) make a new minimals called beta-pfg-new
2) copy into it rilevant files and setup from beta-pgf
3) test beta-pdf-new
4) When tests are ok, store beta-pgf in another location and rename
beta-pgf-new in beta-pgf

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 2161 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  6:22       ` Tikz David Arnold
@ 2009-10-01  6:45         ` Thomas A. Schmitz
  2009-10-01  7:38         ` Tikz luigi scarso
  1 sibling, 0 replies; 31+ messages in thread
From: Thomas A. Schmitz @ 2009-10-01  6:45 UTC (permalink / raw)
  To: mailing list for ConTeXt users


On Oct 1, 2009, at 8:22 AM, David Arnold wrote:

> Ran:
>
> first-setup.sh
>
> Then:
>
> david-arnolds-macbook-pro:context darnold$
> find: tikz: No such file or directory
>
> No tikz files.
>
> D.

Of course not. That's what Luigi told you. tikz is a humongous package  
and not part of the minimals. You have to install it.

Thomas
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  6:17     ` Tikz luigi scarso
@ 2009-10-01  6:22       ` David Arnold
  2009-10-01  6:45         ` Tikz Thomas A. Schmitz
  2009-10-01  7:38         ` Tikz luigi scarso
  0 siblings, 2 replies; 31+ messages in thread
From: David Arnold @ 2009-10-01  6:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1035 bytes --]

Ran:

first-setup.sh

Then:

david-arnolds-macbook-pro:context darnold$
find: tikz: No such file or directory

No tikz files.

D.

On Sep 30, 2009, at 11:17 PM, luigi scarso wrote:

>
>
> On Thu, Oct 1, 2009 at 8:10 AM, David Arnold <dwarnold45@suddenlink.net 
> > wrote:
> In the minmals directory:
>
> david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
> find: tikz: No such file or directory
>
> So , it seems to me that you don't have tikz in your minimals anymore.
> Can you try to re-install?
>
> -- 
> luigi
>
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 2026 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  6:10   ` Tikz David Arnold
@ 2009-10-01  6:17     ` luigi scarso
  2009-10-01  6:22       ` Tikz David Arnold
  2009-10-01 11:30     ` Tikz Peter Münster
  1 sibling, 1 reply; 31+ messages in thread
From: luigi scarso @ 2009-10-01  6:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 325 bytes --]

On Thu, Oct 1, 2009 at 8:10 AM, David Arnold <dwarnold45@suddenlink.net>wrote:

> In the minmals directory:
> david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
> find: tikz: No such file or directory
>
> So , it seems to me that you don't have tikz in your minimals anymore.
Can you try to re-install?

-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 699 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  5:58 ` Tikz luigi scarso
@ 2009-10-01  6:10   ` David Arnold
  2009-10-01  6:17     ` Tikz luigi scarso
  2009-10-01 11:30     ` Tikz Peter Münster
  0 siblings, 2 replies; 31+ messages in thread
From: David Arnold @ 2009-10-01  6:10 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 1453 bytes --]

In the minmals directory:

david-arnolds-macbook-pro:context darnold$ find . grep 'tikz'
find: tikz: No such file or directory

On Sep 30, 2009, at 10:58 PM, luigi scarso wrote:

>
>
> On Thu, Oct 1, 2009 at 7:42 AM, David Arnold <dwarnold45@suddenlink.net 
> > wrote:
> All,
>
> After installing context minimals, this no longer compiles with MKII:
>
> \usemodule[tikz]
>
> \starttext
>
> \starttikzpicture
> \draw[gray] (-5,-5) grid (5,5);
> \stoptikzpicture
>
> \stoptext
>
>
> system          : module tikz loaded
> (./tikz.tex
> system          : module tikz (line 2) already loaded
> publications    : file tikz.bbl not found, waiting for bibtex
> systems         : begin file tikz at line 3
> ! Undefined control sequence.
> l.5 \starttikzpicture
>
> Can be.
> If I rememeber well, by default ./first-run.sh
> setup a new and fresh minimals:
> others files are deleted.
> Are there tikz* files still in your minimals ?
>
>
> -- 
> luigi
>
> ___________________________________________________________________________________
> 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  : https://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________


[-- Attachment #1.2: Type: text/html, Size: 2758 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: Tikz
  2009-10-01  5:42 Tikz David Arnold
@ 2009-10-01  5:58 ` luigi scarso
  2009-10-01  6:10   ` Tikz David Arnold
  2009-10-01 11:25 ` Tikz Peter Münster
  1 sibling, 1 reply; 31+ messages in thread
From: luigi scarso @ 2009-10-01  5:58 UTC (permalink / raw)
  To: mailing list for ConTeXt users


[-- Attachment #1.1: Type: text/plain, Size: 739 bytes --]

On Thu, Oct 1, 2009 at 7:42 AM, David Arnold <dwarnold45@suddenlink.net>wrote:

> All,
> After installing context minimals, this no longer compiles with MKII:
>
> \usemodule[tikz]
>
> \starttext
>
> \starttikzpicture
> \draw[gray] (-5,-5) grid (5,5);
> \stoptikzpicture
>
> \stoptext
>
>
> system          : module tikz loaded
> (./tikz.tex
> system          : module tikz (line 2) already loaded
> publications    : file tikz.bbl not found, waiting for bibtex
> systems         : begin file tikz at line 3
> ! Undefined control sequence.
> l.5 \starttikzpicture
>
> Can be.
If I rememeber well, by default ./first-run.sh
setup a new and fresh minimals:
others files are deleted.
Are there tikz* files still in your minimals ?


-- 
luigi

[-- Attachment #1.2: Type: text/html, Size: 1459 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Tikz
@ 2009-10-01  5:42 David Arnold
  2009-10-01  5:58 ` Tikz luigi scarso
  2009-10-01 11:25 ` Tikz Peter Münster
  0 siblings, 2 replies; 31+ messages in thread
From: David Arnold @ 2009-10-01  5:42 UTC (permalink / raw)
  To: Context Mailing List List


[-- Attachment #1.1: Type: text/plain, Size: 447 bytes --]

All,

After installing context minimals, this no longer compiles with MKII:

\usemodule[tikz]

\starttext

\starttikzpicture
\draw[gray] (-5,-5) grid (5,5);
\stoptikzpicture

\stoptext


system          : module tikz loaded
(./tikz.tex
system          : module tikz (line 2) already loaded
publications    : file tikz.bbl not found, waiting for bibtex
systems         : begin file tikz at line 3
! Undefined control sequence.
l.5 \starttikzpicture

[-- Attachment #1.2: Type: text/html, Size: 1820 bytes --]

[-- Attachment #2: Type: text/plain, Size: 487 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 23:15     ` tikz Mojca Miklavec
@ 2009-07-22  7:44       ` Hans Hagen
  0 siblings, 0 replies; 31+ messages in thread
From: Hans Hagen @ 2009-07-22  7:44 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Till Tantau

Mojca Miklavec wrote:
> On Tue, Jul 21, 2009 at 23:22, Hans Hagen wrote:
>> Mojca Miklavec wrote:
>>> TikZ does the following:
>>>
>>> \def\pgfutil@font@tiny{\tfxx}            % How to do this correctly?
>> \small or \txx
> 
> That was just copy-pasted from TikZ source (I have not been asking
> that; my diagnosis/question/suggestion was about
> \let\pgfutil@font@normalfont=\rm and \let\pgfutil@selectfont=\rm that
> should probably be changed to \tf) but since you have answered ...
> 
> I think that it was desired to use something even smaller. In LaTeX there is:
> 
> \tiny	5
> \scriptsize	7
> \footnotesize	8
> \small	9
> \normalsize	10
> 
> so one can choose 4 smaller sizes. In ConTeXt there is apparently (I
> never had to use so tiny sizes, so I never checked the details):
> 
>   \definebodyfontenvironment
>     [10pt]
>     [\s!text=10pt,\s!script=7pt,\s!scriptscript=5pt,
>      \c!x=8pt,\c!xx=6pt,\c!big=12pt,\c!small=8pt]
> 
> I suspect that the author wanted to have something even smaller than
> \tfxx (or better: 4 smaller sizes instead of just the current two),
> most probably that would be scriptscript, just that it needs a special
> treatment. (\switchtobodyfont[scriptscript] works to get 5pt in 10pt
> regime, but I'm not sure about the most efficient way.)

i don't know either ... personally i'd use a model that is tight to 
graphic dimensions (as baseline alignments are also an issue)

anyway, the latex and context font models are too different to bother 
too much about mapping

Hans




-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 21:22   ` tikz Hans Hagen
@ 2009-07-21 23:15     ` Mojca Miklavec
  2009-07-22  7:44       ` tikz Hans Hagen
  0 siblings, 1 reply; 31+ messages in thread
From: Mojca Miklavec @ 2009-07-21 23:15 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Till Tantau

On Tue, Jul 21, 2009 at 23:22, Hans Hagen wrote:
> Mojca Miklavec wrote:
>>
>> TikZ does the following:
>>
>> \def\pgfutil@font@tiny{\tfxx}            % How to do this correctly?
>
> \small or \txx

That was just copy-pasted from TikZ source (I have not been asking
that; my diagnosis/question/suggestion was about
\let\pgfutil@font@normalfont=\rm and \let\pgfutil@selectfont=\rm that
should probably be changed to \tf) but since you have answered ...

I think that it was desired to use something even smaller. In LaTeX there is:

\tiny	5
\scriptsize	7
\footnotesize	8
\small	9
\normalsize	10

so one can choose 4 smaller sizes. In ConTeXt there is apparently (I
never had to use so tiny sizes, so I never checked the details):

  \definebodyfontenvironment
    [10pt]
    [\s!text=10pt,\s!script=7pt,\s!scriptscript=5pt,
     \c!x=8pt,\c!xx=6pt,\c!big=12pt,\c!small=8pt]

I suspect that the author wanted to have something even smaller than
\tfxx (or better: 4 smaller sizes instead of just the current two),
most probably that would be scriptscript, just that it needs a special
treatment. (\switchtobodyfont[scriptscript] works to get 5pt in 10pt
regime, but I'm not sure about the most efficient way.)

>> \def\pgfutil@font@scriptsize{\tfxx}
>> \def\pgfutil@font@footnotesize{\tfx}
>> \def\pgfutil@font@small{\tfx}
>> \def\pgfutil@font@normalsize{\tf}

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 19:02 ` tikz Mojca Miklavec
@ 2009-07-21 21:22   ` Hans Hagen
  2009-07-21 23:15     ` tikz Mojca Miklavec
  0 siblings, 1 reply; 31+ messages in thread
From: Hans Hagen @ 2009-07-21 21:22 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Till Tantau

Mojca Miklavec wrote:
> On Tue, Jul 21, 2009 at 14:25, R. Bastian wrote:
>> Hello,
>>
>> i try to use tikz:
>>
>> \usemodule[tikz]
>> \usebodyfont       [sansserif, 10pt]
>> ...
>> \starttikzpicture[]
>> \draw (0cm, 0cm) -- (5cm, 5cm) node {vous êtes ici};
>> \stoptikzpicture
>>
>> the text in the figure is not 'sansserif' but cmr-like.
>>
>> How can I get the same 'sansserif' than in the body ?
> 
> TikZ does the following:
> 
> \def\pgfutil@font@tiny{\tfxx}            % How to do this correctly?

\small or \txx

> \def\pgfutil@font@scriptsize{\tfxx}
> \def\pgfutil@font@footnotesize{\tfx}
> \def\pgfutil@font@small{\tfx}
> \def\pgfutil@font@normalsize{\tf}
> \def\pgfutil@font@large{\tfa}
> \def\pgfutil@font@Large{\tfb}
> \def\pgfutil@font@huge{\tfc}
> \def\pgfutil@font@Huge{\tfc}
> \def\pgfutil@font@itshape{\it}
> \def\pgfutil@font@bfseries{\bf}
> \let\pgfutil@font@normalfont=\rm
> \let\pgfutil@selectfont=\rm
> 
> So it basically forces "\rm" switch at the beginning of every label.
> You get even more weird results with the following (text is LM, but
> math is iwona):
> 
> \usemodule[tikz]
> \enableregime[utf-8]
> \usetypescript[iwona][ec]
> \setupbodyfont[iwona]
> \starttext
> \tikz \draw (0cm, 0cm) -- (5cm, 5cm) node {this is cm, but $math\in\Im νοnα$};
> \stoptext
> 
> So the question is: what command should TikZ use to switch to "normal"
> font? I have tried replacing \rm with \tf and then iwona started
> working properly. What do others think? Should we request replacing
> \rm by \tf in TikZ?
> 
> 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  : https://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 | fax: 038 477 53 74 | www.pragma-ade.com
                                              | 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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 12:25 tikz R. Bastian
       [not found] ` <6faad9f00907210531q45075141r445e4c0fd2eddc54@mail.gmail.com>
@ 2009-07-21 19:02 ` Mojca Miklavec
  2009-07-21 21:22   ` tikz Hans Hagen
  1 sibling, 1 reply; 31+ messages in thread
From: Mojca Miklavec @ 2009-07-21 19:02 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Till Tantau

On Tue, Jul 21, 2009 at 14:25, R. Bastian wrote:
> Hello,
>
> i try to use tikz:
>
> \usemodule[tikz]
> \usebodyfont       [sansserif, 10pt]
> ...
> \starttikzpicture[]
> \draw (0cm, 0cm) -- (5cm, 5cm) node {vous êtes ici};
> \stoptikzpicture
>
> the text in the figure is not 'sansserif' but cmr-like.
>
> How can I get the same 'sansserif' than in the body ?

TikZ does the following:

\def\pgfutil@font@tiny{\tfxx}            % How to do this correctly?
\def\pgfutil@font@scriptsize{\tfxx}
\def\pgfutil@font@footnotesize{\tfx}
\def\pgfutil@font@small{\tfx}
\def\pgfutil@font@normalsize{\tf}
\def\pgfutil@font@large{\tfa}
\def\pgfutil@font@Large{\tfb}
\def\pgfutil@font@huge{\tfc}
\def\pgfutil@font@Huge{\tfc}
\def\pgfutil@font@itshape{\it}
\def\pgfutil@font@bfseries{\bf}
\let\pgfutil@font@normalfont=\rm
\let\pgfutil@selectfont=\rm

So it basically forces "\rm" switch at the beginning of every label.
You get even more weird results with the following (text is LM, but
math is iwona):

\usemodule[tikz]
\enableregime[utf-8]
\usetypescript[iwona][ec]
\setupbodyfont[iwona]
\starttext
\tikz \draw (0cm, 0cm) -- (5cm, 5cm) node {this is cm, but $math\in\Im νοnα$};
\stoptext

So the question is: what command should TikZ use to switch to "normal"
font? I have tried replacing \rm with \tf and then iwona started
working properly. What do others think? Should we request replacing
\rm by \tf in TikZ?

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 18:34       ` tikz R. Bastian
@ 2009-07-21 18:41         ` Wolfgang Schuster
  0 siblings, 0 replies; 31+ messages in thread
From: Wolfgang Schuster @ 2009-07-21 18:41 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.07.2009 um 20:34 schrieb R. Bastian:

> Wolfgang, no need for an example: \sometxt{ça ne va pas} works
> (font & utf-8).

With MkIV you don't even need \sometxt.

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://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 17:24     ` tikz Mojca Miklavec
@ 2009-07-21 18:34       ` R. Bastian
  2009-07-21 18:41         ` tikz Wolfgang Schuster
  0 siblings, 1 reply; 31+ messages in thread
From: R. Bastian @ 2009-07-21 18:34 UTC (permalink / raw)
  To: ntg-context

On Tue, 21 Jul 2009 19:24:59 +0200
Mojca Miklavec <mojca.miklavec.lists@gmail.com> scribit:

> On Tue, Jul 21, 2009 at 18:44, R. Bastian wrote:
> >
> > In the between, I tried "metafun":
> > I agree, it is powerfull, but ...
> >
> > ... there are 2.5 problems:
> > - the font in the graphics is also cmr-like
> > - utf-8 is not understand: "ça ne va pas"
> > - TeX syntax is not understand : "\c ca ne va pas" !
> >
> > Is there a way ?
> 
> Use \sometxt{ça ne va pas} instead of btex ça ne va pas etex.

Wolfgang, no need for an example: \sometxt{ça ne va pas} works
(font & utf-8).

Merci beaucoup.

RB
> 
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 16:44   ` tikz R. Bastian
  2009-07-21 17:17     ` tikz Wolfgang Schuster
@ 2009-07-21 17:24     ` Mojca Miklavec
  2009-07-21 18:34       ` tikz R. Bastian
  1 sibling, 1 reply; 31+ messages in thread
From: Mojca Miklavec @ 2009-07-21 17:24 UTC (permalink / raw)
  To: mailing list for ConTeXt users

On Tue, Jul 21, 2009 at 18:44, R. Bastian wrote:
>
> In the between, I tried "metafun":
> I agree, it is powerfull, but ...
>
> ... there are 2.5 problems:
> - the font in the graphics is also cmr-like
> - utf-8 is not understand: "ça ne va pas"
> - TeX syntax is not understand : "\c ca ne va pas" !
>
> Is there a way ?

Use \sometxt{ça ne va pas} instead of btex ça ne va pas etex.

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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
  2009-07-21 16:44   ` tikz R. Bastian
@ 2009-07-21 17:17     ` Wolfgang Schuster
  2009-07-21 17:24     ` tikz Mojca Miklavec
  1 sibling, 0 replies; 31+ messages in thread
From: Wolfgang Schuster @ 2009-07-21 17:17 UTC (permalink / raw)
  To: mailing list for ConTeXt users


Am 21.07.2009 um 18:44 schrieb R. Bastian:

> On Tue, 21 Jul 2009 14:31:53 +0200
> Mojca Miklavec <mojca.miklavec.lists@gmail.com> scribit:
>
>> I would post that to pgf mailing list. I don't think it's a ConTeXt
>> issue.
>>
>> Mojca
>>
> In the between, I tried "metafun":
> I agree, it is powerfull, but ...
>
> ... there are 2.5 problems:
> - the font in the graphics is also cmr-like
> - utf-8 is not understand: "ça ne va pas"
> - TeX syntax is not understand : "\c ca ne va pas" !
>
> Is there a way ?

Example, please!

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://www.pragma-ade.nl / http://tex.aanhet.net
archive  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* Re: tikz
       [not found] ` <6faad9f00907210531q45075141r445e4c0fd2eddc54@mail.gmail.com>
@ 2009-07-21 16:44   ` R. Bastian
  2009-07-21 17:17     ` tikz Wolfgang Schuster
  2009-07-21 17:24     ` tikz Mojca Miklavec
  0 siblings, 2 replies; 31+ messages in thread
From: R. Bastian @ 2009-07-21 16:44 UTC (permalink / raw)
  To: ntg-context

On Tue, 21 Jul 2009 14:31:53 +0200
Mojca Miklavec <mojca.miklavec.lists@gmail.com> scribit:

> I would post that to pgf mailing list. I don't think it's a ConTeXt
> issue.
> 
> Mojca
> 
In the between, I tried "metafun": 
I agree, it is powerfull, but ...

... there are 2.5 problems:
- the font in the graphics is also cmr-like
- utf-8 is not understand: "ça ne va pas"
- TeX syntax is not understand : "\c ca ne va pas" !

Is there a way ?

RB


> 
> On Tue, Jul 21, 2009 at 14:25, R. Bastian<rbastian@free.fr> wrote:
> > Hello,
> >
> > i try to use tikz:
> >
> >
> > \usemodule[tikz]
> > \usebodyfont       [sansserif, 10pt]
> > ...
> > \starttikzpicture[]
> > \draw (0cm, 0cm) -- (5cm, 5cm) node {vous êtes ici};
> > \stoptikzpicture
> >
> > the text in the figure is not 'sansserif' but cmr-like.
> >
> > How can I get the same 'sansserif' than in the body ?
> >
> > Thanks for your help.
> > --
> > René Bastian
> >
> >
> > ___________________________________________________________________________________
> > 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

* tikz
@ 2009-07-21 12:25 R. Bastian
       [not found] ` <6faad9f00907210531q45075141r445e4c0fd2eddc54@mail.gmail.com>
  2009-07-21 19:02 ` tikz Mojca Miklavec
  0 siblings, 2 replies; 31+ messages in thread
From: R. Bastian @ 2009-07-21 12:25 UTC (permalink / raw)
  To: ntg-context

Hello,

i try to use tikz:


\usemodule[tikz]
\usebodyfont       [sansserif, 10pt]
...
\starttikzpicture[]
\draw (0cm, 0cm) -- (5cm, 5cm) node {vous êtes ici};
\stoptikzpicture

the text in the figure is not 'sansserif' but cmr-like.

How can I get the same 'sansserif' than in the body ?

Thanks for your help.
-- 
René Bastian


___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 31+ messages in thread

end of thread, other threads:[~2019-11-27 23:01 UTC | newest]

Thread overview: 31+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-08-09 16:19 tikz Idris Samawi Hamid
2007-08-09 16:28 ` tikz Hans Hagen
2007-08-09 17:43 ` tikz Aditya Mahajan
2007-08-09 18:00   ` tikz Idris Samawi Hamid
2007-08-09 18:35     ` tikz Aditya Mahajan
2007-08-10  8:36 ` tikz Mojca Miklavec
2009-07-21 12:25 tikz R. Bastian
     [not found] ` <6faad9f00907210531q45075141r445e4c0fd2eddc54@mail.gmail.com>
2009-07-21 16:44   ` tikz R. Bastian
2009-07-21 17:17     ` tikz Wolfgang Schuster
2009-07-21 17:24     ` tikz Mojca Miklavec
2009-07-21 18:34       ` tikz R. Bastian
2009-07-21 18:41         ` tikz Wolfgang Schuster
2009-07-21 19:02 ` tikz Mojca Miklavec
2009-07-21 21:22   ` tikz Hans Hagen
2009-07-21 23:15     ` tikz Mojca Miklavec
2009-07-22  7:44       ` tikz Hans Hagen
2009-10-01  5:42 Tikz David Arnold
2009-10-01  5:58 ` Tikz luigi scarso
2009-10-01  6:10   ` Tikz David Arnold
2009-10-01  6:17     ` Tikz luigi scarso
2009-10-01  6:22       ` Tikz David Arnold
2009-10-01  6:45         ` Tikz Thomas A. Schmitz
2009-10-01  7:38         ` Tikz luigi scarso
2009-10-01 11:30     ` Tikz Peter Münster
2009-10-01 11:25 ` Tikz Peter Münster
2009-10-01 16:51   ` Tikz David Arnold
2019-11-27 15:42 tikz Ursula Hermann
2019-11-27 15:51 ` tikz Henning Hraban Ramm
2019-11-27 17:06 ` tikz Martin Althoff
2019-11-27 17:46 ` tikz Eric Détrez
2019-11-27 23:01 ` tikz Alan Braslau

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).