Some ptx mark-up works fine for html but not for the pdf produced via latex, and some works fine for latex and pdf but not for html, even when all the mark-up seems to be ok with validation.
When I load the gensymb package in <latex-preamble>, then the ptx mark-up
<m>10\degree</m>
gives me the expected “o” degree-symbol as a superscript in the pdf output, but gives the plain “10\degree” in html.
When I add in <macros>
\newcommand\degree[0]{^{\circ}}
then the html comes out fine, but pdflatex stops to complain that \degree is already defined, then the pdf gives nice output as before.
I’m guessing I need to understand better how to load latex packages and define macros in ptx. I don't know when to put something in <latex-preamble> or <latex-image-preamble> or <macros>. I can live with the single pause in pdflatex here, but I have other issues I can’t fix at all.
When I put in <latex-image-preamble>
\usepackage{tikz}
\newcommand*\circled[1]{\tikz[baseline=(char.base)]{
\node[shape=circle,draw,inner sep=2pt] (char) {#1};}}
--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/MTAwMDA0OS5iZWV6ZXI.1505253807%40quikprotect.
For more options, visit https://groups.google.com/d/optout.
! Package inputenc Error: Unicode char ① (U+2460)(inputenc) not set up for use with LaTeX.
See the inputenc package documentation for explanation.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/31891cdc-86ea-4c9e-a953-94b84d2bd7be%40googlegroups.com.
Erroneous variable \c__fontspec_shape_n_n_tl used!l.3806 \emfontdeclare{ \emshape, \eminnershape }
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsub...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsubscribe@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Mitch KellerAssistant Professor of MathematicsWashington & Lee University, Lexington VA206 Robinson Hall ~ 540.458.8099 ~ http://www.rellek.net
--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsubscribe@googlegroups.com.
To post to this group, send email to pretext-support@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/ca774325-f629-4f8c-976a-78537b6c7948%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-support+unsub...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/cce82027-abe7-47c4-9b85-5ee22535a7ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Mitch KellerAssistant Professor of MathematicsWashington & Lee University, Lexington VA206 Robinson Hall ~ 540.458.8099 ~ http://www.rellek.net
--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
> <mailto:pretext-support+unsub...@googlegroups.com>.
--
You received this message because you are subscribed to the Google Groups "PreTeXt support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pretext-suppo...@googlegroups.com.
To post to this group, send email to pretext...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pretext-support/MTAwMDAyOS5iZWV6ZXI.1505765832%40quikprotect.
<circled-1.pdf>