ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Insert text at end of every paragraph
@ 2014-04-15 17:55 Joshua Krämer
  0 siblings, 0 replies; only message in thread
From: Joshua Krämer @ 2014-04-15 17:55 UTC (permalink / raw)
  To: ntg-context-wvrSQK3plZs

Dear list,

I want a text string to be inserted at the end of every paragraph.
I've tried it like that:

\define \par {Endstring\endgraf}
\starttext
\chapter {Chapter}
\section {Section}
\input knuth
\input zapf
\stoptext

This works, but it results in a lot of additional strings.  The string
"Endstring" should appear on paragraph ends only (it's acceptable to
appear after headings, too).

How can I achieve the desired result?

Is there maybe something like \EveryPar for the end of paragraphs?

Thanks and kind regards,
Joshua Krämer


___________________________________________________________________________________
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] only message in thread

only message in thread, other threads:[~2014-04-15 17:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-15 17:55 Insert text at end of every paragraph Joshua Krämer

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