[表示 : 全て 最新50 1-99 101- 201- 301- 401- 501- 601- 701- 801- 901- 1001- 2ch.scのread.cgiへ]
Update time : 05/29 20:20 / Filesize : 293 KB / Number-of Response : 1044
[このスレッドの書き込みを削除する]
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧] [類似スレッド一覧]


↑キャッシュ検索、類似スレ動作を修正しました、ご迷惑をお掛けしました

\chapter{\TeX} % 第十一章



391 名前:名無しさん@お腹いっぱい。 mailto:sage [2018/09/24(月) 18:29:32.94 .net]
自分用の使い捨てワンライナーを書くのであれば、
$ cat tmp.tex | sed -e $'s/\\\/\\\n/g' | sed -n -e 's/^usepackage{\([^}]*\)}/ \1.sty/gp' | sed -e 's/,/.sty /g' | xargs kpsewhich
/opt/local/share/texmf-texlive/tex/latex/graphics/graphicx.sty
/opt/local/share/texmf-texlive/tex/latex/l3packages/xparse/xparse.sty
/opt/local/share/texmf-texlive/tex/latex/l3kernel/l3regex.sty
/opt/local/share/texmf-texlive/tex/latex/tools/longtable.sty
/opt/local/share/texmf-texlive/tex/latex/tools/array.sty
/opt/local/share/texmf/tex/latex/pgf/frontendlayer/tikz.sty
/opt/local/share/texmf-texlive/tex/latex/graphics/color.sty
/opt/local/share/texmf-texlive/tex/latex/hyperref/hyperref.sty
かな
1行に複数のusepackageと1のusepackageの中に複数のstyがあるパターンに対応している
grep -oE を使ってもよし。






[ 続きを読む ] / [ 携帯版 ]

全部読む 前100 次100 最新50 [ このスレをブックマーク! 携帯に送る ] 2chのread.cgiへ
[+板 最近立ったスレ&熱いスレ一覧 : +板 最近立ったスレ/記者別一覧]( ´∀`)<293KB

read.cgi ver5.27 [feat.BBS2 +1.6] / e.0.2 (02/09/03) / eucaly.net products.
担当:undef