Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uline in ulem package #131

Closed
hcf-n opened this issue Aug 12, 2023 · 3 comments
Closed

uline in ulem package #131

hcf-n opened this issue Aug 12, 2023 · 3 comments

Comments

@hcf-n
Copy link

hcf-n commented Aug 12, 2023

I see from other issues that the ulem package is implemented. But I can't seem to get it to work when converting too DocBook. Is \uline{} implemented for DocBook? I would like to see in Docbook when using \uline.

Best regards
Hans

@michal-h21
Copy link
Owner

Most configurations are missing in Docbook. I can add ulem configuration easily, hopefully. Does the following configuration produce the expected output? If yes, I will update TeX4th sources:


\Preamble{xhtml}
\Configure{uline}{\HCode{<emphasis role="underline">}}{\HCode{</emphasis>}}
\Configure{uuline}{\HCode{<emphasis role="underline">}}{\HCode{</emphasis>}}
\Configure{sout}{\HCode{<emphasis role="underline">}}{\HCode{</emphasis>}}
\Configure{xout}{\HCode{<emphasis role="underline">}}{\HCode{</emphasis>}}
\Configure{uwave}{\HCode{<emphasis role="underline">}}{\HCode{</emphasis>}}
\Configure{dashuline}{\HCode{<emphasis role="underline">}}{\HCode{</emphasis>}}
\Configure{dotuline}{\HCode{<emphasis role="underline">}}{\HCode{</emphasis>}}
\begin{document}
\EndPreamble

@hcf-n
Copy link
Author

hcf-n commented Aug 13, 2023

Works as expected. Thanks!

@michal-h21
Copy link
Owner

Great! I've added that to TeX4ht sources, so it should work soon out of the box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants