This file contains 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
\directlua{ | |
function gitlog() | |
local com = io.popen('git log -1 --oneline --decorate') | |
local out = com:read('*a') | |
tex.print(out) | |
end | |
gitlog() | |
} |
This file contains 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
\documentclass{article} | |
\begin{document} | |
This is my document. | |
% Works: | |
\directlua{ tex.print("Printed by lua.") } | |
% Works: |
This file contains 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
=> brew install mutt | |
==> Downloading http://1978th.net/tokyocabinet/tokyocabinet-1.4.45.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/usr/local/Cellar/tokyo-cabinet/1.4.45 | |
==> make | |
==> make install | |
ln: ./tcutest.1: Permission denied | |
Error: The linking step did not complete successfully | |
The package built, but is not symlinked into /usr/local | |
You can try again using `brew link tokyo-cabinet' |
NewerOlder