<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162396</link>
    <title>MATLAB Central Newsreader - MATLAB Publishing of Symbolic Equations through TEX</title>
    <description>Feed for thread: MATLAB Publishing of Symbolic Equations through TEX</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Mon, 21 Jan 2008 21:16:01 -0500</pubDate>
      <title>MATLAB Publishing of Symbolic Equations through TEX</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162396#410511</link>
      <author>Brandeis </author>
      <description>I am using MATLAB's publishing feature to document my &lt;br&gt;
MATLAB code. For many of my equations I have inserted TEX &lt;br&gt;
strings so that when the documentation is created, the &lt;br&gt;
equations are displayed symbolically.&lt;br&gt;
&lt;br&gt;
I have noticed that when MATLAB publishes the results, it &lt;br&gt;
automatically creates a &quot;.png&quot; file for each symbolic &lt;br&gt;
equation that you specify in your comments. MATALAB seems &lt;br&gt;
to assign a random name to each of these &quot;.png&quot; files it &lt;br&gt;
creates for symbolic equations. Is there a way to control &lt;br&gt;
what it names each of &quot;.png&quot; file that is created for a &lt;br&gt;
symbolic math equation that is published by MATLAB?</description>
    </item>
    <item>
      <pubDate>Mon, 21 Jan 2008 21:52:02 -0500</pubDate>
      <title>Re: MATLAB Publishing of Symbolic Equations through TEX</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162396#410518</link>
      <author>Matthew Simoneau</author>
      <description>Sorry, nope.  Why does this matter to you?</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jan 2008 20:02:01 -0500</pubDate>
      <title>Re: MATLAB Publishing of Symbolic Equations through TEX</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162396#410711</link>
      <author>Brandeis </author>
      <description>We are using a tool to automatically convert MATLAB code &lt;br&gt;
into real time C code. I am also using the publishing &lt;br&gt;
feature of MATLAB to automatically create the algorithm &lt;br&gt;
description document for the MATLAB code.&lt;br&gt;
&lt;br&gt;
Since the auto-generated C code keeps MATLAB comments &lt;br&gt;
intact, the MATLAB &quot;publishing tags&quot; are retained. I wrote &lt;br&gt;
a MS-Word VBA macro to suck the auto-generated C code into &lt;br&gt;
MS-Word. The VBA macro catches the &quot;publishing tags&quot; in &lt;br&gt;
the auto-generated C code and insert the appropriate hyper-&lt;br&gt;
text links, image, or formatting. The only hangup is when &lt;br&gt;
the VBA maco encounters the tag for a symbolic equation, &lt;br&gt;
it can not figure out which corresponding &quot;.png&quot; equation &lt;br&gt;
file to insert into the word document.&lt;br&gt;
&lt;br&gt;
The idea is to basically have a published version of the &lt;br&gt;
MATLAB code and a published version of the auto-generated &lt;br&gt;
C code that match (i.e. have the same symbolic math &lt;br&gt;
equations and formatting).&lt;br&gt;
&lt;br&gt;
If I can just get MS-word to recognize TEX strings that &lt;br&gt;
would also work, but that is a MS-Word issue, not a MATLAB &lt;br&gt;
issue.&lt;br&gt;
&lt;br&gt;
&quot;Matthew Simoneau&quot; &amp;lt;matthew@mathworks.com&amp;gt; wrote in &lt;br&gt;
message &amp;lt;fn3461$2l2$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Sorry, nope.  Why does this matter to you?</description>
    </item>
    <item>
      <pubDate>Tue, 22 Jan 2008 20:43:01 -0500</pubDate>
      <title>Re: MATLAB Publishing of Symbolic Equations through TEX</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162396#410717</link>
      <author>Matthew Simoneau</author>
      <description>OK, I'm with you.  Thanks for the detail.&lt;br&gt;
&lt;br&gt;
The filename is generated by hashing the actual text of the&lt;br&gt;
TeX.  See toolbox/codetools/private/hasEquation.m for the&lt;br&gt;
simple algorithm.  You should be able to do this same&lt;br&gt;
calculation in VBA.  &lt;br&gt;
&lt;br&gt;
(I'll also give you a heads up that the hash function we use&lt;br&gt;
is changing in the next release to something more&lt;br&gt;
complicated, so you'll have to look at this again in the&lt;br&gt;
future.)</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 23:48:04 -0500</pubDate>
      <title>Re: MATLAB Publishing of Symbolic Equations through TEX</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162396#413426</link>
      <author>Brandeis </author>
      <description>&quot;Matthew Simoneau&quot; &amp;lt;matthew@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fn5kgl$c9$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; OK, I'm with you.  Thanks for the detail.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The filename is generated by hashing the actual text of the&lt;br&gt;
&amp;gt; TeX.  See toolbox/codetools/private/hasEquation.m for the&lt;br&gt;
&amp;gt; simple algorithm.  You should be able to do this same&lt;br&gt;
&amp;gt; calculation in VBA.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; (I'll also give you a heads up that the hash function we use&lt;br&gt;
&amp;gt; is changing in the next release to something more&lt;br&gt;
&amp;gt; complicated, so you'll have to look at this again in the&lt;br&gt;
&amp;gt; future.)&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Thanks for the info; however, I could not find a codetools&lt;br&gt;
subdirectory under toolbox. I am using 2007b. Could it be in&lt;br&gt;
a different location? I tried a search in all the MATLAB&lt;br&gt;
directories and still did not find the  file&lt;br&gt;
&lt;br&gt;
Thanks, Brandeis</description>
    </item>
    <item>
      <pubDate>Wed, 06 Feb 2008 23:51:03 -0500</pubDate>
      <title>Re: MATLAB Publishing of Symbolic Equations through TEX</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/162396#413427</link>
      <author>Brandeis </author>
      <description>&quot;Matthew Simoneau&quot; &amp;lt;matthew@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fn5kgl$c9$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; OK, I'm with you.  Thanks for the detail.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The filename is generated by hashing the actual text of the&lt;br&gt;
&amp;gt; TeX.  See toolbox/codetools/private/hasEquation.m for the&lt;br&gt;
&amp;gt; simple algorithm.  You should be able to do this same&lt;br&gt;
&amp;gt; calculation in VBA.  &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; (I'll also give you a heads up that the hash function we use&lt;br&gt;
&amp;gt; is changing in the next release to something more&lt;br&gt;
&amp;gt; complicated, so you'll have to look at this again in the&lt;br&gt;
&amp;gt; future.)&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Ok,&lt;br&gt;
&lt;br&gt;
I found the file ok. It is hashEquation.m&lt;br&gt;
&lt;br&gt;
Please disregard previous post. Thanks</description>
    </item>
  </channel>
</rss>

