Re: [tex4ht] Working examples of bibtex / multibib with tex4ebook?
Hi Jürgen, it is possible that TeX4ht files in Miktex are too old. Alphabetic style works for me correctly, with one small issue, the links from citations to the bibliography don't work. A BibLaTeX update could cause it, because I think links used to work. I also found that the multibib issue that I experienced was caused by naming one of the bibliographies as a "book". Multibib then loads a file named book.aux in the way, which causes TeX4ht to load configurations for the Book class. As I was using the Article class, this fact caused a clash. When I renamed the bibliography to a different name, the file compiled without errors. Best regards, Michal On Tue, Mar 5, 2024 at 7:27 AM Jürgen Hubert via tex4ht wrote: > > Okay, I've switched to BibLaTeX, and through some testing have managed to > create EPUB files with bibliographies. So far, so good, although further > testing will be necessary. > > I did notice something interesting, though. I've been using the "alphabetic" > style, since that was what I used with multibib: > > \usepackage[style=alphabetic, backend=biber]{biblatex} > > I have a number of .bib entries - websites, mostly - which do not have an > author, but a key instead. > > @misc{ AIV, > key = {Architekten und Ingenieurverein Berlin Brandenburg}, > title = "{Schinkel-Wettbewerb 2005}", > howpublished = > {\url{https://www.aiv-berlin-brandenburg.de/wp-content/uploads/2010/05/Dokumentation_SW_2005.pdf}}, > note = {Accessed: 2022-10-31} > } > > The bibliography entry in the pdf looks like this: > > [Arc] Schinkel-Wettbewerb 2005. https://www.aiv-berlin-brandenburg.de/ > wp-content/uploads/2010/05/Dokumentation_SW_2005.pdf. Accessed: > 2022-10-31. > > However, the tex4ebook entry looks like this: > > []Schinkel-Wettbewerb 2005. > https://www.aiv-berlin-brandenburg.de/wp-content/uploads/2010/05/Dokumentation_SW_2005.pdf. > Accessed: 2022-10-31. > >
Re: [tex4ht] Working examples of bibtex / multibib with tex4ebook?
Okay, I've switched to BibLaTeX, and through some testing have managed to create EPUB files with bibliographies. So far, so good, although further testing will be necessary. I did notice something interesting, though. I've been using the "alphabetic" style, since that was what I used with multibib: \usepackage[style=alphabetic, backend=biber]{biblatex} I have a number of .bib entries - websites, mostly - which do not have an author, but a key instead. @misc{ AIV, key = {Architekten und Ingenieurverein Berlin Brandenburg}, title = "{Schinkel-Wettbewerb 2005}", howpublished = {\url{https://www.aiv-berlin-brandenburg.de/wp-content/uploads/2010/05/Dokumentation_SW_2005.pdf}}, note = {Accessed: 2022-10-31} } The bibliography entry in the pdf looks like this: [Arc] Schinkel-Wettbewerb 2005. https://www.aiv-berlin-brandenburg.de/ wp-content/uploads/2010/05/Dokumentation_SW_2005.pdf. Accessed: 2022-10-31. However, the tex4ebook entry looks like this: []Schinkel-Wettbewerb 2005. https://www.aiv-berlin-brandenburg.de/wp-content/uploads/2010/05/Dokumentation_SW_2005.pdf. Accessed: 2022-10-31. It seems that when an alphabetic bibliography index has no author, pdflatex uses the first letters from the key instead - but tex4ebook does not want to do, and thus generates an "empty" key. This will also show up as "[]" in the location where the reference is cited. This isn't a problem when you have numeric bibliography entries - only when the bibliography needs to pull letters from the entry itself. One obvious solution is to manually replace those "key" entries with "author" entries in my .bib files. But I'm curious if there is another possible workaround. Best regards, - Jürgen > Gesendet: Montag, 04. März 2024 um 09:30 Uhr > Von: "Michal Hoftich" > An: "Jürgen Hubert" > Cc: tex4ht@tug.org > Betreff: Re: [tex4ht] Working examples of bibtex / multibib with tex4ebook? > > Hi Jürgen, > > > I did it again - I've waited too long to update my LaTeX packages, and now > > my old files will no longer compile correctly. So now I have to carefully > > wade through my code and test anything. > > I can see that there is no configuration file for multibib. Bibtex > itself should work. I can try to debug multibib, but a testing file > would be nice. > > You can also try BibLaTeX and it is much more powerful than both > bibtex and multibib. > > Best regards, > Michal >
Re: [tex4ht] Working examples of bibtex / multibib with tex4ebook?
Hi Jürgen, > I did it again - I've waited too long to update my LaTeX packages, and now my > old files will no longer compile correctly. So now I have to carefully wade > through my code and test anything. I can see that there is no configuration file for multibib. Bibtex itself should work. I can try to debug multibib, but a testing file would be nice. You can also try BibLaTeX and it is much more powerful than both bibtex and multibib. Best regards, Michal
[tex4ht] Working examples of bibtex / multibib with tex4ebook?
I did it again - I've waited too long to update my LaTeX packages, and now my old files will no longer compile correctly. So now I have to carefully wade through my code and test anything. One major problem is that I can no longer create a bibliography without throwing lots of [ERROR] htlatex: Compilation errors in the htlatex run [ERROR] htlatex: Filename LineMessage [ERROR] htlatex: ?870 Missing } inserted. errors. But I think I'd like to analyze some further before I share some code samples here. Thus, I'd like to ask: Does anyone have any minimalist .tex files (including relevant build files) for bibtex - or even better, multibib - that they can successfully run with their installation without errors? I could use them to test my situation further - perhaps my MiKTeX installation is the problem, rather than the code. I've already discovered another error where MiKTeX had updated to the iftex package 1.0f... but the actual compilation still used an older 0.7 version for some reason. And I want to make sure that there are no further problems like this before I share code. Best regards, - Jürgen Hubert