Re: [NTG-context] What is the command to define the behavior of \goto?

2008-11-22 Thread Yue Wang
Hi:

> \setupinteraction[style=] % default is style=bold
>

Thank you, Aditya! Previously I was searching command like setupgoto
or some stuffs like that:(
btw, how to link to the specific position instead of go to that page?
if i point to "Equation 12", my context document will only flow to the
page which equation 12 is in, but not go to the equation
automatically. But in my LaTeX file, it will if I use hyperref
package.

Yue Wang

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


Re: [NTG-context] font style, font case question

2008-11-22 Thread Yue Wang
Hi,

> 3. In a many OpenType fonts you could get small caps with
>the smcp feature, to use it redefine the \sc command to
>\def\sc{\groupedcommand{\setfontfeature{smallcaps}}{}}.

I can enable a feature using the \setfontfeature, how can I disable a feature?
like \setfontfeature{-smcp}?

btw, how can I use lowercase numbers globally in MKII?
Luigi gave me a link to the mailing list on this issue yesterday, but
it is a broken link:(

Yue Wang

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


[NTG-context] Setuphyphenmark is not working again

2008-11-22 Thread Yue Wang
Hi, Hans:

\setuphyphenmark[sign=-] is not working again, it still gives en-dash
between ||.
would you please have a check?

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


Re: [NTG-context] bug reporting

2008-11-22 Thread Peter Münster
On Sat, Nov 22 2008, Hans Hagen wrote:

> > What's the best to do with unanswered bug-reports / feature-requests on the
> > mailing list:
> > - reposting on the list
> > - posting to the tracker on http://foundry.supelec.fr/projects/contexttest/
> > - other?
> 
> when urgent (showstopper): repost

"urgent" is quite relative, but ok, I don't see any showstopper in my list.

> else: tracker

Ok, I'll repost some issues there.

But it would be nice, to get some feedback on the tracker. There are a lot
of issues just "open" for a long time. If nobody can provide a solution for
an issue, it would be nice to get a status such as "wontfix", or if it's
just a matter of time, a "target milestone" would be helpful.

Cheers, Peter

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz

On Nov 22, 2008, at 6:56 PM, Taco Hoekwater wrote:

> This must be a bug in luatex, hyphenation is supposed to be identical
> but the whole algorithm is redone, and obviously not flawlessly.
>
> It seems there is (at least) a problem with all patterns that are
> supposed to end a word. For example, the "4ch." that is supposed to
> prevent i-ch appears to be ignored  (at first glance, it looks like it
> is interpreted as "c4h." and etc. for all others with a trailing ".")
>
> I will investigate further next week, at the office.
>
> Best wishes,
> Taco

Excellent, Taco, you're on the case! Looking forward to hearing about  
your little investigation - "elementary, my dear Watson!" :)

All best

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


Re: [NTG-context] color test not working

2008-11-22 Thread Alan STONE
On Sat, Nov 22, 2008 at 1:06 PM, Hans Hagen <[EMAIL PROTECTED]> wrote:

>
> ok, fixed; will be in end-of-december release
>
End of *december* ?

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Taco Hoekwater
Thomas A. Schmitz wrote:
> 
> What I don't understand: doesn't mkiv/luatex use the same patterns  
> that XeTeX uses? Then why the deuce does it show different  
> hyphenation? For German users, this is pretty serious, a hyphenation  
> like "niedli-ch" is really bad and neither in traditional nor  
> modernized German spelling.

This must be a bug in luatex, hyphenation is supposed to be identical
but the whole algorithm is redone, and obviously not flawlessly.

It seems there is (at least) a problem with all patterns that are
supposed to end a word. For example, the "4ch." that is supposed to
prevent i-ch appears to be ignored  (at first glance, it looks like it
is interpreted as "c4h." and etc. for all others with a trailing ".")

I will investigate further next week, at the office.

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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread luigi scarso
On Sat, Nov 22, 2008 at 6:50 PM, luigi scarso <[EMAIL PROTECTED]> wrote:
> On Sat, Nov 22, 2008 at 6:53 PM, Renaud Aubin <[EMAIL PROTECTED]> wrote:
>> Blender (+type1 font) then Right Hemisphere for the conversion...
> Nothing open source ?
I mean for u3d files..


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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
See http://www.blender.org/ and 
http://www.righthemisphere.com/products/dexp/de_std.html (I've used an 
old windows version of Deep Exploration)

Idris Samawi Hamid ادريس سماوي حامد a écrit :
> On Sat, 22 Nov 2008 10:53:33 -0700, Renaud Aubin <[EMAIL PROTECTED]> wrote:
>
>   
>> Blender (+type1 font) then Right Hemisphere for the conversion...
>> 
>
> What is Blender -- the name is too generic for google...
>
> Idris
>
>   

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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sat, 22 Nov 2008 10:57:58 -0700, Matija Šuklje  
<[EMAIL PROTECTED]> wrote:

> http://www.blender.org/

On Sat, 22 Nov 2008 11:10:56 -0700, Renaud Aubin <[EMAIL PROTECTED]> wrote:

> See http://www.blender.org/ and
> http://www.righthemisphere.com/products/dexp/de_std.html (I've used an
> old windows version of Deep Exploration)

Thank you, Matija and Renaud!

Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Great, i've googlized and found 
http://artandlogic.blogspot.com/2008/08/blender-to-acrobat-3d.html then 
http://meshlab.sourceforge.net/

It's worth to give a try to this CAD chain!

Renaud Aubin a écrit :
> Blender is... but u3d export is not possible with open source tools in 
> 2006/ early 2007
>
>
> luigi scarso a écrit :
>   
>> On Sat, Nov 22, 2008 at 6:53 PM, Renaud Aubin <[EMAIL PROTECTED]> wrote:
>>   
>> 
>>> Blender (+type1 font) then Right Hemisphere for the conversion...
>>> 
>>>   
>> Nothing open source ?
>>   
>> 
>
> ___
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
See http://www.blender.org/ and
http://www.righthemisphere.com/products/dexp/de_std.html (I've used an
old windows version of Deep Exploration)

Idris Samawi Hamid ادريس سماوي حامد a écrit :
> On Sat, 22 Nov 2008 10:53:33 -0700, Renaud Aubin <[EMAIL PROTECTED]> wrote:
>
>   
>> Blender (+type1 font) then Right Hemisphere for the conversion...
>> 
>
> What is Blender -- the name is too generic for google...
>
> Idris
>
>   


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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Blender is... but u3d export is not possible with open source tools in 
2006/ early 2007


luigi scarso a écrit :
> On Sat, Nov 22, 2008 at 6:53 PM, Renaud Aubin <[EMAIL PROTECTED]> wrote:
>   
>> Blender (+type1 font) then Right Hemisphere for the conversion...
>> 
> Nothing open source ?
>   

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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Matija Šuklje
Dne sobota 22. novembra 2008 je Idris Samawi Hamid ادريس سماوي حامد 
napisal(a):
> What is Blender -- the name is too generic for google...

http://www.blender.org/

Cheers,
Matija
-- 
gsm: +386 41 849 552
e-mail: [EMAIL PROTECTED]
www: http://matija.suklje.name

aim: hookofsilver
icq: 110183360
jabber/g-talk: [EMAIL PROTECTED]
msn: [EMAIL PROTECTED]
yahoo: matija_suklje
GPG/PGP fingerprint: FB64 FFAF B8DA 5AB5 B18A 98B8 2B68 0B51 0549 D278


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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Oups... too fast : + using .3ds as an intermediate format :
blend --> 3ds --> u3d

Renaud Aubin a écrit :
> Blender (+type1 font) then Right Hemisphere for the conversion...
>   

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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread luigi scarso
On Sat, Nov 22, 2008 at 6:51 PM, Idris Samawi Hamid ادريس سماوي حامد
<[EMAIL PROTECTED]> wrote:
> On Sat, 22 Nov 2008 10:53:33 -0700, Renaud Aubin <[EMAIL PROTECTED]> wrote:
>
>> Blender (+type1 font) then Right Hemisphere for the conversion...
>
> What is Blender -- the name is too generic for google...

http://www.blender.org


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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread luigi scarso
On Sat, Nov 22, 2008 at 6:53 PM, Renaud Aubin <[EMAIL PROTECTED]> wrote:
> Blender (+type1 font) then Right Hemisphere for the conversion...
Nothing open source ?
-- 
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Idris Samawi Hamid ادريس سماوي ح امد
On Sat, 22 Nov 2008 10:53:33 -0700, Renaud Aubin <[EMAIL PROTECTED]> wrote:

> Blender (+type1 font) then Right Hemisphere for the conversion...

What is Blender -- the name is too generic for google...

Idris

-- 
Professor Idris Samawi Hamid, Editor-in-Chief
International Journal of Shi`i Studies
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Blender (+type1 font) then Right Hemisphere for the conversion...

luigi scarso a écrit :
> On Sat, Nov 22, 2008 at 6:23 PM, Renaud Aubin <[EMAIL PROTECTED]> wrote:
>   
>> Hi Michail,
>>
>> See http://www.nibua-r.org/ConTeXt/devel/
>>
>> Regards,
>>
>> Renaud
>> 
>
> How do you make this
> http://www.nibua-r.org/ConTeXt/devel/new3dartwork/models/context.u3d
>
>
>   

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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
See http://www.nibua-r.org/ConTeXt/PhD/aubin-slides.pdf as a use case 
(pages 17 and 25).
Let me know if you want the full source code...

Renaud

Renaud Aubin a écrit :
> Hi Michail,
>
> See http://www.nibua-r.org/ConTeXt/devel/
>
> Regards,
>
> Renaud
>   
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread luigi scarso
On Sat, Nov 22, 2008 at 6:23 PM, Renaud Aubin <[EMAIL PROTECTED]> wrote:
> Hi Michail,
>
> See http://www.nibua-r.org/ConTeXt/devel/
>
> Regards,
>
> Renaud

How do you make this
http://www.nibua-r.org/ConTeXt/devel/new3dartwork/models/context.u3d


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


Re: [NTG-context] embedding 3d pdf

2008-11-22 Thread Renaud Aubin
Hi Michail,

See http://www.nibua-r.org/ConTeXt/devel/

Regards,

Renaud

Michail Vidiassov a écrit :
> Dear All,
>
> since ConTeXt lacks support for embedding 3D models (U3D or PRC) into PDF
> (btw, is pdf annotations support in context/luatex combination fit for 
> end-user or is "in transition"?)
> I have tried to embed some 3D PDFs from
> http://asymptote.sourceforge.net/gallery/3D%20graphs/
> and
> http://www.iaas.msu.ru/tmp/u3d/pdf/ 
> using
> \externalfigure[3dpf.pdf]
> \startpagefigure[3dpdf.pdf]\stoppagefigure
> \copypages[3dpdf.pdf][n=1]
> but only the preview (flat) images show up,
> not the 3D model, that must appear after clicking on it in Adobe Reader.
> File size shows that the 3D annotation data was not taken from the 3D PDF 
> file into ConTeXt output.
>
> Any advice on possible workarounds? Any hope for ConTeXt fixes?
>
> Or making a link to an external PDF file is the only option for now?
>
>Sincerely, Michail
>
> PS.
> I have seen the code from Renaud AUBIN in the "U3D (embedded 3D objects)" 
> thread,
> http://www.ntg.nl/pipermail/ntg-context/2006/020220.html
> but it is too ugly and old a hack to start any work from.
> ___
> 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  : https://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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Centering the page

2008-11-22 Thread Mohamed Bana
%%% Document %%%

% engine=luatex
\enableregime [utf-8]
\mainlanguage[uk]
\language[uk]
\setuppapersize [A4]
 [A4]
\showframe
%\showlayout

%\setuplayout[width=middle]

\setupwhitespace  [medium]

\starttext
\input knuth

\input zapf

\input tufte
\stoptext


Look at http://filebin.ca/rzjruz/test.pdf or http://filebin.ca/rzjruz, 
you'll notice a reasonably sized gap on the right hand side, how do I 
get rid of it?

The work around seems to be

\setuplayout[width=middle]

But this isn't want I want as the width of the text betters slightly 
bigger, see; http://filebin.ca/ttufjc/test.pdf or http://filebin.ca/ttufjc .


Thanks

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz

On Nov 22, 2008, at 4:45 PM, Mojca Miklavec wrote:

> My fear is that there could be some tiny difference in that
> reimplementation of hyphenation algorithm. Most words hyphenate
> properly and equally in both engines. This is the first
> counter-example that I have seen. But that might be something for Taco
> to check.
>
> Mojca

To be honest: this is something that has been bugging me for quite a  
while, I just took some time to realize what the problem was. In all  
my texts, the letters "ch" get hyphenated at the end, and many German  
adjectives end in "ch" (see "lich" in Hans's example).

What I don't understand: doesn't mkiv/luatex use the same patterns  
that XeTeX uses? Then why the deuce does it show different  
hyphenation? For German users, this is pretty serious, a hyphenation  
like "niedli-ch" is really bad and neither in traditional nor  
modernized German spelling.

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


[NTG-context] embedding 3d pdf

2008-11-22 Thread Michail Vidiassov
Dear All,

since ConTeXt lacks support for embedding 3D models (U3D or PRC) into PDF
(btw, is pdf annotations support in context/luatex combination fit for end-user 
or is "in transition"?)
I have tried to embed some 3D PDFs from
http://asymptote.sourceforge.net/gallery/3D%20graphs/
and
http://www.iaas.msu.ru/tmp/u3d/pdf/ 
using
\externalfigure[3dpf.pdf]
\startpagefigure[3dpdf.pdf]\stoppagefigure
\copypages[3dpdf.pdf][n=1]
but only the preview (flat) images show up,
not the 3D model, that must appear after clicking on it in Adobe Reader.
File size shows that the 3D annotation data was not taken from the 3D PDF 
file into ConTeXt output.

Any advice on possible workarounds? Any hope for ConTeXt fixes?

Or making a link to an external PDF file is the only option for now?

   Sincerely, Michail

PS.
I have seen the code from Renaud AUBIN in the "U3D (embedded 3D objects)" 
thread,
http://www.ntg.nl/pipermail/ntg-context/2006/020220.html
but it is too ugly and old a hack to start any work from.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Mojca Miklavec
On Sat, Nov 22, 2008 at 4:15 PM, Hans Hagen wrote:
> Mojca Miklavec wrote:
>> On Sat, Nov 22, 2008 at 12:35 PM, Thomas A. Schmitz wrote:
>>> I suspect
>>> the error is not in lefthyphenmin and righthyphenmin, but in the
>>> patterns themselves. Which patterns does mkiv actually use, and how
>>> have they been produced?
>>
>> It uses the patterns
>>`dehypht-x' 2008-06-18 (WL)
>>
>> Wait!!! Have de and deo been switched
>> { "de",  "hyph-de-1901.tex",   "german, old spelling" },
>> { "deo", "hyph-de-1996.tex",   "german, new spelling" },
>
> hey, didn't *you* check that?

I should have checked, yes. I did, but I oversaw this. I admit, it's
all my fault (lucky me that I don't know the differences between the
two orthographies well enough).

> ok, i swapped them in mtx-patterns and swapped the de and deo files in
> my  tree

There have recently been some more changes (for example Hungarian now
includes way more extensive patterns, and Lithuanian and Latvian have
been added, but there's no support for the two languages in ConTeXt
anyway). Just FYI.

(Just out of curiosity - why has { "agr", "hyph-grc", "ancient greek"
} been commented out? My next question to Thomas would be how you
handle those patterns in pdftex, but I won't ask that.)

> ok, luatex has a reimplemented hyphenation machinery so that may be a
> reason; another can be that we don't use the german patterns at all
> although i do see a difference ..

My fear is that there could be some tiny difference in that
reimplementation of hyphenation algorithm. Most words hyphenate
properly and equally in both engines. This is the first
counter-example that I have seen. But that might be something for Taco
to check.

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Hans Hagen
Thomas A. Schmitz wrote:
> On Nov 22, 2008, at 2:32 PM, Hans Hagen wrote:
> 
>> what does xetex, pdftex, luatex report for:
>>
>> {\de \thelefthyphenmin blabla}
> 
> \the\lefthyphenmin is 2 in all engines

ok, luatex has a reimplemented hyphenation machinery so that may be a 
reason; another can be that we don't use the german patterns at all 
although i do see a difference ..


\setupcolors[state=start]

\starttext

\en \hyphenatedword{blabla hello smithonian bugs schmitzonian bugs 
schmitzlich}

\de \hyphenatedword{blabla hello smithonian bugs schmitzonian bugs 
schmitzlich}

\nl \hyphenatedword{blabla hello smithonian bugs schmitzonian bugs 
schmitzlich}

\sv \hyphenatedword{blabla hello smithonian bugs schmitzonian bugs 
schmitzlich}

\stoptext


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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Hans Hagen
Mojca Miklavec wrote:
> On Sat, Nov 22, 2008 at 12:35 PM, Thomas A. Schmitz wrote:
>> I suspect
>> the error is not in lefthyphenmin and righthyphenmin, but in the
>> patterns themselves. Which patterns does mkiv actually use, and how
>> have they been produced?
> 
> It uses the patterns
>`dehypht-x' 2008-06-18 (WL)
> 
> Wait!!! Have de and deo been switched
> { "de",  "hyph-de-1901.tex",   "german, old spelling" },
> { "deo", "hyph-de-1996.tex",   "german, new spelling" },

hey, didn't *you* check that? lucky us that no german user noticed the 
difference

> Even though this is probably not the reason for your problem since
> mkii and mkiv should use the same patterns(?), the two lines in
> mtxrun.lua need to be switched.

ok, i swapped them in mtx-patterns and swapped the de and deo files in 
my  tree


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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz

On Nov 22, 2008, at 2:32 PM, Hans Hagen wrote:

> what does xetex, pdftex, luatex report for:
>
> {\de \thelefthyphenmin blabla}

\the\lefthyphenmin is 2 in all engines
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] font style, font case question

2008-11-22 Thread Wolfgang Schuster

Am 21.11.2008 um 17:10 schrieb Alan STONE:

> Hi,
>
> Re: http://wiki.contextgarden.net/Basic_Text_Formatting
>
> Although font style and font cases are mentioned separately in the  
> table,
> from the few test I've done it doesn't seem font styles and font  
> cases can
> be combined, for ex.: \bf \sc sometext. Is that so for all of them ?  
> If not, is
> there a normal font case, aka \tf for the font style/size ?

1. Latin modern has no bold small caps,

2. by default small caps are defined as SerifCaps, SansCaps ...
and this is a style switch,

3. In a many OpenType fonts you could get small caps with
the smcp feature, to use it redefine the \sc command to
\def\sc{\groupedcommand{\setfontfeature{smallcaps}}{}}.

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Hans Hagen
Thomas A. Schmitz wrote:
> On Nov 22, 2008, at 1:22 PM, Mojca Miklavec wrote:
> 
>> PS: in LaTeX there is indeed a difference whether one uses pdfTeX or
>> XeTeX/LuaTeX since the two engines load differente patterns, but in
>> ConTeXt I see no reason for a different behaviour.
> 
> Hmm, that's a nice understatement :-) Fact is that the wrong  
> hyphenation only occurs when I compile my little test document with  
> luatex; both xetex and pdftex give the expected result. Changing left| 
> righthyphenmin is definitely a hack and not the correct way to go.  
> Btw, the result stays the same when I set the language to deo instead  
> of de.

what does xetex, pdftex, luatex report for:

{\de \thelefthyphenmin blabla}


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


Re: [NTG-context] bug reporting

2008-11-22 Thread Hans Hagen
Peter Münster wrote:
> Hello,
> 
> What's the best to do with unanswered bug-reports / feature-requests on the
> mailing list:
> - reposting on the list
> - posting to the tracker on http://foundry.supelec.fr/projects/contexttest/
> - other?

when urgent (showstopper): repost
else: tracker


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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz

On Nov 22, 2008, at 1:22 PM, Mojca Miklavec wrote:

> PS: in LaTeX there is indeed a difference whether one uses pdfTeX or
> XeTeX/LuaTeX since the two engines load differente patterns, but in
> ConTeXt I see no reason for a different behaviour.

Hmm, that's a nice understatement :-) Fact is that the wrong  
hyphenation only occurs when I compile my little test document with  
luatex; both xetex and pdftex give the expected result. Changing left| 
righthyphenmin is definitely a hack and not the correct way to go.  
Btw, the result stays the same when I set the language to deo instead  
of de.

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


[NTG-context] bug reporting

2008-11-22 Thread Peter Münster
Hello,

What's the best to do with unanswered bug-reports / feature-requests on the
mailing list:
- reposting on the list
- posting to the tracker on http://foundry.supelec.fr/projects/contexttest/
- other?

Greetings, Peter

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Mojca Miklavec
On Sat, Nov 22, 2008 at 1:13 PM, Mojca Miklavec wrote:
> On Sat, Nov 22, 2008 at 12:35 PM, Thomas A. Schmitz wrote:
>>
>> I suspect
>> the error is not in lefthyphenmin and righthyphenmin, but in the
>> patterns themselves. Which patterns does mkiv actually use, and how
>> have they been produced?
>
> It uses the patterns
>   `dehypht-x' 2008-06-18 (WL)

Sorry, I was a bit inaccurate. It uses patterns from
tex/context/patterns/lang-de.pat which have been generated with
mtxrun --script pattern --convert
that more or less copies contents of hyph-de-1901.tex (should be
1996). And those patterns are more or less a literal copy of
http://repo.or.cz/w/wortliste.git plus maybe some time delay.

Mojca

PS: in LaTeX there is indeed a difference whether one uses pdfTeX or
XeTeX/LuaTeX since the two engines load differente patterns, but in
ConTeXt I see no reason for a different behaviour.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Mojca Miklavec
On Sat, Nov 22, 2008 at 12:35 PM, Thomas A. Schmitz wrote:
>
> I suspect
> the error is not in lefthyphenmin and righthyphenmin, but in the
> patterns themselves. Which patterns does mkiv actually use, and how
> have they been produced?

It uses the patterns
   `dehypht-x' 2008-06-18 (WL)

Wait!!! Have de and deo been switched
{ "de",  "hyph-de-1901.tex",   "german, old spelling" },
{ "deo", "hyph-de-1996.tex",   "german, new spelling" },

Even though this is probably not the reason for your problem since
mkii and mkiv should use the same patterns(?), the two lines in
mtxrun.lua need to be switched.

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Hans Hagen
Thomas A. Schmitz wrote:
> On Nov 22, 2008, at 12:29 PM, Hans Hagen wrote:
> 
>> Thomas A. Schmitz wrote:
>>> Hi all,
>>>
>>> something fishy is going on with hyphenation patterns for German in
>>> mkiv. Here's a minimal test file:
>>>
>>> \starttext
>>>
>>> {\de \hyphenatedword{sich}}
>>>
>>> \stoptext
>>>
>>> please compile with mkii and mkiv and see the difference. The word
>>> should of course not be hyphenated.
>> so th epatterns are not good enough for lefthyphenmin=2
>>
>> we can set (for de) ...
>>
>>\c!lefthyphenmin=3,
>>\c!righthyphenmin=3,
>>
>> is that ok then?
>>
> It would help in this particular case, but in general, a hyphenation  
> such as "al-le" ist correct, so left|righthyphenmin=2 is OK. I suspect  
> the error is not in lefthyphenmin and righthyphenmin, but in the  
> patterns themselves. Which patterns does mkiv actually use, and how  
> have they been produced?

i don't know; maybe do some experiments with mkii versus mkiv and 
different hyphenmin settings to see what happens

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


Re: [NTG-context] color test not working

2008-11-22 Thread Hans Hagen
Alan STONE wrote:
> On Sat, Sep 13, 2008 at 10:04 PM, Alan Stone 
> <[EMAIL PROTECTED] > 
> wrote:
> 
> Hi,
> 
> \setupcolors[state=start]
> 
> \setupcolor[rgb]
> \setupcolor[xwi]
> \setupcolor[ema]
> 
> \starttext
> 
> \midaligned{\tfb \bf RGB colors}
> \blank[3*big]
> \showcolor[rgb]
> \page
> 
> \midaligned{\tfb \bf XWI colors}
> \blank[3*big]
> \showcolor[xwi]
> \page
> 
> \midaligned{\tfb \bf EMA colors}
> \blank[3*big]
> \showcolor[ema]
> 
> \stoptext
> 
>  
>  
> FYI, this currently doesn't work under Windows XP with
> ConTeXt  ver: 2008.11.10 21:40 MKIV  fmt: 2008.11.21  int: english/english
> Output in attachement.

ok, fixed; will be in end-of-december release

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz

On Nov 22, 2008, at 12:29 PM, Hans Hagen wrote:

> Thomas A. Schmitz wrote:
>> Hi all,
>>
>> something fishy is going on with hyphenation patterns for German in
>> mkiv. Here's a minimal test file:
>>
>> \starttext
>>
>> {\de \hyphenatedword{sich}}
>>
>> \stoptext
>>
>> please compile with mkii and mkiv and see the difference. The word
>> should of course not be hyphenated.
>
> so th epatterns are not good enough for lefthyphenmin=2
>
> we can set (for de) ...
>
>\c!lefthyphenmin=3,
>\c!righthyphenmin=3,
>
> is that ok then?
>
It would help in this particular case, but in general, a hyphenation  
such as "al-le" ist correct, so left|righthyphenmin=2 is OK. I suspect  
the error is not in lefthyphenmin and righthyphenmin, but in the  
patterns themselves. Which patterns does mkiv actually use, and how  
have they been produced?

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


Re: [NTG-context] patterns for German in mkiv

2008-11-22 Thread Hans Hagen
Thomas A. Schmitz wrote:
> Hi all,
> 
> something fishy is going on with hyphenation patterns for German in  
> mkiv. Here's a minimal test file:
> 
> \starttext
> 
> {\de \hyphenatedword{sich}}
> 
> \stoptext
> 
> please compile with mkii and mkiv and see the difference. The word  
> should of course not be hyphenated.

so th epatterns are not good enough for lefthyphenmin=2

we can set (for de) ...

\c!lefthyphenmin=3,
\c!righthyphenmin=3,

is that ok then?


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


[NTG-context] patterns for German in mkiv

2008-11-22 Thread Thomas A. Schmitz
Hi all,

something fishy is going on with hyphenation patterns for German in  
mkiv. Here's a minimal test file:

\starttext

{\de \hyphenatedword{sich}}

\stoptext

please compile with mkii and mkiv and see the difference. The word  
should of course not be hyphenated.

All best

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


Re: [NTG-context] startstandardmakeup and page numbering

2008-11-22 Thread Hans Hagen
Bart C. Wise wrote:
> I use a standardmakeup to define a "part" page.  However, when I do so, the 
> page counter does not get incremented.  Therefore, after every part, the page 
> numbers are inaccurate.  Is there a way to keep the page counter incrementing 
> on a standardmakeup?

\startstandardmakeup[pagestate=start]


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