Fix build
This commit is contained in:
parent
30c2ba47c9
commit
16798a2a23
@ -21,10 +21,8 @@ function make_pdf {
|
|||||||
infile="$SONGS_HOME/$1"
|
infile="$SONGS_HOME/$1"
|
||||||
indir=$(dirname "$1")
|
indir=$(dirname "$1")
|
||||||
pdf_outdir="$SONGS_HOME/build/pdf/${indir#songs/}"
|
pdf_outdir="$SONGS_HOME/build/pdf/${indir#songs/}"
|
||||||
#aux_outdir="`realpath "aux"`/${indir#songs/}"
|
|
||||||
|
|
||||||
mkdir -p "$pdf_outdir"
|
mkdir -p "$pdf_outdir"
|
||||||
#mkdir -p "$aux_outdir"
|
|
||||||
|
|
||||||
TEXINPUTS=$indir: pdflatex \
|
TEXINPUTS=$indir: pdflatex \
|
||||||
-interaction=nonstopmode \
|
-interaction=nonstopmode \
|
||||||
@ -46,6 +44,5 @@ function make_packet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
setup_pdflatex
|
setup_pdflatex
|
||||||
#make_pdf "$1"
|
|
||||||
|
|
||||||
make_packet "packets/pha202105.tex"
|
make_packet "$1"
|
||||||
|
@ -1,30 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>NSServices</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>NSBackgroundColorName</key>
|
|
||||||
<string>background</string>
|
|
||||||
<key>NSIconName</key>
|
|
||||||
<string>NSActionTemplate</string>
|
|
||||||
<key>NSMenuItem</key>
|
|
||||||
<dict>
|
|
||||||
<key>default</key>
|
|
||||||
<string>ug2leadsheets</string>
|
|
||||||
</dict>
|
|
||||||
<key>NSMessage</key>
|
|
||||||
<string>runWorkflowAsService</string>
|
|
||||||
<key>NSReturnTypes</key>
|
|
||||||
<array>
|
|
||||||
<string>public.utf8-plain-text</string>
|
|
||||||
</array>
|
|
||||||
<key>NSSendTypes</key>
|
|
||||||
<array>
|
|
||||||
<string>public.utf8-plain-text</string>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Binary file not shown.
Before Width: | Height: | Size: 144 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB |
@ -1,147 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
|
||||||
<plist version="1.0">
|
|
||||||
<dict>
|
|
||||||
<key>AMApplicationBuild</key>
|
|
||||||
<string>509</string>
|
|
||||||
<key>AMApplicationVersion</key>
|
|
||||||
<string>2.10</string>
|
|
||||||
<key>AMDocumentVersion</key>
|
|
||||||
<string>2</string>
|
|
||||||
<key>actions</key>
|
|
||||||
<array>
|
|
||||||
<dict>
|
|
||||||
<key>action</key>
|
|
||||||
<dict>
|
|
||||||
<key>AMAccepts</key>
|
|
||||||
<dict>
|
|
||||||
<key>Container</key>
|
|
||||||
<string>List</string>
|
|
||||||
<key>Optional</key>
|
|
||||||
<true/>
|
|
||||||
<key>Types</key>
|
|
||||||
<array>
|
|
||||||
<string>com.apple.applescript.object</string>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
<key>AMActionVersion</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>AMApplication</key>
|
|
||||||
<array>
|
|
||||||
<string>Automator</string>
|
|
||||||
</array>
|
|
||||||
<key>AMParameterProperties</key>
|
|
||||||
<dict>
|
|
||||||
<key>source</key>
|
|
||||||
<dict/>
|
|
||||||
</dict>
|
|
||||||
<key>AMProvides</key>
|
|
||||||
<dict>
|
|
||||||
<key>Container</key>
|
|
||||||
<string>List</string>
|
|
||||||
<key>Types</key>
|
|
||||||
<array>
|
|
||||||
<string>com.apple.applescript.object</string>
|
|
||||||
</array>
|
|
||||||
</dict>
|
|
||||||
<key>ActionBundlePath</key>
|
|
||||||
<string>/System/Library/Automator/Run JavaScript.action</string>
|
|
||||||
<key>ActionName</key>
|
|
||||||
<string>Run JavaScript</string>
|
|
||||||
<key>ActionParameters</key>
|
|
||||||
<dict>
|
|
||||||
<key>source</key>
|
|
||||||
<string>// To make this work as a keyboard shortcut see:
// https://apple.stackexchange.com/a/276839
function run(input, parameters) {
var out = [];
var a = input[0].split("\n");
var chords = null;
var chordsWidth = 0;
for (var i = 0; i < a.length; i++) {
var l = a[i].replace(/\s+$/, '');
if (l.length == 0) {
chords = null;
out.push("");
continue;
}
if (chords == null) {
chords = [];
var re = /[\w#]+/g;
while ((match = re.exec(l)) != null) {
chords.push(match);
}
chordsWidth = l.length;
} else {
l = l.padEnd(chordsWidth, ' ');
for (var j = chords.length - 1; j >= 0; j--) {
var c = chords[j];
l = [l.slice(0, c.index), "^{" + c[0] + "}", l.slice(c.index)].join('');
}
out.push(l + ' \\\\');
chords = null;
}
}
return out.join("\n");
}</string>
|
|
||||||
</dict>
|
|
||||||
<key>BundleIdentifier</key>
|
|
||||||
<string>com.apple.Automator.RunJavaScript</string>
|
|
||||||
<key>CFBundleVersion</key>
|
|
||||||
<string>1.0</string>
|
|
||||||
<key>CanShowSelectedItemsWhenRun</key>
|
|
||||||
<false/>
|
|
||||||
<key>CanShowWhenRun</key>
|
|
||||||
<true/>
|
|
||||||
<key>Category</key>
|
|
||||||
<array>
|
|
||||||
<string>AMCategoryUtilities</string>
|
|
||||||
</array>
|
|
||||||
<key>Class Name</key>
|
|
||||||
<string>RunJavaScriptAction</string>
|
|
||||||
<key>InputUUID</key>
|
|
||||||
<string>555334C7-BCA3-4076-93AF-83AFBC032149</string>
|
|
||||||
<key>Keywords</key>
|
|
||||||
<array>
|
|
||||||
<string>Run</string>
|
|
||||||
<string>JavaScript</string>
|
|
||||||
</array>
|
|
||||||
<key>OutputUUID</key>
|
|
||||||
<string>49501A03-B942-40B3-B7FF-F8FCAB781925</string>
|
|
||||||
<key>UUID</key>
|
|
||||||
<string>DF3317F5-9683-4C3A-A867-C4ADAD810C4D</string>
|
|
||||||
<key>UnlocalizedApplications</key>
|
|
||||||
<array>
|
|
||||||
<string>Automator</string>
|
|
||||||
</array>
|
|
||||||
<key>arguments</key>
|
|
||||||
<dict>
|
|
||||||
<key>0</key>
|
|
||||||
<dict>
|
|
||||||
<key>default value</key>
|
|
||||||
<string>function run(input, parameters) {
|
|
||||||
|
|
||||||
// Your script goes here
|
|
||||||
|
|
||||||
return input;
|
|
||||||
}</string>
|
|
||||||
<key>name</key>
|
|
||||||
<string>source</string>
|
|
||||||
<key>required</key>
|
|
||||||
<string>0</string>
|
|
||||||
<key>type</key>
|
|
||||||
<string>0</string>
|
|
||||||
<key>uuid</key>
|
|
||||||
<string>0</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
<key>isViewVisible</key>
|
|
||||||
<integer>1</integer>
|
|
||||||
<key>location</key>
|
|
||||||
<string>533.250000:548.000000</string>
|
|
||||||
<key>nibPath</key>
|
|
||||||
<string>/System/Library/Automator/Run JavaScript.action/Contents/Resources/Base.lproj/main.nib</string>
|
|
||||||
</dict>
|
|
||||||
<key>isViewVisible</key>
|
|
||||||
<integer>1</integer>
|
|
||||||
</dict>
|
|
||||||
</array>
|
|
||||||
<key>connectors</key>
|
|
||||||
<dict/>
|
|
||||||
<key>workflowMetaData</key>
|
|
||||||
<dict>
|
|
||||||
<key>applicationBundleIDsByPath</key>
|
|
||||||
<dict/>
|
|
||||||
<key>applicationPaths</key>
|
|
||||||
<array/>
|
|
||||||
<key>inputTypeIdentifier</key>
|
|
||||||
<string>com.apple.Automator.text</string>
|
|
||||||
<key>outputTypeIdentifier</key>
|
|
||||||
<string>com.apple.Automator.text</string>
|
|
||||||
<key>presentationMode</key>
|
|
||||||
<integer>11</integer>
|
|
||||||
<key>processesInput</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
<key>serviceInputTypeIdentifier</key>
|
|
||||||
<string>com.apple.Automator.text</string>
|
|
||||||
<key>serviceOutputTypeIdentifier</key>
|
|
||||||
<string>com.apple.Automator.text</string>
|
|
||||||
<key>serviceProcessesInput</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
<key>systemImageName</key>
|
|
||||||
<string>NSActionTemplate</string>
|
|
||||||
<key>useAutomaticInputType</key>
|
|
||||||
<integer>0</integer>
|
|
||||||
<key>workflowTypeIdentifier</key>
|
|
||||||
<string>com.apple.Automator.servicesMenu</string>
|
|
||||||
</dict>
|
|
||||||
</dict>
|
|
||||||
</plist>
|
|
Loading…
Reference in New Issue
Block a user