Re: [NTG-context] Tabulate containing high element

2017-10-29 Thread Aditya Mahajan

On Sun, 29 Oct 2017, Procházka Lukáš Ing. wrote:


Hello,

how to make tabulate row "aware" of some content of some "bigger" height?

In the following sample:


\starttext
\starttabulate[|pd(.4\textwidth)|p|]
  \HL
  \NC
\framed[location=top,width=1in,height=1in]{Abc}
  \VL
Def
  \NC\NR
  \HL
\stoptabulate
\stoptext



(Untested): Does

\dontleavehmode \framed 

work better?

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

Re: [NTG-context] substituting characters in math font

2017-10-29 Thread Alan Bowen
OK—that makes sense, since Brill is the family name. But then changing
“BrillItalic” to “Brill” will not get the italic math characters (Roman or
Greek). So, is there a way to get these italics using \definefallbackfamily
or must one use \definefontfallback (as Hraban and I eventually did)?

I was using Pagella and Cambria to convince myself that the problem was one
in my encoding and not some problem with the Brill font.

Best, Alan

On Sat, Oct 28, 2017 at 4:46 AM, Wolfgang Schuster <
schuster.wolfg...@gmail.com> wrote:

>
> Alan Bowen 
> 19. Oktober 2017 um 15:05
> Many thanks for this, Wolfgang. That is very helpful. Right now, then, I
> have:
>
> \definefontfamily[mainface][rm][Brill]
> [protrusion=quality,
> expansion=quality,
> mode=node,
> force=yes,
> ]
> \definefallbackfamily [mainface] [rm] [Brill]
> [tf=style:italic, range={0x03B8}, offset={0x03D1}]%Greek theta
>
> \definefallbackfamily[mainface][mm][Brill]
> [range={0x30-0x39}] %oldstyle numerals, normal
>
> \definefallbackfamily [mainface] [mm] [Brill] [preset=math:lowercasenormal]
> \definefallbackfamily [mainface] [mm] [BrillItalic]
> [preset=math:lowercaseitalic]
>
>
> The font name for the third argument is *always* Brill and not BrillItalic
> or BrillBold.
>
> \definefallbackfamily [mainface] [mm] [Brill] [preset=math:uppercasenormal]
> \definefallbackfamily [mainface] [mm] [BrillItalic]
> [preset=math:uppercaseitalic]
>
> \definefallbackfamily [mainface] [mm] [Brill] [preset=math:
> lowercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [BrillItalic] [preset=math:
> lowercasegreekitalic]
> \definefallbackfamily [mainface] [mm] [Brill][preset=math:
> uppercasegreeknormal]
> \definefallbackfamily [mainface] [mm] [BrillItalic] [preset=math:
> uppercasegreekitalic]
>
> \definefontfamily[mainface][mm][TeX Gyre Termes Math][scale=0.94]
>
> \setupmathematics[ucgreek=normal, lcgreek=italic]
>
> \setupbodyfont[mainface,10pt]
>
>
> \starttext
>
> normal: 1234567890\quad math: \m{1234567890}
>
> normal: ABCDEFabcdef\quad italic: \emph{ABCDEFabcdef}\quad math: \m{\red
> ABCDEFabcdef}
>
> normal: ΑΒΓΔΕΘαβγδεθ\quad slanted: \emph{ΑΒΓΔΕΘαβγδεθ}\quad math: \m{\red
> ΑΒΓΔΕΘαβγδεθ}
>
> Greek theta: \emph{θ}
>
> \stoptext
>
> As you can see, all I need is to get the Brill lowercase Greek in mathmode
> and the proper slanted Greek theta.
>
>
> \starttext
> \m{\theta \vartheta}
> \stoptext
>
> I have tried this with Pagella and Cambria instead of the Brill font and
> the problem persists. So I must be doing something wrong. But what?
>
> Pagella and Cambria have a proper math font, why would you use fallbacks
> for them.
>
> 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
> 
> ___
>
___
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] Tabulate containing high element

2017-10-29 Thread Procházka Lukáš Ing .

Hello,

how to make tabulate row "aware" of some content of some "bigger" height?

In the following sample:


\starttext
  \starttabulate[|pd(.4\textwidth)|p|]
\HL
\NC
  \framed[location=top,width=1in,height=1in]{Abc}
\VL
  Def
\NC\NR
\HL
  \stoptabulate
\stoptext


content of the \framed flows out of the height of the first row;
I'd like the first row to have height of the highest element (here: the \framed 
- be 1 in).

How to achieve this?

Thank you in advance.

Best regards,

Lukas


--
Ing. Lukáš Procházka | mailto:l...@pontex.cz
Pontex s. r. o.  | mailto:pon...@pontex.cz | http://www.pontex.cz | 
IDDS:nrpt3sn
Bezová 1658
147 14 Praha 4

Mob.: +420 702 033 396

t2.mkiv
Description: Binary data


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