Open aminophen opened 1 year ago
\chemobabel
/\smilesobabel
command: some people complains about the second optional argument, so adding \chemobabel*
/\smilesobabel*
variant with only one argument → Done (https://github.com/aminophen/chemobabel/commit/462f9a8df8c7e8d0abdf67f6a362ac2c0c4277f2)[extract]
should not issue a warning) → An idea of writing the number of images by \chemobabel
/\smilesobabel
into .aux file, and read it on the second run to see if the number changed ? → Done in https://github.com/aminophen/chemobabel/commit/9fea08b00b07578311acc4877db3506ff67b02bf and https://github.com/aminophen/chemobabel/commit/4f00bf6416df07b07a968185d3eaad97d23dfe46\jobname
before opening ChemFigFile.tex
on [extract]
→ Done (https://github.com/aminophen/chemobabel/commit/e448147743448c8b6c99a9d8ad46ce07587a3aae)ChemFigFile.tex
→ Done (https://github.com/aminophen/chemobabel/commit/d69604d8ffba002f30d3a2af83908af94cd91ad4)Documentations → All done (https://github.com/aminophen/chemobabel/commit/61a67865cd8cc7713f0e0a5b8a8840f18c35bfe4)
-output-directory
, the extracted code "ChemFigFile.tex" goes there but chemobabelimgdir
and generated images stay in the current directory. (Note: the .aux file goes to given output directory, but the engine reads .aux in the output directory first, so it's fine)pdfcrop
or ps2eps
should be found on PATHRemainings:
pdfTeX warning: pdflatex (file ./chemobabelimgdir/smilesobabelimg1-crop.pdf): PDF inclusion: found PDF version <1.7>, but at most version <1.5> allowed
dvipdfmx:warning: Trying to include PDF file with version (1.7), which is newer than current output PDF setting (1.5).
\renewcommand
? → No! (If "chemobabelimgdir" can be changed or user-defined "Prefix" is allowed, extra hacks on LuaTeX will be required. Twitter)