ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* \doifemptyelse
@ 2014-02-20 20:12 Pablo Rodriguez
  2014-02-20 20:39 ` \doifemptyelse Wolfgang Schuster
  0 siblings, 1 reply; 7+ messages in thread
From: Pablo Rodriguez @ 2014-02-20 20:12 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Dear list,

I have the following sample:

\starttext

\chapter{Chapter}

.\doifemptyelse{\getmarking[section][current]}
    {\getmarking[chapter][current]}
    {\getmarking[section][current]}.

\section{Section}

.\doifemptyelse{\getmarking[section][current]}
    {\getmarking[chapter][current]}
    {\getmarking[section][current]}.

\stoptext

I must be missing something extremely basic, because I think that the
first condiitonal occurs when \getmarking[section][current] is empty
(dots have nothing in between).

How can I make the first conditional work?

Many thanks for your help,


Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________


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

end of thread, other threads:[~2014-02-23  7:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-20 20:12 \doifemptyelse Pablo Rodriguez
2014-02-20 20:39 ` \doifemptyelse Wolfgang Schuster
2014-02-20 22:09   ` \doifemptyelse Pablo Rodriguez
2014-02-20 22:23     ` \doifemptyelse Wolfgang Schuster
2014-02-23  7:24       ` \doifemptyelse Pablo Rodriguez
2014-02-20 22:32     ` \doifemptyelse Thangalin
2014-02-23  7:28       ` \doifemptyelse Pablo Rodriguez

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