|
|
(93 intermediate revisions by 8 users not shown) |
Line 1: |
Line 1: |
− | == Scarso luigi personal pages == | + | == Some materials == |
| + | === Npp for ConTeXt === |
| | | |
− | *AutoSize: see supp-fun.tex</br>
| + | [https://github.com/luigiScarso/context-npp This] is a notepad++ plugin for ConTeXt. Original work by Jason Yu, current developer Luigi Scarso. |
− | cfr. http://archive.contextgarden.net/message/20050415.075117.eaff60f9.html
| |
− | '''WARNING THIS CODE DOES NOT WORK!!'''
| |
− | <!--
| |
− | <texcode>
| |
− | % AutoScaled: not what I really want, but
| |
− | % sometimes works
| |
− | %
| |
− | \def\AutoScaled#1#2#3#4#5{%
| |
− | % #1 horiz. limit
| |
− | % #2 unused (maybe vert. limit)
| |
− | % #3 horiz. scale
| |
− | % #4 vert. scale
| |
− | % #5 text
| |
− | \setbox800=\hbox{\color[black]{\scale[sx=#3,sy=#4]{\bf #5}}}%
| |
− | \newdimen\ScaleX \ScaleX=#3pt \newdimen\ScaleY \ScaleY=#4pt %%
| |
− | \newdimen\LimitX \LimitX=#1 %
| |
− | \ifdim\wd800 > \LimitX %
| |
− | \edef\Ratio{\withoutpt{\the\dimexpr( (2\LimitX/(\wd800 /32768))) }}%
| |
− | \edef\XSCALE{\withoutpt{\the\dimexpr( \Ratio\ScaleX ) }}%
| |
− | \edef\YSCALE{\withoutpt{\the\dimexpr( \Ratio\ScaleY ) }}%
| |
− | \setbox800=\hbox{\color[black]{\scale[sx=\XSCALE,sy=\YSCALE]{\bf #5}}}%
| |
− | \fi%
| |
− | \box800\relax%
| |
− | }%%enddef \Autoscaled
| |
− | </texcode>
| |
− | -->
| |
− | ----
| |
| | | |
− | | + | The plugin is available here: [[File:Npp-for-ConTeXt.zip]]. |
− | I have download preprint of EUROTEX 2005
| + | Manual under doc/npp-context-manual.pdf of the archive. |
− | [http://www.gutenberg.eu.org/EuroTeX2005/] | |
− | It's very interesting.
| |
− | | |
− | 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 ''SUSPENDED''
| |
− | * about python and context (cfr. ''TeX forever'' at preprint of EUROTEX 2005);
| |
− | * context programming (cfr. ''Inside_ConTeXt'' in [http://sandbox.contextgarden.net/Inside_ConTeXt]); also [[User:Luigi.scarso/modules.pdf]]
| |