{"id":5871,"date":"2016-08-29T12:24:29","date_gmt":"2016-08-29T16:24:29","guid":{"rendered":"http:\/\/blog.originlab.com\/?p=5871"},"modified":"2022-09-21T04:41:06","modified_gmt":"2022-09-21T08:41:06","slug":"performing-a-little-housekeeping-for-origins-latex-app","status":"publish","type":"post","link":"https:\/\/blog.originlab.com\/ja\/performing-a-little-housekeeping-for-origins-latex-app","title":{"rendered":"Performing a Little Housekeeping for Origin&#8217;s LaTeX App"},"content":{"rendered":"<h4>\u306f\u3058\u3081\u306b<\/h4>\n<p>Origin&#8217;s <a title=\"View LaTeX App page on File Exchange\" href=\"http:\/\/originlab.com\/fileExchange\/details.aspx?fid=221\" target=\"_blank\" rel=\"noopener\">LaTeX App<\/a> is a great way to add equations to graphs. The App utilizes <a title=\"Go to MiKTeX home page\" href=\"http:\/\/miktex.org\/\" target=\"_blank\" rel=\"noopener\">MiKTeX<\/a> as the typesetting engine involved in generating equations that are placed on graphs. In the process of generating an equation, MiKTeX and the LaTeX App itself must create a number of temporary files. These files are saved in a directory typically located on your hard drive at <code><code>C:\\Users\\<\/code><\/code><em>username<\/em><code><code>\\AppData\\Local\\OriginLab\\<\/code><\/code><em>XX<\/em><code>\\TMP\\textemp<\/code> (where <code><code><\/code><\/code><em>username<\/em> is your actual user name and <code><code><\/code><\/code><em>XX<\/em> is your version of Origin (e.g. for Origin 2020,\u00a0\u00a0<em>XX<\/em>\u00a0 =\u00a0<code><code><\/code><\/code><em>97<\/em>).<\/p>\n<p>Very occasionally, you may run into an instance where the App may begin to have issues generating output with markup that is known to usually work correctly. When this happens, you may need to perform a little housekeeping by deleting the files in the temporary folder. Also over time, files can build up in the folder and you may want to remove them in order to recover the hard disk space they use. In this blog post, I will show you how to delete these files. Deleting the files will have no adverse effect on your existing LaTeX equations and also will not effect future usage of the App.<\/p>\n<p><em>Note: If you don&#8217;t feel comfortable navigating your file system or deleting files, you should probably not continue.<\/em><\/p>\n<h4>Step 1. Exit Origin<\/h4>\n<p>If you are currently running Origin, exit (close) all running instances of the application.<\/p>\n<h4>Step 2. Navigate to the LaTeX App Temporary Folder<\/h4>\n<p>First you need to enable viewing &#8220;Hidden items&#8221; in <strong>Windows File Explorer<\/strong> by selecting the &#8220;View&#8221; tab in File Explorer and checking the &#8220;Hidden items&#8221; control. For Windows 8-10, see Figure 1 below. For Windows 7, please see <a title=\"Microsoft: Show hidden files\" href=\"http:\/\/windows.microsoft.com\/en-us\/windows\/show-hidden-files#show-hidden-files=windows-7\" target=\"_blank\" rel=\"noopener\">this reference<\/a>.<\/p>\n<figure id=\"attachment_5902\" aria-describedby=\"caption-attachment-5902\" style=\"width: 560px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer1a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5902\" src=\"http:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer1a.png\" alt=\"Figure 1 (click to enlarge)\" width=\"560\" height=\"372\" srcset=\"https:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer1a.png 732w, https:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer1a-300x199.png 300w\" sizes=\"auto, (max-width: 560px) 100vw, 560px\" \/><\/a><figcaption id=\"caption-attachment-5902\" class=\"wp-caption-text\">Figure 1 (click to enlarge)<\/figcaption><\/figure>\n<p>Now in File Explorer, navigate to the <code><code>C:\\Users\\<\/code><\/code><em>username<\/em><code><code>\\AppData\\Local\\OriginLab\\<\/code><\/code><em>XX<\/em><code>\\TMP\\textemp<\/code> folder (again where <code><code><\/code><\/code><em>username<\/em> is your user name and <code><code><\/code><\/code><em>XX<\/em> is your Origin version. \u00a0See Figure 2 below.<\/p>\n<figure id=\"attachment_5903\" aria-describedby=\"caption-attachment-5903\" style=\"width: 562px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer2a.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5903\" src=\"http:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer2a.png\" alt=\"Figure 2 (click to enlarge)\" width=\"562\" height=\"373\" srcset=\"https:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer2a.png 732w, https:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer2a-300x199.png 300w\" sizes=\"auto, (max-width: 562px) 100vw, 562px\" \/><\/a><figcaption id=\"caption-attachment-5903\" class=\"wp-caption-text\">Figure 2 (click to enlarge)<\/figcaption><\/figure>\n<h4>Step 3. Delete the Files<\/h4>\n<p>Once you have navigated to the <code>textemp<\/code> folder in File Explorer, select all files in the folder by first selecting one file and then using the CTRL+A keyboard shortcut (see Figure 3 below). B<em>e careful that you only select files in the <code>textemp<\/code> folder and not the folder itself or other files outside the folder! <\/em>Next, right-click to open the context menu and select &#8220;Delete&#8221; to delete all of the selected files. That&#8217;s all there is to it.<\/p>\n<figure id=\"attachment_5915\" aria-describedby=\"caption-attachment-5915\" style=\"width: 602px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer3a1.png\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5915\" src=\"http:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer3a1.png\" alt=\"Figure 3 (click to enlarge)\" width=\"602\" height=\"424\" srcset=\"https:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer3a1.png 790w, https:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/winexplorer3a1-300x211.png 300w\" sizes=\"auto, (max-width: 602px) 100vw, 602px\" \/><\/a><figcaption id=\"caption-attachment-5915\" class=\"wp-caption-text\">Figure 3 (click to enlarge)<\/figcaption><\/figure>\n<h4>\u307e\u3068\u3081<\/h4>\n<p>This simple housekeeping step does not need to be performed frequently. It really only needs to be done if the LaTeX App begins to have issues with output when using markup that is known to usually work correctly. However, it is also useful to run if you want to recover the hard disk space that MiKTeX and the App have used over an extended period of time.<\/p>\n<p>Thanks for reading!<\/p>","protected":false},"excerpt":{"rendered":"<p>Introduction Origin&#8217;s LaTeX App is a great way to add &hellip; <\/p>","protected":false},"author":492,"featured_media":5995,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_hide_featured_image":false,"_jetpack_featured_image_duplicate_dismissed":0,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[69],"tags":[],"class_list":["post-5871","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-latex-maps"],"jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p7DvU2-1wH","jetpack_likes_enabled":true,"jetpack_featured_media_url":"https:\/\/blog.originlab.com\/wp-content\/uploads\/2016\/03\/ltxhousekeepingfea.png","post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/posts\/5871","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/users\/492"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/comments?post=5871"}],"version-history":[{"count":37,"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/posts\/5871\/revisions"}],"predecessor-version":[{"id":17409,"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/posts\/5871\/revisions\/17409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/media\/5995"}],"wp:attachment":[{"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/media?parent=5871"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/categories?post=5871"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.originlab.com\/ja\/wp-json\/wp\/v2\/tags?post=5871"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}