[NTG-context] error: unable to define unbatangRegular as \*Myface12ptrmtfa*

2010-05-27 Thread Jeong Dalyoung
Dear all,

Today, I updated ConTeXt Minimal using first-setup.sh in my Mac.

I compiled a file which was compiled well before update.
But I got a strange result in the output.

All english sentences are shown well except korean sentences. In the log file,

...
systems : end file myBstyle at line 4
(/Users/graph/ConTeXtMini/tex/texmf-local/tex/context/type-kor.tex)
!define font: font with name unbatangRegular is not found
!define font: unknown font unbatangRegular, loading aborted
!define font: unable to define unbatangRegular as \*Myface12ptrmtf*
systems : begin file geo-euclid at line 11
(/Users/graph/Documents/Mathematics/geometry/geo-euclid.tex
structure   : chapter @ level 2 : 0.1 - Euclidean Geoemtry
!define font: font with name unbatangRegular is not found
!define font: unknown font unbatangRegular, loading aborted
!define font: unable to define unbatangRegular as \*Myface12ptrmtfc*
!define font: font with name unbatangRegular is not found
...

There is no change in the typescript file and the location of the fonts.

Here is a part of typescript file type-kor defining unbatangRegular;

% unfonts batang
\starttypescript[serif][unbatang][uc]
% Regular variant:
\definefontsynonym[unbatangRegular][file:UnBatang.ttf][encoding=uc]
\definefontsynonym[unbatangBold][file:UnBatangBold.ttf][encoding=uc]
\definefontsynonym[unbatangItalic][file:UnGraphic.ttf][encoding=uc]
\definefontsynonym[unbatangBoldItalic][file:UnGraphicBold.ttf] [encoding=uc]
\stoptypescript
% mid-level names:
\starttypescript[serif][unbatang][name]
\definefontsynonym[Serif][unbatangRegular]
\definefontsynonym[SerifBold][unbatangBold]
\definefontsynonym[SerifItalic][unbatangItalic]
\definefontsynonym[SerifBoldItalic][unbatangBoldItalic]
% The fallbacks
\definefontsynonym[SerifSlanted][Serif]
\definefontsynonym[SerifBoldSlanted][SerifBold]
\definefontsynonym[SerifCaps][Serif]
\stoptypescript
...

More interesting thing is that korean defined as bold face is shown. So I 
change the whole text as bold using {\bf whole text (english + korean)}, then 
every sentences is clearly shown in bold face. I checked luatools 
UnBatang.ttf which is defined as unbatangregular, it locates where it is.

ConTeXtMini graph$ luatools UnBatang.ttf
/Users/graph/Library/Fonts/UnBatang.ttf

Both current version and ConTeXt  ver: 2010.05.24 13:05 MKIV  fmt: 2010.5.27  
int: english/english version work same.

Why isn't it able to define unbatangRegular while it can use the 
unbatangBold?

I am using Mac, ConTeXtMinimal.
Thank you.

Best regards,

Dalyoung

___
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] error: unable to define unbatangRegular as \*Myface12ptrmtfa*

2010-05-27 Thread Taco Hoekwater
Hi,

Jeong Dalyoung wrote:
 
 Both current version and ConTeXt  ver: 2010.05.24 13:05 MKIV  fmt:
 2010.5.27  int: english/english version work same.
 
 Why isn't it able to define unbatangRegular while it can use the
 unbatangBold?

Drop the [uc] and '[encoding=uc]' from your typescript:

\starttypescript[serif][unbatang]
\definefontsynonym[unbatangRegular][file:UnBatang.ttf]
\definefontsynonym[unbatangBold][file:UnBatangBold.ttf]
\definefontsynonym[unbatangItalic][file:UnGraphic.ttf]
\definefontsynonym[unbatangBoldItalic][file:UnGraphicBold.ttf]
\stoptypescript

Explanation: The extra encoding arguments you had meant that mkiv
did not actually interpret that block of code.  As a result, it
only saw

\definefontsynonym[Serif][unbatangRegular]

and that is interpreted as 'name:unbatangRegular', which is a
non-existing font name. unbatangBold worked ok because name:unbatangBold
actually *is* a valid font name.

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] gentium font doesn't work in latest current

2010-05-27 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 Hi all,
 
 the current version doesn't work with the gentium font; it is displayed in a
 tiny size. 

Works fine here with current 2010.05.24 and latest beta. Perhaps you
should clear the font cache.

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] pagecounter in mkiv

2010-05-27 Thread Martin 'golodhrim' Scholz
Mae govannen everybody,

I just run into a little problem. I have a titlepage and don't want it to 
be counted in the pagecounter, I already tried \resetcounter[page] and 
\setcounter[page]{1} where I want the numbering to start, but no result, 
it allways starts at the titlepage, so perhaps someone of you has a hint 
for me on how to get it done in mkiv

Greetings
-- 
---
Martin 'golodhrim' Scholz
Auf dem Sattler 4
34516 Ederbringhausen
Phone: +49 6454 799623
mobile: +49 176 63301749
Fax: +49 6454 
e-Mail: scholz@googlemail.com

Between infinite and short there is a big difference.
-- G.H. Gonnet

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

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


Re: [NTG-context] context mkiv eats a table

2010-05-27 Thread Marius
Sometimes I get the error given below, maybe this is related to this
problem. As soon as I will have more free time, I will try once again
to make a minimal example.

!pages  : flushing realpage 14, userpage 14
floatblocks : 6 moved
floatblocks : 11 moved
floatblocks : 7 moved
floatblocks : 12 moved
! LuaTeX error ...text/tex/texmf-context/tex/context/base/page-flt.lua:89:
attempt to index local 'b' (a nil value)
stack traceback:
...text/tex/texmf-context/tex/context/base/page-flt.lua:89: in function 
'save'
main ctx instance:1: in main chunk.
\dofloatssave #1-\ctxlua {floats.save(#1)}
 \the \everyfloatscheck
\dosavefloat -\dofloatssave {text}
   \nonoindentation
argument ...hod ,bottom,top] \else \dosavefloat
  \fi
\thirdofthreearguments #1#2#3-#3

\dogetfloatbox ...\floatmethod }[\floatmethod ,#1]
  \fi
\docompletefloat ...er }{\thecurrentfloatcaption }
  \global \insidefloatfalse
...
l.503 ...alfigure[2_1012_9][width=0.49\textwidth]}

?

On Wed, May 26, 2010 at 10:07 PM, Peter Münster pmli...@free.fr wrote:
 On Wed, May 26 2010, Marius wrote:

 does somebody experience a situation then a table disappear in the
 document? This is an ugly bug, but I can't narrow it to a simple case.

 When you need a lot of text, pages, floats and whatever to trigger this
 problem, then you can use commands like \dorecurse{100}{\input tufte} and
 so on. But in most cases you can end up with a minimal example of just 1-3
 pages.

 Of course, it can take some time to reduce a complex document to a minimal
 example, but it's the best you can do, if you want a solution.

 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] gentium font doesn't work in latest current

2010-05-27 Thread Thomas A . Schmitz
Taco Hoekwater taco at elvenkind.com writes:

 
 
 Thomas A. Schmitz wrote:
  Hi all,
  
  the current version doesn't work with the gentium font; it is displayed in a
  tiny size. 
 
 Works fine here with current 2010.05.24 and latest beta. Perhaps you
 should clear the font cache.
 
 Best wishes,
 Taco

Shoot, I tried everything (deleted the luatex cache, deleted another instance of
the gentium font, made a new example to exclude caching in the pdf viewer,
compiled luatex from trunk), but I still get the tiny font size with the example
I posted above. This is on linux, with luatex version 0.61 and the latest beta.
Could others please test the example above and report? 

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


Re: [NTG-context] gentium font doesn't work in latest current

2010-05-27 Thread Mojca Miklavec
On Thu, May 27, 2010 at 12:19, Thomas A. Schmitz wrote:

 Shoot, I tried everything (deleted the luatex cache, deleted another instance 
 of
 the gentium font, made a new example to exclude caching in the pdf viewer,
 compiled luatex from trunk), but I still get the tiny font size with the 
 example
 I posted above. This is on linux, with luatex version 0.61 and the latest 
 beta.
 Could others please test the example above and report?

I get the same problem.

Mojca

Out of curiosity: did we ever submit the proper version of ttf to
CTAN? We had a broken font version in repository for a while. It could
be that it was just a time-bomb showing up the problem at some random
point in time. But I didn't try to replace the font version.
___
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] gentium font doesn't work in latest current

2010-05-27 Thread luigi scarso
On Thu, May 27, 2010 at 12:19 PM, Thomas A. Schmitz
thomas.schm...@uni-bonn.de wrote:
 Taco Hoekwater taco at elvenkind.com writes:



 Thomas A. Schmitz wrote:
  Hi all,
 
  the current version doesn't work with the gentium font; it is displayed in 
  a
  tiny size.

 Works fine here with current 2010.05.24 and latest beta. Perhaps you
 should clear the font cache.

 Best wishes,
 Taco

 Shoot, I tried everything (deleted the luatex cache, deleted another instance 
 of
 the gentium font, made a new example to exclude caching in the pdf viewer,
 compiled luatex from trunk), but I still get the tiny font size with the 
 example
 I posted above. This is on linux, with luatex version 0.61 and the latest 
 beta.
 Could others please test the example above and report?

Same problem here on my linux box 32 bit
# context --version
MTXrun | main context file:
/opt/luatex/minimals-2010-05-26/tex/texmf-context/tex/context/base/context.tex
MTXrun | current version: 2010.05.27 09:45
r...@john:/opt/luatex/test-mkiv/thomas# luatex --version
This is LuaTeX, Version beta-0.60.1-2010042821

-- 
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] gentium font doesn't work in latest current

2010-05-27 Thread Taco Hoekwater


Mojca Miklavec wrote:
 point in time. But I didn't try to replace the font version.

Mine (correct output) is GenR102.ttf, 362664 bytes, md5sum
8f8fe5737f62cb2ad314ca8c317fc49b

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] gentium font doesn't work in latest current

2010-05-27 Thread luigi scarso
On Thu, May 27, 2010 at 12:29 PM, Taco Hoekwater t...@elvenkind.com wrote:


 Mojca Miklavec wrote:
 point in time. But I didn't try to replace the font version.

 Mine (correct output) is GenR102.ttf, 362664 bytes, md5sum
 8f8fe5737f62cb2ad314ca8c317fc49b

# md5sum GenR102.TTF
c968d72c4bfc649e2581a5d6699fd31f  GenR102.TTF
309228  bytes , 2008-11-08 16:37

-- 
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] gentium font doesn't work in latest current

2010-05-27 Thread Mojca Miklavec
On Thu, May 27, 2010 at 12:29, Taco Hoekwater wrote:

 Mojca Miklavec wrote:
 point in time. But I didn't try to replace the font version.

 Mine (correct output) is GenR102.ttf, 362664 bytes, md5sum
 8f8fe5737f62cb2ad314ca8c317fc49b

Mine was (Thomas???):

 md5 GenR102.TTF
MD5 (GenR102.TTF) = c968d72c4bfc649e2581a5d6699fd31f

But replacing it with another version didn't help (yet) despite
deleting the cache.

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] gentium font doesn't work in latest current

2010-05-27 Thread Taco Hoekwater


Mojca Miklavec wrote:
 On Thu, May 27, 2010 at 12:29, Taco Hoekwater wrote:
 Mojca Miklavec wrote:
 point in time. But I didn't try to replace the font version.
 Mine (correct output) is GenR102.ttf, 362664 bytes, md5sum
 8f8fe5737f62cb2ad314ca8c317fc49b
 
 Mine was (Thomas???):
 
 md5 GenR102.TTF
 MD5 (GenR102.TTF) = c968d72c4bfc649e2581a5d6699fd31f

Can someone email me broken one? I am deep into TL right now
so I don't want to mess with the minimals.
___
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] gentium font doesn't work in latest current

2010-05-27 Thread Mojca Miklavec
On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:

 Can someone email me broken one? I am deep into TL right now
 so I don't want to mess with the minimals.

http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public/gentium/GenR102.TTF

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] gentium font doesn't work in latest current

2010-05-27 Thread Taco Hoekwater


Mojca Miklavec wrote:
 On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:
 Can someone email me broken one? I am deep into TL right now
 so I don't want to mess with the minimals.
 
 http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public/gentium/GenR102.TTF

Still OK for me.

!load otf   : loading: /home/taco/tmp/GenR102.ttf (hash: genr102)


!load otf   : font loaded okay


!load otf   : file size: 309228
!load otf   : enhancing ...
!load otf   : saving in cache: /home/taco/tmp/GenR102.ttf

Weird. This machine is 32-bit linux, btw.


___
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] gentium font doesn't work in latest current

2010-05-27 Thread luigi scarso
On Thu, May 27, 2010 at 12:55 PM, Taco Hoekwater t...@elvenkind.com wrote:


 Mojca Miklavec wrote:
 On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:
 Can someone email me broken one? I am deep into TL right now
 so I don't want to mess with the minimals.

 http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public/gentium/GenR102.TTF

 Still OK for me.

 !load otf       : loading: /home/taco/tmp/GenR102.ttf (hash: genr102)


 !load otf       : font loaded okay


 !load otf       : file size: 309228
 !load otf       : enhancing ...
 !load otf       : saving in cache: /home/taco/tmp/GenR102.ttf

 Weird. This machine is 32-bit linux, btw.

Hm again ttf vs TTF ?



(/opt/luatex/minimals-2010-05-26/tex/texmf/tex/context/third/gentium/type-gentium.tex)
!fonts define   : unable to detemine font format for
'/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF'
!pages  : flushing realpage 1, userpage 1, subpage 1
systems : end file test.tex at line 9
system  : cont-err loaded
(/opt/luatex/minimals-2010-05-26/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) 
)/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

-- 
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] gentium font doesn't work in latest current

2010-05-27 Thread luigi scarso
On Thu, May 27, 2010 at 1:00 PM, luigi scarso luigi.sca...@gmail.com wrote:
 On Thu, May 27, 2010 at 12:55 PM, Taco Hoekwater t...@elvenkind.com wrote:


 Mojca Miklavec wrote:
 On Thu, May 27, 2010 at 12:38, Taco Hoekwater wrote:
 Can someone email me broken one? I am deep into TL right now
 so I don't want to mess with the minimals.

 http://minimals.contextgarden.net/current/fonts/common/fonts/truetype/public/gentium/GenR102.TTF

 Still OK for me.

 !load otf       : loading: /home/taco/tmp/GenR102.ttf (hash: genr102)


 !load otf       : font loaded okay


 !load otf       : file size: 309228
 !load otf       : enhancing ...
 !load otf       : saving in cache: /home/taco/tmp/GenR102.ttf

 Weird. This machine is 32-bit linux, btw.

 Hm again ttf vs TTF ?



 (/opt/luatex/minimals-2010-05-26/tex/texmf/tex/context/third/gentium/type-gentium.tex)
 !fonts define   : unable to detemine font format for
 '/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF'
 !pages          : flushing realpage 1, userpage 1, subpage 1
 systems         : end file test.tex at line 9
 system          : cont-err loaded
 (/opt/luatex/minimals-2010-05-26/tex/texmf-context/tex/context/base/cont-err.tex
 systems         : no file 'cont-sys.tex', using 'cont-sys.rme' instead
 ) 
 )/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/truetype/public/gentium/GenR102.TTF/opt/luatex/minimals-2010-05-26/tex/texmf/fonts/opentype/public/lm/lmroman12-regular.otf

bingo.
Thomas can you try to rename *TTF in *ttf ?


-- 
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] gentium font doesn't work in latest current

2010-05-27 Thread Hans Hagen

On 27-5-2010 1:00, luigi scarso wrote:


Hm again ttf vs TTF ?


There has been some changes in the filename checking (was needed for 
usage in latex) and something might have got lost there. In retrospect i 
should never have changed anything in our code for that reason and 
definitely not around tl freeze time.  I'll have a look at it.


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] gentium font doesn't work in latest current

2010-05-27 Thread Thomas A . Schmitz
luigi scarso luigi.scarso at gmail.com writes:


  Weird. This machine is 32-bit linux, btw.
 
  Hm again ttf vs TTF ?

 bingo.
 Thomas can you try to rename *TTF in *ttf ?
 


Yes, that solved it for me too! Taco, what can we do about that? AFAICS,
unfortunately, the gentium fonts do come with the TTF extension. Should we
rename them or trust that Hans will cook up a solution? 

Thanks for looking into this!

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


Re: [NTG-context] gentium font doesn't work in latest current

2010-05-27 Thread Taco Hoekwater


Thomas A. Schmitz wrote:
 luigi scarso luigi.scarso at gmail.com writes:
 
 
 Weird. This machine is 32-bit linux, btw.
 Hm again ttf vs TTF ?
 
 bingo.
 Thomas can you try to rename *TTF in *ttf ?
 
 Yes, that solved it for me too! Taco, what can we do about that? AFAICS,
 unfortunately, the gentium fonts do come with the TTF extension. Should we
 rename them or trust that Hans will cook up a solution? 

Should be fixed in the next beta (and I hotfixed the TL repo)

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] pagecounter in mkiv

2010-05-27 Thread Wolfgang Schuster

Am 27.05.10 11:30, schrieb Martin 'golodhrim' Scholz:

Mae govannen everybody,

I just run into a little problem. I have a titlepage and don't want it to
be counted in the pagecounter, I already tried \resetcounter[page] and
\setcounter[page]{1} where I want the numbering to start, but no result,
it allways starts at the titlepage, so perhaps someone of you has a hint
for me on how to get it done in mkiv

Greetings
   

\starttext

\startstandardmakeup[align=middle]
\tfd titlepage
\stopstandardmakeup

...

\stoptext

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] gentium font doesn't work in latest current

2010-05-27 Thread Otared Kavian
Hi all,

With the latest beta, the issue with the size of the gentium font is solved but 
till there is still an issue with the distance between Hello and World
I tested this with the following example

\usetypescript[gentium]
\starttext
Hello \switchtobodyfont[gentium] World
\stoptext

and ConTeXt version 
ConTeXt  ver: 2010.05.27 13:47 MKIV  fmt: 2010.5.27  int: english/english
LuaTeX, Version beta-0.60.1-2010042810.

Please see the attached PDF file. (Working on Mac OS X 10.6.3, gentium.ttf 
Version 1.02; 2005; OFL release).

Best regards: OK


gentium.pdf
Description: Adobe PDF document


On 27 mai 2010, at 13:47, Taco Hoekwater wrote:

 
 
 Thomas A. Schmitz wrote:
 luigi scarso luigi.scarso at gmail.com writes:
 
 
 Weird. This machine is 32-bit linux, btw.
 Hm again ttf vs TTF ?
 
 bingo.
 Thomas can you try to rename *TTF in *ttf ?
 
 Yes, that solved it for me too! Taco, what can we do about that? AFAICS,
 unfortunately, the gentium fonts do come with the TTF extension. Should we
 rename them or trust that Hans will cook up a solution? 
 
 Should be fixed in the next beta (and I hotfixed the TL repo)
 
 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
 ___

___
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] gentium font doesn't work in latest current

2010-05-27 Thread Taco Hoekwater


Otared Kavian wrote:
 Hi all,
 
 With the latest beta, the issue with the size of the gentium font is solved 
 but till there is still an issue with the distance between Hello and World
 I tested this with the following example
 
 \usetypescript[gentium]
 \starttext
 Hello \switchtobodyfont[gentium] World

I saw that too. \switchtobodyfont is generating lots of spaces
when it is called in horizontal mode. They come from the
\definetypescriptprefix lines in the tex-gyre typescript
(type-otf.mkiv):


   \definetypescriptprefix [f:pagella] [pagella]
\definetypescriptprefix [f:palatino]   [pagella]

et cetera. Each lines adds two extra blanks: one is the space
after the first command, the second is the newline after the second
command.

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] error: unable to define unbatangRegular as \*Myface12ptrmtfa*

2010-05-27 Thread dalyoung
Dear Taco,

Thank you advice.

After deleting [uc] and [encoding=uc], it worked fine.
Every sentences was appeared correctly.

Best regards,

Dalyoung

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

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


Re: [NTG-context] context mkiv eats a table

2010-05-27 Thread Marius
Here is the example.
ConTeXt  ver: 2010.05.24 13:05 MKIV


testbug.tex
Description: TeX document


testbug.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] urls longer than 57 characters fail in the bibliography

2010-05-27 Thread Michael Saunders
\usemodule[bib]

\newcommand{\myurl}[2]{\useURL[#1][#2][][\hyphenatedurl{#2}]{\ss\from[#1]}}

\starttext
\cite[test]
\placepublications[criterium=all]
\stoptext

works with:

@BOOK{test,
  title = {test title},
  publisher = {test title},
  year = {2010},
  author = {test author},
  note = 
{\myurl{testurl}{123456789012345678901234567890123456789012345678901234567}}
}


but fails with:

note = 
{\myurl{testurl}{1234567890123456789012345678901234567890123456789012345678}}

however, this \myurl statement works in the body.
___
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] bugs (and sectionstopper in MkII)

2010-05-27 Thread Rogutės Sparnuotos
Dear list,

I thought I would try switching to MkII (+XeTeX), because MkIV looks bad
tempered [1], but...

* How does one do the equivalent of \setupheads[sectionstopper=.] ?

* Why are the spaces of prefix and suffix of \in{}{}[] trimmed with MkII?
  \starttext
  \section[one]{One}
  \in{( sec. }{ sec. )}[one]
  \stoptext


[1] MkIV problems so far:

* \in[] bug after \definereferenceformat[][]:
  http://archive.contextgarden.net/message/20100525.013929.6c0016f2.en.html

* Interaction is not working (works fine with MkII):
  http://archive.contextgarden.net/message/20100525.002043.bb202b94.en.html

* Footnotes get put in the wrong page (didn't manage to create a minimal
  example in the first try).

P.S. Perhaps I should be using the bug tracker for the above, instead of
 this mailing list?

-- 
--  Rogutės Sparnuotos
___
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] urls longer than 57 characters fail in the bibliography

2010-05-27 Thread taco

Michael Saunders wrote:

\usemodule[bib]

\newcommand{\myurl}[2]{\useURL[#1][#2][][\hyphenatedurl{#2}]{\ss\from[#1]}}

\starttext
\cite[test]
\placepublications[criterium=all]
\stoptext

works with:

@BOOK{test,
  title = {test title},
  publisher = {test title},
  year = {2010},
  author = {test author},
  note = 
{\myurl{testurl}{123456789012345678901234567890123456789012345678901234567}}
}


but fails with:

note = 
{\myurl{testurl}{1234567890123456789012345678901234567890123456789012345678}}

however, this \myurl statement works in the body.


this is a bibtex bug (just look at the generated bbl file and you will 
see what happened). I don't think there is anything that can be done

about the bibtex output, so you will probably have to define the url
as a macro outside of the bib file

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] context mkiv eats a table

2010-05-27 Thread Peter Münster
On Thu, May 27 2010, Marius wrote:

 Here is the example.
 [...]

Or even smaller:

\starttext
\dorecurse{700}{text }
\placefigure[top][]{Figure}{bla}
\dorecurse{40}{text }
\placetable[top][]{Table}{bla}
\stoptext

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] gentium font doesn't work in latest current

2010-05-27 Thread Hans Hagen

On 27-5-2010 3:36, Taco Hoekwater wrote:



Otared Kavian wrote:

Hi all,

With the latest beta, the issue with the size of the gentium font is solved but till there is still 
an issue with the distance between Hello and World
I tested this with the following example

\usetypescript[gentium]
\starttext
Hello \switchtobodyfont[gentium] World


I saw that too. \switchtobodyfont is generating lots of spaces
when it is called in horizontal mode. They come from the
\definetypescriptprefix lines in the tex-gyre typescript
(type-otf.mkiv):


\definetypescriptprefix [f:pagella] [pagella]
\definetypescriptprefix [f:palatino]   [pagella]

et cetera. Each lines adds two extra blanks: one is the space
after the first command, the second is the newline after the second
command.


we can try to ignore lines, but even then, it's better to do:

\usetypescript[gentium]
\setupbodyfont[gentium]
\setupbodyfont[whatever]

\starttext

Hello {\switchtobodyfont[gentium] World ... }

this is because \switchtobodyfont is doing a lot and is supposed to be 
used grouped, so performance wise it's better first to trigger it once


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
___