Re: [NTG-context] Conditional cross references to floats

2011-01-18 Thread Robert Blackstone
On  Mon, 17 Jan 2011 16:22:03 +0100  Wolfgang Schuster wrote:

 Am 16.01.2011 um 20:58 schrieb Robert Blackstone:

 Hi all,

 I wonder if it is already possible to perform the following task:

 can one make a sort of
 conditional reference that only mentions the page if it is not the
 present page?

 ConTeXt has a \atpage and a \somewhere command but none of them
 can be used to omit the reference when the float and the reference
 are on the same page but it?s not impossible.

 As you can see from this example:

 .
Wolfgang

Thank you, Wolfgang.
The code you gave, while not a fool-proof tool, works quite well. I
expect I will be able to use it when figures will not be pushed away
too far from their intended place in the text. I have changed above
and below to the previous page and the next page respectively
but that is a detail. It will still require careful proofreading
anyway.

Kind regards,
Robert Blackstone
___
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
___


[NTG-context] what about \numero ?

2011-01-18 Thread Peter Münster
Hello,
\numero is broken (additional n is printed) and seems to be obsolete
(comment in symb-mis.mkiv). Should \textnumero be used instead, or what
else is recommended?
-- 
Peter Münster

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


Re: [NTG-context] what about \numero ?

2011-01-18 Thread Hans Hagen

On 18-1-2011 11:21, Peter Münster wrote:

Hello,
\numero is broken (additional n is printed) and seems to be obsolete
(comment in symb-mis.mkiv). Should \textnumero be used instead, or what
else is recommended?


I removed the n. The command \numero will stay for a while and the 
symbol will stay forever. Probably at somepoint using the unicode entry 
is better than the verbose command.


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Labels in MetaPost (MetaObj)

2011-01-18 Thread Stefan Müller

Hi list,

I'm having some trouble with MetaPost in general and MetaObj in 
particular. I hope someone on this list can assist me here. I'm trying 
to run the appended ConTeXt file with a quite simple object Segment 
(from the manual [1], section 2.1). This script works fine as it is. I 
wanted to add a simple TeX label (\tt \overbar{E}) to the drawing 
macro, but failed.


When including the line marked with % 1 the TeX run fails. I don't 
understand why.


The line with % 2 is taken frome the metaobj manual (section 5.8) [1], 
but including this doesn't work either.


It would be great if someone could tell me what's wrong with the mp-code 
below and explain how to place a (TeX) label inside a metaobj object.


Thanks in advance,
Stefan.


[1] http://tex.loria.fr/prod-graph/momanual.pdf

PS: Both variants fail with mp error messages like this:

mplibmp terminal: ! Inconsistent equation (off by 1).
to be read again
   ;
assignObj-(SUFFIX0)=incr(nObj_);

iname_[(SUFFIX0)]=str(SUFFIX0);addclass_((S...

newSegment-...roup.assignObj((SUFFIX2),Segment)

;ObjPoint.a,b;ObjCode@##b...
to be read again
   ;
* ...ar {E}) shifted n.a; enddef; newSegment.s;
   s.a=origin; 
drawObj(s); ;

! Redundant equation.
to be read again
   ;
assignObj-...bj_);iname_[(SUFFIX0)]=str(SUFFIX0);

addclass_((SUFFIX0),(EXPR1...

newSegment-...roup.assignObj((SUFFIX2),Segment)

;ObjPoint.a,b;ObjCode@##b...


===
\startMPinclusions
input metaobj;
\stopMPinclusions

\startMPpage
vardef newSegment@#=
assignObj(@#,Segment);
ObjPoint a,b;
ObjCode @#b-@#a=(1cm,2cm);
enddef;

def drawSegment(suffix n)=
draw n.a--n.b;
%   draw btex \tt \overbar{E} etex shifted n.a; % 1
enddef;

newSegment.s;
%   ObjLabel.s(btex hello! etex) labpoint(a); % 2
s.a=origin;
drawObj(s);
\stopMPpage
===
___
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
___


[NTG-context] How to run Typesetting in MetaPost example (MetaFun)?

2011-01-18 Thread Verhaag, G.C.H.M.

Hi,

I wanted to try (using ConTeXt minimals MkIV) the example on page 228 of 
the MetaFun manual, dealing with typesetting in MetaPost.


The code is given as:

\resetMPdrawing
\startMPdrawing
picture pic[] ;
numeric wid[], len[], pos[], n ;
wid[0] := len[0] := pos[0] := n := 0 ;
\stopMPdrawing

\def\whatever#1%
{\appendtoks#1\to\MPtoks
 \setbox\MPbox=\hbox{\bfd\the\MPtoks}%
 \startMPdrawing
  n := n + 1 ; len[n] := \the\wd\MPbox ;
 \stopMPdrawing
 \startMPdrawing[-]
  pic[n] := textext(\bfd\setstrut\strut#1) ;
  pic[n] := pic[n] shifted - llcorner pic[n] ;
 \stopMPdrawing}

\handletokens MetaPost is Fun!\with\whatever

But is won't run. The following message is generated:

\@@toks -\MPtoks

\dodoappendtoks -\dodoglobal \@@toks
 \@EAEAEA {\@EA \the \@EA \@@toks 
\the ...

\whatever #1-\appendtoks #1\to \MPtoks
   \setbox \MPbox =\hbox {\bfd \the 
\MP...

\dodohandletokenstwo *#1-\dododohandletokens {#1}
 \dohandletokens
argument M
   etaPost is Fun!
\handletokens ...ndletokens {#2}\dohandletokens #1
 \end
l.96 \handletokens MetaPost is Fun!\with\whatever

Anybody any idea?

Regards,
Gerard Verhaag
___
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
___


[NTG-context] Fwd: EuroBachoTeX 2011 -- Call for papers

2011-01-18 Thread Willi Egger
Dear list-users,

I would like to draw your attention to the mail I received from the organizers 
of the BachoTeX-EuroTeX.


Kind regards

Willi Egger
Secretary NTG

Begin forwarded message:

 From: Jerzy Ludwichowski jerzy.ludwichow...@uni.torun.pl
 Date: 17 January 2011 21:44:56 CET
 To: LUG boards lug-boa...@ifi.uio.no
 Subject: EuroBachoTeX 2011 -- Call for papers
 Reply-To: lug-boa...@ifi.uio.no
 
 Dear Friends, please forward this to your membership.
 
 Best regards,
 
 JBL
 
 EuroBachoTeX 2011: CALL FOR PAPERS
 ==
 
 AESTHETICS AND EFFECTIVENESS OF THE MESSAGE, CULTURAL CONTEXTS
 
 The BachoTeX conference in 2011, the XIXth of the series, will be held
 from April 29th through May 3rd 2011. It will also be the official
 EuroTeX conference, hence we will reference it by the traditional name
 EuroBachoTeX with the distinguishing ``2011''. BachoTeX conferences have
 been organized yearly since 1993 by GUST, the Polish TeX Users Group.
 Please visit the main site of the conference:
 http://www.gust.org.pl/bachotex/2011 .
 
 As the lead theme we propose the aesthetics of publications from the
 perspective of the effectiveness of the message. Encouraged are also
 references to the cultural contexts -- not everything is liked by
 everyone everywhere.
 
 We look forward to TeX, METAPOST, ConTeXt, LaTeX, and friends related
 presentations revolving around those issues, but will be more than
 happy if programmers and designers of typographic systems,
 typographers and other users of such systems want to share their
 thoughts and experience.
 
 In addition, we look forward to papers on support that typography
 systems can offer to the disabled, e.g., in connection with sign
 languages or generating speech (e.g., from TeX's mathematical
 notation). Perhaps somebody looked into issues with non-alphabetic
 notations such as tablature.
 
 Also, please note the ``Call for TeX Pearls'' below.
 
 WORKSHOPS AND TUTORIALS
 
 Especially welcome are proposals for TeX-related tutorials or
 introductions. If you have suggestions for tutorials or workshops
 by others than yourself or about specific topics, please let us know.
 
 POSTER SESSIONS
 
 All participants will be given the opportunity to present their TeX
 and typographic results in the form of posters. We will provide
 exhibition space. Perhaps new ideas or solutions will emerge?
 
 CALL FOR TeX PEARLS
 
 We are continuing the tradition of ``The Pearls of TeX Programming''.
 Here is, briefly, what is wanted:
 
 * short TeX, METAFONT or METAPOST macro(s), not necessarily useful,
 
 * the solution not obvious at the first glance,
 
 * easy to explain: necessarily 10 minutes at most.
 
 If you have something that fits the bill, please consider submitting
 a proposal. If you know of somebody's work that does the same, please
 let us know, and we will contact that person.
 The email address is: pearls at gust dot org dot pl.
 Previously collected pearls can be found at
 http://www.gust.org.pl/projects/pearls.
 
 THE TeX CLINIC
 
 We hope that more advanced TeX ies will help out the TeX Clinic team
 led by Joanna Ryćko (http://www.gust.org.pl/projects/klinika).
 
 DEADLINES AND ADDRESSES
 
 The deadline for abstracts and other proposals is March 28th 2011.
 The deadline for final papers to appear in the conference materials
 is April 11th.
 
 Contributions should be sent by email to the Programme Committee:
 prog-ebt2011 at gust dot org dot pl. The PC is chaired by
 Bogusław Jackowski (b underscore jackowski at gust dot org dot pl).
 
 The PDF version of this call is available at the conference page.
 
 Best regards,
 Jerzy Ludwichowsi
 

___
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
___


[NTG-context] \definetyping to avoid wrapping lines

2011-01-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

is there a way how to disable wrapping (breaking) very long lines being 
processed by \typefile?

E.g. with a \definetyping option?

Kind regards,

Lukas


--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

___
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
___


[NTG-context] new beta

2011-01-18 Thread Hans Hagen

Hi,

I uploaded a new beta. The most important changes are:

- Environments and modules are no longer loaded under protection so this 
has to be done explicitly in the files themselves. So far we haven't 
encountered problems with that change.


- Some more cont-*.tex files have been split in mkii and mkiv versions. 
In mkii a tex file is loaded when no mkii file is found, but in mkiv 
only files with suffix mkiv are loaded. That way we stay compatible. 
This also means that cont-sys.tex is no longer loaded in mkiv which is 
okay as normally nothing in there concerns mkiv. If you use that file 
for setting up for instance another default paperformat, you'd better 
create a cont-sys.mkiv file. (Maybe that file should go and we should 
use the configuration file instead.)


- The multilingual interface and messages are now loaded at the \LUA\ 
end. If you observe problems, please let me know.


- If you are adventurous you can add the following to cont-new.mkiv

   \enablemode[*nofonts]

This will postpone font loading and will be default soon. This saves 
runtime when you use another font than latin modern. When no font is 
loaded before the first \starttext, modern will kick in. A side effect 
is that any text typeset before \starttext will not show up in the 
output. If you observe that, you need to setup a bodyfont explicitly 
beforehand. In practice there should be no problems. The delayed loading 
is somewhat tricky but has been tested for a while.


- There have been some fixes to linebreaks in verbatim. Hopefully I 
didn't mess things up too much.


- An upcoming version will also have \nonknuthmode as default. You can 
test this by putting this macro in cont-new.mkiv.


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] \definetyping to avoid wrapping lines

2011-01-18 Thread Hans Hagen

On 18-1-2011 5:26, Procházka Lukáš Ing. - Pontex s. r. o. wrote:

Hello,

is there a way how to disable wrapping (breaking) very long lines being
processed by \typefile?

E.g. with a \definetyping option?


you have some control over spaces

space=on|stretch|normal

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2011-01-18 Thread Renaud AUBIN
Hi Hans,

On Linux with debian minimals:

l.42 \loadmarkfile{catc-ini}
   
Please type another input file name:
! Emergency stop.
to be read again
   \relax
l.42 \loadmarkfile{catc-ini}

Cheers,

Renaud

Le 18/01/2011 19:55, Hans Hagen a écrit :
 Hi,

 I uploaded a new beta. The most important changes are:

 - Environments and modules are no longer loaded under protection so
 this has to be done explicitly in the files themselves. So far we
 haven't encountered problems with that change.

 - Some more cont-*.tex files have been split in mkii and mkiv
 versions. In mkii a tex file is loaded when no mkii file is found, but
 in mkiv only files with suffix mkiv are loaded. That way we stay
 compatible. This also means that cont-sys.tex is no longer loaded in
 mkiv which is okay as normally nothing in there concerns mkiv. If you
 use that file for setting up for instance another default paperformat,
 you'd better create a cont-sys.mkiv file. (Maybe that file should go
 and we should use the configuration file instead.)

 - The multilingual interface and messages are now loaded at the \LUA\
 end. If you observe problems, please let me know.

 - If you are adventurous you can add the following to cont-new.mkiv

\enablemode[*nofonts]

 This will postpone font loading and will be default soon. This saves
 runtime when you use another font than latin modern. When no font is
 loaded before the first \starttext, modern will kick in. A side effect
 is that any text typeset before \starttext will not show up in the
 output. If you observe that, you need to setup a bodyfont explicitly
 beforehand. In practice there should be no problems. The delayed
 loading is somewhat tricky but has been tested for a while.

 - There have been some fixes to linebreaks in verbatim. Hopefully I
 didn't mess things up too much.

 - An upcoming version will also have \nonknuthmode as default. You can
 test this by putting this macro in cont-new.mkiv.

 Hans


 -
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 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  : 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
___


Re: [NTG-context] new beta

2011-01-18 Thread Hans Hagen

On 18-1-2011 8:13, Renaud AUBIN wrote:

Hi Hans,

On Linux with debian minimals:

l.42 \loadmarkfile{catc-ini}

Please type another input file name:
! Emergency stop.
to be read again
\relax
l.42 \loadmarkfile{catc-ini}


afaik nothing changed there ... installs ok here on windows and xubuntu

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2011-01-18 Thread Renaud AUBIN
Ok, using /usr/local/ConTeXt_version_2010.11.26 will not please the
resolver or something else because of the dot…
mv do the job

It would be nice to think of those like me who use dot into their naming
scheme… ;)

Renaud

Le 18/01/2011 20:13, Renaud AUBIN a écrit :
 Hi Hans,

 On Linux with debian minimals:

 l.42 \loadmarkfile{catc-ini}

 Please type another input file name:
 ! Emergency stop.
 to be read again
\relax
 l.42 \loadmarkfile{catc-ini}

 Cheers,

 Renaud

___
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
___


Re: [NTG-context] new beta

2011-01-18 Thread Peter Münster
Renaud AUBIN au...@nibua-r.org writes:

 It would be nice to think of those like me who use dot into their naming
 scheme… ;)

See also http://www.ntg.nl/pipermail/ntg-context/2010/052339.html ;)
-- 
Peter Münster

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


Re: [NTG-context] Custom XML Pretty Printer

2011-01-18 Thread Renaud AUBIN
Hi Aditya,

I'm working on that…
When do you need it?

Cheers,
Renaud

Le 16/01/2011 23:06, Aditya Mahajan a écrit :
 On Sun, 16 Jan 2011, Renaud AUBIN wrote:

 Now available on tlcontrib:
 http://tlcontrib.metatex.org/cgi-bin/package.cgi/ruid=4591828845/action=view/id=388


 Any particular reasons why the spaces are not part of the syntax
 highlighting group? For example just add

 \def\RaXmlSnippetComment#1{«#1»}

 and observe the output:

 «!--» «T»«h»«a»«t» «i»«s» «a» «t»«e»«s»«t» «--»

 I want to use a different syntax highlighting scheme that provides
 background colors and such. For that, it will be much nicer if the
 output were

 «!-- That is a test --»

 Is that possible?

 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  : 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
___


Re: [NTG-context] Custom XML Pretty Printer

2011-01-18 Thread Aditya Mahajan

On Tue, 18 Jan 2011, Renaud AUBIN wrote:


Hi Aditya,

I'm working on that…


Thank you.


When do you need it?


Well... it is not urgent for me ... t-vim is slow but it works fine :)

I was planning on a more advanced syntax highlighting module that will 
allow one to use different external highlighters: editors like vim, scite, 
etc., programs like syntax-color, pgyments, HsColor, etc, or even web 
services like hpaste.org or gist. At this time, all this at a dreaming 
stage, and I think that it will nice to be able to change the parser 
without changing the color scheme (and hence the request for group each 
code region in one command which will allow for a module to specify the 
unified color schemes)



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


Re: [NTG-context] new beta

2011-01-18 Thread Hans Hagen

On 18-1-2011 10:04, Peter Münster wrote:

Renaud AUBINau...@nibua-r.org  writes:


It would be nice to think of those like me who use dot into their naming
scheme… ;)


See also http://www.ntg.nl/pipermail/ntg-context/2010/052339.html ;)


well, having a * in a filename is a bad idea anyway

Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] new beta

2011-01-18 Thread Hans Hagen

On 18-1-2011 9:32, Renaud AUBIN wrote:

Ok, using /usr/local/ConTeXt_version_2010.11.26 will not please the
resolver or something else because of the dot…
mv do the job

It would be nice to think of those like me who use dot into their naming
scheme… ;)


hm, i wonder what goes wrong, as catc-ini is not the first file that is 
loaded



Renaud

Le 18/01/2011 20:13, Renaud AUBIN a écrit :

Hi Hans,

On Linux with debian minimals:

l.42 \loadmarkfile{catc-ini}

Please type another input file name:
! Emergency stop.
to be read again
\relax
l.42 \loadmarkfile{catc-ini}

Cheers,

Renaud


___
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 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] new tikz terminal for gnuplot

2011-01-18 Thread Mojca Miklavec
Dear gnuplot lovers,

Peter Hedwig is soon going to submit a patch to gnuplot that fully
supports ConTeXt via TikZ output. Its advantage over ConTeXt terminal
is that one won't need to recompile gnuplot in order to be able to use
it (the gnuplot team at least accepted TikZ terminal if they didn't
accept the one for ConTeXt) which is great news.

I need to fix some tiny bits before I upload a new version to ConTeXt
modules (however the files are here:
https://github.com/mojca/context-gnuplot). I can also commit changes
done by Peter to https://github.com/mojca/gnuplot if they won't be
added any time soon (but if anyone else wants to test it, feel free to
ask for the files).

An example of usage follows below.

Here's his message (the comment about TeX Live is related to the
long-standing bug in TikZ for ConTeXt; I'm just thinking about
uploading a patch for TikZ to TLContrib ...):


I am sorry, that it stalled a bit, but I worked on it secretly ;) But
now I think it is time to release what is done so far to anyone who is
willing to test it.
Here is a brief list of changes to the gnuplot CVS version:
* support for ConTeXt and plain TeX
* removed dependencies for LaTeX packages other than TikZ
* needs TikZ Version = 2.0
* better support for saving terminal options with gnuplot 'save' command
* fixed overflow on negative coordinates that are outside of the crop box
* merged all recent patched from murphy-md and Ethan
Unfortunately it is the Context output that does not compile with the
most recent Context version I installed from TeXLive 2010 and the
http://tlcontrib.metatex.org/2010/ repository. But I remember it
working with an older version so I hope this can be fixed easily ...

Mojca



\usemodule
[gnuplot]
\setupGNUPLOTterminal
[tikz]
[width=6in,
 height=4in]
\setupGNUPLOTterminal
[context]
[dashed=no]

\setupbodyfont[iwona]

\starttext

\startGNUPLOTinclusions
set format y %.1f
\stopGNUPLOTinclusions

\startGNUPLOTscript[a]
plot sin(x)
\stopGNUPLOTscript
\startGNUPLOTscript[b]
plot sin(x) lc 4 lw 2, cos(x) lw 3
\stopGNUPLOTscript

\framed{\useGNUPLOTgraphic[a]}
\framed{\useGNUPLOTgraphic[b]}

\setupGNUPLOT[terminal=tikz]

\framed{\useGNUPLOTgraphic[a]}
\framed{\useGNUPLOTgraphic[b]}

\stoptext
___
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
___


Re: [NTG-context] new beta

2011-01-18 Thread Renaud AUBIN
Except that I used . And not *


Hans Hagen pra...@wxs.nl a écrit :

On 18-1-2011 10:04, Peter Münster wrote:
 Renaud AUBINau...@nibua-r.org  writes:

 It would be nice to think of those like me who use dot into their
naming
 scheme… ;)

 See also http://www.ntg.nl/pipermail/ntg-context/2010/052339.html ;)

well, having a * in a filename is a bad idea anyway

Hans

-
   Hans Hagen | PRAGMA ADE
   Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | voip: 087 875 68 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  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

-- 
Envoyé de mon téléphone Android avec K-9 Mail. Excusez la bièveté.
___
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
___


Re: [NTG-context] \definetyping to avoid wrapping lines

2011-01-18 Thread Procházka Lukáš Ing . - Pontex s . r . o .

Hello,

thanks for the answer. But actually space= option doesn't affect what I need. 
See the attached example.

The right thing is how the first abcdefABCDEF... line (u.txt) is typeset.

In the second case, one A is replaced by  , so we get abcdef BCDEF

And Ctx breaks the line when it reaches that  . - That's the thing I'd like to avoid, i.e. to 
force \typefile to treat lines with   like any other line without  .

(\typefile is used to typeset some text files which may contain a bit longer 
header; the header contain spaces. And here the line break appears, so I get 
lines like:

A program, version, 22.11.1999, bla, some text, Company
Name Ltd

and I'd rather get:

A program, version, 22.11.1999, bla, some text, Company Name Ltd

)

Is there a way how to achieve this?

(And I don't mean to make \typefile font smaller or to use the range option 
to skip first [longer] header lines).

Kind regards,

Lukas


On Tue, 18 Jan 2011 19:59:05 +0100, Hans Hagen pra...@wxs.nl wrote:


you have some control over spaces

space=on|stretch|normal

Hans



--
Ing. Lukáš Procházka [mailto:l...@pontex.cz]
Pontex s. r. o.  [mailto:pon...@pontex.cz] [http://www.pontex.cz]
Bezová 1658
147 14 Praha 4

Tel: +420 244 062 238
Fax: +420 244 461 038

t.mkiv
Description: Binary data


t.pdf
Description: Adobe PDF document
01234567890123456789012345678901234567890123456789012345678901234567890123456789
012345678901234567890123456789012345678901234567890123456789 
1234567890123456789 123456789012345678901234567890123456789
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz 
BCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
___
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
___