ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Indenting next multi paragraph description
@ 2023-02-23 21:27 Alex Leray via ntg-context
  2023-02-23 23:46 ` Alex Leray via ntg-context
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Leray via ntg-context @ 2023-02-23 21:27 UTC (permalink / raw)
  To: Hans Hagen via ntg-context; +Cc: Alex Leray

Hi,

I'd like to indent next paragraphs in multi paragraph descriptions.

For some reason, I can't figure out why this isn't working. Any idea?

Here is my code:

###

\setupwhitespace[none]
\setupindenting[yes, 3em, next]

\definedescription[question][
     before={\vskip-\parskip},
     after={\vskip-\parskip},
     width=3em,
     hang=3,
]
\definedescription[answer][
     before={\vskip-\parskip},
     after={\vskip-\parskip},
     width=3em,
     hang=3,
     indenting={yes, 3em, next}, % Does nothing
     indentnext=yes, % Does nothing too
]

\starttext
\startcolumns[n=2]
\startquestion{(T.C.)}
\input ward
\stopquestion

\startanswer{(N.M.)}
\input ward

\input ward
\stopanswer
\stopcolumns
\stoptext

###

Thanks!
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

* Re: Indenting next multi paragraph description
  2023-02-23 21:27 Indenting next multi paragraph description Alex Leray via ntg-context
@ 2023-02-23 23:46 ` Alex Leray via ntg-context
  0 siblings, 0 replies; 2+ messages in thread
From: Alex Leray via ntg-context @ 2023-02-23 23:46 UTC (permalink / raw)
  To: ntg-context; +Cc: Alex Leray

Actually it works if I comment out "\setupindenting" (or with a manual 
`\indentation`).

But then, no indentation on the rest of the document :(

Le 23/02/23 à 22:27, Alex Leray via ntg-context a écrit :
> \setupindenting[yes, 3em, next]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : https://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : https://contextgarden.net
___________________________________________________________________________________

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

end of thread, other threads:[~2023-02-23 23:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-23 21:27 Indenting next multi paragraph description Alex Leray via ntg-context
2023-02-23 23:46 ` Alex Leray via ntg-context

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