<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Mykhailo Makukha&#039;s blog</title>
	<atom:link href="http://makukha.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://makukha.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Sun, 02 Jan 2011 19:55:03 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='makukha.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Mykhailo Makukha&#039;s blog</title>
		<link>http://makukha.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://makukha.wordpress.com/osd.xml" title="Mykhailo Makukha&#039;s blog" />
	<atom:link rel='hub' href='http://makukha.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Replacing substrings in file names and contents in Unix/Linux shell script</title>
		<link>http://makukha.wordpress.com/2010/12/09/replacing-substrings-with-shell/</link>
		<comments>http://makukha.wordpress.com/2010/12/09/replacing-substrings-with-shell/#comments</comments>
		<pubDate>Wed, 08 Dec 2010 22:03:35 +0000</pubDate>
		<dc:creator>makukha</dc:creator>
				<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://makukha.wordpress.com/?p=221</guid>
		<description><![CDATA[Today I&#8217;d like to share two useful code snippets to deal with string replacement in file names and contents. Each of those two operations can be done in a single pipe, without intermediate files and variables and thus fast and without side effects. Suppose you want to replace some $STRING_ONE with $STRING_TWO in files and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=221&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Today I&#8217;d like to share two useful code snippets to deal with string replacement in file names and contents. Each of those two operations can be done in a single pipe, without intermediate files and variables and thus fast and without side effects.</p>
<p>Suppose you want to replace some $STRING_ONE with $STRING_TWO in files and folders&#8217; names (rename them) and in all files&#8217; contents for some given directory $BASEDIR.</p>
<pre class="brush: bash;">
cd $BASEDIR
</pre>
<p>To rename all files and folders by replacing $STRING_ONE to $STRING_TWO:</p>
<pre class="brush: bash;">
find . -name &quot;*$STRING_ONE*&quot; -print \
 | sed &quot;h; s/$STRING_ONE\([^/]*\)$/$STRING_TWO\1/; H; g&quot; \
 | sed -n 'N; 1! G; $ p; h' | xargs -L 2 mv
</pre>
<p>To replace string $STRING_ONE with $STRING_TWO in all files:</p>
<pre class="brush: bash;">
grep -lr &quot;$STRING_ONE&quot; . \
 | xargs sed -i '' -e &quot;s/$STRING_ONE/$STRING_TWO/g&quot;
</pre>
<p>The second operation uses grep to select files that contain string to be replaced before actual replacement. This makes renaming more effective when there are a lot of files in the directory and only some of them contain $STRING_ONE, but there are a lot of such substrings to be replaced.</p>
<p>Code snippets were tested on Mac OS X 10.6.5.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makukha.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makukha.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makukha.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makukha.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makukha.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makukha.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makukha.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makukha.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makukha.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makukha.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makukha.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makukha.wordpress.com/221/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makukha.wordpress.com/221/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makukha.wordpress.com/221/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=221&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://makukha.wordpress.com/2010/12/09/replacing-substrings-with-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/09019bd79afbc7df7285db29b67148db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">makukha</media:title>
		</media:content>
	</item>
		<item>
		<title>Typical .hgignore file for LaTeX project</title>
		<link>http://makukha.wordpress.com/2010/11/10/typical-hgignore-file-for-latex-project/</link>
		<comments>http://makukha.wordpress.com/2010/11/10/typical-hgignore-file-for-latex-project/#comments</comments>
		<pubDate>Wed, 10 Nov 2010 10:23:05 +0000</pubDate>
		<dc:creator>makukha</dc:creator>
				<category><![CDATA[Typesetting]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[Mercurial]]></category>

		<guid isPermaLink="false">http://makukha.wordpress.com/?p=199</guid>
		<description><![CDATA[When working on TeX documents, version control can help very much. I use Mercurial. When compiling a final document, typesetting engine (e.g. pdflatex) produces a lot of intermediate files, which should not be version controlled. One way to exclude such files from version control is Mercurial&#8217;s .hgignore file that should be placed in repository root. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=199&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>When working on TeX documents, version control can help very much. I use Mercurial.</p>
<p>When compiling a final document, typesetting engine (e.g. pdflatex) produces a lot of intermediate files, which should not be version controlled. One way to exclude such files from version control is Mercurial&#8217;s .hgignore file that should be placed in repository root.</p>
<p>Here&#8217;s such an example file that tells hg to ignore TeX intermediate stuff:</p>
<pre class="brush: plain;">
syntax: glob

*.aux
*.bbl
*.blg
*.brf
*.log
*.out
*.synctex.gz
*.thm
*.toc
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makukha.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makukha.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makukha.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makukha.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makukha.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makukha.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makukha.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makukha.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makukha.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makukha.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makukha.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makukha.wordpress.com/199/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makukha.wordpress.com/199/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makukha.wordpress.com/199/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=199&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://makukha.wordpress.com/2010/11/10/typical-hgignore-file-for-latex-project/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/09019bd79afbc7df7285db29b67148db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">makukha</media:title>
		</media:content>
	</item>
		<item>
		<title>Customizing LaTeX.tmbundle</title>
		<link>http://makukha.wordpress.com/2009/10/30/customizing-latex-tmbundle/</link>
		<comments>http://makukha.wordpress.com/2009/10/30/customizing-latex-tmbundle/#comments</comments>
		<pubDate>Fri, 30 Oct 2009 08:50:15 +0000</pubDate>
		<dc:creator>makukha</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Typesetting]]></category>
		<category><![CDATA[LaTeX]]></category>
		<category><![CDATA[MetaPost]]></category>
		<category><![CDATA[TextMate]]></category>

		<guid isPermaLink="false">http://makukha.wordpress.com/?p=41</guid>
		<description><![CDATA[TextMate is a great Mac OS X plain text editor with many features and supported coding languages. LaTeX support (syntax highlighting, commands, code snippets, etc.) in TextMate is provided by the LaTeX Bundle, that is contained in any TextMate installation by default. LaTeX bundle defines a default shortcut Command+R to show a typesetting status dialog [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=41&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://macromates.com">TextMate</a> is a great Mac OS X plain text editor with many features and supported coding languages. <a href="www.latex-project.org">LaTeX</a> support (syntax highlighting, commands, code snippets, etc.) in TextMate is provided by the LaTeX Bundle, that is contained in any TextMate installation by default.</p>
<p>LaTeX bundle defines a default shortcut Command+R to show a typesetting status dialog window with some buttons for additional actions – compiling bibliography, building index, previewing, etc. I wanted to have an additional action button to run MetaPost on the file with .mp extension:</p>
<p><img src="http://makukha.files.wordpress.com/2009/10/latextmbundle.png?w=596&#038;h=63" alt="latextmbundle" title="latextmbundle" width="596" height="63" class="aligncenter size-full wp-image-132" /></p>
<p>To get the desired functionality, LaTeX bundle should be checked out from TextMate SVN and patched. Save the patch <code>Latex.tmbundle.diff</code> (file contents is listed below) to your Desktop and run the following commands in the Terminal:</p>
<pre class="brush: bash;">
$ cd ~/Desktop
$ svn co http://svn.textmate.org/trunk/Bundles/Latex.tmbundle
$ patch -p1 -d Latex.tmbundle &lt; Latex.tmbundle.diff
</pre>
<p>To install updated LaTeX bundle into TextMate, simply double-click patched <code>Latex.tmbundle</code>, press &#8220;Update&#8221; in the dialog window. &#8220;Bundle Editor&#8221; TextMate window will be displayed, you may just close it.</p>
<p>That&#8217;s all. Your modified <code>Latex.tmbundle</code> was moved to <code>~/Library/Application&nbsp;Support/TextMate/Pristine&nbsp;Copy/Bundles</code> and installed.</p>
<h3>Latex.tmbundle.diff</h3>
<p><span id="more-41"></span></p>
<p>The patch below was tested with TextMate 1.5.8, <code>Latex.tmbundle</code> SVN revision 11795 and LaTeX and MetaPost from <a href="http://www.tug.org/mactex">MacTeX-2008</a>.</p>
<pre class="brush: plain;">
diff -Naur Latex.tmbundle/Support/bin/texMate.py Latex.modified.tmbundle/Support/bin/texMate.py
--- Latex.tmbundle/Support/bin/texMate.py	2009-10-30 18:25:23.000000000 +0200
+++ Latex.modified.tmbundle/Support/bin/texMate.py	2009-10-30 18:26:29.000000000 +0200
@@ -140,6 +140,29 @@
         stat = runObj.wait()
     return stat,fatal,error,warning

+def run_metapost(mpostfile=None,texfile=None,verbose=False):
+    &quot;&quot;&quot;Determine targets and run the metapost command&quot;&quot;&quot;
+    # find all the mp files.
+    fatal,err,warn = 0,0,0
+    mpfiles = []
+    if texfile:
+        basename = texfile[:texfile.rfind('.')]
+    if mpostfile == None:
+        mpfiles = [f[:f.rfind('.mp')] for f in os.listdir('.') if re.search('\.mp$',f) &gt; 0]
+    else:
+        mpfiles = [mpostfile]
+    for f in mpfiles:
+        print '&lt;h4&gt;Processing: %s &lt;/h4&gt;' % f
+        runObj = Popen('mpost -interaction=nonstopmode -tex=latex '+shell_quote(f),
+                       shell=True,stdout=PIPE,stdin=PIPE,stderr=STDOUT,close_fds=True)
+        p = MetaPostParser(runObj.stdout,verbose)
+        f,e,w = p.parseStream()
+        fatal|=f
+        err+=e
+        warn+=w
+        stat = runObj.wait()
+    return stat,fatal,err,warn
+
 def findViewerPath(viewer,pdfFile,fileName):
     &quot;&quot;&quot;Use the find_app command to ensure that the viewer is installed in the system
        For apps that support pdfsync search in pdf set up the command to go to the part of
@@ -572,6 +595,9 @@
     elif texCommand == 'index':
         texStatus, isFatal, numErrs, numWarns = run_makeindex(fileName)

+    elif texCommand == 'metapost':
+        texStatus, isFatal, numErrs, numWarns = run_metapost(texfile=fileName)
+
     elif texCommand == 'clean':
         texCommand = 'latexmk.pl -CA '
         runObj = Popen(texCommand,shell=True,stdout=PIPE,stdin=PIPE,stderr=STDOUT,close_fds=True)
@@ -661,6 +687,7 @@
         print '&lt;input type=&quot;button&quot; value=&quot;Re-Run %s&quot; onclick=&quot;runLatex(); return false&quot; /&gt;' % engine
         print '&lt;input type=&quot;button&quot; value=&quot;Run BibTeX&quot; onclick=&quot;runBibtex(); return false&quot; /&gt;'
         print '&lt;input type=&quot;button&quot; value=&quot;Run Makeindex&quot; onclick=&quot;runMakeIndex(); return false&quot; /&gt;'
+        print '&lt;input type=&quot;button&quot; value=&quot;Run MetaPost&quot; onclick=&quot;runMetaPost(); return false&quot; /&gt;'
         print '&lt;input type=&quot;button&quot; value=&quot;Clean up&quot; onclick=&quot;runClean(); return false&quot; /&gt;'
         if viewer == 'TextMate':
             pdfFile = fileNoSuffix+'.pdf'
diff -Naur Latex.tmbundle/Support/bin/texlib.js Latex.modified.tmbundle/Support/bin/texlib.js
--- Latex.tmbundle/Support/bin/texlib.js	2009-10-30 18:25:23.000000000 +0200
+++ Latex.modified.tmbundle/Support/bin/texlib.js	2009-10-30 18:26:29.000000000 +0200
@@ -49,6 +49,10 @@
     runCommand('index')
 };

+function runMetaPost(){
+    runCommand('metapost')
+};
+
 function runView(){
     runCommand('view')
 };
diff -Naur Latex.tmbundle/Support/bin/texparser.py Latex.modified.tmbundle/Support/bin/texparser.py
--- Latex.tmbundle/Support/bin/texparser.py	2009-10-30 18:25:23.000000000 +0200
+++ Latex.modified.tmbundle/Support/bin/texparser.py	2009-10-30 18:26:29.000000000 +0200
@@ -122,6 +122,20 @@
         self.done = True
         print '&lt;/div&gt;'

+class MetaPostParser(TexParser):
+    &quot;&quot;&quot;Parse and format Error Messages from metapost&quot;&quot;&quot;
+    def __init__(self, btex, verbose):
+        super(MetaPostParser, self).__init__(btex,verbose)
+        self.patterns += [
+            (re.compile('^This is MetaPost'), self.info),
+            (re.compile('^! '), self.error),
+            (re.compile('^Transcript written'), self.finishRun)
+        ]
+
+    def finishRun(self,m,line):
+        self.done = True
+        print '&lt;/div&gt;'
+
 class LaTexParser(TexParser):
     &quot;&quot;&quot;Parse Output From Latex&quot;&quot;&quot;
     def __init__(self, input_stream, verbose, fileName):
</pre>
<p>The code above should be saved as <code>Latex.tmbundle.diff</code> file.</p>
<h3>Patch details</h3>
<p>Here are some details on the code, added by <code>Latex.tmbundle.diff</code>.</p>
<p>The diff file above customizes 3 files in <code>Latex.tmbundle</code> package: <code>texparser.py</code>, <code>texMate.py</code>, and <code>texlib.js</code>, located in <code>Latex.tmbundle/Support/bin</code>.</p>
<p>According to <code>Latex.tmbundle</code> coding style, the main functionality and dialog window modifications should be placed to <code>texMate.py</code>; MetaPost output messages parser should be added to <code>texparser.py</code>; and JavaScript function, wiring <code>texMate.py</code> functionality to dialog window button, should be added to <code>texlib.js</code> file.</p>
<h4>Messages parser: texparser.py</h4>
<p>The following code provides a very simple MetaPost error messages parser:</p>
<pre class="brush: python;">
class MetaPostParser(TexParser):
    &quot;&quot;&quot;Parse and format Error Messages from metapost&quot;&quot;&quot;
    def __init__(self, btex, verbose):
        super(MetaPostParser, self).__init__(btex,verbose)
        self.patterns += [
            (re.compile('^This is MetaPost'), self.info),
            (re.compile('^! '), self.error),
            (re.compile('^Transcript written'), self.finishRun)
        ]

    def finishRun(self,m,line):
        self.done = True
        print '&lt;/div&gt;'
</pre>
<h4>Functionality and template: texMate.py</h4>
<p>A new function should be defined to determine target MetaPost .mp files (files) and run <code>mpost</code> command on them:</p>
<pre class="brush: python;">
def run_metapost(mpostfile=None,texfile=None,verbose=False):
    &quot;&quot;&quot;Determine targets and run the metapost command&quot;&quot;&quot;
    # find all the mp files.
    fatal,err,warn = 0,0,0
    mpfiles = []
    if texfile:
        basename = texfile[:texfile.rfind('.')]
    if mpostfile == None:
        mpfiles = [f[:f.rfind('.mp')] for f in os.listdir('.') if re.search('\.mp$',f) &gt; 0]
    else:
        mpfiles = [mpostfile]
    for f in mpfiles:
        print '&lt;h4&gt;Processing: %s &lt;/h4&gt;' % f
        runObj = Popen('mpost -interaction=nonstopmode -tex=latex '+shell_quote(f),
                       shell=True,stdout=PIPE,stdin=PIPE,stderr=STDOUT,close_fds=True)
        p = MetaPostParser(runObj.stdout,verbose)
        f,e,w = p.parseStream()
        fatal|=f
        err+=e
        warn+=w
        stat = runObj.wait()
    return stat,fatal,err,warn
</pre>
<p>The following piece of code provides additional command-line argument <code>metapost</code>:</p>
<pre class="brush: python;">
    elif texCommand == 'metapost':
        texStatus, isFatal, numErrs, numWarns = run_metapost(texfile=fileName)
</pre>
<p>And finally, the typesetting dialog window template customization:</p>
<pre class="brush: python;">
        print '&lt;input type=&quot;button&quot; value=&quot;Run MetaPost&quot; onclick=&quot;runMetaPost(); return false&quot; /&gt;'
</pre>
<h4>JavaScript layer: texlib.js</h4>
<p>Just add a function that is invoked when the &#8220;Run MetaPost&#8221; button is pressed:</p>
<pre class="brush: jscript;">
function runMetaPost(){
    runCommand('metapost')
};
</pre>
<h4>P.S.</h4>
<p>WordPress <code>sourcecode</code> shortcodes are cool!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makukha.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makukha.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makukha.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makukha.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makukha.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makukha.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makukha.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makukha.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makukha.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makukha.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makukha.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makukha.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makukha.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makukha.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=41&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://makukha.wordpress.com/2009/10/30/customizing-latex-tmbundle/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/09019bd79afbc7df7285db29b67148db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">makukha</media:title>
		</media:content>

		<media:content url="http://makukha.files.wordpress.com/2009/10/latextmbundle.png" medium="image">
			<media:title type="html">latextmbundle</media:title>
		</media:content>
	</item>
		<item>
		<title>Коды УДК</title>
		<link>http://makukha.wordpress.com/2009/10/03/%d0%ba%d0%be%d0%b4%d1%8b-%d1%83%d0%b4%d0%ba/</link>
		<comments>http://makukha.wordpress.com/2009/10/03/%d0%ba%d0%be%d0%b4%d1%8b-%d1%83%d0%b4%d0%ba/#comments</comments>
		<pubDate>Sat, 03 Oct 2009 20:42:11 +0000</pubDate>
		<dc:creator>makukha</dc:creator>
				<category><![CDATA[Science]]></category>
		<category><![CDATA[УДК]]></category>

		<guid isPermaLink="false">http://makukha.wordpress.com/?p=4</guid>
		<description><![CDATA[Список некоторых кодов универсальной десятичной классификации. Классификатор УДК на русском языке: http://teacode.com/online/udc. Сервис ВИНИТИ для расшифровки формул УДК: http://scs.viniti.ru/udc. Список кодов 00 – Общие вопросы науки и культуры 001 – Наука в целом. Науковедение. Организация умственного труда 001.5 – Научные теории, гипотезы и системы. Установление зависимости между научными фактами 001.51 – Методы построения системы 001.8 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=4&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Список некоторых кодов универсальной десятичной классификации.</p>
<ol>
<li>Классификатор УДК на русском языке: <a href="http://teacode.com/online/udc">http://teacode.com/online/udc</a>.</li>
<li>Сервис ВИНИТИ для расшифровки формул УДК: <a href="http://scs.viniti.ru/udc">http://scs.viniti.ru/udc</a>.</li>
</ol>
<h3>Список кодов</h3>
<p><span id="more-4"></span></p>
<ul>
<li>00 – Общие вопросы науки и культуры
<ul>
<li>001 – Наука в целом. Науковедение. Организация умственного труда
<ul>
<li>001.5 – Научные теории, гипотезы и системы. Установление зависимости между научными фактами
<ul>
<li><strong>001.51</strong> – Методы построения системы</li>
</ul>
</li>
<li>001.8 – Общая методология. Научные и технические методы исследований, изучения, поисков и дискуссий. Научный анализ и синтез
<ul>
<li>001.89 – Организация науки и научно-исследовательских работ
<ul>
<li>001.891 – Научно-исследовательские работы. Методы исследований
<ul>
<li>001.891.5 – Практические, активные методы исследований. Эксперименты. Пробы. Испытания
<ul>
<li><strong>001.891.57</strong> – Моделирование (исследования, испытания на моделях)</li>
</ul>
</li>
</ul>
</li>
<li><strong>001.895</strong> – Нововведения (новшевства). Инновации</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>004 – Информационные технологии. Компьютерные технологии. Теория вычислительных машин и систем
<ul>
<li><strong>004.5</strong> – Человеко-машинное взаимодействие. Человеко-машинный интерфейс. Пользовательский интерфейс. Операционная среда пользователя</li>
<li>004.8 – Искусственный интеллект
<ul>
<li>004.82 – Представление знаний
<ul>
<li><strong>004.822</strong> – Сети знаний. Семантические сети</li>
</ul>
</li>
<li>004.89 – Прикладные системы искусственного интеллекта. Интеллектуальные системы, обладающие знаниями
<ul>
<li><strong>004.891</strong> – Экспертные системы</li>
<li><strong>004.896</strong> – Искусственный интеллект в промышленных системах. Интеллектуальные САПР и АСУП. Интеллектуальные средства робототехники</li>
</ul>
</li>
<li>004.9 – Прикладные информационные (компьютерные) технологии
<ul>
<li>004.94 – Компьютерное моделирование
<ul>
<li><strong>004.942</strong> – Исследование поведения объекта на основе его математической модели</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>007 – Деятельность и организация. Общая теория связи и управления (кибернетика)
<ul>
<li>007.5 – Самодействующие системы
<ul>
<li><strong>007.51</strong> – содержащие человека в качестве звена системы</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>30 – Теория, методология и методы общественных наук в целом. Социография
<ul>
<li>303 – Методы общественных наук
<ul>
<li>303.7 – Методы анализа
<ul>
<li>303.73 – Уровни анализа
<ul>
<li>303.732 – Системный уровень. Системный анализ
<ul>
<li><strong>303.732.4</strong> – Системный анализ</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>51 – Математика
<ul>
<li>510 – Фундаментальные и общие проблемы математики. Основания математики, математическая логика и т.п.
<ul>
<li>510.6 – Математическая логика
<ul>
<li>510.63 – Логические и логико-предметные теории. Классические (традиционные) логические системы
<ul>
<li>510.635 – Логика предикатов и исчисление предикатов
<ul>
<li>510.635.3 – Расширенное исчисление предикатов
<ul>
<li><strong>510.635.32</strong> – Теория типов</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>519.7 – Математическая кибернетика
<ul>
<li>519.71 – Теория управляющих систем (математические вопросы)
<ul>
<li>519.711 – Общие вопросы теории управляющих систем
<ul>
<li><strong>519.711.7</strong> – Теория сетей</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>519.8 – Исследование операций
<ul>
<li>519.81 – Теория полезности и принятия решений
<ul>
<li><strong>519.816</strong> – Теория принятия решений</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<li>68 – Различные отрасли промышленности и ремесла, производящие конечную продукцию. Точная механика. Лёгкая промышленность
<ul>
<li>681 – Точная механика
<ul>
<li>681.5 – Автоматика. Теория, методы расчета и аппаратура систем автоматического управления и регулирования. Техническая кибернетика. Техника автоматизации
<ul>
<li>681.51 – Системы автоматического управления (САУ). Кибернетические характеристики систем. Системы по принципу действия
<ul>
<li><strong>681.518</strong> – Информационные системы в автоматическом управлении</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
</ul>
<h3>Примеры</h3>
<ul>
<li>Семантические сети в теории принятия решений – 004.822:519.816.</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/makukha.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/makukha.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/makukha.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/makukha.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/makukha.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/makukha.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/makukha.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/makukha.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/makukha.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/makukha.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/makukha.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/makukha.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/makukha.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/makukha.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=makukha.wordpress.com&amp;blog=9758089&amp;post=4&amp;subd=makukha&amp;ref=&amp;feed=1" width="1" height="1" /><div class="sharedaddy"></div>]]></content:encoded>
			<wfw:commentRss>http://makukha.wordpress.com/2009/10/03/%d0%ba%d0%be%d0%b4%d1%8b-%d1%83%d0%b4%d0%ba/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/09019bd79afbc7df7285db29b67148db?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">makukha</media:title>
		</media:content>
	</item>
	</channel>
</rss>
