Open main menu

Luigi.scarso

1,309 bytes removed ,  13:46, 28 April 2007
= Other stuffs=
 
*AutoSize: see supp-fun.tex
cfr. http://archive.contextgarden.net/message/20050415.075117.eaff60f9.html
'''WARNING THIS CODE DOES NOT WORK!!'''
<pre>
\newbox\linebox \newbox\snapbox
\newdimen\CurrentHsize
\newdimen\CurrentWdSnapBox
\def\eatlines{%
%\immediate\write16{1) Collect in lastbox}
\setbox\linebox=\lastbox %
%\immediate\write16{boxlinebox: wd=\the\wd\linebox}
%\immediate\write16{2) check void}
\ifvoid\linebox \immediate\write16{2a) void}
\else% \immediate\write16{2b) no void} % if it's not empty
\unskip\unpenalty % take whatever is
{\eatlines} % above it;
% collapse the line
%\immediate\write16{3) snapbox}
\setbox\snapbox\hbox{\unhcopy\linebox}% \showbox\snapbox
\ifdim\wd\snapbox>\CurrentWdSnapBox \global\CurrentWdSnapBox=\wd\snapbox\fi%
\ifdim\wd\snapbox<.98\wd\linebox%
\box\snapbox % take the one or the other,
\else \box\linebox \fi%
\fi}
</pre>
 
----
I have download preprint of EUROTEX 2005
For EUROTEX 2006, see slides here:http://www.matexhu.org/eurotex2006/lectures/
 Also very interesting are colors (here [http://contextgarden.net/index.php?title=Colors]) As soon as possible, I'd like to write something about:<!--* Xy-pic (cfr. [http://tug.org/applications/Xy-pic/]) '' REMOVED ''-->* transforming a xml from a spreadsheet (''I'm working on gnumeric'') to pdf by context . An good way is to use ssconvert (a command line utility) that come with gnumeric ; it can do conversion xls <--> xhtml (among others) so for a simple sheet can be a good choice. I'm using it from 3/4 years, and I'm satisfied.* about python and context (cfr. ''TeX forever'' at preprint of EUROTEX 2005);   
----
 =Cool links:<br/>==*http://pdfedit.petricek.net/
It permits to look inside a pdf file, and perhaps to modify it.
ASAP i will compile it.<br/>
 *http://www.mail-archive.com/poppler@lists.
There is a Ruby binding, Ruby/Poppler, in Ruby-GNOME2
project.<br/>
*http://podofo.sourceforge.net/
which is designed as a PDF parsing library.<br/>
*http://www.fauskes.net/
pgf and so.
There are pure python libraries like*http://pybrary.net/pyPdf/ <br/>and*http://www.boddie.org.uk/david/Projects/Python/pdftools/.