Re: [NTG-context] Fonts not found

2017-03-16 Thread Henning Hraban Ramm
Am 2017-03-15 um 08:27 schrieb Henning Hraban Ramm :

>> There seem to be serious problems with font detection.
>> 
>> I spent most of yesterday trying to convince ConTeXt to load my font, even 
>> from the same directory and even proven candidates like Gentium and 
>> Delicious – I get mostly only TeX Gyre Palladio Math :(
>> 
>> While a simple example works:
>> 
>> \usetypescriptfile[type-fiee]
>> \usetypescript[fiee]
>> \setupbodyfont[fiee,rm,9.5pt]
>> 
>> \starttext
>> \input tufte
>> {\ss \input knuth }
>> \stoptext
>> 
>> The same code in an environment doesn’t. I tried force-reloading the font 
>> database several times, deleting the luatex cache, reverting to an older 
>> version - always the same. I’m out of resources now.
> 
> My log says only:
> 
> ...
> open source > level 5, order 6, name 'type-fiee.tex'
> close source> level 5, order 6, name 'type-fiee.tex'
> fonts   > typescripts > unknown library 'default'
> ...
> mkiv lua stats  > loaded fonts: 3 files: latinmodern-math.otf, 
> lmroman12-regular.otf, texgyrepagella-math.otf
> mkiv lua stats  > font engine: otf 3.027, afm 1.512, tfm 1.000, 10 instances, 
> 3 shared in backend, 0 common vectors, 3 common hashes, load time 0.824 
> seconds 
> ...
> mkiv lua stats  > luatex banner: this is luatex, version 1.0.3 (tex live 
> 2017/dev)

Ahoi,

while I found a workaround for my problem, I still don’t understand the cause:

– I defined a family of Gentium and Delicious in a typescript file (as attached 
in my previous post),
– If I load this in a minimal example, as above, all is well.
– If I load this in an environment, the fonts are ignored. There are no error 
messages.
– If I change the font size from 9.5pt to any integer size, it works!

Does this ring any bells? What’s wrong with decimal font sizes, and why only in 
a project setup?

Greetlings, Hraban
---
http://www.fiee.net
http://wiki.contextgarden.net
GPG Key ID 1C9B22FD

___
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

Re: [NTG-context] output of the table is wierd

2017-03-16 Thread Wolfgang Schuster



Jeong Dal 
16. März 2017 um 15:28via Postbox 


Dear all,

I made a column as following:
…
\starttabulate[|c|c]
\HL
\NC $\sim (p \vee q)$ \VL $\sim p \ \wedge \sim q$ \NC\NR \HL
\NC $\sim (p \ \wedge q)$ \VL $\sim p \vee \sim q$ \NC\NR \HL
\NC $\sim (p \to q) $ \VL $p \wedge \sim q$ \NC\NR \HL
\NC $\sim (p \leftrightarrow q)$ \VL $(p \ \wedge \sim q) \vee (q \ 
\wedge \sim p)$ \NC\NR \HL

\stoptabulate
…

The first column is OK.
But lines in the first three rows in the second column expanded to the 
width as wide as the last row.

So the it looked very strange.

Is there a way to avoid such a bad looking output?
You forgat a | at the end of the table template. You can also simplify 
your table when

you add “m” to each cell setting which typesets each cell in math mode, e.g.

\starttext

\starttabulate[|mc|]
\NC a + b = c \NC\NR
\stoptabulate

\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] output of the table is wierd

2017-03-16 Thread Jeong Dal
Dear all,

I made a column as following:
…
\starttabulate[|c|c]
\HL
\NC $\sim (p \vee q)$ \VL   $\sim p \ 
\wedge \sim q$ \NC\NR \HL
\NC $\sim (p \ \wedge q)$ \VL   $\sim p 
\vee \sim q$ \NC\NR \HL
\NC $\sim (p \to q) $ \VL   $p \wedge \sim 
q$ \NC\NR \HL
\NC $\sim (p \leftrightarrow q)$\VL $(p \ 
\wedge \sim q) \vee (q \ \wedge \sim p)$ \NC\NR \HL
\stoptabulate   
…

The first column is OK.
But lines in the first three rows in the second column expanded to the width as 
wide as the last row.
So the it looked very strange.

Is there a way to avoid such a bad looking output?
I am using latest luatex and ConTeXt stand alone in OSX.

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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___