Re: [NTG-context] [***SPAM***] Wrong °C symbol with \unit and dejavu font

2013-05-17 Thread Hans Hagen

On 5/17/2013 1:07 AM, luigi scarso wrote:




On Fri, May 17, 2013 at 1:00 AM, Hans Hagen pra...@wxs.nl
mailto:pra...@wxs.nl wrote:


(for the first time i'm seriously thinking of replacing acrobat
reader in my regular preview cycle, if only because there seems to
be no robust way to open/close docs i.e. pdfopen has to be adapted
each time)

mupdf uses SIGHUP under linux -- does windows offer a similar way ?


we only want to close a file, not the whole session


Perhaps CreateEvent ?


I don't know the details but there is some message api for acrobat i think

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] [***SPAM***] Wrong °C symbol with \unit and dejavu font

2013-05-17 Thread Alan BRASLAU
On Fri, 17 May 2013 09:53:48 +0200
Hans Hagen pra...@wxs.nl wrote:

  mupdf uses SIGHUP under linux -- does windows offer a similar way ?  
 
 we only want to close a file, not the whole session

Sending a SIGHUP signal to the mupdf process will also cause the viewed
file to be reloaded automatically, for use in e.g. build scripts.

Alan

(Also, zathura is another lightweight PDF viewer.)
___
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] [***SPAM***] Wrong °C symbol with \unit and dejavu font

2013-05-17 Thread luigi scarso
On Fri, May 17, 2013 at 11:18 AM, Alan BRASLAU alan.bras...@cea.fr wrote:

 On Fri, 17 May 2013 09:53:48 +0200
 Hans Hagen pra...@wxs.nl wrote:

   mupdf uses SIGHUP under linux -- does windows offer a similar way ?
 
  we only want to close a file, not the whole session

 Sending a SIGHUP signal to the mupdf process will also cause the viewed
 file to be reloaded automatically, for use in e.g. build scripts.

 Alan

maybe I'm wrong, but sumatrapdf already does it in windows.
Anyway, the problem is always the same: if acroreader is able to open the
file, then the file is ok, otherwise no.

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

[NTG-context] BROKEN LINK TRANSLATIONS

2013-05-17 Thread MANUEL GONZALEZ SUAREZ
Hello everyone.  In Context Wiki page is broken the link that refers to the SVN Repository. How could I get the source files of Context an excursion in the English version?thanks-- Manuel González Suárez
___
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] BROKEN LINK TRANSLATIONS

2013-05-17 Thread Sietse Brouwer
Hello Manuel,

On what page is the link broken? And what is the non-working link?

Cheers,
Sietse

On 17 May 2013 12:42, MANUEL GONZALEZ SUAREZ gonzalezsman...@uniovi.es wrote:

 Hello everyone.
   In Context Wiki page is broken the link that refers to the SVN Repository.
 How could I get the source files of Context an excursion in the English
 version?
 thanks
 --
 Manuel González Suárez
 ___
 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] Crossref package

2013-05-17 Thread Patrick

  
  
Dear all,
  
  I am looking for the package crossref from Zenlima. On the official webpage (http://modules.contextgarden.net/crossref)
the download link is missing.
Any one have it or say where to get it ?

Thanks in advance

Patrick
  

___
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] BROKEN LINK TRANSLATIONS

2013-05-17 Thread Wolfgang Schuster

Am 17.05.2013 um 12:42 schrieb MANUEL GONZALEZ SUAREZ 
gonzalezsman...@uniovi.es:

 
 Hello everyone.
   In Context Wiki page is broken the link that refers to the SVN Repository. 
 How could I get the source files of Context an excursion in the English 
 version?
 thanks

The address has changed: https://foundry.supelec.fr/projects/contextman/scmsvn/

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] BROKEN LINK TRANSLATIONS

2013-05-17 Thread Mojca Miklavec
On Fri, May 17, 2013 at 12:42 PM, MANUEL GONZALEZ SUAREZ wrote:

 Hello everyone.
   In Context Wiki page is broken the link that refers to the SVN Repository.
 How could I get the source files of Context an excursion in the English
 version?

The page https://foundry.supelec.fr/scm/?group_id=22 contains links.

To Sietse:
- http://wiki.contextgarden.net/Manuals
- http://wiki.contextgarden.net/ConTeXt_an_Excursion,_translations

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] [***SPAM***] Wrong °C symbol with \unit and dejavu font

2013-05-17 Thread Hans Hagen

On 5/17/2013 11:18 AM, Alan BRASLAU wrote:

On Fri, 17 May 2013 09:53:48 +0200
Hans Hagen pra...@wxs.nl wrote:


mupdf uses SIGHUP under linux -- does windows offer a similar way ?


we only want to close a file, not the whole session


Sending a SIGHUP signal to the mupdf process will also cause the viewed
file to be reloaded automatically, for use in e.g. build scripts.

Alan

(Also, zathura is another lightweight PDF viewer.)


sumatrapdf seems quite ok now, so i'll test that one for a while

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] New font (rival to Taco's cowfont?)

2013-05-17 Thread Alan BRASLAU
http://nekofont.upat.jp/

Alan
___
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 font (rival to Taco's cowfont?)

2013-05-17 Thread Arthur Reutenauer
 http://nekofont.upat.jp/

  At some point, people will have to stop the madness about cute cats ;-)

Arthur
___
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] Crossref package

2013-05-17 Thread Zenlima
Hi Patrick,

I put the actual crossref package temporary under this link:

http://zenlima.eu/t-crossref-0.9.3.zip

I will try to catch an admin to fix the broken link.

H.
___
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] \textwidth vs local

2013-05-17 Thread Idris Samawi Hamid ادريس سماوي حامد

Dear gang,

Is there a \dimen variable for the local key for the width of a text  
column? Take a look at the attached pdf: Clearly local is different from  
\textwidth and \makeupwidth.


=
\starttext
\framed[width=\textwidth,frame=on]{\type{\textwidth}}
\framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}}
\framed[width=local,frame=on]{\type{local}}

\startitemize
\item \framed[width=\textwidth,frame=on]{\type{\textwidth}}
\framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}}
\item \framed[width=local,frame=on]{\type{local}}
\stopitemize
\stoptext
=

I'm working on a macro that depends on the local width and I need to be  
able to do work with fractions of the local width, e.g.


\framed[width=0.9\localwidth]{local width}

Thanks in advance for any advice and

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

local.pdf
Description: Adobe PDF document


local.tex
Description: TeX 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] New font (rival to Taco's cowfont?)

2013-05-17 Thread Mica Semrick
Alan,

This is clearly the greatest font ever, thank you!

-Mica


On Fri, May 17, 2013 at 6:44 AM, Arthur Reutenauer 
arthur.reutena...@normalesup.org wrote:

  http://nekofont.upat.jp/

   At some point, people will have to stop the madness about cute cats ;-)

 Arthur

 ___
 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] Problems with SciTE 3.31 and context package

2013-05-17 Thread Bill Meahan
Having a bit of a problem. I installed SciTE, scintillua and Hans' 
customizations yesterday and things are not working. SciTE crashes as 
soon as my context files are loaded.


SciTE is version 3.31 (latest)
scintillua is version 3.3.0-1 (latest precompiled which has 64-bit .so 
file included)


context add-ons are from a recent beta and have file dates as late as 
28-April-2013


system is Linux LadyGeraldine 3.2.0-43-generic #68-Ubuntu SMP Wed May 15 
03:33:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux




wwm@LadyGeraldine$ SciTE
Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt 
to compare number with nil.

Lua Error: Table of folds expected from 'lexer.fold'.
Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt 
to compare number with nil.

*** glibc detected *** SciTE: realloc(): invalid pointer: 0x09d9e5c0 ***

Backtrace not included

I'll try compiling from source if you think it will help.

Ideas appreciated. Thanks

--
Bill Meahan
Westland, Michigan USA

___
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] Problems with SciTE 3.31 and context package

2013-05-17 Thread Hans Hagen

On 5/17/2013 7:41 PM, Bill Meahan wrote:

Having a bit of a problem. I installed SciTE, scintillua and Hans'
customizations yesterday and things are not working. SciTE crashes as
soon as my context files are loaded.

SciTE is version 3.31 (latest)
scintillua is version 3.3.0-1 (latest precompiled which has 64-bit .so
file included)

context add-ons are from a recent beta and have file dates as late as
28-April-2013

system is Linux LadyGeraldine 3.2.0-43-generic #68-Ubuntu SMP Wed May 15
03:33:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


i still run the 32 bit on win 8 64 .. it's a pitty that scintillua is 
not compiled into scite (the interfaces keep changing)


normally when i update i do some diffs to see what is changed (last time 
there were fundamental ones)


sometimes i wonder if it makes sense to clone scintillua in order to 
keep things more stable (i'd also like some more access to scite 
properties but that's wishful thinking)


3.2.4 works ok with the files in the beta zip

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] Problems with SciTE 3.31 and context package

2013-05-17 Thread Hans Hagen

On 5/17/2013 7:41 PM, Bill Meahan wrote:

Having a bit of a problem. I installed SciTE, scintillua and Hans'
customizations yesterday and things are not working. SciTE crashes as
soon as my context files are loaded.

SciTE is version 3.31 (latest)
scintillua is version 3.3.0-1 (latest precompiled which has 64-bit .so
file included)

context add-ons are from a recent beta and have file dates as late as
28-April-2013

system is Linux LadyGeraldine 3.2.0-43-generic #68-Ubuntu SMP Wed May 15
03:33:33 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux



wwm@LadyGeraldine$ SciTE
Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt
to compare number with nil.
Lua Error: Table of folds expected from 'lexer.fold'.
Lua Error: /usr/share/scite/lexers/scite-context-lexer.lua:508: attempt


at least you see a message -) on windows they go into the void which 
makes debugging painful



to compare number with nil.
*** glibc detected *** SciTE: realloc(): invalid pointer: 0x09d9e5c0 ***


that one normaly points to a c bug


Backtrace not included

I'll try compiling from source if you think it will help.

Ideas appreciated. Thanks


you can try to comment

lexer.fold= context.fold

in scite-context-lexer

it looks like there has been quite some changes (i might as well wait 
till a next version before i look into it)


i replace some lua code that ships with the lexer lib; when i started 
with making the lexers i had so many crashes on big files that i made my 
own fold routine - which of course interfaces to some low lever data 
structures - to get it working; it also was much faster (the same for 
some more patched code)


then, a few versions back the low level folder (c code) changed an di 
adapted to that (as we lack access to scite properties i cannot check 
versions) and now i need to check again


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] Problems with SciTE 3.31 and context package

2013-05-17 Thread Bill Meahan

On 05/17/2013 02:20 PM, Hans Hagen wrote:


you can try to comment

lexer.fold= context.fold



That works!  Thanks for the fast response.

--
Bill Meahan
Westland, Michigan USA

___
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] BROKEN LINK TRANSLATIONS

2013-05-17 Thread Sietse Brouwer
Hi all,

Hans: in x-set-02.mkii, the following change is required:

-\input mult-\userinterfacetag
+\input mult-\userinterfacetag.mkii

Otherwise, compiling ConTeXt, an Excursion gives the following complaint:

! I can't find file `mult-en'.
[...]
Please type another input file name:

Typing `mult-en.mkii` at the prompt (four or eight times, actually,
once for every pass) also solves the problem, but this is neater.

Mojca wrote:
 To Sietse:
 - http://wiki.contextgarden.net/Manuals
 - http://wiki.contextgarden.net/ConTeXt_an_Excursion,_translations

Thank you very much. I should have searched the wiki myself, but I was
feeling churlish. Thank you for doing this for me. ;-)

Hector: thank you for mailing the list about this problem with the
URLs. Much appreciated!

Cheers,
Sietse
___
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] \textwidth vs local

2013-05-17 Thread Hans Hagen

On 5/17/2013 5:03 PM, Idris Samawi Hamid ادريس   سماوي حامد wrote:

Dear gang,

Is there a \dimen variable for the local key for the width of a text
column? Take a look at the attached pdf: Clearly local is different from
\textwidth and \makeupwidth.

=
\starttext
\framed[width=\textwidth,frame=on]{\type{\textwidth}}
\framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}}
\framed[width=local,frame=on]{\type{local}}

\startitemize
\item \framed[width=\textwidth,frame=on]{\type{\textwidth}}
\framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}}
\item \framed[width=local,frame=on]{\type{local}}
\stopitemize
\stoptext
=

I'm working on a macro that depends on the local width and I need to be
able to do work with fractions of the local width, e.g.

\framed[width=0.9\localwidth]{local width}


sometimes you can use \localhsize, in some cases \hsize is ok, and 
there's also \setlocalhsize that calculates \localhsize


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] \textwidth vs local

2013-05-17 Thread Hans Hagen

On 5/17/2013 5:03 PM, Idris Samawi Hamid ادريس   سماوي حامد wrote:

Dear gang,

Is there a \dimen variable for the local key for the width of a text
column? Take a look at the attached pdf: Clearly local is different from
\textwidth and \makeupwidth.

=
\starttext
\framed[width=\textwidth,frame=on]{\type{\textwidth}}
\framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}}
\framed[width=local,frame=on]{\type{local}}

\startitemize
\item \framed[width=\textwidth,frame=on]{\type{\textwidth}}
\framed[width=\makeupwidth,frame=on]{\type{\makeupwidth}}
\item \framed[width=local,frame=on]{\type{local}}
\stopitemize
\stoptext
=

I'm working on a macro that depends on the local width and I need to be
able to do work with fractions of the local width, e.g.

\framed[width=0.9\localwidth]{local width}



\showframe

\startbuffer
\setlocalhsize
\dontleavehmode\framed[width=\hsize] 
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\hsize 
}} \par
\dontleavehmode\framed[width=\localhsize] 
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\localhsize 
}} \par
\dontleavehmode\framed[width=\textwidth] 
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\textwidth 
 }} \par
\dontleavehmode\framed[width=\makeupwidth]{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\makeupwidth}} 
\par
\dontleavehmode\framed[width=local] 
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{local}} 
   \par

\dontleavehmode\blackrule[width=\hsize]   \par
\dontleavehmode\blackrule[width=\localhsize]  \par
\dontleavehmode\blackrule[width=\textwidth]   \par
\dontleavehmode\blackrule[width=\makeupwidth] \par
\dontleavehmode\ruledhbox to \hsize  {x\hss x} \par
\dontleavehmode\ruledhbox to \localhsize {x\hss x} \par
\dontleavehmode\ruledhbox to \textwidth  {x\hss x} \par
\dontleavehmode\ruledhbox to \makeupwidth{x\hss x} \par
\stopbuffer

\starttext

\startitemize
\startitem
\getbuffer
\stopitem
\stopitemize

\getbuffer

\stoptext


-
  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] \textwidth vs local

2013-05-17 Thread Idris Samawi Hamid ادريس سماوي حامد

This is an *immense* help... Thanks a million!!

Best wishes
Idris

On Fri, 17 May 2013 17:08:15 -0600, Hans Hagen pra...@wxs.nl wrote:


\showframe
 \startbuffer
\setlocalhsize
\dontleavehmode\framed[width=\hsize]  
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\hsize  
}} \par
\dontleavehmode\framed[width=\localhsize]  
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\localhsize  
}} \par
\dontleavehmode\framed[width=\textwidth]  
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\textwidth   
}} \par
\dontleavehmode\framed[width=\makeupwidth]{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{\makeupwidth}}  
\par
\dontleavehmode\framed[width=local]  
{\the\hsize,\the\localhsize,\setlocalhsize\the\localhsize,\type{local}} 
\par

\dontleavehmode\blackrule[width=\hsize]   \par
\dontleavehmode\blackrule[width=\localhsize]  \par
\dontleavehmode\blackrule[width=\textwidth]   \par
\dontleavehmode\blackrule[width=\makeupwidth] \par
\dontleavehmode\ruledhbox to \hsize  {x\hss x} \par
\dontleavehmode\ruledhbox to \localhsize {x\hss x} \par
\dontleavehmode\ruledhbox to \textwidth  {x\hss x} \par
\dontleavehmode\ruledhbox to \makeupwidth{x\hss x} \par
\stopbuffer
 \starttext
 \startitemize
\startitem
\getbuffer
\stopitem
\stopitemize
 \getbuffer
 \stoptext



--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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] font trickery

2013-05-17 Thread Hans Hagen

On 5/15/2013 6:41 PM, Khaled Hosny wrote:

On Wed, May 15, 2013 at 08:51:28AM -0600, Idris Samawi Hamid ادريس   سماوي حامد 
wrote:

Hi Georg,

On Wed, 15 May 2013 00:09:22 -0600, Georg Duffner
g.duff...@gmail.com wrote:


I’d prefer to stay with the AFF syntax which is well established.


I wonder if the latest, virtually frozen FontForge supports the
current AFF syntax or still uses an earlier version. Before AFF was
complete George added the missing functionality but Adobe did not
accept his additions. The former luatex support was probably based
on George's modifications to the AFF syntax.

Hans and Taco know better, but I suppose a newer implementation of
AFF in mkiv could be done in lua without touching the binary.


Right, the version of FontForge included in LuaTeX uses the old syntax,
FontForge has dropped it for the new Adobe syntax for few years now, but
it didn’t make its way into LuaTeX.

Regards,
Khaled


But anyway, this may very well be beyond Hans' current plans for
font trickery, but it's fun to discuss possibilities.


I think there is already some (not documented way) to achieve the same
effect in pure Lua code (Hans uses it to implement tlig and the likes).


indeed. however the biggest challenge in patching a font runtime is 
where to inject the patches in the look up sequence ...


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] font trickery

2013-05-17 Thread Idris Samawi Hamid ادريس سماوي حامد

On Fri, 17 May 2013 17:55:10 -0600, Hans Hagen pra...@wxs.nl wrote:

indeed. however the biggest challenge in patching a font runtime is  
where to inject the patches in the look up sequence ...


Indeed, I was thinking exactly the same thing! It needs some thought...  
The simplest and safest idea may be to stack user-defined gsub lookups  
after, and only after, the gsub lookups in the font are complete. Ditto  
for gpos.


Best wishes
Idris
--
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523
___
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
___