Reputation
307
Top tag
Next privilege 500 Rep.
Access review queues
Badges
1 9
Newest
 Yearling
Impact
~7k people reached

  • 0 posts edited
  • 0 helpful flags
  • 7 votes cast
7h
answered Trim size as fundamental TeX value
9h
comment Trim size as fundamental TeX value
@RSchumacher: Yes, I believe that what I really want is the "plain TeX" parameters. I will have a look at the tug link and Texbook, as suggested. Sounds like I must first breathe deeply... I previously looked through the memoir code to see what it was doing, but unfortunately did not grasp it.
1d
comment Trim size as fundamental TeX value
I saw that earlier. I do not need to display the numerical values, or a diagram. What I need to know is the internal name of the TeX commands that are actually at the bottom of all that. The listed commands do not seem to be fundamental.
1d
asked Trim size as fundamental TeX value
1d
comment Install a font local to one particular document
I assume you already know how to convert a font and install it for use in latex (by using otftotfm or similar methods). Your question is how to limit the installation to one document. First do the conversion and installation in your usual fashion, for all latex. Be sure to update the FNDB and enable the Map file. Then, leave the Map file and font encoding in place (those do not contain any proprietary font information). Cut the font tfm, vf, and pfb files from the latex installation, and put them with your document. Move them back into latex when needed.
2d
revised PDF/X in pdflatex with memoir, new xcomply package
New discovery in Luatex possibility for pdfx.
Jul
2
awarded  Yearling
Jul
2
comment Can Luatex (or latex) detect presence of non-latin1 character in string?
Note: The code works with latin1, not just ascii. Output should actually be "non latin1" and "all latin1" rather than ascii. Mere typo, I assume.
Jul
2
comment Can Luatex (or latex) detect presence of non-latin1 character in string?
Works (removed the print). How it will be used: My input string must be limited to Latin-1 character set (with UTF8 encoding). But it will be copied and pasted from a different application that might have inserted smart quotes and apostrophes, and so forth (those are in ANSI but not Latin-1). I need to flag that, because it is hard to see on screen.
Jul
2
accepted Can Luatex (or latex) detect presence of non-latin1 character in string?
Jul
2
awarded  Curious
Jul
1
comment Can Luatex (or latex) detect presence of non-latin1 character in string?
Gotcha. Will report back tomorrow.
Jul
1
comment Can Luatex (or latex) detect presence of non-latin1 character in string?
Thanks. Using fontspec. I will have a look at that when I get on my TeX computer instead of this one. The general idea of iterating seemed like the only way to do it. I also saw egreg's succinct comment. Will report back and mark answer if appropriate. But I have a question: I saw the tex.print line, I do not want to print anything into the document (at that point), but rather fork the logic in the preamble. If the only way to do it is by printing into the document, then maybe I can re-assess other parts of my code.
Jul
1
comment Can Luatex (or latex) detect presence of non-latin1 character in string?
@egreg: Not sure what your \newcommand structure would do. Is it the case that the rendered string would fail to match itself, outside of Latin-1? I will try it and report back (don't have TeX here, right now). Currently, the only way I can think of that makes sense to me (a newbie) is to loop through the character set and remove the Latin-1 characters. Then, if the remainder is not empty, there must be some non-Latin1 characters there. Also, I did not realize that \textemdash was more complicated than simply substituting a few bytes (depending on encoding).
Jul
1
asked Can Luatex (or latex) detect presence of non-latin1 character in string?
Jul
1
revised PDF/X in pdflatex with memoir, new xcomply package
Removed link.
Jun
29
comment What is this symbol?
Oops, I inadvertently posted a comment as if it were an answer (in French, yet). I opined that it was the symbol for the real part of the Lagrangian, which would be decorative R rather than N.
Jun
28
comment Splitting a class file
Instead of using \input{} in the document, have you tried using it in the *.cls file itself? And, if you must have an underscore in the file name, you could try \begingroup \catcode`\_=12 \input{textbook_conts.tex} \endgroup.
Jun
26
comment MiKTeX 2.9 Portable update corruption
@Sveinung: Ah, yes. I forgot that Miktex will automatically make other changes, as needed. It will even do this midway through processing a document! I use TeX on both Linux as Texlive, and Windows as Miktex.
Jun
26
comment English language
Instead of "english" try "USenglish" (or "UKenglish") for babel. That will help with hyphenation (but not check spelling or grammar).