"

53 LaTeX support – Erin Fields

Book: https://pressbooks.bccampus.ca/hydrometallurgy/

Date: October 4th, 2023

Issue: Sometimes her LaTeX works, sometimes it doesn’t

She’s using “$$ __ $$“, which doesn’t show up in PDFs

  • Warn her about that

Solution:

Hi Erin,

It seems like you have uncovered a strange Pressbooks bug, so thank you for that!

I’ve done some testing and it seems like the LaTeX in the first chapter works because of the one equation ( \Delta E\:=E_{Fe+3/Fe+2}\:-\:Eh_{Cu+2}\:\:\:_{CuS/Cu2S}\:=\:0.68\:-\:0.46\:=\:0/22\:V)) that uses the “*** QuickLaTeX cannot compile formula:

*** Error message:
Error: Nothing to show, formula is empty
” shortcodes instead of the “$$ $$” delimiters. When I replace the shortcodes with the delimiters, none of the LaTeX in the Leaching and Process Chemistry chapter works. And if I add the shortcodes to one equation in the Agitation chapter, all of the LaTeX in that chapter works. So it seems like Pressbooks needs at least one set of “*** QuickLaTeX cannot compile formula:

*** Error message:
Error: Nothing to show, formula is empty
” shortcodes in the chapter in order for the LaTeX to work.

I’m not sure why this is the case, and I will look into it further, but the method to fix the issue is to have at least one equation that uses the “*** QuickLaTeX cannot compile formula:

*** Error message:
Error: Nothing to show, formula is empty
” shortcodes in each chapter.

Note: any LaTeX expressions using the “$$ $$” delimiters do not render in the PDF and so we do recommend using the “*** QuickLaTeX cannot compile formula:

*** Error message:
Error: Nothing to show, formula is empty
” shortcodes in general.

 

License

Icon for the Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License

Harper Book Title Copyright © by hfriedman is licensed under a Creative Commons Attribution-NonCommercial-NoDerivatives 4.0 International License, except where otherwise noted.

Share This Book