ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Is there a "smart" capitalisation implementation?
@ 2022-05-08  4:55 Zhichu via ntg-context
  2022-05-08  9:20 ` Hans Hagen via ntg-context
  0 siblings, 1 reply; 3+ messages in thread
From: Zhichu via ntg-context @ 2022-05-08  4:55 UTC (permalink / raw)
  To: mailing list for ConTeXt users; +Cc: Zhichu


[-- Attachment #1.1: Type: text/plain, Size: 921 bytes --]

Hi,

I am going to convince the Board of a journal to consider ConTeXt as an additional option.
I want to make a module before I say anything. Right now I have this title problem.

The journal requires the titles to be CAPITALISED, except for the acronyms. I'm currently
using backticks `...` to wrap it and replace it with \egroup ...\WORD\bgroup{} with
lpeg. This kinda works, but that's so ugly. Besides, the actual story is that I also want to
add markdown as an option, so the backticks actually have meanings.

I also checked the typo-cap.lua file to get a clue. But I used to use TeX exclusively
and I have to admit that it's so overwhelming for a newbie.

I really like the way where bibtex treats words enclosed in curly braces are ignored.
Or are there something that's less aggressive than \WORD so the LaTeX trick works:
\def\NoCaseChange#1{\noexpand\NoCaseChange{\noexpand#1}}

Best wishes,
ℤhichu ℂhen


[-- Attachment #1.2: Type: text/html, Size: 7338 bytes --]

[-- Attachment #2: Type: text/plain, Size: 493 bytes --]

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

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

end of thread, other threads:[~2022-05-10  9:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-08  4:55 Is there a "smart" capitalisation implementation? Zhichu via ntg-context
2022-05-08  9:20 ` Hans Hagen via ntg-context
2022-05-10  9:20   ` \placenotes ends up in wrong place when mixing one- and two- column layouts Zhichu Chen 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).