Zdravim :) Co je prosim spatne na tomto makru:<br><br><span style="font-family: courier new,monospace;">\def\command#1#2#3#4#5{%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
{\subsection{\type|<#1>|}}%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> {\bf Popis: }#2\par%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> {\bf Regulární výraz:}%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> \startitemize%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> {\item%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> {{\bf Jednořádkový:} \type|#3|}%
</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> }%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">
{\item%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> {{\bf Víceřádkový:} \type|#4|}%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> }%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> \stopitemize%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> \par%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> {\bf Příklad: }#5%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> \par%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">}</span><br><br>Doufam, ze uz jsem to moc nepoprehazel, zkousel jsem s tim kdesi cosi, ale nic ... nechapu. Jo je to ConTeXtove makro. Abych rekl pravdu, debugovani TeXovych maker je jedna z nejnevdecnejsich programatorskych ukonu, co me kdy potkalo, stejne jako psani podminenych konstrukci v TeXu, to proste vazne stoji za to :)
<br><br>A kdyz uz tu s tim jsem --- zajimalo by mne, proc taky nemuzu rozchodit slusne toto makro:<br><br><span style="font-family: courier new,monospace;">\def\perex#1{%</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;"> \externalfigure[Context.png]%</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;"> \bi\indigo#1\par\blank[3*big]}%
</span><br><br>Indigo je mnou definovana barva (\definecolor[indigo][r=.0, g=.0, b=.5]). Jeste jsem nevymyslel, jak to rozumne hodit, hlavni problem je v tom, ze \par a \blank se mi cpou za prvni pismenko, coz je opravdu "very annoying".
<br><br>Diky za rady a TeXu zdar :) J<br><br>-- <br>Se srdečným pozdravem Jakub Šťastný<br><br>Prosím neposílejte mi přílohy ve formátech doc, ppt, pps, wmv a podobně. Existuje spoustu kvalitních svobodných alternativ, které se (narozdíl od zmíněných) řídí standardy. Například OASIS standard pro psaní strukturovaných, textových dokumentů je formát odt. Děkuji.