ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Gerben Wierda <gerben.wierda@rna.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: LMTX: some alignment issues
Date: Fri, 23 Jul 2021 14:59:17 +0200	[thread overview]
Message-ID: <CF012F42-EBEA-4EB2-9559-8D048F61B798@rna.nl> (raw)


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

[still working to somewhat reproduce my old mkii setup in LMTX]

The following is a minimal example that shows the following:
context test2.tex results in
The first line after the initials not as much indented as it should be
Character protrusion in a footnote does not work (see “refer-“ at the end of the 5th line of the footnote) (I understand the trouble on the first line
context --mode=OPTIMA test2.tex results in
The first line after the initials not as much indented as it should be
"because” is not hyphenated. Note, I see this is a smaller font setup where there is clearly an option to hyphenate, the minimum example shows the same effect, but potentially not from the same cause)
Character protrusion in a footnote does not work
context --mode=OPTIMANOVA test2.tex results in
The first line after the initials not as much indented as it should be
Multiple instances of extending beyond the right
Character protrusion in a footnote does not work
Adding \setupalign[hanging,hz] to the Optima Nova example results in ‘because’ on the first line to be hyphenated as ‘be-cause’ and pigeonhole in a later line as 'pi-geonhole'. 

I am adding a screen shot of part of the Optima Nova result as most will not have that font available:



- All show no protrusion in the footnotes
- All show a problem with the first line after the initial
- When using Optima Nova, hyphenation isn’t used while the situation in Optima looks nearly identical.

MVP source:

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\definepapersize[smallpaperback][width=5in,height=8in]
\setuppapersize[smallpaperback][smallpaperback]
\setuplayout[location=doublesided]
\setuppagenumbering[alternative=doublesided]
\setupsectionblock[frontpart][page=no]
\setupsectionblock[bodypart][page=no]
\setupsectionblock[appendix][page=no]
\setupsectionblock[backpart][page=no]

\definefontfeature
  [default]
  [default]
  [protrusion=quality,expansion=quality]

\setupbodyfont[default,11pt]
\startmode[OPTIMANOVA]
	\definefontfamily
		[bookfont]
		[ss]
		[Optima nova LT Pro]
		[tf=style:Regular,
		bf=style:Medium,
		it=style:Italic,
		bi=style:Medium Italic]
	\setupbodyfont[bookfont,11pt]
\stopmode
\startmode[OPTIMA]
	\definefontfamily
		[bookfont]
		[ss]
		[Optima]
		[tf=style:Regular,
		bf=style:Bold,
		it=style:Italic,
		bi=style:Bold Italic]
	\setupbodyfont[bookfont,11pt]
\stopmode
\setupalign[hanging] % only protrusion

\showframe

\starttext
\setupindenting[next]
\placeinitial \input tufte

Test footnote\footnote{If you are not technical and terms like
`application server',
`caught exceptions', or `web proxy' in the fragment that follows, do not
immediately get you started, do not worry: there is no need to know what
I am
talking about here in a technical sense. You can read this without
understanding any of the technical references. Just skip over them, their
specifics are not important to the story. They are real enough, though.  You
can trust me on that, or ask your engineers.}
\stoptext
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Gerben Wierda (LinkedIn <https://www.linkedin.com/in/gerbenwierda>)
R&A Enterprise Architecture <https://ea.rna.nl/> (main site)
Book: Chess and the Art of Enterprise Architecture <https://ea.rna.nl/the-book/>
Book: Mastering ArchiMate <https://ea.rna.nl/the-book-edition-iii/>


[-- Attachment #1.2.1: Type: text/html, Size: 18964 bytes --]

[-- Attachment #1.2.2: PastedGraphic-4.png --]
[-- Type: image/png, Size: 42976 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
___________________________________________________________________________________

                 reply	other threads:[~2021-07-23 12:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CF012F42-EBEA-4EB2-9559-8D048F61B798@rna.nl \
    --to=gerben.wierda@rna.nl \
    --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).