Hans Hagen via ntg-context schrieb am 13.08.2024 um 17:40:
On 8/13/2024 4:49 PM, fm117...@students.panola.edu wrote:
Hello, ConTeXt mailing list! I have a question regarding a difference
in the code that I have which uses the same paper size and margin
settings, and also the same indentation rules and font size and font.
It seems that ConTeXt (which I compiled via Windows Terminal, this
*is* the proper way to compile ConTeXt docs, right?) seems to make
text that is less... compact, and I am not sure if this is due to me
not adding features that I **should** have turned on in ConTeXt when
using Times New Roman that is installed by default on Windows. I also
was not able to get a "proper (?)" single quote like when Word or
LaTeX compiles "Don't", that ' is a straight quote in the compiled text.
I also heard that ConTeXT would be much better for typography since
it does have a more advanced typographical engine as the base (and
this is a big reason as to why I want to switch to ConTeXt, pretty
much everything is built in, I just can't understand documentation
that well), and this may be because my code is very basic and I do
not know how do properly do ConTeXt. Is it possible that ConTeXt also
has a more "correct" way of formatting? Anyways, thank you for
reading and taking the time to read this post.
LuaLaTeX code: https://pastebin.com/p5aWxAyK
ConTeXt code: https://pastebin.com/DsMnxMvY
Can you explain what you mean with less compact? Can we assume that
you are running the LMTX version? (luametatex engine)
[...]
\setupbodyfont[termes,12pt]
To get Times New Roman as font replace the \setupbodyfont line from the
example of Hans
with the following settings. The \definefontfeature line replaces all '
in your text with
a apostrophe.
\definefontfeature [default] [default] [trep=yes]
\definefontfamily [TimesNewRoman] [rm] [Times New Roman]
\definetypeface [TimesNewRoman] [mm] [math] [termes]
\setupbodyfont [TimesNewRoman,12pt]
Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive : https://github.com/contextgarden/context
wiki : https://wiki.contextgarden.net
___________________________________________________________________________________