<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>zrbabbler</author_name>
  <author_url>https://blog.hatena.ne.jp/zrbabbler/</author_url>
  <blog_title>マクロツイーター</blog_title>
  <blog_url>https://zrbabbler.hatenablog.com/</blog_url>
  <categories>
    <anon>TeX以外</anon>
  </categories>
  <description>（前回の続き） 以下は、texlua する際の自分用のメモ的な何か。 その Lua は texluaか 実行している Lua インタプリタが texlua か否かを判定する方法について。 kpse ライブラリ（Kpathsea のフロントエンド）があれば texlua だと判断する。if kpse then -- texlua である end kpse の“最初から定義済”は一応廃止予定に入っていないが、廃止の可能性がないともいえない。require() したライブラリが存在しないとその時点でエラー終了してしまうため、“単に判定”したい場合は例外処理を組み込む。pcall(function()…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fzrbabbler.hatenablog.com%2Fentry%2F20151012%2F1444612814&quot; title=&quot;TeX せずに Lua する LuaTeX の話(2) - マクロツイーター&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-10-12 10:20:14</published>
  <title>TeX せずに Lua する LuaTeX の話(2)</title>
  <type>rich</type>
  <url>https://zrbabbler.hatenablog.com/entry/20151012/1444612814</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
