bugtex4ht - Bugs: bug #626, \:babelfont in babel-sty-hooks.4ht

 
 
Show feedback again

You are not allowed to post comments on this tracker with your current authentification level.

bug #626: \:babelfont in babel-sty-hooks.4ht

Submitted by:  Jürgen Spitzmüller <jspitzm>
Submitted on:  Mon Jun 10 14:39:21 2024  
 
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Closed

Mon Jun 10 18:21:28 2024, comment #1:

Thanks for the report and the provided fix. I was able to reproduce this issue if I used the Babel package multiple times in the document.

Actually, you don't need to use \RenewDocumentCommand\:babelfont, the \ProvideDocumentCommand version suffices.

I've uploaded the fix to TeX4ht sources.

Michal Hoftich <michal_h21>
Project Member
Mon Jun 10 14:39:21 2024, original submission:

Alas I don't have a MWE ready, but I got an error about \:babelfont being already defined when I compiled a paper.

The following change in babel-sty-hooks.4ht cured it for me:

- \NewDocumentCommand\:babelfont{o m o m}{}
+ \ProvideDocumentCommand\:babelfont{o m o m}{}
+ \RenewDocumentCommand\:babelfont{o m o m}{}

(for some reason, without the \ProvideDocumentCommand I got an error that \:babelfont is not yet defined)

Jürgen Spitzmüller <jspitzm>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by michal_h21 (Posted a comment)
  • -unavailable- added by jspitzm (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    1 latest change follows.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon Feb 3 17:36:29 2025michal_h21Open/ClosedOpen=>Closed
    Show feedback again

    Back to the top


    Powered by Savane 3.1-cleanup+gray