bugtex4ht - Bugs: bug #273, biblatex broken again

Show feedback again

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

bug #273: biblatex broken again

Submitted by:  Michal Hoftich <michal_h21>
Submitted on:  Fri 11 Mar 2016 03:26:16 PM EET  
Category: NonePriority: 5 - Normal
Severity: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

(Jump to the original submission Jump to the original submission)

Tue 20 Dec 2016 12:28:53 AM EET, comment #12:

can you update the source for ex.22 (and any others) in our repo, then?

no idea about the indexes :(.

it would be nice to be able to type "make" and have those checks done, at least. oh well, maybe someday.

Karl Berry <karl>
Project Administrator
Mon 19 Dec 2016 12:04:43 PM EET, comment #11:

Example 22 indeed changed upstream, it can be compiled without errors now. There is an issue with generated index, because it contains page numbers, without links to the citation. But it looks fine otherwise.

Michal Hoftich <michal_h21>
Project Member
Mon 19 Dec 2016 01:13:03 AM EET, comment #10:

can you check in the upstream to see if ex.22 (or others) have changed there?

Karl Berry <karl>
Project Administrator
Sat 17 Dec 2016 12:20:33 PM EET, comment #9:

I've tried to run some examples and they seem fine, except example 22, which uses indexing and it ran with errors, the document is also wrong

Michal Hoftich <michal_h21>
Project Member
Wed 14 Dec 2016 02:05:54 AM EET, comment #8:

I uploaded the tests as last received in the new tests/biblatex/ subdirectory. Probably more supporting files are needed, I only committed the *.tex files for starters since I didn't know.

There was a biber/biblatex release a few days ago. Probably they need to be updated (and tested) again.

Karl Berry <karl>
Project Administrator
Mon 12 Dec 2016 04:01:45 PM EET, comment #7:

Probably not. I also made some testing library for Biblatex in Lua back in March, but I can't find it now.

Michal Hoftich <michal_h21>
Project Member
Sun 11 Dec 2016 01:41:48 AM EET, comment #6:

did the biblatex tests get into the repository?

Karl Berry <karl>
Project Administrator
Wed 16 Mar 2016 07:09:17 PM EET, comment #5:

installed in tex4ht and tl, thanks.

leaving this one open until tests are in the repository and all working again, i guess ...

Karl Berry <karl>
Project Administrator
Tue 15 Mar 2016 05:05:17 PM EET, comment #4:

Sure, here is a patch.

(file #231)

Michal Hoftich <michal_h21>
Project Member
Tue 15 Mar 2016 12:17:22 AM EET, comment #3:

glad you tried them. probably the failing tests need to be updated due to biblatex incompatibilities being introduced.

anyway, can you post the tex4ht-4ht.tex patch and i'll install it as usual? thanks, k.

Karl Berry <karl>
Project Administrator
Mon 14 Mar 2016 11:41:29 AM EET, comment #2:

I've executed all tests from CVR's bundle and it seems that it works correctly, except tests 21 and 22, where run time error occurred, but it happens also with pdflatex. Sample 82 compiles without error, but some fields in the bibliography are missing.

Biblatex maintainers are interested in tex4ht support, we will hopefully make some automated tests in Lua.

Michal Hoftich <michal_h21>
Project Member
Sat 12 Mar 2016 02:32:18 AM EET, comment #1:

hi michal - most excellent that you managed to get tex4ht working again. compatibility is clearly not a big concern for biblatex :(.

i have the original tl'15 release of biblatex at hand, but no files to test with. i know cvr created an extensive suite of biblatex test files, but the version i have for them is from June 7, 2015, and i'm pretty sure that is not up to date. cvr, if you have time, can you maybe check them into the repository somewhere?

1) if you have some simple test file i can run, i will, and
2) if you make the patch for tex4ht-4ht.tex i'll install the new version in tl anyway since surely people will be noticing the problem soon. thanks ...

Karl Berry <karl>
Project Administrator
Fri 11 Mar 2016 03:26:16 PM EET, original submission:

It seems to be a tradition, new version of biblatex recently updated on CTAN crashes tex4ht configuration. This time it produces several error messages and doesn't produce any citations nor references.

One problem is that some macros introduced in 3.0 were removed again, so we probably need to make test for minor version and leave them in biblatex 3.4. The other problem is that biblatex does some things in \AtEndPreamble{} command and we can't fix it easily. It tries to redefine \MakeUppercase and \MakeLowercase macros, but patching fails, because they are redefined by tex4ht as well. The other thing is that it process list of babel languages and loads language files for them (it is probably requested only in some bibliography styles, for example Biblatex ISO 690 [1]). For some reason, the language files are loaded correctly, but code which should be executed only in case of failed loading is started. This results in run time error and language handling doesn't work.

I've modified biblatex.4ht to fix these issues, but it needs more testing, in particular with previous biblatex version, if someone has access to it.

[1] https://github.com/michal-h21/biblatex-iso690

Michal Hoftich <michal_h21>
Project Member


Attached Files
file #231:  biblatex.diff added by michal_h21 (2kB - text/x-patch)
file #230:  biblatex.4ht added by michal_h21 (20kB - application/octet-stream)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by karl (Posted a comment)
  • -unavailable- added by michal_h21 (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):



    2 latest changes follow.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 15 Mar 2016 05:05:17 PM EETmichal_h21Attached File-=>Added biblatex.diff, #231
    Fri 11 Mar 2016 03:26:16 PM EETmichal_h21Attached File-=>Added biblatex.4ht, #230
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup+gray