ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Hanging hyphen in the left margin in Portuguese
Date: Mon, 17 Oct 2016 17:16:33 -0200	[thread overview]
Message-ID: <CAK9ODgSdYK01s9LxoXuriG7WTcLMpFana6LhFReNSvBAqTM9Bw@mail.gmail.com> (raw)


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

Dear list,

In Portuguese many times we have words with one or two explicit hyphens;
for example: “tornar-nos-emos” (we shall become). When at the end of a
line, it
is mandatory to repeat the explicit hyphen both at the end and in the
beginning of the next line. I managed to do this using:

\definebreakpoints[portuguese]
\definebreakpoint [portuguese] [-] [type=5,left=-,right=-,middle=-]
\setbreakpoints[portuguese]

If I use
\setupalign[hz,hanging]
I get the first hyphen hanging in the right margin.

My question is: How do I manage to have the second hyphen in the beginning
of the new line also hanging to the left in the left margin?

TIA

Marcus Vinicius

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

[-- Attachment #2: Type: text/plain, Size: 492 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
___________________________________________________________________________________

             reply	other threads:[~2016-10-17 19:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-17 19:16 Marcus Vinicius Mesquita [this message]
2016-10-18 19:39 ` josephcanedo
2016-10-18 23:41   ` Marcus Vinicius Mesquita

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=CAK9ODgSdYK01s9LxoXuriG7WTcLMpFana6LhFReNSvBAqTM9Bw@mail.gmail.com \
    --to=marcusvinicius.mesquita@gmail.com \
    --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).