r1.11°ú ÇöÀç ¹öÀüÀÇ Â÷ÀÌÁ¡
@@ -1,240 +1,18 @@
[[TableOfContents]]
= hoze-illust.sty =
== \placefigure ==
{{{#!vim tex
\setplacefigure{...}
\placefigure[float=true/false, caption={blah blah}, label=blah, type=figure/picture, ...]{figure file name/picture environment}
}}}
== \illustfigure ==
{{{#!vim tex
\setillustfigure{...}
\illustfigure[caption={blah blah}, label=blah, scale=decimal, figureposition=left/right, frame=true/false, type=figure/picture, ... ]{figure file name/picture environment}{text}
}}}
== \placetable ==
{{{#!vim tex
\setplacetable{...}
\placetable[float=true/false, caption={blah blah}, label=blah, type=figure/picture, ...]{tabular}
}}}
== \illustfigure ==
{{{#!vim tex
\setillusttable{...}
\illusttable[caption={blah blah}, label=blah, scale=decimal, figureposition=left/right, frame=true/false, type=figure/picture, ... ]{tabular}{text}
}}}
== \grayrow ==
= hoze-style.sty =
== \watermark ==
=== ÅØ
hzmanual Ŭ·¡½º
Æ®¸¦ ³Ö´Â
°æ¿ì ===
{{{
\watermark{x=30, y=30, angle=50, fontsize=90, color=red, text={Hoze is so hot!}}
}}}
=== ±×¸²À» ³Ö´Â °æ¿ì ===
{{{
\watermark{x=50, y=100, scale=2, angle=-45, figure=Topfield}
}}}
== \setchaptertab ==
Àå ¹øÈ£¸¦ ¹Ý´Þ »öÀÎ (thumb index)À¸·Î ´Þ¾Æ ÁØ´Ù.
{{{
\usepackage[chaptertab]{hoze-style} %¶Ç´Â preamble¿¡
¼³¸í¼
\setchaptertabon
% ¹Ý´Þ »öÀÎÀÇ À§Ä¡¿Í Å©±â µî
ÀÛ¼ºÀ»
º¯°æÇÏ·Á¸é preamble¿¡¼
\setchaptertab{
x=140,
y=150,
width=12,
height=8,
yspace=-10,
color=black,
font=\LARGE\sffamily\bfseries
}
}}}
== \wrapnum ==
== \wrapchar ==
== \ui ==
== \button ==
== \submenu ==
== terms ȯ°æ ==
== \alert ==
= hoze-layout.sty =
== \setlayout ==
= hoze.ist =
{{{#!vim tex
%fixltx2e package is required for markboth in two columns
% @ is a valid character in some entries
%actual '?' % ? instead of @
preamble "
\\newcommand{\\idxmark}[1]{{#1}\\markboth{#1}{#1}}
\\newcounter{indexanchor}
\\begin{theindex}\n
\\def\\hindexhead#1{\\ifcase#1¤¡\\or ¤¤\\or ¤§\\or ¤©\\or
¤±\\or ¤²\\or ¤µ\\or ¤ï\\or ¤·\\or ¤ñ\\or ¤¸\\or ¤º\\or ¤»\\or
¤¼\\or ¤½\\or ¤¾\\or ¤ö\\or ¤¿\\or ¤Á\\or ¤Ã\\or ¤Å\\or ¤Ç\\or
¤Ë\\or ¤Ì\\or ¤Ð\\or ¤Ñ\\or ¤Ó\\or ¤ý\\else Á¾¼º\\fi}
\\def\\indexhead#1{%
#1\\stepcounter{indexanchor}\\pdfbookmark[1]{#1}{\\theindexanchor}
}\n\n"
headings_flag 1
symhead_positive "\\symbolheadname"
numhead_positive "\\numberheadname"
heading_prefix "\\textbf{\\indexhead{"
heading_suffix "}}\\nopagebreak\n"
group_skip "\n\n\\indexspace\n"
item_0 "\n\\item \\idxmark{"
delim_0 "}, "
item_x1 "} \n \\subitem "
}}}
1. ¹®ÀÚ¼ø
µµ¿ï ¸ñÀûÀ¸·Î
Ã¥°¥ÇǸ¦ ¸¸
µç´Ù.
1. »çÀüó·³ Á»ó´Ü°ú ¿ìÇÏ´ÜÀÇ Ç¥Á¦
µé¾î
¸¦ ¸éÁÖ¿¡ ³Ö´Â
Á³´Ù.
= batch =
== xpub.bat ==
{{{
@echo off
rem kpsewhich -engine=pdftex -format=fmt latex.fmt
rem kpsewhich -engine=xetex -format=fmt xelatex.fmt
rem set TL_ROOT=c:\\usr\\texlive\\2009 for texindy
rem "C:\Program Files\sumatrapdf\sumatrapdf.exe" -inverse-search "\"C:\Program Files\EmEditor\EmEditor.exe\" /l %l \"%f\""
rem xetex -fmt=xelatex -src-specials -synctex=-1 foo.tex
xelatex -src-specials -synctex=-1 %~n1
if %ERRORLEVEL%==0 goto SUCCESS
goto END
:SUCCESS
if !%2==! goto END
xelatex %~n1
if .%2.==.-e. goto ENGLISHINDEX
if .%2.==.-f. goto FRENCHINDEX
if .%2.==.-g. goto GERMANINDEX
if .%2.==.-i. goto ITALIANINDEX
if .%2.==.-k. goto KOREANINDEX
if .%2.==.-r. goto RUSSIANINDEX
:ENGLISHINDEX
rem makeindex %~n1
texindy -L english %~n1.idx
goto AFTERMAKEINDEX
:FRENCHINDEX
texindy -L french %~n1.idx
goto AFTERMAKEINDEX
:GERMANINDEX
texindy -M lang/german/duden-utf8.xdy %~n1.idx
goto AFTERMAKEINDEX
:ITALIANINDEX
texindy -L italian %~n1.idx
goto AFTERMAKEINDEX
:KOREANINDEX
komkindex -s hoze.ist %~n1.idx
goto AFTERMAKEINDEX
:RUSSIANINDEX
rem perl c:\usr\texlive\texmf-local\makeindex\topfield\rumakeindex.pl %~n1.idx
texindy -M lang/russian/utf8.xdy %~n1.idx
goto AFTERMAKEINDEX
:AFTERMAKEINDEX
xelatex %~n1
xelatex %~n1
call delaux
echo Successfully compiled!
:END
}}}
== open.bat ==
{{{
@echo Usage: open filename [-p:pdf/-t:text/-s:texmf]
@echo off
if !%2==! goto PDF
if .%2.==.-p. goto PDF
if .%2.==.-t. goto TEXT
if .%2.==.-s. goto TEXMF
goto END
:PDF
START " " "c:\Program Files\SumatraPDF\SumatraPDF.exe" "%~n1.pdf"
goto END
:TEXT
"c:\Program Files\EmEditor\EmEditor.exe" "%1"
goto END
:TEXMF
kpsewhich %1 > tmp.tmp
for /f %%i in (tmp.tmp) do "c:\Program Files\EmEditor\EmEditor.exe" %%i
del tmp.tmp /q
attachment:
END
}}}
hztexmf_5Feb2012.zip
== osd2pdf
2012.
bat ==
01.18 ¹Ù²ï °Íµé
{{{
* NewEnvironÀ» ÀÌ¿ëÇÑ IllustFigure, Altert ȯ°æ
rem o2p
* ±×¸®°í .
bat
gm convert -crop 700x560+9+8 -density 250 %~n1.
bmp %~n1.
eps
epstopdf %~n1.eps
del %~n1.eps
}}}
{{{
for %%i in
ÀÚÀßÇÑ °Íµé (
*.bmp
Çà°£ µûÀ§)
do call o2p.bat %%i
}}}
== ras2pdf
2012.
bat ==
{{{
rem r2p
01.
bat
09 ¹Ù²ï °Íµé
gm convert -density 150 %1 %~n1.eps
* ¿©¹é, footer¸¦ µðÆúÆ®·Î (ÆǸé Àâ±â ¾î·Æ´Ù)
epstopdf %~n1.eps
del %~n1.eps
}}}
{{{
for %%i in
* Çà°£, chapterstyle Ãß°¡(
*.%1
¶ó°í ÇÒ °Í±îÁö ¾øÁö¸¸)
do call r2p.bat %%i
}}}
* selected ȯ°æ, ±âŸ Àâ´Ù
== encpdf
ÀÌ ÆÐÅ°ÁöÀÇ »ç¿ë¹ý¿¡ ´ëÇؼ´Â ¾Æ·¡ ¹®¼¸¦ ÂüÁ¶Ç϶ó.
bat ==
{{{
@echo off
copy %~n1.pdf tmp.pdf
del %~n1.pdf
pdftk tmp.pdf output %~n1.pdf owner_pw X...X allow Printing
del tmp.pdf
echo Successfully encrypted!
}}}
== viewttf ==
{{{
@echo off
echo usage
attachment:
viewttf output
HzGuide_
filename "font_name" fontsize
echo \documentclass[a4paper,oneside]{memoir} > %~n1.tex
echo \usepackage{hoze-style} >> %~n1.tex
echo \setulmarginsandblock{2.5cm}{3cm}{*} >> %~n1.tex
echo \setlrmarginsandblock{2.5cm}{2.5cm}{*} >> %~n1.tex
echo \setheadfoot{1cm}{1.5cm} >> %~n1.tex
echo \checkandfixthelayout >> %~n1.tex
echo \pagestyle{empty} >> %~n1.tex
echo \begin{document} >> %~n1.tex
echo \fontviewer{%2}{%3} >> %~n1.tex
echo \end{document} >> %~n1.tex
xelatex %~n1.tex
if %ERRORLEVEL%==0 call open %~n1
10Dec2011.pdf
}}}
= °³Á¤ ÀÌ·Â =
attachment:hoze_100106.zip
----
attachment
¹®ÀÇ:
topfield2_100106
[mailto:yihoze@gmail.
zip
com]
hzmanual Ŭ·¡½º´Â ¼³¸í¼ ÀÛ¼ºÀ» µµ¿ï ¸ñÀûÀ¸·Î ¸¸µé¾îÁ³´Ù.
2012.01.18 ¹Ù²ï °Íµé
- NewEnvironÀ» ÀÌ¿ëÇÑ IllustFigure, Altert ȯ°æ
- ±×¸®°í ... ÀÚÀßÇÑ °Íµé (Çà°£ µûÀ§)
2012.01.09 ¹Ù²ï °Íµé
- ¿©¹é, footer¸¦ µðÆúÆ®·Î (ÆǸé Àâ±â ¾î·Æ´Ù)
- Çà°£, chapterstyle Ãß°¡(¶ó°í ÇÒ °Í±îÁö ¾øÁö¸¸)
- selected ȯ°æ, ±âŸ Àâ´Ù
ÀÌ ÆÐÅ°ÁöÀÇ »ç¿ë¹ý¿¡ ´ëÇؼ´Â ¾Æ·¡ ¹®¼¸¦ ÂüÁ¶Ç϶ó.