<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Mathematica UDL]]></title><description><![CDATA[<p dir="auto">Hi, I just started using NPP for Mathematica and I wonder where I can find a UDL for it that supposedly exists (see mentions <a href="https://community.notepad-plus-plus.org/topic/11545/mathematica">here</a> and <a href="https://mathematica.stackexchange.com/questions/48065/notepad-user-defined-language" rel="nofollow ugc">here</a>). I can’t find it anywhere else except on the defunct wiki and the sourceforge project that’s also down. Anyone know where I can find it or another Mathematica UDL? Thanks.</p>
]]></description><link>https://community.notepad-plus-plus.org/topic/18467/mathematica-udl</link><generator>RSS for Node</generator><lastBuildDate>Thu, 18 Jun 2026 11:33:37 GMT</lastBuildDate><atom:link href="https://community.notepad-plus-plus.org/topic/18467.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Nov 2019 04:11:06 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Mathematica UDL on Tue, 05 Nov 2019 21:40:22 GMT]]></title><description><![CDATA[<p dir="auto">Hi, <a class="plugin-mentions-user plugin-mentions-a" href="/user/fraw-farewell" aria-label="Profile: fraw-farewell">@<bdi>fraw-farewell</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>,</p>
<p dir="auto">Actually, I did a <strong>simple</strong> test :</p>
<p dir="auto">First, I <strong>slightly</strong> changed  the <strong><code>fgColor</code></strong> of these <strong><code>3</code></strong> sections below :</p>
<pre><code class="language-xml">            &lt;WordsStyle name="KEYWORDS1" fgColor="0000ff" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS2" fgColor="00ff00" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS3" fgColor="ff0000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
</code></pre>
<ul>
<li>
<p dir="auto">Then I re-started N++</p>
</li>
<li>
<p dir="auto">I opened a <strong>new</strong> file</p>
</li>
<li>
<p dir="auto">I selected the <strong><code>Mathematica</code></strong> <strong>UDL</strong> language</p>
</li>
<li>
<p dir="auto">I pasted the <strong>last</strong> keyword of the <strong><code>Keywords1</code></strong>, <strong><code>Keywords2</code></strong> and <strong><code>Keywords3</code></strong> sections. So, the text :</p>
</li>
</ul>
<pre><code class="language-z">GeneratedParameters

PointSize

$VersionNumber
</code></pre>
<p dir="auto">And, as <strong>expected</strong>, these <strong><code>3</code></strong> commands, were highlighted in <strong>blue</strong>, <strong>green</strong> and <strong>red</strong> colors ;-))</p>
<p dir="auto">Cheers,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48337</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48337</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 05 Nov 2019 21:40:22 GMT</pubDate></item><item><title><![CDATA[Reply to Mathematica UDL on Tue, 05 Nov 2019 21:18:55 GMT]]></title><description><![CDATA[<p dir="auto">Hello, <a class="plugin-mentions-user plugin-mentions-a" href="/user/fraw-farewell" aria-label="Profile: fraw-farewell">@<bdi>fraw-farewell</bdi></a>, <a class="plugin-mentions-user plugin-mentions-a" href="/user/peterjones" aria-label="Profile: peterjones">@<bdi>peterjones</bdi></a>,</p>
<p dir="auto">Here is, below, the <strong>modified</strong> version of the <strong><code>UDL</code></strong> file for <strong><code>Mathematica</code></strong>. I simply rewrote <strong>all</strong> terms with the <strong>exact</strong> case, as it is, for instance, in the <strong><code>userDefinedLang-markdown.default.modern.xml</code></strong> UDL file for <strong><code>MardDown</code></strong> language !</p>
<p dir="auto">After starting N++, you should see the <strong><code>Mathematica</code></strong> language, at the <strong>end</strong> of the drop-down list, when clicking on <strong><code>Language</code></strong></p>
<hr />
<p dir="auto"><strong>IMPORTANT</strong> :</p>
<p dir="auto">In order to keep my post’s size <strong>under</strong> <strong><code>16384</code></strong> bytes, I simply omit <strong>all</strong> the keywords in <strong><code>Keywords1</code></strong>, <strong><code>Keywords2</code></strong> and <strong><code>Keywords3</code></strong> sections. Of course, just <strong>re-paste</strong> these <strong><code>3</code></strong> keywords list, respectively ;-))</p>
<pre><code class="language-xml">&lt;!-- END WAYBACK TOOLBAR INSERT --&gt;
&lt;NotepadPlus&gt;
    &lt;UserLang name="Mathematica" ext="m nb" udlVersion="2.1"&gt;
        &lt;Settings&gt;
            &lt;Global caseIgnored="no" allowFoldOfComments="no" foldCompact="no" forcePureLC="0" decimalSeparator="0"/&gt;
            &lt;Prefix Keywords1="no" Keywords2="no" Keywords3="no" Keywords4="yes" Keywords5="no" Keywords6="yes" Keywords7="no" Keywords8="no"/&gt;
        &lt;/Settings&gt;
        &lt;KeywordLists&gt;
            &lt;Keywords name="Comments"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Numbers, prefix1"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Numbers, prefix2"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Numbers, extras1"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Numbers, extras2"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Numbers, suffix1"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Numbers, suffix2"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Numbers, range"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Operators1"&gt;&amp;amp; _ , := = [ ] { } ( ) :&amp;gt; - &amp;gt; &amp;lt; + @ / ; | . ~ ! ? * ^ % &amp;apos;&lt;/keywords&gt;
            &lt;Keywords name="Operators2"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in code1, open"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in code1, middle"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in code1, close"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in code2, open"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in code2, middle"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in code2, close"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in comment, open"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in comment, middle"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Folders in comment, close"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Keywords1"&gt;&lt;/keywords&gt;    &lt;!-- Do NOT forget to insert ALL the appropriate keywords --&gt;
            &lt;Keywords name="Keywords2"&gt;&lt;/keywords&gt;    &lt;!-- Do NOT forget to insert ALL the appropriate keywords --&gt;
            &lt;Keywords name="Keywords3"&gt;&lt;/keywords&gt;    &lt;!-- Do NOT forget to insert ALL the appropriate keywords --&gt;
            &lt;Keywords name="Keywords4"&gt;#&lt;/keywords&gt;
            &lt;Keywords name="Keywords5"&gt;:&lt;/keywords&gt;
            &lt;Keywords name="Keywords6"&gt;::&lt;/keywords&gt;
            &lt;Keywords name="Keywords7"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Keywords8"&gt;&lt;/keywords&gt;
            &lt;Keywords name="Delimiters"&gt;00&amp;quot; 01 02&amp;quot; 03(* 04 05*) 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23&lt;/keywords&gt;
        &lt;/KeywordLists&gt;
        &lt;Styles&gt;
            &lt;WordsStyle name="DEFAULT" fgColor="0000A0" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="LINE COMMENTS" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="NUMBERS" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS1" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS2" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS3" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS4" fgColor="008000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS5" fgColor="008000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS6" fgColor="808080" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="KEYWORDS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="OPERATORS" fgColor="000000" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="FOLDER IN CODE1" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="FOLDER IN CODE2" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="FOLDER IN COMMENT" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS1" fgColor="808080" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS2" fgColor="808080" bgColor="FFFFFF" fontName="Courier New" fontStyle="1" fontSize="10" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS3" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS4" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS5" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS6" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS7" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
            &lt;WordsStyle name="DELIMITERS8" fgColor="000000" bgColor="FFFFFF" fontName="" fontStyle="0" nesting="0"/&gt;
        &lt;/Styles&gt;
    &lt;/UserLang&gt;
&lt;/NotepadPlus&gt;
&lt;!--
    FILE ARCHIVED ON 15:56:51 Dec 13, 2013 AND RETRIEVED FROM THE
    INTERNET ARCHIVE ON 17:22:19 Nov 05, 2019.
    JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE.
 
    ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C.
    SECTION 108(a)(3)).
--&gt;
</code></pre>
<p dir="auto">Note that since I do <strong>not</strong> know the <strong><code>Mathematica</code></strong> language and I do <strong>not</strong> have any appropriate source text, I did <strong>not</strong> go any further to test this <strong><code>UDL</code></strong> language !</p>
<p dir="auto">Best Regards,</p>
<p dir="auto">guy038</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48336</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48336</guid><dc:creator><![CDATA[guy038]]></dc:creator><pubDate>Tue, 05 Nov 2019 21:18:55 GMT</pubDate></item><item><title><![CDATA[Reply to Mathematica UDL on Tue, 05 Nov 2019 21:03:45 GMT]]></title><description><![CDATA[<p dir="auto">I don’t know exactly what was wrong with the original: well, it included comments, and accidentally included the markdown ``` … so those weren’t valid. But even after I did that, it was doing strange things, where the UDL would load, but it would color the text black-on-black and worse.</p>
<p dir="auto">I started over from scratch, and then started copying the keyword lists, etc.  I thought maybe it was because there were ~19000 bytes in each of the three main keyword lists from the original; I split it into 5 keyword lists, with ~12000 bytes in each.  <a href="https://pastebin.com/QXLiy9Gk" rel="nofollow ugc">That modified <code>mma.udl.xml</code></a> seems to work – it properly loads, and applies syntax-colors to a Mathematica file I downloaded (though I don’t know if it’s a reasonable color scheme).</p>
<p dir="auto">Mathematica has a lot of keywords/functions!</p>
<p dir="auto">(Also, I am not sure why the original kept each of <code>:</code>, <code>::</code>, and <code>#</code> as separate keyword categories… I tried looking up what those do in mathematica… and they do different things, but don’t seem any more wildly different than other operators from each other.  I kept them separate in mine as well, though if they could be combined with something else, I could have gotten down to fewer words per keyword category. )</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48335</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48335</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 05 Nov 2019 21:03:45 GMT</pubDate></item><item><title><![CDATA[Reply to Mathematica UDL on Tue, 05 Nov 2019 17:34:20 GMT]]></title><description><![CDATA[<p dir="auto">Nope, sorry, there’s an error in the file somewhere, so it won’t load/import… let’s see if I can figure out how to clean it up.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48332</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48332</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 05 Nov 2019 17:34:20 GMT</pubDate></item><item><title><![CDATA[Reply to Mathematica UDL on Tue, 05 Nov 2019 17:30:38 GMT]]></title><description><![CDATA[<p dir="auto">Using wayback machine to follow links and find old versions of files that no longer exist, I was able to dig up the <a href="https://pastebin.com/aveftENX" rel="nofollow ugc"><code>mma.udl.xml</code> from 2013, which I uploaded to pastebin</a>.  No idea if that matches what was linked in 2016, but it’s a starting place.</p>
<p dir="auto">Unlike was <a href="https://community.notepad-plus-plus.org/topic/11545/mathematica">mentioned in 2016</a>, you don’t have to use the “import” button anymore; you can just save <code>mma.udl.xml</code> into your <code>%AppData%\Notepad++\userDefineLangs</code> folder, and reload Notepad++.</p>
]]></description><link>https://community.notepad-plus-plus.org/post/48330</link><guid isPermaLink="true">https://community.notepad-plus-plus.org/post/48330</guid><dc:creator><![CDATA[PeterJones]]></dc:creator><pubDate>Tue, 05 Nov 2019 17:30:38 GMT</pubDate></item></channel></rss>