Re: [NTG-context] Units misbehaving, I think

2011-09-14 Thread Ian Lawrence
Thanks Hans.. This now seems fixed.

Ian

On 12 Aug 2011, at 17:50, Hans Hagen wrote:

> On 10-8-2011 6:50, Ian Lawrence wrote:
>> I don't think the /unit and /lunit command like a quantity that starts with 
>> a zero.. Any one else?
>> 
>> 
>> First two work fine, last one causes all kinds of grief, in lists, lines 
>> etc. The leading zero and decimal point are zapped.
>> 
>> \unit{1.0 meter inverse second}
>> 
>> \lunit{1.0 meter inverse second}
>> 
>> \unit{0.1 meter inverse second}
>> 
>> \lunit{0.1 meter inverse second}
>> 
>> \lunit{0 meter inverse second}
> i'll fix it
> 
> -
>  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] relative references in OSX Lion

2011-09-14 Thread Ian Lawrence
I got to the bottom of this with the aid of paper (lots) and a pencil.

My misunderstanding was this.

The home folder for context is not the folder from which the tex file is 
invoked. Context has one fixed home folder. You can set this by a bash profile 
and then completely forget that you have.

I hope this is correct and save someone else some time.

Ian
On 23 Aug 2011, at 15:55, Wolfgang Schuster wrote:

> 
> Am 23.08.2011 um 15:37 schrieb Ian Lawrence:
> 
>> Is anyone else successfully running context on OS X Lion?
>> 
>> Apparently the relative references work in the terminal - that's the command 
>> line interface to unix. I can move around different folders using relative 
>> reference there. However there is a complete failure to repeat relative 
>> references within Context (absolute references work fine). Even with well 
>> structured tex files from Wolfgang or Willi…
> 
> I have also Lion on my machine and can’t reproduce the behavior you 
> mentioned. I tried it with the small example i sent a while back but 
> everywhere i get the correct output.
> 
> 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  : 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
___


[NTG-context] export kills hyphen symbol

2011-09-14 Thread Aditya Mahajan
I have an extremely strange bug. If I use Fontin font[1] with simplefonts 
module and enable export and protrusion, the hyphenation symbol is gone! 
Below is a minimal example that illustrates this.

\showframe

\usemodule  [simplefonts][size=10pt]
\setmainfont[Fontin][expansion=quality,protrusion=quality]
\setupbackend [export=yes]
\setuppapersize[A7]
\starttext
\input ward
\stoptext


See the attached pdf for output. On the fifth line the word presence is 
hyphenated but the hyphen symbol is missing!! I am using ConTeXt 
2011.08.26.


[1]: http://www.exljbris.com/fontin.html

Aditya

test.pdf
Description: Adobe PDF document
___
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] t-vim: line-breaks with \inlineX{}

2011-09-14 Thread Aditya Mahajan

On Wed, 14 Sep 2011, Peter Münster wrote:


On Wed, Sep 14 2011, Aditya Mahajan wrote:


See the updated t-filter module from the dev branch at github.


Thanks! When do you plan to update the module in the standalone
distribution?


Updated.

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] t-vim: line-breaks with \inlineX{}

2011-09-14 Thread Peter Münster
On Wed, Sep 14 2011, Aditya Mahajan wrote:

> See the updated t-filter module from the dev branch at github.

Thanks! When do you plan to update the module in the standalone
distribution?

-- 
   Peter
___
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] t-vim: line-breaks with \inlineX{}

2011-09-14 Thread Aditya Mahajan

On Wed, 14 Sep 2011, Peter Münster wrote:


Hello,

How can I avoid the line-breaks here:

--8<---cut here---start->8---
\usemodule[vim]
\definevimtyping[C][syntax=c]
\starttext
bla \inlineC{void func(void)} bla
\stoptext
--8<---cut here---end--->8---

TIA for any help!


The line breaks are due to before=\blank and 
after=\blank in setupvimtyping. The easiest solution is to ignore the 
before and after keys in \inline.


See the updated t-filter module from the dev branch at github.

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
___

[NTG-context] Titles - dimensions and grid after

2011-09-14 Thread Honza Hejzl
Hello,
I simply need to have chapter title exactly placed, not on grid (25mm from
left, top of all letters on the edge of the whole grid). I have tried:

\setupbodyfont[termes,11pt]

\setupinterlinespace[line=14pt]

\definefont[nadpisy][SansBold at 22pt]

\setuphead[chapter][%

before={\dontleavehmode\blank[-0.26cm]\hskip 25mm},

number=yes,

style=\nadpisy

after={\blank[11*line]},

]


This works fine but the text after is NOT on grid (don't know how to).

The second thing is it is NOT skipped 25mm but so cca 30mm.


%\def\mychapterstyle#1#2{\framed[frame=on,location=top,

offset=0pt,width=\textwidth,height=57mm,align=top]{{\hskip 25mm#1 #2}}}

\setuphead[chapter][%

number=yes,

style=\nadpisy

command=\mychapterstyle,

after={\blank[11*line]},

]


This works fine but the problem is that in case of some

charons or other diacritics the whole title is due to it slightly moved
down.


What could solve my problem? (How to get the text after on grid and have
exactly 25mm \hskip OR How to have a framed titles where the diacritical
marks are above the top of the frame?)


Thanks, Honza Hejzl
___
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] t-vim: line-breaks with \inlineX{}

2011-09-14 Thread Peter Münster
Hello,

How can I avoid the line-breaks here:

--8<---cut here---start->8---
\usemodule[vim]
\definevimtyping[C][syntax=c]
\starttext
bla \inlineC{void func(void)} bla
\stoptext
--8<---cut here---end--->8---

TIA for any help!

-- 
   Peter
___
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] TikZ bug fixing (git, minimals, ...)

2011-09-14 Thread Mojca Miklavec
On Wed, Sep 14, 2011 at 11:08, Philipp A. wrote:
> hi mojca, do you want to swich from cvs to git or just create a git mirror
> of the cvs repo?

Create a git mirror.

> in the latter case, i’d be interested in why you don’t
> swich to git entirely.

Because I'm not the developer. That decision would have to be made in
the team developing PGF. If they don't like svn/git or other tools, I
cannot make decisions instead of them what they have to use.

>> When I tried to do conversion from CVS, the .cvsignore files are the
>> only leftovers that somehow bother me (I would really like to get rid
>> of .cvsignore files and put some gitignore somewhere, without my
>> commit being visible), but then I noticed that .cvsignore ->
>> .gitignore conversion is still on TODO list.
>
> that cvs2git didn’t build it in makes me wonder what the big problem is.

I was testing only "git cvsimport" so far, but the homepage of cvs2svn
claims that they don't support it yet (they are looking for developers
to implement it). The main developer is not a git user.

>> The other thing that would make me happy would be the ability to apply
>> some hook to do some transformation of code before comitting to git
>> (let's say that I would want to reencode files into UTF-8 or that I
>> would want to move or rename some files before the actual commit). If
>> you know a simple way to do this, please let me know.
>
> yes, there is such a thing. it is aptly named “pre-commit hook”:
> http://book.git-scm.com/5_git_hooks.html

Thank you. I will try to figure out if I can make it work in my scenario.

> but since there are many settings in git (e.g. core.autocrlf for line
> endings), i’d guess there are some for encoding, too. i might be mistaken,
> though.

I'm not talking about encoding only. I would also like to reshuffle
files (create TDS structure out of current repository of pgf).

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
___

Re: [NTG-context] Multipages registers

2011-09-14 Thread Pierre-François Bonnefoi
Hello Wolfgang,

thank you for your answer.

It's not what I want.

Let me explain :
- when I join the registers to my presentation with \placeindex I obtain more 
than one slide ;
- so, I would like to be able to split this register into two or more slides 
with something like this :

\startslide
\placeindex[a-k]
\stopslide

\startslide
\placeindex[l-z]
\stopslide

Is this possible ?

best regards,
Pierre-François Bonnefoi.

Wolfgang Schuster wrote :
> Am 01.09.2011 um 18:54 schrieb Pierre-François Bonnefoi:
> 
> > Hello,
> > 
> > I would like to be able to spread a registers on several slides from my 
> > lecture notes, with the possibility to include some text at the beginning 
> > of 
> > each of these slides :
> > 
> > first slide : title
> >   index entries
> > next slides : title
> >   next index entries
> > 
> > I've not found the way to do this.
> 
> Can you be more concrete, it’s not clear what do you want.
> 
> When you need a index entry which spans multiple pages you can write it with 
> “\startregister[index][]{} … 
> \stopregister[index][]”.
> 
> Wolfgang


-- 
Bonnefoi Pierre-Francois|E-mail : bonne...@unilim.fr
Universite de Limoges, Laboratoire XLIM |   Tel : 06 28 18 03 38
83, rue d'Isle  |  Mrs. Peel, we're needed...
87000 Limoges - FRANCE  | The Avengers.



smime.p7s
Description: S/MIME cryptographic signature
___
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] TikZ bug fixing (git, minimals, ...)

2011-09-14 Thread Philipp A.
hi mojca, do you want to swich from cvs to git or just create a git mirror
of the cvs repo? in the latter case, i’d be interested in why you don’t
swich to git entirely.

2011/9/13 Mojca Miklavec 

> When I tried to do conversion from CVS, the .cvsignore files are the
> only leftovers that somehow bother me (I would really like to get rid
> of .cvsignore files and put some gitignore somewhere, without my
> commit being visible), but then I noticed that .cvsignore ->
> .gitignore conversion is still on TODO list.
>
that cvs2git didn’t build it in makes me wonder what the big problem is.
both use shell-style wildcards, both can be anywhere in the path and apply
to that subpath, so there must be some hidden caveat…

The other thing that would make me happy would be the ability to apply
> some hook to do some transformation of code before comitting to git
> (let's say that I would want to reencode files into UTF-8 or that I
> would want to move or rename some files before the actual commit). If
> you know a simple way to do this, please let me know.
>
yes, there is such a thing. it is aptly named “pre-commit hook”:
http://book.git-scm.com/5_git_hooks.html

but since there are many settings in git (e.g. core.autocrlf for line
endings), i’d guess there are some for encoding, too. i might be mistaken,
though.

 Mojca
>
philipp
___
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] ToC, other choices instead of dots [alternative=c]

2011-09-14 Thread Honza Hejzl
Hello,
is there any way how to choose something different than dots/spaces like a
title-pagenumber separator (without harakiri hacking)?

I need to have dashes there, like:

1. Chapter --- 5
2. Chapter --- 8

Thank you, Honza Hejzl
___
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
___