KTUG마당은 KTUG를 방문하는 모든 이용자가 대화를 나누고 소식을 전하는 곳입니다.

  • 로그인 없이 자유롭게 글을 읽고 쓸 수 있는 철학은 처음과 같이 계속됩니다.
  • Team Blog의 글을 이곳 게시판의 "정보글"로 모았습니다. Team blog는 기고자가 올린 글에 질문을 받는 부담을 줄이기 위하여 댓글을 허용하지 않았습니다. 그러나 이곳 게시판으로 모으면서 댓글을 달 수 있습니다. 게시물을 작성하실 때 댓글을 원하지 않으시면 댓글을 허용하시지 않으시기를 바랍니다. 또한 불필요한 소모성 댓글을 달지 않도록 주의하여 주시기를 바랍니다.
  • TeX과 관련된 질문이나 답변은 QnA 마당을 이용하십시오. TeX과 관련된 질문은 지웁니다
  • MathJax를 이용한 수식조판을 사용하실 수 있습니다. 여기를 참조하세요.
  • 스팸 글을 막기 위하여 짧은 시간 내에 다시 글이 등록되는 IP를 막거나, 광고 글을 막기 위하여 금지어로 .com, .net 등을 설정하고 있습니다. 다소간의 불편함이 있으시더라도 양해 바랍니다.
    • 금지어에서 stackexchange, stackoverflow, ctan, overleaf, , github, google.com, gmail.com, .org, .io, sil.org, wiki.com, tistory.com등은 해제하였습니다.
  • 사용하는 편집기는 CKeditor입니다. 편집기에서 [enter]를 누르면 <p> 태그가 들어가고, 문단으로 생각하고 한줄을 비웁니다. 글줄만 바꾸려면 shift-enter 를 누르시면 <BR>가 들어가므로 용도에 맞게 나누어 쓸 수 있습니다.

MadToad

리눅스에서 글 올리다 보니 파일 업로드는 못하고요. 그냥 배치 파일 내용을 밑에다 씁니다. 그런데 이게 동작하려면 윈도용 sed를 설치하셔야 해요. 이 프로그램은 Tex Live에 포함되어 있지 않은 것으로 압니다. 그리고 디렉토리 이름을 조금 수정하셔야 합니다.


@echo off

rem tlupdateall.bat

rem   written by Karnes.

rem ----------------------------

rem catch tl dir

pushd %TEMP%

  kpsewhich latex.ltx >_tmp

  sed -e "s/texmf-dist\/tex\/latex\/base\/latex.ltx$//g" <_tmp >__tmp

  sed -e "s/^/set TMPTLDIR=/g" <__tmp >__tmp.bat

  sed -e "s/^/set BSTMPTLDIR=/g" <__tmp >___tmp

  sed -e "s/\//\\/g" <___tmp >___tmp.bat

  todos __tmp.bat >%TEMP%\null

  todos ___tmp.bat >%TEMP%\null

  call __tmp.bat

  call ___tmp.bat

  del _tmp __tmp ___tmp __tmp.bat ___tmp.bat

popd


if .%BSTMPTLDIR%.==.. goto ERROR


:RUNME

rem set TLsite=http://ftp.kaist.ac.kr/tex-archive/systems/texlive/tlnet

set TLsite=http://ftp.ktug.or.kr/tex-archive/systems/texlive/tlnet

set KCsite=http://ftp.ktug.or.kr/KTUG/texlive/2009

set TEXLIVEFOLDER=%BSTMPTLDIR%

rem %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


if .%1.==.-down. goto DOWNLOAD

if .%1.==.-nodown. goto NODOWNLOAD

rem default = NODOWNLOAD

goto NODOWNLOAD


:DOWNLOAD

pushd %TEMP%

if exist update-tlmgr-latest.exe del update-tlmgr-latest.exe

copy /Y %TEXLIVEFOLDER%\tlpkg\installer\wget\wget.exe .

wget %TLSITE%/update-tlmgr-latest.exe

update-tlmgr-latest.exe

pause

popd

goto RUNALL


:NODOWNLOAD

call tlmgr --repository=%TLsite% update --self

if not .%errorlevel%.==.0. goto ERROR

goto RUNALL


:RUNALL

call tlmgr --repository=%TLsite% update --all

call tlmgr --repository=%KCsite% update --all

goto END


:ERROR

echo Something wrong happened. 

echo Perhaps texlive isn't set up properly or tlmgr failed.

echo.

echo Try later.

goto END


:END

pause





XE Login