ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Hanging hyphen in the left margin in Portuguese
@ 2016-10-17 19:16 Marcus Vinicius Mesquita
  2016-10-18 19:39 ` josephcanedo
  0 siblings, 1 reply; 3+ messages in thread
From: Marcus Vinicius Mesquita @ 2016-10-17 19:16 UTC (permalink / raw)
  To: mailing list for ConTeXt users


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

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

* Re: Hanging hyphen in the left margin in Portuguese
  2016-10-17 19:16 Hanging hyphen in the left margin in Portuguese Marcus Vinicius Mesquita
@ 2016-10-18 19:39 ` josephcanedo
  2016-10-18 23:41   ` Marcus Vinicius Mesquita
  0 siblings, 1 reply; 3+ messages in thread
From: josephcanedo @ 2016-10-18 19:39 UTC (permalink / raw)
  To: Marcus Vinicius Mesquita, mailing list for ConTeXt users


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

Hello Marcus

This answer might help : http://www.mail-archive.com/ntg-context@ntg.nl/msg59507.html
A bit hard to find as the word used is « potrusion ».
Hope this helps

Best

Joseph


De : Marcus Vinicius Mesquita
Envoyé le :lundi 17 octobre 2016 21:17
À : mailing list for ConTeXt users
Objet :[NTG-context] Hanging hyphen in the left margin in Portuguese

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

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

* Re: Hanging hyphen in the left margin in Portuguese
  2016-10-18 19:39 ` josephcanedo
@ 2016-10-18 23:41   ` Marcus Vinicius Mesquita
  0 siblings, 0 replies; 3+ messages in thread
From: Marcus Vinicius Mesquita @ 2016-10-18 23:41 UTC (permalink / raw)
  Cc: mailing list for ConTeXt users


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

Thank you, Joseph. It did help.

Regards

Marcus Vinicius

On Tue, Oct 18, 2016 at 5:39 PM, <josephcanedo@gmail.com> wrote:

> Hello Marcus
>
>
>
> This answer might help : http://www.mail-archive.com/
> ntg-context@ntg.nl/msg59507.html
>
> A bit hard to find as the word used is « potrusion ».
>
> Hope this helps
>
>
>
> Best
>
>
>
> Joseph
>
>
>
>
>
> *De : *Marcus Vinicius Mesquita <marcusvinicius.mesquita@gmail.com>
> *Envoyé le :*lundi 17 octobre 2016 21:17
> *À : *mailing list for ConTeXt users <ntg-context@ntg.nl>
> *Objet :*[NTG-context] Hanging hyphen in the left margin in Portuguese
>
>
>
> 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
>
>
>



-- 
Todas as coisas fatigam o corpo, salvo a música, que não fatiga nem o corpo
nem seus membros, por ser descanso da alma, primavera do coração, distração
do aflito, entretenimento do solitário, e viático do viajante.

Kunnâsh al-Hâ'ik (Cancioneiro de al-Hâ'ik)

[-- Attachment #1.2: Type: text/html, Size: 2932 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
___________________________________________________________________________________

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

end of thread, other threads:[~2016-10-18 23:41 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-17 19:16 Hanging hyphen in the left margin in Portuguese Marcus Vinicius Mesquita
2016-10-18 19:39 ` josephcanedo
2016-10-18 23:41   ` Marcus Vinicius Mesquita

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