Am 01.09.22 um 15:04 schrieb Henning Hraban Ramm via ntg-context:
Am 01.09.22 um 13:43 schrieb juh+ntg-context--- via ntg-context:
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
\loadluafile[grph-downsample]
\doifmodeelse{print}{%
\def\Resolution{300}
}{%
Am 01.09.22 um 18:45 schrieb Taco Hoekwater:
On 1 Sep 2022, at 18:28, Henning Hraban Ramm via ntg-context
wrote:
Am 01.09.22 um 15:40 schrieb Taco Hoekwater:
Adding grouping makes sense:
def Moire(expr size)(text densities)=
begingroup
endgroup
As that at least makes it an expression
> On 1 Sep 2022, at 18:28, Henning Hraban Ramm via ntg-context
> wrote:
>
> Am 01.09.22 um 15:40 schrieb Taco Hoekwater:
>> Adding grouping makes sense:
>>>
>>> def Moire(expr size)(text densities)=
>> begingroup
>> endgroup
>> As that at least makes it an expression instead of a statement
On 9/1/22 14:36, amano.kenji via ntg-context wrote:
> I just created a reference to a \section with \in.
>
> Clicking the \in reference doesn't go to the \section, but to the
> page that has the \section.
>
> Does ConTeXt lack the ability to go to an exact point of a numbered
> element on a page?
Am 01.09.22 um 15:40 schrieb Taco Hoekwater:
Adding grouping makes sense:
def Moire(expr size)(text densities)=
begingroup
endgroup
As that at least makes it an expression instead of a statement list.
But also depthless() is never defined?
Oops, I forgot to copy that part (confusing
Hi Hraban,
Adding grouping makes sense:
>
> def Moire(expr size)(text densities)=
begingroup
> save dn,a,b,k,labit,n,p,q,s,xs;
> n := 32;
> dn := 0;
> for i := densities:
>d[incr dn] := abs(i);
>if i>1: labit[dn]:=1; fi
> endfor
> a := min(d[1],d[dn]);
> b := max(d[1],d[dn]);
>
Am 01.09.22 um 12:37 schrieb juh+ntg-context--- via ntg-context:
Hi Hraban,
Am 01.09.22 um 10:56 schrieb Henning Hraban Ramm via ntg-context:
\startluacode
local function downsampler(oldname, newname, resolution)
if not resolution or resolution == "" then
resolution = 72
end
Am 01.09.22 um 13:43 schrieb juh+ntg-context--- via ntg-context:
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
\loadluafile[grph-downsample]
\doifmodeelse{print}{%
\def\Resolution{300}
}{%
\def\Resolution{96}
}%
\setupexternalfigures[
%directory={./Logos,img},
On Thu, Sep 1, 2022 at 2:37 PM amano.kenji via ntg-context
wrote:
>
> I just created a reference to a \section with \in.
>
> Clicking the \in reference doesn't go to the \section, but to the page that
> has the \section.
>
> Does ConTeXt lack the ability to go to an exact point of a numbered
I just created a reference to a \section with \in.
Clicking the \in reference doesn't go to the \section, but to the page that has
the \section.
Does ConTeXt lack the ability to go to an exact point of a numbered element on
a page?
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
\loadluafile[grph-downsample]
\doifmodeelse{print}{%
\def\Resolution{300}
}{%
\def\Resolution{96}
}%
\setupexternalfigures[
%directory={./Logos,img},
conversion=lowres.jpg,
resolution=\Resolution,
]
With the
Hi Hraban,
Am 01.09.22 um 10:56 schrieb Henning Hraban Ramm via ntg-context:
\startluacode
local function downsampler(oldname, newname, resolution)
if not resolution or resolution == "" then
resolution = 72
end
local cmd = string.format(
[[gm convert -resample
Am 01.09.22 um 10:51 schrieb Henning Hraban Ramm via ntg-context:
Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context:
Hi,
what is resolution meant to do?
What am I missing?
The resolution parameter is still not used by default ConTeXt, sorry.
But you can use it with the
Am 01.09.22 um 10:44 schrieb juh+ntg-context--- via ntg-context:
Hi,
what is resolution meant to do?
Whatever I insert as resolution, I get no change.
\setupexternalfigure[location={default,local},resolution=30]
\starttext
\externalfigure[hacker]
\stoptext
What am I missing?
The
Hi,
what is resolution meant to do?
Whatever I insert as resolution, I get no change.
\setupexternalfigure[location={default,local},resolution=30]
\starttext
\externalfigure[hacker]
\stoptext
What am I missing?
TIA
juh
Hi,
here’s a snippet of old Metapost code that I’d like to use in ConTeXt.
I didn’t manage to update it to MetaFun – can you help me?
Hraban
-
\setupbodyfont[plex,ss,8bp]
\startreusableMPgraphic{moiree}
% 1994 by Bogusław Jackowski (GUST)
defaultfont := "\truefontname{Sans}";
pickup
16 matches
Mail list logo