<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.3.4">Jekyll</generator><link href="https://chem-bla-ics.linkedchemistry.info/feed/by_tag/latex.xml" rel="self" type="application/atom+xml" /><link href="https://chem-bla-ics.linkedchemistry.info/" rel="alternate" type="text/html" /><updated>2026-06-15T12:00:19+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/feed/by_tag/latex.xml</id><title type="html">chem-bla-ics</title><subtitle>Chemblaics (pronounced chem-bla-ics) is the science that uses open science and computers to solve problems in chemistry, biochemistry and related fields.</subtitle><author><name>Egon Willighagen</name></author><entry><title type="html">December wrap up. X-mas holidays at last!</title><link href="https://chem-bla-ics.linkedchemistry.info/2009/12/19/december-wrap-up-x-mas-holidays-at-last.html" rel="alternate" type="text/html" title="December wrap up. X-mas holidays at last!" /><published>2009-12-19T00:00:00+00:00</published><updated>2009-12-19T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2009/12/19/december-wrap-up-x-mas-holidays-at-last</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2009/12/19/december-wrap-up-x-mas-holidays-at-last.html"><![CDATA[<p>Wow, I just saw it has been <strong>17 days</strong> since my last post already :( That’s a new record, I think! A lot has happened
actually, but I have not had time to write up things. Actually, I have still have
<a href="https://chem-bla-ics.linkedchemistry.info/2009/11/25/swat4ls-wrapping-up-1.html">SWAT4LS coverage left to do <i class="fa-solid fa-recycle fa-xs"></i></a> :(</p>

<h3 id="latex">Latex</h3>

<p>Anyway, one of the things our group has been up to in the last two weeks, is writing a book to support of the
<a href="http://www.pharmbio.org/">free, online Pharmaceutical Bioinformatics course</a>. The material includes a good deal of
cheminformatics (molecular representation: chemical graph theory, 3D geometries, file formats, line notations, InChI),
bioinformatics (sequence analysis), and statistics (PLS, PCA, proteochemometrics). All in light of drug discovery.
Of course, we’re using LaTeX, and I asked around here and there about related things. For example, on
<a href="http://stackoverflow.com/questions/1901213/open-source-latex-environment-for-educational-books">StackOverflow on educational book styles</a>.
But also on <a href="http://friendfeed.com/the-life-scientists/5fd17e31/who-can-point-me-to-drug-where-tautomerism-is">FriendFeed on tautomerism in relation to drug activity</a>.</p>

<h3 id="bioclipse">Bioclipse</h3>

<p>I also hacked up a <a href="http://www.bioclipse.net/">Bioclipse</a> plugin that allows me to convert a Bioclipse matrix
resource into LaTeX source code, but that will not be part of the Bioclipse 2.2 release, as it requires quite
some updating of the statistics functionality. BTW, the LaTeX plugin is hosted at <a href="http://gitorious.org/~egonw">Gitorious</a>,
which is an GitHub alternative, but <a href="http://stackoverflow.com/questions/1913726/has-gitorious-hooks-for-cia-commit-notification">does not seem to have post-commit hooks</a>
:(</p>

<p>Also, the Bioclipse2 paper “Bioclipse 2: A scriptable integration platform for the life sciences” has been
published now in BMC Bioinformatics (DOI:<a href="https://doi.org/10.1186/1471-2105-10-397">10.1186/1471-2105-10-397</a>)!</p>

<h3 id="new-student">New student</h3>

<p>I am also happy to have a second student starting in January, who will work primarily on an RDF version of the
<a href="http://chembl.blogspot.com/">ChEMBL</a> data. Her work will extend on the excellent work being done right now by
<a href="http://saml.rilspace.com/">Samuel on comparing Prolog with DL reasoning</a>.</p>

<h3 id="cdk-licensing">CDK Licensing</h3>

<p>Another thing that required my attention was the problem brought up by Andew on licensing. There was considerable
out-of-date problems with the statements the <a href="http://cdk.sf.net/">CDK</a> makes on the license and copyright informations
certain CDK modules use, and the implications that has on what the CDK project is required to do (e.g. link to source
code of third party libraries) and for downstream CDK distributors, like the <a href="https://packages.debian.org/libcdk-java">Debian</a>
and <a href="https://packages.ubuntu.com/libcdk-java">Ubuntu</a> projects. For example, it
became apparent that the Debian package cannot distribute the XML Schema of <a href="http://en.wikipedia.org/wiki/Chemical_Markup_Language">CML</a>,
which is <a href="http://creativecommons.org/licenses/by-nd/2.5/">CC-BY-ND</a> which is not DSFG-compatible. A few bugs
have been reported, and work is ongoing to fix the issues.</p>]]></content><author><name>Egon Willighagen</name></author><category term="bioclipse" /><category term="bioinfo" /><category term="cheminf" /><category term="doi:10.1186/1471-2105-10-397" /><category term="latex" /><summary type="html"><![CDATA[Wow, I just saw it has been 17 days since my last post already :( That’s a new record, I think! A lot has happened actually, but I have not had time to write up things. Actually, I have still have SWAT4LS coverage left to do :(]]></summary></entry><entry><title type="html">My PhD Thesis: in color and grayscale</title><link href="https://chem-bla-ics.linkedchemistry.info/2008/01/23/my-phd-thesis-in-color-and-grayscale.html" rel="alternate" type="text/html" title="My PhD Thesis: in color and grayscale" /><published>2008-01-23T00:00:00+00:00</published><updated>2008-01-23T00:00:00+00:00</updated><id>https://chem-bla-ics.linkedchemistry.info/2008/01/23/my-phd-thesis-in-color-and-grayscale</id><content type="html" xml:base="https://chem-bla-ics.linkedchemistry.info/2008/01/23/my-phd-thesis-in-color-and-grayscale.html"><![CDATA[<p>Wednesday is my regular day off from my metabolomics work, and today I am finalizing the layout of my thesis, which I’ll
defend on April 2. The print version will feature grayscale images with some of them in color too. However, the PDF
version that will end up in our university repository should have color prints. So, while halfway creating suitable
grayscale versions of the image, I realized I was not doing it properly. I was replacing the images; so, I lost the
color version. Not good.</p>

<p>But wait, LaTeX can do more; why not have a color and a grayscale option? Here comes <code class="language-plaintext highlighter-rouge">optional.sty</code>. By adding
<code class="language-plaintext highlighter-rouge">\usepackage{optional}</code> I can add to the source (from <code class="language-plaintext highlighter-rouge">book.tex</code>):</p>

<div class="language-latex highlighter-rouge"><div class="highlight"><pre class="highlight"><code><span class="nt">\begin{figure}</span>[bt]
<span class="nt">\begin{center}</span>
  <span class="k">\subfigure</span><span class="na">[]</span><span class="p">{</span>
    <span class="k">\label</span><span class="p">{</span>fig:benzene:a<span class="p">}</span>
    <span class="k">\opt</span><span class="p">{</span>color<span class="p">}{</span><span class="k">\includegraphics</span><span class="na">[width=0.4\textwidth]</span><span class="p">{</span>intro/benzoCompounds<span class="p">_</span>color<span class="p">}}</span>
    <span class="k">\opt</span><span class="p">{</span>grayscale<span class="p">}{</span><span class="k">\includegraphics</span><span class="na">[width=0.4\textwidth]</span><span class="p">{</span>intro/benzoCompounds<span class="p">}}</span>
  <span class="p">}</span>
  <span class="k">\hspace</span><span class="p">{</span>2cm<span class="p">}</span>
  <span class="k">\subfigure</span><span class="na">[]</span><span class="p">{</span>
    <span class="k">\label</span><span class="p">{</span>fig:benzene:b<span class="p">}</span>
    <span class="k">\includegraphics</span><span class="na">[width=0.18\textwidth]</span><span class="p">{</span>intro/Ferrocene-2D<span class="p">}</span>
  <span class="p">}</span>
<span class="nt">\end{center}</span>
<span class="k">\caption</span><span class="p">{</span>a) 2D diagrams of the two possible resonance structures of a compound
with a phenyl ring. Both diagrams refer to the same compounds, but the depicted
graph representations are not identical. b) 2D diagram of ferrocene, which,
like all organometallic compounds,
is difficult to represent with classical chemoinformatics approaches.<span class="p">}</span>
<span class="k">\label</span><span class="p">{</span>fig:benzene<span class="p">}</span>
<span class="nt">\end{figure}</span>
</code></pre></div></div>

<p>Ferrocene was already black-and-white, so no worry about that. And, it is just the red colored hydroxyl group.
But it serves the point :)</p>

<p>Which then allows me to run pdflatex to create a color version and a grayscale version:</p>

<div class="language-shell highlighter-rouge"><div class="highlight"><pre class="highlight"><code>pdflatex <span class="s2">"</span><span class="se">\d</span><span class="s2">ef</span><span class="se">\U</span><span class="s2">seOption{color}</span><span class="se">\i</span><span class="s2">nput{book}"</span>
pdflatex <span class="s2">"</span><span class="se">\d</span><span class="s2">ef</span><span class="se">\U</span><span class="s2">seOption{grayscale}</span><span class="se">\i</span><span class="s2">nput{book}"</span>
</code></pre></div></div>

<p>/me is happy</p>]]></content><author><name>Egon Willighagen</name></author><category term="latex" /><category term="phd" /><summary type="html"><![CDATA[Wednesday is my regular day off from my metabolomics work, and today I am finalizing the layout of my thesis, which I’ll defend on April 2. The print version will feature grayscale images with some of them in color too. However, the PDF version that will end up in our university repository should have color prints. So, while halfway creating suitable grayscale versions of the image, I realized I was not doing it properly. I was replacing the images; so, I lost the color version. Not good.]]></summary></entry></feed>