<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Configuration on GalleyPDF</title><link>https://munepi.github.io/Galley/docs/configuration/</link><description>Recent content in Configuration on GalleyPDF</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://munepi.github.io/Galley/docs/configuration/index.xml" rel="self" type="application/rss+xml"/><item><title>Inverse Search Editor</title><link>https://munepi.github.io/Galley/docs/configuration/inverse-search/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://munepi.github.io/Galley/docs/configuration/inverse-search/</guid><description>&lt;h1 id="inverse-search-editor-selection"&gt;Inverse Search Editor Selection&lt;a class="anchor" href="#inverse-search-editor-selection"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Select your preferred editor for Inverse Search (&lt;code&gt;Cmd + Click&lt;/code&gt;) from the
&lt;strong&gt;SyncTeX&lt;/strong&gt; menu in Galley:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Emacs&lt;/strong&gt; — Uses &lt;code&gt;emacsclient&lt;/code&gt;. (Default.)
Auto-searches:
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;/Applications/Emacs.app/.../emacsclient&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/opt/homebrew/bin/emacsclient&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;code&gt;/usr/local/bin/emacsclient&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Visual Studio Code&lt;/strong&gt; — Uses the native &lt;code&gt;vscode://&lt;/code&gt; URL scheme.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Custom&lt;/strong&gt; — Uses a user-defined shell command. See
&lt;a href="https://munepi.github.io/Galley/docs/configuration/custom-editor/"&gt;Custom Editor Command&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;</description></item><item><title>Custom Editor Command</title><link>https://munepi.github.io/Galley/docs/configuration/custom-editor/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://munepi.github.io/Galley/docs/configuration/custom-editor/</guid><description>&lt;h1 id="custom-editor-command"&gt;Custom Editor Command&lt;a class="anchor" href="#custom-editor-command"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Set your custom command via Terminal using &lt;code&gt;%file&lt;/code&gt; and &lt;code&gt;%line&lt;/code&gt; as
placeholders:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Example for VSCode (CLI)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;defaults write com.github.munepi.galley customEditorCommand &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;/opt/homebrew/bin/code --goto &amp;#39;%file&amp;#39;:%line&amp;#34;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Example for Sublime Text&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;defaults write com.github.munepi.galley customEditorCommand &lt;span class="se"&gt;\
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt; &lt;span class="s2"&gt;&amp;#34;/opt/homebrew/bin/subl &amp;#39;%file&amp;#39;:%line&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;After setting this, switch the inverse search target to &lt;strong&gt;Custom&lt;/strong&gt; in the
SyncTeX menu (see &lt;a href="https://munepi.github.io/Galley/docs/configuration/inverse-search/"&gt;Inverse Search&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>Emacsclient Path</title><link>https://munepi.github.io/Galley/docs/configuration/emacsclient-path/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://munepi.github.io/Galley/docs/configuration/emacsclient-path/</guid><description>&lt;h1 id="specifying-the-emacsclient-path"&gt;Specifying the Emacsclient Path&lt;a class="anchor" href="#specifying-the-emacsclient-path"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;If your &lt;code&gt;emacsclient&lt;/code&gt; binary is not in one of the auto-searched locations
(see &lt;a href="https://munepi.github.io/Galley/docs/configuration/inverse-search/"&gt;Inverse Search&lt;/a&gt;), point Galley at it
explicitly:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;defaults write com.github.munepi.galley emacsclientPath &lt;span class="s2"&gt;&amp;#34;/path/to/your/emacsclient&amp;#34;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item><item><title>Debug Mode</title><link>https://munepi.github.io/Galley/docs/configuration/debug-mode/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://munepi.github.io/Galley/docs/configuration/debug-mode/</guid><description>&lt;h1 id="debug-mode"&gt;Debug Mode&lt;a class="anchor" href="#debug-mode"&gt;#&lt;/a&gt;&lt;/h1&gt;
&lt;p&gt;Enable the HUD to verify SyncTeX coordinate data or troubleshoot Forward
Search:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Permanent Enable&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;defaults write com.github.munepi.galley debugMode -bool &lt;span class="nb"&gt;true&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Temporary Enable (Terminal)&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;/Applications/GalleyPDF.app/Contents/MacOS/GalleyPDF /path/to/document.pdf -debugMode YES&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;To disable the permanent setting:&lt;/p&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="cl"&gt;defaults delete com.github.munepi.galley debugMode&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>