Hans Hagen via ntg-context schrieb am 13.08.2024 um 17:40:
On 8/13/2024 4:49 PM, fm117575@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?
The default baseline distance of LaTeX is AFAIK 1.2 times the font size, adding
\setupinterlinespace [line=1.2\bodyfontsize]
to the document setup should produce similar results with ConTeXt.
On 8/13/2024 8:30 PM, Wolfgang Schuster wrote: that interlinespace is kind of bad as it can lead to inconsistent line spacing [dp \the\strutdp] \dorecurse{"FFFF}{% \ifdim\fontchardp\font#1>\strutdp \char#1 \space \fi } [ht \the\strutht] \dorecurse{"FFFF}{% \ifdim\fontcharht\font#1>\strutht \char#1 \space \fi } So, if oen really wants to go that cramped, maybe try \setupinterlinespace [line=1.2\bodyfontsize,height=.75,depth=.25] Hans ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl -----------------------------------------------------------------