Difference between revisions of "User:Luigi.scarso"
Luigi.scarso (talk | contribs) |
Luigi.scarso (talk | contribs) |
||
Line 14: | Line 14: | ||
-- Maybe you are searching for [[Modules]], ie extensions to ConTeXt's core functions.-- | -- Maybe you are searching for [[Modules]], ie extensions to ConTeXt's core functions.-- | ||
− | = Other | + | = Other stuffs= |
Line 20: | Line 20: | ||
cfr. http://archive.contextgarden.net/message/20050415.075117.eaff60f9.html | cfr. http://archive.contextgarden.net/message/20050415.075117.eaff60f9.html | ||
'''WARNING THIS CODE DOES NOT WORK!!''' | '''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> | ||
+ | |||
---- | ---- | ||
Revision as of 13:19, 28 April 2007
Contents
Modules::documentation
Modules as name come from switch modules in
texexec --pdf --modules module name
and it's a way to make pdf of documentation and code of module name .
- first, see Inside_ConTeXt in [1];
- User:Luigi.scarso/modules.pdf
-- Maybe you are searching for Modules, ie extensions to ConTeXt's core functions.--
Other stuffs
- AutoSize: see supp-fun.tex
cfr. http://archive.contextgarden.net/message/20050415.075117.eaff60f9.html WARNING THIS CODE DOES NOT WORK!!
\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}
I have download preprint of EUROTEX 2005 [2] It's very interesting.
For EUROTEX 2006, see slides here:http://www.matexhu.org/eurotex2006/lectures/
Also very interesting are colors (here
[3])
As soon as possible, I'd like to write something about:
- 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);
Is Indesign CS2 better than ConTeXt ?
Cool links:
http://pdfedit.petricek.net/
It permits to look inside a pdf file, and perhaps to modify it.
ASAP i will compile it.
http://www.mail-archive.com/poppler@lists.
There is a Ruby binding, Ruby/Poppler, in Ruby-GNOME2
project.
http://podofo.sourceforge.net/
which is designed as a PDF parsing library.
http://www.fauskes.net/ pgf and so.
There are pure python libraries like
http://pybrary.net/pyPdf/
and
http://www.boddie.org.uk/david/Projects/Python/pdftools/.