If I just copy xʷməθkʷəy̓əm into the source then it is fine in html but borked in latex.
I managed to get this rendering correctly in both the latex and html versions but it took some cludging (basically write in math(s) mode and use lots of text boxes and some upgreek, and various blurgh things).
Does anyone have any suggestion for a graceful way to do this?
Andrew
Rob Beezer
unread,
Jun 29, 2022, 1:35:03 AM6/29/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pretext...@googlegroups.com
We are lucky to get Vietnamese and Korean working in LaTeX. Sample is currently broken.
I can't believe I'm saying this: use sed to replace the Unicode version with a LaTeX version? We do have facilities for loading fonts for LaTeX, see how it is done for The Guide.
Rob
Alex Jordan
unread,
Jun 29, 2022, 1:46:02 AM6/29/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
Maybe there is a case to be made for letting the "foreign" element
have an attribute where you declare a font, and maybe your situation
is appropriate for using "foreign". Any lessons learned from mocking
things up could be interesting.
So - I'll try using <foreign xml:lang="hur"> and see how that goes.
arech...@gmail.com
unread,
Jun 29, 2022, 3:24:59 PM6/29/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to PreTeXt support
So - the neatest way I've worked out so far is to make use of the fontspec package and then to declare a font for HUR - something like
```
\newfontfamily\hur{CMU-serif}
```
and then in the body of the .tex doc something like
```
{\hur xʷməθkʷəy̓əm }
```
then lualatex compiles everything very nicely, while xelatex complains that it cannot find CMU-serif (which is rather annoying), and pdflatex is just generally unhappy with everything.