shebang.tex
#!/usr/bin/pdflatex \documentclass{article} \begin{document} Hello, World! \end{document}で
$ chmod u+x shebang.tex $ ./shebang.texうまく行かなかった
***@********:~$ ./shebang.tex This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian) restricted \write18 enabled. entering extended mode (./shebang.tex LaTeX2e <2011/06/27> Babel <v3.8m> and hyphenation patterns for english, dumylang, nohyphenation, pi nyin, thai, loaded. ! You can't use `macro parameter character #' in vertical mode. l.1 # !/usr/bin/pdflatex ?けどめげずに enter で押し切ったら
! LaTeX Error: Missing \begin{document}. See the LaTeX manual or LaTeX Companion for explanation. Type H <return> for immediate help. ... l.1 #! /usr/bin/pdflatex ? (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2007/10/19 v1.4h Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo) Overfull \hbox (20.0pt too wide) in paragraph at lines 1--284 [] [1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}]) No file shebang.aux. [2] (./shebang.aux) )</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts /cm/cmr10.pfb> Output written on shebang.pdf (2 pages, 12405 bytes). Transcript written on shebang.log.で結局パッと見1ページ目は空白で2ページ目に Hello, World! と書かれた pdf ができる.
色々どうなってるのかまたしらべたい(ねむい)
No comments:
Post a Comment