On Tue, 18 Feb 2025, Pavneet Arora via ntg-context wrote:
> I am in the process of converting a bunch of old TikZ notepaper
> templates to native ConTeXt and MetaPost.
If speed is not a huge concern, you can directly use Tikz code in context, both
as standalone code and also anywhere backgrou
On Wed, 19 Feb 2025 at 04:41, Gavin via ntg-context
wrote:
>
> I whole heatedly support converting TikZ to MetaPost!
>
I don't think it will happen soon, if ever .
Instead, these two can be useful tools to have at hand:
https://ipe.otfried.org/
https://asymptote.sourceforge.io/
--
luigi
__
port converting TikZ to MetaPost!
- Gavin
\startreusableMPgraphic{graph}
minor=2mm; % Minor lines, each every 2mm
major=8mm; % Major lines, each every 4mm
z1 = (0,0); % lower left corner
% z2 = (2.75in,4.25in)-z1; % upper right corner
z2 = (2.75in,4.25in)-z1;% upper right corne
Hi Pavneet,
I recommend avoiding the mod function. Just draw the two grids (major and
minor) each with their own spacing and pen.
I whole heatedly support converting TikZ to MetaPost!
- Gavin
\startreusableMPgraphic{graph}
minor=2mm; % Minor lines, each every 2mm
major=8mm; % Major
setuppapersize[PocketPage][letter,landscape]
% }}}2
% MetaPost template for graph paper for pocket sized notebook (2.75" W x
% 4.25in H). {{{2
\startreusableMPgraphic{graph}
minor=2mm;| | % Minor lines, each every 2mm
major=8mm;| | % Major lines, each every 4mm
┆ ┆ ┆ ┆ % major