ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \=d in a table: weird behaviour
@ 2006-04-17 21:21 Mojca Miklavec
  2006-04-18 15:45 ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2006-04-17 21:21 UTC (permalink / raw)


Hello,

It seems that \= and table interact in a strange way in the following example:

\starttable[|c|]
\NC \=d \NC\NR
\stoptable

\=d alone works OK. I suggested to use $\rm\overline{d}$ to the one
who asked me about it, so it's not really crutial to fix that, I just
find it a bit strange.

Thanks,
    Mojca

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \=d in a table: weird behaviour
  2006-04-17 21:21 \=d in a table: weird behaviour Mojca Miklavec
@ 2006-04-18 15:45 ` Hans Hagen
  2006-04-20 10:27   ` Mojca Miklavec
  0 siblings, 1 reply; 4+ messages in thread
From: Hans Hagen @ 2006-04-18 15:45 UTC (permalink / raw)


Mojca Miklavec wrote:
> Hello,
>
> It seems that \= and table interact in a strange way in the following example:
>
> \starttable[|c|]
> \NC \=d \NC\NR
> \stoptable
>
> \=d alone works OK. I suggested to use $\rm\overline{d}$ to the one
> who asked me about it, so it's not really crutial to fix that, I just
> find it a bit strange.
>   
is dmacron a valid char? ... up to mojca 

\unprotect

\startencoding[default]

  \definecommand Dmacron {\buildtextaccent\textmacron D}
  \definecommand dmacron {\buildtextaccent\textmacron d}

  \defineaccent = D {\Dmacron}
  \defineaccent = d {\dmacron}

\stopencoding

\starttable[|c|]
\NC test \dmacron\ test\NC\NR
\stoptable

\end


-----------------------------------------------------------------
                                          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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \=d in a table: weird behaviour
  2006-04-18 15:45 ` Hans Hagen
@ 2006-04-20 10:27   ` Mojca Miklavec
  2006-04-20 20:06     ` Hans Hagen
  0 siblings, 1 reply; 4+ messages in thread
From: Mojca Miklavec @ 2006-04-20 10:27 UTC (permalink / raw)


On 4/18/06, Hans Hagen wrote:
> Mojca Miklavec wrote:
> > Hello,
> >
> > It seems that \= and table interact in a strange way in the following example:
> >
> > \starttable[|c|]
> > \NC \=d \NC\NR
> > \stoptable
> >
> > \=d alone works OK. I suggested to use $\rm\overline{d}$ to the one
> > who asked me about it, so it's not really crutial to fix that, I just
> > find it a bit strange.
> >
> is dmacron a valid char? ... up to mojca

Thanks, it works this way, but there's no need to add it to the
definitions in the core since it's not even in unicode. (The only
strange thing is that \=a ("valid" char) or \=d work OK in text flow,
but not in the table, where faking the character seems to interact in
a strange way with the table typesetting.)

But this solution is OK for me, thanks again,
    Mojca

> \unprotect
>
> \startencoding[default]
>
>   \definecommand Dmacron {\buildtextaccent\textmacron D}
>   \definecommand dmacron {\buildtextaccent\textmacron d}
>
>   \defineaccent = D {\Dmacron}
>   \defineaccent = d {\dmacron}
>
> \stopencoding
>
> \starttable[|c|]
> \NC test \dmacron\ test\NC\NR
> \stoptable
>
> \end

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: \=d in a table: weird behaviour
  2006-04-20 10:27   ` Mojca Miklavec
@ 2006-04-20 20:06     ` Hans Hagen
  0 siblings, 0 replies; 4+ messages in thread
From: Hans Hagen @ 2006-04-20 20:06 UTC (permalink / raw)


Mojca Miklavec wrote:
> On 4/18/06, Hans Hagen wrote:
>   
>> Mojca Miklavec wrote:
>>     
>>> Hello,
>>>
>>> It seems that \= and table interact in a strange way in the following example:
>>>
>>> \starttable[|c|]
>>> \NC \=d \NC\NR
>>> \stoptable
>>>
>>> \=d alone works OK. I suggested to use $\rm\overline{d}$ to the one
>>> who asked me about it, so it's not really crutial to fix that, I just
>>> find it a bit strange.
>>>
>>>       
>> is dmacron a valid char? ... up to mojca
>>     
>
> Thanks, it works this way, but there's no need to add it to the
> definitions in the core since it's not even in unicode. (The only
> strange thing is that \=a ("valid" char) or \=d work OK in text flow,
> but not in the table, where faking the character seems to interact in
> a strange way with the table typesetting.)
>
> But this solution is OK for me, thanks again,
>   
that's because \= is defined as a TaBLe command 

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
-----------------------------------------------------------------

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-04-20 20:06 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-17 21:21 \=d in a table: weird behaviour Mojca Miklavec
2006-04-18 15:45 ` Hans Hagen
2006-04-20 10:27   ` Mojca Miklavec
2006-04-20 20:06     ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).