This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %#!pdflatex | |
| \documentclass[pdftex,% b5paper%<- ISO B5 | |
| ]{article} | |
| \setlength{\paperwidth}{182mm}\setlength{\paperheight}{257mm}%<- JIS B5 | |
| \usepackage[cam,a4,center]{crop} | |
| \usepackage{pdfpages} | |
| \pagestyle{empty} | |
| \begin{document} | |
| \includepdf[pages=-,noautoscale]{foo-jisb5.pdf} | |
| \end{document} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # tlpdbinfo | |
| # | |
| # Copyright 2016 Munehiro Yamamoto <munepi@vinelinux.org> | |
| # This file is licensed under the GNU General Public License version 2 | |
| # or any later version. | |
| Usage(){ | |
| cat<<EOF | |
| $(basename $0) 2016-1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| % #!/opt/texlive/2015/bin/x86_64-darwin/uplatex texqa-d1971 && dvipdfmx texqa-d1971 | |
| \documentclass[uplatex,tombo,dvipdfmx,a5paper,papersize]{jsbook} | |
| \makeatletter | |
| \newlength{\stockheight} | |
| \newlength{\stockwidth} | |
| \@ifundefined{ifGin@setpagesize}{}{% | |
| \iftombow | |
| \stockheight\@@paperheight \stockwidth\@@paperwidth | |
| \fi} | |
| \makeatother |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %% modified ursfs.fd 1998/03/24 rsfs font definition file (jk) | |
| \DeclareFontFamily{U}{rsfs}{\skewchar\font127 } | |
| \DeclareFontShape{U}{rsfs}{m}{n}{% | |
| <5> <6> rsfs5 | |
| <7> rsfs7 | |
| <8> <9> <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> rsfs10 | |
| <-> rsfs10 | |
| }{} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| A-OTF A1 Mincho Std Bold A1MinchoStd-Bold /Library/Fonts/A-OTF-A1MinchoStd-Bold.otf | |
| A-OTF Akashi Std L AkashiStd-Light /Library/Fonts/A-OTF-AkashiStd-Light.otf | |
| A-OTF Antique Std AN1 AntiqueStd-AN1 /Library/Fonts/A-OTF-AntiqueStd-AN1.otf | |
| A-OTF Antique Std AN2 AntiqueStd-AN2 /Library/Fonts/A-OTF-AntiqueStd-AN2.otf | |
| A-OTF Antique Std AN3 AntiqueStd-AN3 /Library/Fonts/A-OTF-AntiqueStd-AN3.otf | |
| A-OTF Antique Std AN4 AntiqueStd-AN4 /Library/Fonts/A-OTF-AntiqueStd-AN4.otf | |
| A-OTF Antique Std AN B AntiqueStd-ANB /Library/Fonts/A-OTF-AntiqueStd-ANB.otf | |
| A-OTF Antique Std AN DB AntiqueStd-ANDB /Library/Fonts/A-OTF-AntiqueStd-ANDB.otf | |
| A-OTF Antique Std AN H AntiqueStd-ANH /Library/Fonts/A-OTF-AntiqueStd-ANH.otf | |
| A-OTF Antique Std AN L AntiqueStd-ANL /Library/Fonts/A-OTF-AntiqueStd-ANL.otf |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/osascript | |
| -- This apple script is a command line interface | |
| -- that can convert PDF to PDF/X-1a via Adobe PostScript with Adobe Acrobat X Pro. | |
| on run argv | |
| if (count of argv) < 1 then | |
| do shell script "echo " & "\"pdf2pdfx1a.applescript path/to/input.pdf\"" | |
| else | |
| set p to item 1 of argv | |
| set pcurrentFile to do shell script "[[ \"" & p & "\" = /* ]] && echo \"" & p & "\" || echo \"$PWD/\"" & p & "\"\"" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| set -e | |
| showHelp(){ | |
| echo usage: $(basename $0) path/to/input.pdf | |
| return 0 | |
| } | |
| if [ $# -ne 1 ]; then |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash -x | |
| set -e | |
| APPNAME=Llanfair | |
| rm -rf ${APPNAME}.app | |
| osacompile -o ${APPNAME}.app <<__APPLESCRIPT__ | |
| try |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| %!PS-Adobe-3.0 Resource-CMap | |
| %%DocumentNeededResources: ProcSet (CIDInit) | |
| %%IncludeResource: ProcSet (CIDInit) | |
| %%BeginResource: CMap (UniSourceHanSansCN-UTF16-H) | |
| %%Title: (UniSourceHanSansCN-UTF16-H Adobe Identity 0) | |
| %%Version: 1.002 | |
| %%Copyright: ----------------------------------------------------------- | |
| %%Copyright: Copyright 1990-2015 Adobe Systems Incorporated | |
| %%Copyright: | |
| %%Copyright: Licensed under the Apache License, Version 2.0 (the |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff -u /Applications/Docker.app/Contents/Resources/etc/docker-machine.bash-completion\~ /Applications/Docker.app/Contents/Resources/etc/docker-machine.bash-completion | |
| --- /Applications/Docker.app/Contents/Resources/etc/docker-machine.bash-completion~ 2017-07-13 18:02:08.000000000 +0900 | |
| +++ /Applications/Docker.app/Contents/Resources/etc/docker-machine.bash-completion 2017-07-16 09:03:15.000000000 +0900 | |
| @@ -83,7 +83,7 @@ | |
| [ "${words[$glob_pos]}" = "=" ] && ((glob_pos--)) # --option=key=value syntax | |
| - [[ ${words[$glob_pos]} == @($glob) ]] && echo "$key" | |
| + [[ ${words[$glob_pos]} == $glob ]] && echo "$key" | |
| } |