From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: hyphenating \ConTeXt
Date: Fri, 17 Jan 2014 13:18:46 -0500 (EST) [thread overview]
Message-ID: <alpine.DEB.2.02.1401171317290.20617@nqv-guvaxcnq> (raw)
In-Reply-To: <52D97271.1000904@gmx.es>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 945 bytes --]
On Fri, 17 Jan 2014, Pablo Rodriguez wrote:
> On 01/15/2014 11:56 PM, Marco Patzer wrote:
>> On 2014–01–15 Pablo Rodriguez wrote:
>>
>>> how should I invoke \hyphenation so it hyphens the \ConTeXt command?
>>
>> \ConTeXt is defined as “Con\TeX t” and \TeX uses kerns and boxes,
>> both of which suppress hyphenation. AFAIK there's no easy way around
>> it.
>
> Many thanks for your help, Marco.
>
> I would like to hyphenate ConTeXt as the standard English word (Con-TeXt).
>
> Sorry for having to explain that ;-), but I’m writing an introduction to
> ConTeXt in Spanish. I had already rewritten two sentences in less than
> five pages to avoid the not-hyphenated ConTeXt word.
>
> Is there no simpler way to do this?
\starttext
\hsize 4mm
\CONTEXT
\def\CONTEXT{Con\discretionary{}{-}{}\TeX{}t}
\CONTEXT
% Or if you dislike the way TeX is typeset
\def\CONTEXT{ConTeXt}
\CONTEXT
\stoptext
Aditya
[-- Attachment #2: Type: text/plain, Size: 485 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://tex.aanhet.net
archive : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
next prev parent reply other threads:[~2014-01-17 18:18 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-15 22:26 Pablo Rodriguez
2014-01-15 22:56 ` Marco Patzer
2014-01-17 18:12 ` Pablo Rodriguez
2014-01-17 18:18 ` Aditya Mahajan [this message]
2014-01-17 18:59 ` Pablo Rodriguez
2014-01-17 19:04 ` Marco Patzer
2014-01-17 19:41 ` Pablo Rodriguez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.02.1401171317290.20617@nqv-guvaxcnq \
--to=adityam@umich.edu \
--cc=ntg-context@ntg.nl \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).