Re: [NTG-context] problem with TABLE in TABLE

2010-03-19 Thread Peter Münster
On Fri, Mar 19 2010, Wolfgang Schuster wrote:

 I know why i works it works when you write the setup before the table
 and how to solve it in the ugly way (don’t use this solution) but I can't
 provide a fix for this.

Ok. So it's no real bug, but just a consequence of the design?


 What you can do to separate setup and code you can write

 \bTD
 {
 \setups[inner-table]
 \bTABLE

Thanks. Indeed, there is no problem to put the setups outside, since I must
use grouping anyway.

Cheers, Peter

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


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Vim module errors

2010-03-19 Thread Adam C.M. Solove
Hi all,

Has anyone used the vim module recently and

I recently installed the third-party vim module for syntax highlighting in
my minimal install of ConTeXt MKIV/LuaTeX:

./first-setup.sh --extras=t-vim
context --generate

I tried a minimal example from the manual:

\starttext
\usemodule [vim]
\definevimtyping [C]
[syntax=c,numbering=on]
\startvimcolorscheme [default]
\definevimsyntax [Type] [style=boldmono]
\definevimsyntax [PreProc] [style=slantedmono]
\stopvimcolorscheme
\startC
#include stdio.h
#include stdlib.h
void main() {
printf(Hello World\n);
return;
}
\stopC
\stoptext

You can see the ConTeXt live output (See full
outputhttp://live.contextgarden.net/output.cgi?id=dO7150)
The problem is:

! I can't find file `texweb-vimsyntax.tmp-vimsyntax.tmp'.
to be read again

Looks like the filename munging has some issues.

Also, when I manually type in the correct file name, I then get further
errors which seem to indicate the source code is not within a literal
environment:

! You can't use `macro parameter character #' in horizontal mode.
l.1 #
 include stdio.h

I have vim installed and accessible on the path, and do have the C syntax.

I'm not TeXpert enough to troubleshoot the actual source, does anyone know
what might cause this behavior?

Thanks,

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
___


[NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Mikael Persson
Dear list,

With the following example:

\setuplayout[grid=yes]
\setuphead[section][alternative=text]

\starttext
\section{Test}\input knuth
\stoptext

I get the attached result. I would expect no empty line between the
section line and the rest of the paragraph. Any advices?

Best regards, Mikael

PS Using an updated MKIV


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


[NTG-context] Unexpected format of reference

2010-03-19 Thread Mikael Persson
Dear list,

the following example gives me unexpected format of the last reference
to the section

\definereferenceformat[eqref][left={(},right={)}]
\starttext
\section[sec:test]{Test}
We are now in \in{Section}{}[sec:test].
\placeformula[eq:general]
\startformula
A=B
\stopformula
In~\eqref[eq:general]\dots We are now in \in{Section}{}[sec:test].
\stoptext

The last reference to the section gets the format (1) instead of just
1. I believe this was not so previously. PDF attached.

I use an updated MKIV minimals.

Best regards, Mikael


refsec.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] Vim module errors

2010-03-19 Thread Peter Münster
On Thu, Mar 18 2010, Adam C.M. Solove wrote:
 
 Has anyone used the vim module recently and

Hello Adam,

Yes. I use the version from here:
http://www.ntg.nl/pipermail/ntg-context/2009/042527.html

For C-pretty-printing, you can also try this one:
http://modules.contextgarden.net/pret-c

Cheers, Peter

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


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Using external libraries in LuaTeX

2010-03-19 Thread Taco Hoekwater

Graham Douglas wrote:


One question, in the minimal example below, the XML text:

text = 'elem1text elem2/ more text /elem1'

parses fine *if* on a single line. If I break the text onto multiple 
lines, eg


text = 'elem1text elem2/
 more text /elem1'



it fails with

! LuaTeX error main ctx instance:3: unfinished string near ''elem1   
text elem2/'.

} = lxp.new(callbacks)d

\dodostartluacode ...d \directlua \zerocount {#1}}

l.21 \stopluacode


Why is this --- is this a catcode issue?


No, not at all. Lua supports only single-line '' or  strings.


Can you suggest a fix?


Multi-line strings in Lua use square brackets

text = [[elem1text elem2/
 more text /elem1]]

See http://www.lua.org/manual/5.1/manual.html#2.1 for details.

Best wishes,
Taco
___
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] \mapsto is missing

2010-03-19 Thread Mikael Persson
Dear list,

the \mapsto arrow seems to be missing.

\starttext
$A\mapsto B=f(A)$
\stoptext

gives the attached pdf document. I'd expect something like what is in
the pic attached. Can this be added?

Best regards, Mikael
attachment: mapsto.png

mapsto.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] \mapsto is missing

2010-03-19 Thread Mehdi Omidali

On 3/19/2010 12:36 PM, Mikael Persson wrote:

Dear list,

the \mapsto arrow seems to be missing.

\starttext
$A\mapsto B=f(A)$
\stoptext

gives the attached pdf document. I'd expect something like what is in
the pic attached. Can this be added?

Best regards, Mikael
   



___
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
___
   
Have you seen matharrows.pdf by Aditya? The context part of this command 
is \xmapsto.

Mehdi
___
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] \mapsto is missing

2010-03-19 Thread Mikael Persson
On Fri, Mar 19, 2010 at 10:18 AM, Mehdi Omidali mehd...@gmail.com wrote:
 On 3/19/2010 12:36 PM, Mikael Persson wrote:

 Dear list,

 the \mapsto arrow seems to be missing.

 \starttext
 $A\mapsto B=f(A)$
 \stoptext

 gives the attached pdf document. I'd expect something like what is in
 the pic attached. Can this be added?

 Best regards, Mikael

 Have you seen matharrows.pdf by Aditya? The context part of this command is
 \xmapsto.
 Mehdi

I had not, thanks a lot!

Mikael
___
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] Working with variables in Lua(TeX)

2010-03-19 Thread Jaroslav Hajtmar

Hello,
I am sorry, I am novice in this maillist and in Lua(TeX) too. I dont 
know if my problem isn't off topic.
My inquiry is here: Is it make possible with variables in Lua(TeX) do 
for similar hara-kiri like in Perl or PHP by this example?:


$a=b;
$$a=456;
print $b; # result 456

$varname=counter;
$varindex=1;
${$varname$varindex}=123;
print $counter1; # result 123

Is any alternative of this examples in Lua what should be  using in LuaTex??

thanks  Jaroslav Hajtmar

___
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] Using external libraries in LuaTeX

2010-03-19 Thread luigi scarso
On Thu, Mar 18, 2010 at 11:29 PM, Graham Douglas
graham.doug...@readytext.co.uk wrote:
 Hi Luigi

 That is very cool work. At present, it is a bit beyond
 my fuzzy skills, but I will dfinitely keep a copy of your
 slides for future reference as I slowly get a bit
 more familiar with LuaTeX etc.

 Thanks for sharing that.

We have 2 ways to interface with an external program

1) \write18 . In this way (lua/pdf)tex  runs the program using the OS,
ie something like os.cmd, .
and a completely new task is created. We have a clear separation
between luatex process an program process
and usually if the program process aborts luatex can manage this
situation nicely.
It's robust but it's also slow, as  the case for mkii with metapost shown;

2) dynamic loading of a library, a *so or a *dll.
In  this case there is not another process to start: luatex is
extended with this new library at runtime.
So, if a the library aborts while you are calling a function, then
luatex aborts --- and you can't manage this situation.

Now, if your library declare a symbol that is also defined by luatex
or if you library has a function that load another
library at runtime and this one has a symbol that is also defined by
luatex , then you have a symbol collision and hence
with high probability a segfault . Trace the symbol collision can be
very hard, so actually it's less robust than 1)
(remember that *tex must be portable to many SO, so robustness  is
really important).

Of course there is a benefict: the  gain in speed  can be 1000 (one
thousand times)  and if I remember well,
Hans reported 1 with mplib (which is included in luatex at
compilation time ).




-- 
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] [OT] Mac Os X 10.3.9

2010-03-19 Thread luigi scarso
I have an (old, I suppose) Mac pc on my desk.
It works, but I don't know anything about it
apart that it looks like a *nix from terminal.
It has  has also Emacs !

I would like to use TeXLive or at least ConTeXt minimals and FontForge
but it think I need at least a compiler first...

Any help really appreciate.




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


Re: [NTG-context] [OT] Mac Os X 10.3.9

2010-03-19 Thread Mojca Miklavec
On Fri, Mar 19, 2010 at 12:47, luigi scarso wrote:
 I have an (old, I suppose) Mac pc on my desk.
 It works, but I don't know anything about it
 apart that it looks like a *nix from terminal.
 It has  has also Emacs !

 I would like to use TeXLive or at least ConTeXt minimals and FontForge
 but it think I need at least a compiler first...

 Any help really appreciate.

About the minimals: you won't be able to use them unless you start
compiling the binaries yourself. At the moment I build the binaries on
10.6 and Apple provides backward compatibility for only two versions
back. They want the users to keep buying new hardware and software on
regular basis. Even if the old processor still runs fine, you won't be
able to install any program any more, so you are forced to buy a new
machine.

If we wanted to support 10.3 (we theoretically could, but practically
never got any single request until now), someone would need to compile
the binaries on 10.5 or earlier version of OS X. TeX live does support
10.3 on PPC.

Compiler ... you need XCode 1.x (and a bit of creativity to find it).

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] [OT] Mac Os X 10.3.9

2010-03-19 Thread Henning Hraban Ramm
2010/3/19 Mojca Miklavec mojca.miklavec.li...@gmail.com:
 Compiler ... you need XCode 1.x (and a bit of creativity to find it).

If you can't find it, tell me off-list; I guess there's an old CD here
anywhere...
(Didn't you get the original OSX CDs that came with your Mac?)

Greetlings, Hraban
___
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] \mapsto is missing

2010-03-19 Thread zs

How about trying this:

$A ↦ B=f(A)$

$A ⟼ B=f(A)$


Zdenek


On Fri, 19 Mar 2010 10:06:52 +0100
Mikael Persson mic...@gmail.com wrote:

 Dear list,
 
 the \mapsto arrow seems to be missing.
 
 \starttext
 $A\mapsto B=f(A)$
 \stoptext
 
 gives the attached pdf document. I'd expect something like what is in
 the pic attached. Can this be added?
 
 Best regards, Mikael
___
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] Working with variables in Lua(TeX)

2010-03-19 Thread Taco Hoekwater

Jaroslav Hajtmar wrote:

Hello,
I am sorry, I am novice in this maillist and in Lua(TeX) too. I dont 
know if my problem isn't off topic.
My inquiry is here: Is it make possible with variables in Lua(TeX) do 
for similar hara-kiri like in Perl or PHP by this example?:


$a=b;
$$a=456;
print $b; # result 456


There is no symbol dereferencing in lua. This is a good thing(tm),
in my opinion. If you want trickery like this, you have to resort
to loadstring (which is the lua equivalent of eval)

Best wishes,
Taco
___
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] grid + section in text - unwanted vertical space

2010-03-19 Thread Wolfgang Schuster

Am 19.03.10 08:21, schrieb Mikael Persson:

Dear list,

With the following example:

\setuplayout[grid=yes]
\setuphead[section][alternative=text]
   

\setuphead[section][alternative=text,strut=no]

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] Unable to use example from Excursion

2010-03-19 Thread Aditya Mahajan

On Fri, 12 Mar 2010, Hans Hagen wrote:


fixed in next beta


The bug is still present in  2010.03.18. Here is a minimal example:

\definetype[typeTEX][option=tex, style=type]
\starttext

\placefigure
  [top,bottom]
  [fig:something]
  {Do \type{\undefined} and \typeTEX{\undefined} work?}
  {}

\stoptext

which gives


! Undefined control sequence.
\@@kjfiguretitle -Do \type {\undefined
} and \typeTEX {\undefined } work?
\doif #1#2-\edef \!!stringa {#1
}\edef \!!stringb {#2}\ifx \!!stringa 
\!!str...

\dostructurecountercomponent ...\c!title }\v!none
  {\setfalse 
\hasstructureco...

\docompletefloat ...c!title ={#4},\c!bookmark =][]
  \globallet 
\currentfloatnu...

argument ...ypeTEX {\undefined } work?}\nextbox
  \else \docompletefloat 
{fi...

\thirdofthreearguments #1#2#3-#3

! Undefined control sequence.
\@@kjfiguretitle ...ed } and \typeTEX {\undefined
  } work?
\doif #1#2-\edef \!!stringa {#1
}\edef \!!stringb {#2}\ifx \!!stringa 
\!!str...

\dostructurecountercomponent ...\c!title }\v!none
  {\setfalse 
\hasstructureco...

\docompletefloat ...c!title ={#4},\c!bookmark =][]
  \globallet 
\currentfloatnu...

argument ...ypeTEX {\undefined } work?}\nextbox
  \else \docompletefloat 
{fi...

\thirdofthreearguments #1#2#3-#3

...
l.8   {}


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] Working with variables in Lua(TeX)

2010-03-19 Thread Peter Münster
On Fri, Mar 19 2010, Jaroslav Hajtmar wrote:

 $a=b;
 $$a=456;
 print $b; # result 456

No problem with tables:

testtab = {}
testtab.a = b
testtab[testtab.a] = 456
print(testtab.b)   -- result 456

Documentation about lua is here: http://www.lua.org/

Cheers, Peter

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


___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] grid + section in text - unwanted vertical space

2010-03-19 Thread Mikael Persson
On Fri, Mar 19, 2010 at 3:10 PM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
 Am 19.03.10 08:21, schrieb Mikael Persson:

 Dear list,

 With the following example:

 \setuplayout[grid=yes]
 \setuphead[section][alternative=text]


 \setuphead[section][alternative=text,strut=no]

 Wolfgang

Thank you very much Wolfgang, that works perfectly!

Mikael
___
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] Unable to use example from Excursion

2010-03-19 Thread Wolfgang Schuster

Am 19.03.10 16:03, schrieb Aditya Mahajan:

\placefigure
[top,bottom]
[fig:something]
{Do \type{\undefined} and \typeTEX{\undefined} work?}

Can’t resist.

{Do \expandafter\type\expandafter{\noexpand\undefined} and 
\expandafter\typeTEX\expandafter{\noexpand\undefined} work?}


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] Setting expansion depth limit for metapost

2010-03-19 Thread Michal Suszko
* Taco Hoekwater t...@elvenkind.com [2010-03-17 13:10:19 +0100]:

 It could be a bug in mplib then, but I can't test that without
 an input example. Can you create me one? (it could consist of one
 massive \dorecurse call, I assume?).

Trying to prepare minimal working example of this problem I isolated it in
the process. There were 3 MP graphics each one used once on each page.
After change them from

\startuseMPgraphic ... \stopuseMPgraphic
and \useMPgraphic

to

\startreusableMPgraphic ... \stopreusableMPgraphic
and \useMPgraphic

error messages disappeared.


Michał
___
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] Using external libraries in LuaTeX

2010-03-19 Thread Graham Douglas

 Why is this --- is this a catcode issue?

emotion feeling=DOHI need to read more
before asking stupid questions/mode

Thanks Taco, much appreciated as always.

Warm regards

Graham

___
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] fallbacks for math fonts

2010-03-19 Thread Mehdi Omidali

Hello,
I like to use Latin Modern Math as my math font but it lacks some glyphs 
like \cong=0x02245. I would like to know (if possible, with a working 
example) if font fallbacks feature is available for math fonts.

Mehdi
___
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] grid + section in text - unwanted vertical space

2010-03-19 Thread Alex Lubberts
My solution was ... :
\setuphead[section][grid={low,fit}]

Regards,
Alex

On vr, 2010-03-19 at 15:10 +0100, Wolfgang Schuster wrote:
 Am 19.03.10 08:21, schrieb Mikael Persson:
  Dear list,
 
  With the following example:
 
  \setuplayout[grid=yes]
  \setuphead[section][alternative=text]
 
 \setuphead[section][alternative=text,strut=no]
 
 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
 ___


-- 
Alex Lubberts a...@lubberts.org

___
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] Using external libraries in LuaTeX

2010-03-19 Thread Graham Douglas

snip

Hi Luigi

Great stuff, thank you. If you ever had time to write an
article which really explained the underlying programming
concepts you demonstrated in your slides I am sure you would find a lot
of people interested to read it. I think the ability to extend LuaTeX
via Lua libraries really is a powerful feature. With LuaTeX there is so
much going on, so many fascinating possibilities to explore, that it 
needs people like you, and other experts on this list, to open the 
doors to the rest of us, by showing the big picture and how it all 
really fits together. Leaving Taco + Hans to keep writing the goodies :-)


But, of course, articles etc take much time to write and
we all have busy day jobs etc.

Once again, many thanks.

Graham

___
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] Which Mk is in TexLive?

2010-03-19 Thread Matija Šuklje
Dne četrtek 18. marca 2010 ob 23:51:10 je Mojca Miklavec napisal(a):
  I wonder whether MkII or MkIV is included in TexLive 2009 (and which one
  in 2008)...
 
 Both are included in 2009, but MKIV is de-facto non-functional. (It's
 incompatible with LuaTeX in 2009 and even if present so old that it's
 useless in 2008.)

OK, thank you.

 But if you would like to make it work in TeX Live 2009 ... I have some
 99%-working code on my TODO list since the meeting in Bohinj.
 
 Exclusive offer for you:
 You can invite me for a beer at BachoTeX in exchange for finishing
 and publishing it.

H, since I most probably won't be attending the BachoTeX, that'd be hard 
to fulfil, but I could offer you a beer in Ljubljana ;)


Cheers,
Matija
-- 
gsm: +386 41 849 552
www: http://matija.suklje.name
xmpp: matija.suk...@gabbler.org
___
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] Which Mk is in TexLive?

2010-03-19 Thread luigi scarso
On Fri, Mar 19, 2010 at 7:58 PM, Matija Šuklje mat...@suklje.name wrote:
 H, since I most probably won't be attending the BachoTeX, that'd be hard
 to fulfil, but I could offer you a beer in Ljubljana ;)

beer for free in Ljubljana  ??
be careful...
-- 
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] Adobe Multiple Master Fonts: support in LuaTeX?

2010-03-19 Thread Graham Douglas

Hi All

A few (ie  10) years ago I purchased the MinionMM and MyriadMM
Multiple Master typefaces from the long-defunct Adobe Type on Call.
I have the full set including the expert fonts. They were really quite
expensive so I would really like to find out if they are (or will be)
supported by LuaTeX. Having installed FontForge (FF) on my PC I note 
that FF certainly supports them. So, I was wondering if MM technolgy, 
even though it is kinda obsolete, is or will be supported?


For sure, you can certainly create individual instances via Akira's
port (thank you Akira) of the LCDF Typetools (specifically mmafm, mmpfb)

http://www.lcdf.org/type/index.html

I've tried this and the resulting PFB/AFM files definitely work
with Context --- even got my first very simple typescript to
work :-)

I would be very interested to know the current support, or planned
support, for being able to create multiple master instances on the 
fly. For sure, I appreciate that MM support may just not be worth the 
effort because the technology is old and few people are interested in 
this? Or it may be that it's too much work to create and then install 
instances on the fly.


But the fonts are nice... and cost a lot :-(

Warm regards

Graham





___
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] Using external libraries in LuaTeX

2010-03-19 Thread luigi scarso
On Fri, Mar 19, 2010 at 7:29 PM, Graham Douglas
graham.doug...@readytext.co.uk wrote:
 snip

 Hi Luigi

 Great stuff, thank you. If you ever had time to write an
 article which really explained the underlying programming
 concepts you demonstrated in your slides I am sure you would find a lot
 of people interested to read it. I think the ability to extend LuaTeX
 via Lua libraries really is a powerful feature. With LuaTeX there is so
 much going on, so many fascinating possibilities to explore, that it needs
 people like you, and other experts on this list, to open the doors to the
 rest of us, by showing the big picture and how it all really fits
 together. Leaving Taco + Hans to keep writing the goodies :-)

 But, of course, articles etc take much time to write and
 we all have busy day jobs etc.
Well if you are really interested then you should
join ntg + tug  now.
My article --- as many others about luatex  mkiv --- is in the last
number of TUGBOAT

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


Re: [NTG-context] Adobe Multiple Master Fonts: support in LuaTeX?

2010-03-19 Thread Taco Hoekwater


Hi,

Graham Douglas wrote:


I would be very interested to know the current support, or planned
support, for being able to create multiple master instances on the 
fly. 


For now: zero support is present, and no future support is
currently being planned.

That doesn't mean that it will definitely not happen, just that
it is very unlikely we will spend any time on it anytime soon.

MM fonts were a nice idea, but now that they are abandoned even
by Adobe itself, they are way down on the priority list. Especially
as there are so many other interesting things waiting to be done.

Best wishes,
Taco
___
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 do you miss in ConTeXt?

2010-03-19 Thread Vedran Miletić
2010/3/15 Hans Hagen pra...@wxs.nl:
 I figured out that loading \input spec-tst.mkii before
 \setupinteraction[state=start] works as expected in MKII (but then -
 the backward compatibility is broken as well since one would have to
 load the tex version of that file in past). Loading it after doesn't
 have any influence.

 It would be really nice if there was some more elegant way to use
 UTF-8 in bookmarks than \input spec-tst.mkii.

 i'll merge the tst code into the other spec files

 Hans


Works now! Thanks!

P.S.
In case you want a testcase that breaks with --xtx for me, it's attached.

-- 
Vedran Miletić


rm12-dz-papir.pdf
Description: Adobe PDF document


rm12-dz-papir.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] Using external libraries in LuaTeX

2010-03-19 Thread Graham Douglas

Hi Luigi

Well if you are really interested then you should
join ntg + tug  now. My article --- as many others about luatex  mkiv 
--- is in the last number of TUGBOAT


-- already made TUG membership application, plus made a donation to the 
LuaTeX fund.


Warm regards

Graham


___
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] Adobe Multiple Master Fonts: support in LuaTeX?

2010-03-19 Thread Graham Douglas

Hi Taco

Totally understand that, many thanks for the clarification.

Back to mmafm, mmpfb :-)

Warm wishes

Graham

___
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] Adobe Multiple Master Fonts: support in LuaTeX?

2010-03-19 Thread Hans Hagen

On 19-3-2010 21:06, Taco Hoekwater wrote:


MM fonts were a nice idea, but now that they are abandoned even
by Adobe itself, they are way down on the priority list. Especially
as there are so many other interesting things waiting to be done.


right and there are not that many mm fonts .. afaik even adobe assumes 
that you make an instance and use that


Hans

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
 tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___