Disclaimer: I know this is a question drawing opinionated answers. I still want to ask it, as I don't know how else I should proceed and am looking for advice.
I use labbook to write - you guessed it - a labbook. When I activate caption in the preamble, all is fine, but as soon as I add subcaption, XeLaTeX throws:
Command \theHsubfigure already defined.
To be honest, I load caption and subcaption by default, since I use them in most of my documents and I am pretty sure I will need them in my labbook, but I haven't included any images in my document, yet. The labbook class hasn't been updated since 2003 and the maintainer seems to have been active on ctan no later than 2007, when he last updated alnumsec. The probability of labbook experiencing an update in the future is thus marginal at best. My uncoziness about this class arose when I got the error, even though my document is still pretty virgin (it's got 40 lines of code total, as of now). My question is therefore:
What class do you recommend I use instead of labbook to write my labbook?
I am - relatably, I think - not really keen on going on with an unmaintained document class to later hit some wall of unconceivable incompatibility with some important (otherwise well working) package and then have to rewrite all the structural parts of my TEX file.
I am just reading the labbook documentation again and it says
labbook.clsis based on the KOMA-Script-classscrbook.cls.
could this be the source of the incompatibility with subcaption? I don't know KOMA-script very well. In What packages are incompatible with KOMA-Script?, subcaption doesn't appear.
Furthermore, subcaption used to be incompatible with memoir, but isn't any more. I don't know if memoir is based on scrbook, but that doesn't really matter now, as it got updated to work with subcaption. Should I maybe use memoir instead of labbook?
memoirandscrbookare NOT related. They were developed independently. – Peter Wilson Feb 14 '18 at 18:42labbook.styitself defines the problematic\theHsubfiguremessing upsubcaption. You may use any document class you like for you lab journal, it just depends on what you want and need. I would probably start withscrreprt/scrbookormemoirand write a few macros. – moewe Feb 15 '18 at 14:07