[NTG-context] Solution to a superscript problem?

2011-10-12 Thread Otso Helenius

Hello,

I've been trying to come up with a few methods to add definitions to 
text with the help of the metafun and context manuals. The first method 
adds the definition as sort of a superscript on top of the word, and 
the second one marks multiple words with a curly bracket and adds the 
definition on top of the tip of the bracket.


Here is the (ugly and hackish) code:



\startuniqueMPgraphic{defline}
path p; p:=(0,0)..controls (0,1) and (1,1)..(1,1)--(6,1)..controls(7,1) 
and (7,1)..(7,2)--(7,2)..controls(7,1) and 
(7,1)..(8,1)--(13,1)..controls(13,1) and (14,1)..(14,0);

draw (0,0)--(0,12pt) withcolor white;
draw p xscaled (\overlaywidth/15) yscaled 5 shifted (0,9mm) withpen 
pencircle scaled 0.25mm withcolor red;

\stopuniqueMPgraphic

\defineoverlay[curlybracket][\includeMPgraphic{defline}]

\def\sentencedef[#1][#2]{\setbox\scratchbox=\hbox{#2}\hbox to 
\the\wd\scratchbox{\cbox{\hbox{\tfxx\color[red] 
#1}\\\hbox{\framed[background=curlybracket,frame=off]{#2}


\def\worddef[#1][#2]{\setbox\scratchbox=\hbox{#2}\hbox to 
\the\wd\scratchbox{\cbox{\hbox{\rotate[rotation=25]{\tfxx\color[red] 
#1}}\\\hbox{#2


\starttext

\hbox{\worddef[def1][Lorem] ipsum \worddef[def2][dolor] sit 
\worddef[def3][amet] consectetur \worddef[def4][adipiscing] elit.}


\hbox{\sentencedef[def5][Lorem ipsum] dolor sit \sentencedef[def6][amet 
consectetur] adipiscing elit.}


\stoptext



I haven't figured a way to add the curly bracket graphic neatly nor 
position the definition correctly on top of it.


I would be very interested in any advice regarding these two functions 
and how to rewrite both of them in a more elegant way.




Best regards,
--
 * Otso Helenius
 * Helsinki University, Faculty of Mathematics
 * Aalto University, Faculty of Architecture
___
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] Solution to a superscript problem?

2011-10-12 Thread Otso Helenius

\unexpanded\def\WordDef
  {\dodoubleargument\doWordDef}

\def\doWordDef[#1][#2]%
  {\dontleavehmode\hbox\bgroup
 \setbox\scratchbox\hbox{#2}%
 \raise\strutheight\hbox to
\wd\scratchbox{\hss\rotate[rotation=25]{\tfxx\color[red]#1}\hss}%
 \hskip-\wd\scratchbox
 \box\scratchbox
   \egroup}


Thank you! I will wikify the examples with an explanation on the 
syntax. However I would be interested in learning more about the bgrop, 
dontleavehmode, raise etc. commands. The cont-eni manual uses them but 
without explanation on their exact syntax and use cases.


--
 * Otso Helenius
 * Helsinki University, Faculty of Mathematics
 * Aalto University, Faculty of Architecture
___
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] Fwd: Re: Any (other) ConTeXt users in Finland?

2011-10-05 Thread Otso Helenius

Hello!

Here's another user from Finland. I'm a student in Helsinki University 
and
also a course teacher in Aalto University. I've switched from LaTeX 
roughly
a year ago and using it for mathematics, essays and my upcoming 
master's

thesis. I would also be interested in sharing experiences.

Best regards,
Otso Helenius

-
FROM: Mari Voipio
SUBJECT: [NTG-context] Any (other) ConTeXt users in Finland?

 Hello All!

Inspired by the recent ConTeXt meeting where I again enjoyed meeting
other users as well as the developers, I'm wondering if there are any
other ConTeXt users in Finland? And if so, would you be interested in
a mini-meeting for an afternoon or evening, possibly at my work in
Vantaa?



___
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] Visual debugging

2011-10-01 Thread Otso Helenius

Hi,

I'm in a need for more visual debugging aids. I tried the supp-vis 
module, but it did not give enough cues.
I guess the ruledhbox is bound by ascender and descender height 
vertically, but I'd like to see also the

cap height and x-height lines. Is it possible?

Plus, is it possible to display the individual box around each letter 
similar to Knuth's TeXBook page 65?


Best regards,
Otso Helenius
___
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] Clip and framed not precise in MKIV

2011-09-21 Thread Otso Helenius

Hi,

I've used ConTeXt to chop up a big map svg on separate A4 papers like 
this:


\setuplayout[width=190mm,backspace=10mm,height=297mm,topspace=10mm, 
header=0mm]

\setupclipping[nx=3,ny=3]

\starttext
\dorecurse{3}{\framed{\clip[x=\recurselevel,y=1]{\externalfigure[map.svg][width=570mm]}}}
\dorecurse{3}{\framed{\clip[x=\recurselevel,y=2]{\externalfigure[map.svg][width=570mm]}}}
\dorecurse{3}{\framed{\clip[x=\recurselevel,y=3]{\externalfigure[map.svg][width=570mm]}}}
\stoptext

I'm using framed to indicate where the pieces should be cut. The 
problem is that \framed does not
frame the area produced by \clip precisely. There is a small gap 
between the frame border and
the clipped image area and the gap is of different size on the left and 
right sizes than

for example on the bottom.

Am I overlooking some default setting? Shouldn't \framed frame the 
object inside it without

leaving a padding between them?

Best regards,
Otso Helenius
___
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] IPA symbols in MKIV

2011-09-19 Thread Otso Helenius

Hello,

I'm having a trouble getting IPA symbols to show up with MKIV. I've 
read through the old threads about using IPA, and it seems there is no 
module like tipa for ConTeXt for easy input.


I've tried also using SIL Gentium as the main font and entering the IPA 
symbols directly as UTF-8, but only a part of them will render (even 
though they all exist in the actual font in the right plane and are 
viewable in other programs). Almost none of the diacritics render.


\definetypeface [MyFace][rm][serif][gentium][default][encoding=uc]
\setupbodyfont[MyFace, 11pt]

\starttext
n̥ d̥ ̊ɭ˔ ʎ̥˔
\stoptext

only n, d and ̊  will render in the PDF. In other apps using Gentium 
all the glyphs are visible.


Is there a way to output IPA symbols correctly (when they are entered 
as UTF-8), or would it be possible to introduce a macro/module with an 
environment like \startipa \stopipa and commands for entering the 
symbols inside the environment? Entering some of the symbols correctly 
(such as velarized or pharyngealized diacritics which should appear on 
top of the letter) is hard when done directly with Unicode, so at least 
TeX-like shorthands for all the symbols and diacritics would really be 
appreciated.


Best regards,
Otso Helenius
___
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] MKIV strange results in Adobe Reader

2011-09-11 Thread Otso Helenius

Hi,

I have now investigated the color errors in Adobe Reader further.
I produced a test PDF without simpleslides with MKIV (mtx-context | 
current version: 2011.09.10 12:55).


Here is the source:

\language[fi]
\setupcolors[rgb]
\usemodule[metafun]
\setupbackgrounds[page][background=color,backgroundcolor=black]
\startreusableMPgraphic{variympyrat}
vardef ColorCircle (expr method, factor, ca, cb, cc) =
save u, p ; path p ; p := fullcircle shifted (1/4,0);
image (fill p rotated 90 withcolor transparent(method,factor,ca); fill 
p rotated 210 withcolor transparent(method,factor,cb); fill p rotated 
330 withcolor transparent(method,factor,cc))

enddef;
draw ColorCircle (normal, 1, cyan, magenta, yellow) xsized 6cm;
draw ColorCircle (darken, .85, cyan, magenta, yellow) xsized 6cm;
currentpicture := currentpicture shifted (0,-6cm);
draw ColorCircle (exclusion, 1, red, green, blue) xsized 6cm;
\stopreusableMPgraphic
\starttext
\startcolor[white]
\title{metafun}
\includeMPgraphic{variympyrat}
\title{svg}
\externalfigure[variympyrat.svg]
\title{png}
\externalfigure[variympyrat.png]
\stoptext

and here is the output:
https://pi-xi.net/share/context_reader_test.png
https://pi-xi.net/share/context_reader_test.pdf

You can also see the original files used in the test here:
https://pi-xi.net/share/variympyrat.png
https://pi-xi.net/share/variympyrat.svg

The gray background effect happens randomly even with only using svg 
images straight from inkscape.
When using png images, I noticed it happens more often when there are 
multiple layers in the png.
With metafun graphics, the image colors are messed up in addition to 
the gray background.


I would like to know:

a) How to avoid it with metafun, png AND svg graphics?
b) What is the cause (Adobe reader bugs? Errors in my source? Erroneous 
image files? ConTeXt bug?)


Best regards,
Otso Helenius
___
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] MKIV strange results in Adobe Reader

2011-09-08 Thread Otso Helenius

Hello,

I recently made a SimpleSlides presentation with MKIV (2011.08.27 
13:24). It looks ok on numerous PDF readers including Okular, Google 
Docs, Sumatra PDF. Whenever I open it on Adobe Reader, the results are 
rather puzzling:


1) The fifth page background is not black but grey, also some later 
pages have grey background

2) The RGB and CMYK swatch colours are all messed up

The picture on page four has been intentionally corrupted with a hex 
editor and then opened and saved again in Gimp to remove the errors in 
the file.


You can view the source here: https://pi-xi.net/share/colorlecture.tex
and the finished PDF here: https://pi-xi.net/share/colorlecture.pdf

The only modifications I've made to the 
simpleslides-s-BottomSquares.tex is replacing the background color, 
contrast color and variant color with different values ([s=.0], 
[r=.8,g=.2,b=.2], [s=.15]).


I would appreciate if someone could explain if there are bugs in my tex 
sources, in MKIV or in the Adobe Reader – and in any case how can I fix 
the erroneous output on Adobe Reader to match it on Sumatra, Google 
Docs, etc.



Best regards,
Otso Helenius
___
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] Hyphenating compound words in MKIV microtypography

2011-05-23 Thread Otso Helenius
Hi,

MKIV seems to have a problem in hyphenating long finnish compound words in MKIV 
(2011.05.18 22:26).
Here is a minimalist example (columns added to exaggerate the problem):

\mainlanguage[fi]
\language[fi]
\starttext
\startcolumns[n=3]
kolmivaihekilowattituntimittari ympäristöliiketoiminta 
epäjärjestelmällisyydellistyttymättömyydellänsäkään 
järjestelmällisentelentelemättömyydellänsäkään 
\stopcolumns
\stoptext

Similarly with en-hyphenation and \input knuth, some of the lines stretch out 
in an ugly fashion.
What am I doing wrong? I don't have these problems in LaTeX.

P.S. The punctuation characters should be partially hung out in a justified 
paragraph (similar to
what microtype package does on LaTeX). Wikipedia says ConTeXt has interfaces 
for handling
microtypography but they don't seem as apparent and as easy as using microtype 
on LaTeX.

The wiki article Protrusion#MkIV presents \definefontfeature but I find it 
counterintuitive that one has to use

\definefontfeature[default][default][protrusion=quality,expansion=quality]
\setupalign[hz,hanging]

to enable the features. It is unclear if these lines switch the features on 
globally for all loaded fonts
(for example ttf/otf ones defined with \starttypescript). IMHO these features 
should be enabled by default
because they produce better typographic quality by default (which should be the 
preference), and could be
switched off anyway if wanted. The less setup lines one has to add before 
\starttext to get high quality
results the better.



Otso Helenius
___
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: What reference management software do you use?

2011-05-23 Thread Otso Helenius
 What is the next step for bibliographies in Context? Surely we won't be
 chained to BibTeX (which has seemingly been largely been in practice for the
 sake of BibLaTeX) forever?

Perhaps Biber (http://biblatex-biber.sourceforge.net/) could fill the void.
It supports Unicode, is BibTeX compatible and has planned SQL and XML support
in the future.

I'm happy as long as the next de facto scientific standard for references will
be open source and not something as horrible as RefWorks.

Best,
Otso Helenius
___
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] Using text as a clip path for Metafun free shape paragraphs

2011-05-22 Thread Otso Helenius
Thanks to Wolfgang for the instructions on changing fonts, \switchtobodyfont 
works as expected. I still
have to dig up the exact definitions of both \switchtobodyfont and 
\switchtotypeface, as the latter command
seems to work in Hans' examples (for example showfont.pdf) but not with my 
installation.

Now, I've been trying to use metapost for achieving magazine type layout with 
ConTeXt, and have a question
about the following features:

1) Is it possible to use TeX typeset text as a clipping path for MP graphics? 
What I would like to achieve is
a similar cut mask as seen in this picture: 
https://modernpost.files.wordpress.com/2009/10/rockstar11091.jpg
i.e. the text outline cuts a hole in the brown filled rectangle revealing the 
bitmap below.

I can cut pictures easily with paths in MP like so:

\startMPcode
fill unitsquare xysized (100mm,100mm) withcolor green;
picture cur; cur := currentpicture; currentpicture := nullpicture;
fill unitsquare xysized (100mm,100mm) withcolor blue;
path mask; mask := unitsquare xysized (100mm,100mm) -- reverse unitsquare 
xysized (100mm,10mm) shifted (0mm,45mm) -- cycle;
clip cur to mask;
draw cur;
\stopMPcode

But I can't cut pictures with pictures (only with masks), nor have I found a 
way in any of the manuals
(mmakempy.pdf, metafun-p.pdf, metapostmanual.pdf) to output text outline as 
paths which could be used for
cutting a hole in the mask picture. Is this possible?

2) MP gives an easy way to format free flowing paragraph shapes similar to this 
image: http://www.davidlcade.com/images/gropius/g2.png .
I have followed the instructions on pages 435-444. The problem with this 
approach is that the text which will be
placed in a freely shaped paragraph will be a separate block which won't flow 
freely with other text in the document
body if the contents on earlier pages change.

I guess this drops in the category of big feature requests, but it would be 
nice to be able to define the
shapes and positions of ConTeXt columns/paragraphs with MP graphics. In 
InDesign columns of any shape anywhere
on the page can be connected without having to separate one block of text from 
the rest.

With this feature one could define for example a 2-page spread for a magazine 
(with free shape graphics and columns)
in between two ordinarily defined pages and would not have to manually disrupt 
the body text flow through the
document.



Best regards,
Otso Helenius
___
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: What reference management software do you use?

2011-05-22 Thread Otso Helenius
using ConTeXt and not LaTeX you maybe also use a nice reference
management software the main stream does not know about. But probably it
is not related to ConTeXt at all since it is BibTeX in the end.

I can warmly recommend Zotero. It works very well and can fetch content
directly from web pages (also recognizes PubMed, ScienceDirect, Google Books
etc. automatically). The best feature is automatic sync of content
to either the Zotero server or your own.

The Firefox plugin is nice, and now there is also an alpha standalone app
in in development. The software is open source and in use in many
universities worldwide.

http://www.zotero.org/about/

Best,
Otso Helenius
___
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] Font selection problem in MKIV

2011-05-21 Thread Otso Helenius
Hello,

I'm using ConTeXt minimals MKIV (latest snapshot) on Linux with loads of system 
ttf  otf fonts. Recently I stumbled upon a peculiar problem.
The example below outputs three lines in three different fonts, the 
Computer/Latin(?) Modern, League Script and Pompadour, as expected.

However, if I comment out \setupbodyfont line or set anything else as the body 
font than LeagueScript or Pompadour, all text in the
document will be output solely with the default Modern font. Am I missing 
something here? Is there something wrong with the way I select
and use multiple fonts in the same document?


\setuppapersize[A4][A4]

\starttypescript[Sans][LeagueScript]
\definefontsynonym[Sans][name:leaguescriptthin]
\stoptypescript

\starttypescript[Sans][Pompadour]
\definefontsynonym[Sans][name:Pompadour]
\stoptypescript

\definetypeface[LeagueScript][ss][Sans][LeagueScript]
\definetypeface[Pompadour][ss][Sans][Pompadour]

\setupbodyfont[LeagueScript,12pt]

\starttext

01234567890

\switchtotypeface[LeagueScript][12pt]

01234567890

\switchtotypeface[Pompadour][12pt]

01234567890

\stoptext



Best regards,
Otso Helenius
___
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] Font selection problem in MKIV

2011-05-21 Thread Otso Helenius
 Try
  \switchtotypeface[LeagueScript][12pt]
 \switchtobodyfont[LeageScript]

Is \switchtobodyfont the recommended way of changing the typeface temporarily 
anywhere in a document
(for example when making cover page graphics)? Its name implies only document 
body.

Nevertheless, \switchtobodyfont works (at least in the document body, haven't 
tested yet elsewhere)
without setting \setupbodyfont.

 \definetypeface[LeagueScript][ss][specsans][League Script Thin]
 \definetypeface[Pompadour][ss][specsans][Pompadour]

This seems to work for most fonts, with others like Pompadour it fails 
(pompadour has SubFamily string of
Black [Mac] and Regular [Windows] in the .otf), and spec fails to find 
pompadour-normal-normal which
it is looking for). Pompadour is a serif font, so i tried also with arguments 
[rm][specserif].

I have looked into co-typography.pdf for help, and while it is very extensive 
in some parts, in others it
is (too) technical and lacks expanations for some parameters.

As soon as I get these issues sorted out I'll try if I can make the MKIV font 
pages in the Wiki a bit
more beginner friendly.



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

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


Re: [NTG-context] Font selection problem in MKIV

2011-05-21 Thread Otso Helenius
On Sat, May 21, 2011 at 07:31:24PM +0200, Wolfgang Schuster wrote:

Thank You for clarification on the subject. Though, I still have a few problems 
for which I haven't found an answer for.

\setuppapersize[A4][A4]
\starttypescript[Sans][LeagueScript]
\definefontsynonym[Sans][name:leaguescriptthin]
\stoptypescript
\starttypescript[Sans][Pompadour]
\definefontsynonym[Sans][name:pompadourblack]
\stoptypescript

\definetypeface[LeagueScript][ss][Sans][LeagueScript]
\definetypeface[Pompadour][ss][Sans][Pompadour]
\setupbodyfont[LeagueScript,14pt]

\starttext
\LeagueScript 01234567890
\Pompadour 01234567890
\stoptext

This source works as expected, but if I:

a) comment out the \setupbodyfont command or switch [LeagueScript, 14pt) into 
[modern, 14pt] (or anything else than LeagueScript or
Pompadour), all fonts will show up as Latin Modern. This seems very odd.

b) specify a font size less than 13pt in \setupbodyfont, all fonts will (again) 
show up as Latin Modern. It seems that nowhere in the
document I'm able to use these external fonts in small sizes. There is no 
problem with sizes = 14pt. This seems to happen with all
ttf/otf fonts I try to use.

Could it be possible that these two issues are caused by a bug in MKIV?

 Indeed, Hans explains in his manuals sometimes too much which can
 confuse a beginner because these information aren’t necessary to
 use a certain mechanism, e.g. to load a font.

Actually, the biggest problem is that many font related pages on the Wiki are 
for MKII and many lack information on whether the syntax
is for MKII or MKIV. The font docs on Pragma homepages are for MKII only. 

Syntax for the \switchtotypeface would be nice. showfont.pdf from Pragma 
homepage shows \switchtotypeface[name][size,type] as one
possible calling syntax but a clear explanation of all the parameters is 
missing. I would like to add this to the Wiki along other
tutorials for MKIV font usage, so as much information on the subject as 
possible is appreciated.



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

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

Re: [NTG-context] Font selection problem in MKIV

2011-05-21 Thread Otso Helenius
Sorry, I was in error while referring to the font sizes. The actual limit 
below
which typescripted fonts stop working is 12pt and it is not tied to the 
\setupbodyfont
setting. Any font output with 12pt or less will be formatted as Latin Modern. 
i.e.

\switchtotypeface[Pompadour][ss,12pt] 01234567890

shows as Latin Modern whereas

\switchtotypeface[Pompadour][ss,12.1pt] 01234567890

shows as Pompadour. 12pt is the default document font size so I can only guess 
there
is some kind of a conflict. I'm using ConTeXt  ver: 2011.05.18 22:26 MKIV



Best,
Otso Helenius
___
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
___