Re: [NTG-context] \star not working

2011-06-21 Thread Wolfgang Schuster

Am 21.06.2011 um 22:48 schrieb Aditya Mahajan:

> On Mon, 20 Jun 2011, Hans Hagen wrote:
> 
>> On 20-6-2011 7:50, Aditya Mahajan wrote:
>> 
>>> Could we just add a \textstar in char-def.lua? (And maybe use that to
>>> redefine \symbol[star])
>> 
>> what unicode?
> 
> 22C6, same as \star. Another option is to define symbol[star] directly using 
> ⋆ (0x22C6 glyph).

Not all fonts (e.g. Latin Modern) have the symbol and this is why context takes 
it from the math font. With \setupsymbolset[text] the symbol *is* taken from 
the text font when available and the math font is used as fallback.

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
___

Re: [NTG-context] \star not working

2011-06-21 Thread Aditya Mahajan

On Mon, 20 Jun 2011, Hans Hagen wrote:


On 20-6-2011 7:50, Aditya Mahajan wrote:


Could we just add a \textstar in char-def.lua? (And maybe use that to
redefine \symbol[star])


what unicode?


22C6, same as \star. Another option is to define symbol[star] directly 
using ⋆ (0x22C6 glyph).


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] Page X of Y

2011-06-21 Thread Troy Henderson
Thank you (again).  It seems that

\setupfootertexts[Page \pagenumber~of~\lastpagenumber]

also works.
___
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] Page X of Y

2011-06-21 Thread Wolfgang Schuster

Am 21.06.2011 um 22:30 schrieb Aditya Mahajan:

> On Tue, 21 Jun 2011, Troy Henderson wrote:
> 
>> I would like the footer of my document to read
>> 
>> Page X of Y
>> 
>> where X is the current page and Y is the total number of pages.
>> Thoughts on how to accomplish this?
> 
> 1.
> 
> \setuppagenumbering[location=footer, command=\PAGECOMMAND]
> \def\PAGECOMMAND#1{Page #1 of \lastpage}

\define[1]\PAGECOMMAND{Page #1 of \lastpage}

> 2. Or more directly
> 
>  \setuppagenumbering[location=]
>  \setupfootertexts[Page \currentpage\ of \lastpage]

3. \setuppagenumbering[left={Page },right={ of \lastpage}]

4. \setuplabeltext[pagenumber={{Page },{ of \lastpage}}]

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
___


Re: [NTG-context] Page X of Y

2011-06-21 Thread Troy Henderson
Thank you.  The only problem that I'm encountering now is that I am
using \startstandardmakeup ... \stopstandardmakeup on the first
(title) page, and thus \lastpage is 1 too many.
___
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] Page X of Y

2011-06-21 Thread Aditya Mahajan

On Tue, 21 Jun 2011, Troy Henderson wrote:


I would like the footer of my document to read

Page X of Y

where X is the current page and Y is the total number of pages.
Thoughts on how to accomplish this?


1.

\setuppagenumbering[location=footer, command=\PAGECOMMAND]
\def\PAGECOMMAND#1{Page #1 of \lastpage}


2. Or more directly

  \setuppagenumbering[location=]
  \setupfootertexts[Page \currentpage\ of \lastpage]


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] Colors: printing vs. on screen

2011-06-21 Thread Erik Margraf
Thanks! I'll go for the calibration and some trials in CMYK colors for
printing.

kind regards
Erik

2011/6/19 Henning Hraban Ramm 

> Yes, because your monitor uses RGB and your printer uses CMYK. The
>> conversion between thetwo is not too complicated, but actually getting the
>> same output from the two is hard. RGB is an additive model, CMYK is
>> subtractive (read about the different models, wikipedia will do). The color
>> impression you get by looking at the output is generated in completely
>> different ways.
>>
>
> Most office printers cope well with RGB (sRGB) colors, a lot of inkjet
> printers even better than with CMYK colors, because they're optimized for
> home dummy use.
>
> But (as Christoph pointed out) your printer can be as great as it goes,
> you'll never get a similar color impression if your monitor's set to some
> extreme setting - and most monitors that I saw outside of the graphical
> branch are set to "nonsense" settings, e.g. max contrast.
>
> Greetlings from Lake Constance!
> Hraban
> ---
> http://www.fiee.net/texnique/
> http://wiki.contextgarden.net
> https://www.cacert.org (I'm an assurer)
>
>
> __**__**
> ___
> 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] Page X of Y

2011-06-21 Thread Troy Henderson
I would like the footer of my document to read

Page X of Y

where X is the current page and Y is the total number of pages.
Thoughts on how to accomplish this?

Thanks,

Troy
___
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] More chemic module woes

2011-06-21 Thread Kip Warner
On Tue, 2011-06-21 at 20:16 +0200, Hans Hagen wrote:
> it's more like 'integrated' .. always present .. core stuff
> 
> Hans 

Understood. Thank you.

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] More chemic module woes

2011-06-21 Thread Hans Hagen

On 21-6-2011 7:47, Kip Warner wrote:

On Tue, 2011-06-21 at 10:48 +0200, Hans Hagen wrote:

indeed, in mkiv it is .. most code has been reimplemented

some of the code (esp arrow related) is work in progress and awaiting
some luatex extensions (saved hacking) that make spacing easier

Hans


So it is deprecated and to be replaced with some other currently
experimental module?


it's more like 'integrated' .. always present .. core stuff

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] More chemic module woes

2011-06-21 Thread Kip Warner
On Tue, 2011-06-21 at 10:48 +0200, Hans Hagen wrote:
> indeed, in mkiv it is .. most code has been reimplemented
> 
> some of the code (esp arrow related) is work in progress and awaiting 
> some luatex extensions (saved hacking) that make spacing easier
> 
> Hans

So it is deprecated and to be replaced with some other currently
experimental module?

-- 
Kip Warner -- Software Engineer
OpenPGP encrypted/signed mail preferred
http://www.thevertigo.com


signature.asc
Description: This is a digitally signed message part
___
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] [OT] pdf.js - HTML5 PDF renderer

2011-06-21 Thread Reviczky, Adam
Hi

"pdf.js is a technology demonstrator prototype to explore whether the HTML5 
platform is complete enough to faithfully and efficiently render the ISO 
32000-1:2008 Portable Document Format (PDF) without native code assistance."

You can read more about pdf.js here:
http://andreasgal.com/2011/06/15/pdf-js/
http://blog.mozilla.com/cjones/2011/06/15/overview-of-pdf-js-guts/

Demo:
http://people.mozilla.org/~gal/test.html

Adam
___
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] Change the appearance of a list of bibliography (\placepublications)

2011-06-21 Thread Pontus Lurcock
On Tue 21 Jun 2011, Jaroslav Hajtmar wrote:

> Is there any possibility to influence the appearance of a list of  
> bibliography when I make it in MKIV minimals using the command  
> \placepublications?

I've done some very limited hacking about with the bibliography
styles -- unfortunately I have now forgotten how the whole
thing hangs together, but Google plus a list archive makes a useful
spare brain. Take a look at these threads:

http://www.ntg.nl/pipermail/ntg-context/2011/059359.html
http://www.ntg.nl/pipermail/ntg-context/2011/057116.html

Sorry I don't have time to offer more assistance but I hope this
helps!

Pont
___
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] non-unicode glyphs in ttf fonts

2011-06-21 Thread Stef Schoonderwoerd
Yes, I guess it is a naming error, though I got the names from Fontlab
Studio.. When I opened the font in fontforge instead and got the names
from there everything just worked.
Thanks!

On Tue, Jun 21, 2011 at 1:19 PM, Hans Hagen  wrote:
> On 21-6-2011 12:16, Stef Schoonderwoerd wrote:
>>
>> I made a minimal testing file for this case, and tested again. For
>> Palatino Linotype it seems that most (all?) ligatures in fact do not
>> work, but I don't get why..
>> Included are all the files I used for testing.
>
> as there is no f_b you get an error
>
> sub f b by f_b.liga ;
>
> works for me
>
> -
>                                          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] non-unicode glyphs in ttf fonts

2011-06-21 Thread Hans Hagen

On 21-6-2011 12:16, Stef Schoonderwoerd wrote:

I made a minimal testing file for this case, and tested again. For
Palatino Linotype it seems that most (all?) ligatures in fact do not
work, but I don't get why..
Included are all the files I used for testing.


as there is no f_b you get an error

sub f b by f_b.liga ;

works for me

-
  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] Editors

2011-06-21 Thread Stefan Müller

On 21.06.2011 11:19, Mojca Miklavec wrote:

On Tue, Jun 21, 2011 at 09:35, Marc Trius wrote:


This might be different for you if you're already used to Vim or Emacs, which I 
wasn't.


As I said, if you are not used to work with those, it is a steep learning curve.


TeXworks is configured to use MkII, but there are instructions on the wiki to 
configure it for MkIV.


The latest TeXworks should have this fixed, but I have no idea how to
build texworks on linux (for Windows and Mac one can download a
binary).

Mojca


Hi, I'm not a very experienced Linux-user, but I still managed to 
compile the TeXworks-current-snapshot on my (Arch-)Linux system without 
any problems. It was just the same as with any other application I 
wanted to build from source. You need some development packages for your 
Linux-distro (have a look at http://code.google.com/p/texworks/ ) and 
then just something like "qmake" and "make".


HTH, Stefan
___
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] Change the appearance of a list of bibliography (\placepublications)

2011-06-21 Thread Jaroslav Hajtmar

Hello ConTeXtist.

Is there any possibility to influence the appearance of a list of 
bibliography when I make it in MKIV minimals using the command 
\placepublications?

I am thinking in particular spacing, stoppers etc.
Specifically, I need to change the alignment of reference items and 
increase the gap between an item and the relevant literature item.


At this moment, the result looks like this:

...
[9]  item 9
[10]item 10
[11]item 11


but I want it to look as follows:

...
  [9]  item 9
[10]  item 10


Can someone please advise?

Thanx Jaroslav



Here is my example:


\setupbibtex[database={samplebib}]

% Content of file samplebib.bib :
%
% @MISC{1,note={item 1}}
% @MISC{2,note={item 2}}
% @MISC{3,note={item 3}}
% @MISC{4,note={item 4}}
% @MISC{5,note={item 5}}
% @MISC{6,note={item 6}}
% @MISC{7,note={item 7}}
% @MISC{8,note={item 8}}
% @MISC{9,note={item 9}}
% @MISC{10,note={item 10}}
% @MISC{11,note={item 11}}
% @MISC{12,note={item 12}}
% @MISC{13,note={item 13}}
% @MISC{14,note={item 14}}
% @MISC{15,note={item 15}}
%


\setuppublications[setupinteraction=start, alternative=ams, 
sorttype=cite, criterium=cite]



\setuppublicationlayout[misc]{%
\insertnote
}


\starttext

Cite \cite[2], \cite[1]. Next cite \cite[4], \cite[3], \cite[5] and 
\cite[6].


Other \cite[7], \cite[8], \cite[9], and \cite[10].

Last cite \cite[11] and \cite[12].



\blank[big]

List:

\placepublications %[criterium=all]

\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] ConTeXt Minimals: How to install fonts?

2011-06-21 Thread Marc Trius
On Tue, 21 Jun 2011 11:30:00 +0200
Mojca Miklavec  wrote:

> On Mon, Jun 20, 2011 at 19:07, Paul Menzel wrote:
> > Dear ConTeXt folks,
> >
> > I want to use Neo Euler (euler-otf) and was wondering if there is an
> > option for `first-setup.sh` to install fonts? What is the recommended
> > way to install fonts? Using a GNU/Linux distribution should I use those
> > tools to install fonts?
> 
> If OpenType fonts are not in distribution, you have two options:
> 
> a) Install them on your system and make sure that OSFONTDIR variable
> is properly set (you need to set it manually, either in texmfcnf.lua
> under texmf-local or in top folder; or you need an environmental
> variable)
> 

I just have 

export OSFONTDIR="/usr/local/share/fonts;/usr/share/fonts;$HOME/.fonts"

in my .bashrc and absolutely no problems.

Marc

> b) Put the font under texmf-local/fonts/opentype/ or under
> texmf-fonts (same location; you need to create texmf-fonts folder
> first) or under ~/texmf (again, same substructure).
> 
> Option (a) is not too well tested.
> 
> 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
> ___


-- 
Marc Trius 

"The enemy is the gramophone mind, whether or not one agrees with the record 
that is being played at the moment." --- George Orwell
___
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] Editors

2011-06-21 Thread Pontus Lurcock
On Tue 21 Jun 2011, Mojca Miklavec wrote:

> > TeXworks is configured to use MkII, but there are instructions on
> > the wiki to configure it for MkIV.
> 
> The latest TeXworks should have this fixed, but I have no idea how to
> build texworks on linux (for Windows and Mac one can download a
> binary).

For Ubuntu, stable binaries are at
https://launchpad.net/~texworks/+archive/stable and development builds
at https://launchpad.net/~texworks/+archive/ppa .
http://www.tug.org/texworks/ has a link to openSUSE binaries too.
Haven't tried any of them myself, though.

Pont
___
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] ConTeXt Minimals: How to install fonts?

2011-06-21 Thread Mojca Miklavec
On Mon, Jun 20, 2011 at 19:07, Paul Menzel wrote:
> Dear ConTeXt folks,
>
> I want to use Neo Euler (euler-otf) and was wondering if there is an
> option for `first-setup.sh` to install fonts? What is the recommended
> way to install fonts? Using a GNU/Linux distribution should I use those
> tools to install fonts?

If OpenType fonts are not in distribution, you have two options:

a) Install them on your system and make sure that OSFONTDIR variable
is properly set (you need to set it manually, either in texmfcnf.lua
under texmf-local or in top folder; or you need an environmental
variable)

b) Put the font under texmf-local/fonts/opentype/ or under
texmf-fonts (same location; you need to create texmf-fonts folder
first) or under ~/texmf (again, same substructure).

Option (a) is not too well tested.

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] Editors

2011-06-21 Thread Mojca Miklavec
On Tue, Jun 21, 2011 at 09:35, Marc Trius wrote:
>
> This might be different for you if you're already used to Vim or Emacs, which 
> I wasn't.

As I said, if you are not used to work with those, it is a steep learning curve.

> TeXworks is configured to use MkII, but there are instructions on the wiki to 
> configure it for MkIV.

The latest TeXworks should have this fixed, but I have no idea how to
build texworks on linux (for Windows and Mac one can download a
binary).

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] More chemic module woes

2011-06-21 Thread Hans Hagen

On 21-6-2011 4:30, Kip Warner wrote:

On Mon, 2011-06-20 at 20:03 +0200, Hans Hagen wrote:

chemical support is not includes so best not load the chem module


Hey Hans,

Sorry, I don't follow. Do you mean chemical support is included by
default and you don't need to explicitly load the module? Are you saying
that the "chemic" module is deprecated? Or something else?


indeed, in mkiv it is .. most code has been reimplemented

some of the code (esp arrow related) is work in progress and awaiting 
some luatex extensions (saved hacking) that make spacing easier


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] \star not working

2011-06-21 Thread Reviczky, Adam
> > Could we just add a \textstar in char-def.lua? (And maybe use that to
> > redefine \symbol[star])

I'd welcome that, seeing that we already have textbullet.

char-def.lua, line 56213:
+  contextname="textstar",

> what unicode?

U+22C6

Adam
___
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] non-unicode glyphs in ttf fonts

2011-06-21 Thread Hans Hagen

On 21-6-2011 10:03, Stef Schoonderwoerd wrote:

Dear all,

My last question concerning feature files has been resolved, my
feature files now work fine. But there is one problem that still
remains. The standard ligatures in the font I use (Andron Mega Corpus)
work fine when approached by name in the feature file (some of them
are in the PUA here); However, other ligatures, notably Th, do not
work in stable nor beta. When I run context mkiv and it calls on e.g.
the Th ligature, i get "!LuaTeX error (file:(...)): Invalid glyph
index (gid ...). I tested it on palatino linotype which does the same.
Interestingly, the gid that luatex says is invalid is always the one
after the last glyph in the font (For palatino linotype, 1328; for
Andron Mega Corpus, 5486). In Andron Mega Corpus, I furthermore tested
all the ligatures that had a unicode codepoint (PUA) and they all work
when referenced by name. All those that do not, however, fail to work.
What is going on here?
Working on Mac OS X 10.6.7, btw. Some help is greatly appreciated.
Kind regards,


We (Taco and I) need a test file + font in order to figure out if this 
is an engine of lua code bug.


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] footnotes: conversion => numberconversion

2011-06-21 Thread Hans Hagen

On 20-6-2011 11:56, Wolfgang Schuster wrote:


Am 20.06.2011 um 19:28 schrieb Hans Hagen:


I'll put a beta on the ftp (as I needed to adapt some description related code 
and as usual I'll have made some typos so you depend on Wolfgang's checking.


You mean like this :)

-\def\enumerationsignalp{-}% 1 == enabled
+\def\enumerationsignalp{+}% 1 == enabled
-\def\enumerationsignalm{+}% 2 == disabled but symbol
+\def\enumerationsignalm{-}% 2 == disabled but symbol


I now have this:

\newconstant\enumerationnumberstate   % 1 == enabled
\def\enumerationsignalskip  {-}   % 0 == disabled
\def\enumerationsignalsymbol{+}   % 2 == disabled but symbol

But it was worse (probably before you tested) as description was broken 
due to 0/1 swapping. (but this functionality is not yet in minmals 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
___


[NTG-context] non-unicode glyphs in ttf fonts

2011-06-21 Thread Stef Schoonderwoerd
Dear all,

My last question concerning feature files has been resolved, my
feature files now work fine. But there is one problem that still
remains. The standard ligatures in the font I use (Andron Mega Corpus)
work fine when approached by name in the feature file (some of them
are in the PUA here); However, other ligatures, notably Th, do not
work in stable nor beta. When I run context mkiv and it calls on e.g.
the Th ligature, i get "!LuaTeX error (file:(...)): Invalid glyph
index (gid ...). I tested it on palatino linotype which does the same.
Interestingly, the gid that luatex says is invalid is always the one
after the last glyph in the font (For palatino linotype, 1328; for
Andron Mega Corpus, 5486). In Andron Mega Corpus, I furthermore tested
all the ligatures that had a unicode codepoint (PUA) and they all work
when referenced by name. All those that do not, however, fail to work.
What is going on here?
Working on Mac OS X 10.6.7, btw. Some help is greatly appreciated.
Kind regards,

Stef Schoonderwoerd
___
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] Editors

2011-06-21 Thread Marc Trius
On Mon, 20 Jun 2011 21:19:20 + (UTC)
"H. Hodges"  wrote:

> I'm new to ConTeXt, coming from LaTeX. Are there any linux text editors that 
> are
> at all useful for creating context documents? In the archives of this list, I
> read one or two discussions about making Kile more compatible, but the issue
> seems to have been dropped.

For what it's worth, I've tried Vim, Emacs, and SciTE, and eventually settled 
on TeXworks for maximum usefulness and friendliness. This might be different 
for you if you're already used to Vim or Emacs, which I wasn't. TeXworks is 
configured to use MkII, but there are instructions on the wiki to configure it 
for MkIV.

Marc

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


-- 
Marc Trius 

"The enemy is the gramophone mind, whether or not one agrees with the record 
that is being played at the moment." --- George Orwell
___
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
___