On Tue, 26 Feb 2008, Paul A. Rubin wrote:

After reading the preambles, I would expect vice versa.  The textcompsym
package fakes a number of missing symbols but apparently not
textservicemark (so I would expect the original error to repeat); the
textcompfix package supposedly switches the font to Computer Modern long
enough to print the service mark, then back to the previous font, so that
should handle textservicemark (don't know about creating any new errors).

Paul,

  textcomp itself makes the substitution; at least, it appears to us CM
(san-serif) for the symbol. There is no space after the symbol, however.

  Exporting to pdflatex and running that didn't work. But, exporting to
plain latex, running it through once followed by dvips and ps2pdf produced a
readable document. The typeface difference is noticable to me, but perhaps
not to others.

Looks like the "error" message that you got in the first place was actually just a warning that textcomp was substituting another font (cmr, I think) in order to print the service mark.

  It apparently was trying to.

Try exporting your original doc to a LaTeX file and run latex (or
pdflatex) against it.  I did that on a small test doc, got your error
message, just hit enter to run through it, and the latex run finished and
gave me what looks like a correct DVI file.  Methinks perhaps LyX just
can't tell the difference between a warning and a fatal error.  (In
fairness, latex does ask for input at that point, so maybe it's latex that
doesn't distinguish warnings from errors.)

  I believe that latex halts on warnings to ensure they're seen and acted
upon. Fatal errors, I believe, cause the compiler to halt.

If that's too aggravating (and assuming you're ok with the service mark being in Computer Modern), you might hack the textcomp.sty package and delete the warning part from the definition of [EMAIL PROTECTED] (so that it just does the \bgroup ... \egroup stuff).

  This kludge will work, but what I'd rather do is learn how to add the
symbol to the Palatino typeface (if not to the others, too). Not that I'm
looking for a ton of extra work, but the missing symbol should be added
rather than using a work-around.

Many thanks,

Rich

--
Richard B. Shepard, Ph.D.               |  Integrity            Credibility
Applied Ecosystem Services, Inc.        |            Innovation
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863

Reply via email to