Code Monkey home page Code Monkey logo

chemobabel's People

Contributors

aminophen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tyf0n whipplelabs

chemobabel's Issues

Support for Open Babel v2.4.1

The behavior of SVG output of Open Babel 2.4.1 seems different from that of Open Babel 2.3.2. With the new version, the output image always has a square bounding box and the margins around the structure are bigger. Should I crop the margins (using pdfcrop?) before including it to the LaTeX document?

Caption under molecule!

Dear Maintainer!

I would kindly ask You to consider the possibility of adding a caption to the structure of the molecule - generated by Your LaTeX package; with options such as font size and colour.

This would be extremely helpful :-)

Martin

TODO

  • Windows does not have "rm"
  • Documentation: can "chemobabelimgdir" be changed via \renewcommand ? โ†’ No! (If "chemobabelimgdir" can be changed or user-defined "Prefix" is allowed, extra hacks on LuaTeX will be required. Twitter)
  • Documentation: mention GitHub in the dtx/pdf also โ†’ Done (2022-09-19)

Failure of extractbb in subdirectory

I cannot build the document "chemobabel-example-ja.pdf"; it fails on including a PDF graphics from chemobabelimgdir/ subdirectory. (The graphics is actually generated properly.)

It seems that extractbb for images in subdirectory fails. For example, the following code passes on latex+dvipdfmx on TeX Live 2015 but fails on TeX Live 2022.

\documentclass[dvipdfmx]{article}
\usepackage{graphicx}
\begin{document}
\includegraphics{a/b.pdf}
\end{document}
! LaTeX Error: Cannot determine size of graphic a/b.xbb (no BoundingBox).

inkscape args option outdated?

Praise your Project !!!!! Its hard to find another package that can transfer SMILES names to 2D structures in Latex !!
It really helps!

BTW, It seems that in the newest vewsion of inkscape, -f option is no longer allowed, while --export-pdf=${filename} is also deprecated and not available. So I use --export-type=pdf instead in chemobabel.sty, line 42:

% \newcommand\chemob@bel@inkscapecmd[2]{inkscape -f #1.svg --export-#2=#1.#2}
\newcommand\chemob@bel@inkscapecmd[2]{inkscape #1.svg --export-type=#2}

And it works for me now on Win10 PC.
Appreciate again!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.