I solved it, although it's kinda hacky. I'm pretty sure that
publications.citevariants.short is not meant to be called directly.
Do you know why `context.getdetail(dataset, tag, "author")` does not work in
render_cite?
It always returns nil.
```
\setupinteraction[state=start]
\s
Here is a solution for the first part of my question. This is based on
https://www.mail-archive.com/ntg-context@ntg.nl/msg101156.html
and try and error based on publ-imp-aps.mkvi and publ-imp-apa.mkvi:
It display now the citation _and_ numbering labels in the short form:
```
\setupinteraction
form). It is more less also
> > described here [1].
> > - Highlight publications of a certain author with an extra char (e.g.
> > '>')
> >
> > Here is a minimal example (lets assume, every occurrence of Knuth
> > should be highlighted): ```
> > \setupintera
year as reference
> (this should be exactly the short form). It is more less also
> described here [1].
> - Highlight publications of a certain author with an extra char (e.g.
> '>')
>
> Here is a minimal example (lets assume, every occurrence of Knuth
> should be highlig
the short form). It is more less also described here [1].
- Highlight publications of a certain author with an extra char (e.g. '>')
Here is a minimal example (lets assume, every occurrence of Knuth should be
highlighted):
```
\setupinteraction[state=start]
\startbuffer[testdata]
@Book{knu
=off]
\setupnarrower[left=0.80cm, right=0.80cm]
\definehspace[oneem][0.5em]
\setupinteraction
[state=start,
color=blue]
\usecolors[svg]
\setupinteraction
[state=start,
contrastcolor=cornflowerblue]
\starttext
\margintext {1.1.1} {\bf Beispiel 3.2.17 (Vertauschung von All- und
nge at level 3
around 'back1'
and they refer to the first chapter of the bodymatter and the first
chapter of the backmatter, respectively.
The example:
\setupinteraction [state=start]
\placebookmarks [chapter]
\starttext
\startfrontmatter
\startchapter [
d they refer to the first chapter of the bodymatter and the first
chapter of the backmatter, respectively.
The example:
\setupinteraction [state=start]
\placebookmarks [chapter]
\starttext
\startfrontmatter
\startchapter [title=front1]
\samplefil
Pablo Rodriguez via ntg-context schrieb am 06.03.2024 um 20:11:
[...]
\startxmlsetupsxml:meta
%\aftergrouped{\setupinteraction%
\setupmetadata
[author={\xmlconcat{#1}{/h2[contains(@class,'author')]}{, }}]
%}
\stopxmlsetups
Use \expanded.
\startxmlsetups xml:meta
works in your
previous example.
Many thanks for your reply, Wolfgang.
Now I have the minimal sample:
[...]
\startxmlsetups xml:meta
%\aftergrouped{\setupinteraction%
\setupmetadata
[author={\xmlconcat{#1}{/h2[contains(@class,'author')]}{, }}]
%}
\stopxmlsetups
Use
etups
\startxmlsetups xml:meta
%\aftergrouped{\setupinteraction%
\setupmetadata
[author={\xmlconcat{#1}{/h2[contains(@class,'author')]}{, }}]
%}
\stopxmlsetups
\startxmlsetups xml:title:author
\xmlflush{#1}
\stopxmlsetups
\setupinteraction[state=start]
\xml
:
\setupinteraction
[title=FooBar]
\setupdocument
[metadata:title=FooBar]
that just sets defaults for \setupinteraction so that they inherit from
document
\setupmetadata
[title=FooBar]
that's for those who go global
Are any of those deprecated or the preferred way? I'm starting to
get
=13.50cm]
\setupinteraction
[state=start,
color=blue]
\reference[Regel:1]{3.1}\par
{\bf Aufgabe 3.2.18} Formulieren Sie gemäß der Regel (\goto{3.1}[Regel:1])
äquivalent
\startitemize[n,packed,broad]
\item \m{\forall n \in \naturalnumbers\mtp{:} n^2 > n \implies n > 1},\item
\m{\fo
:
\setupinteraction
[title=FooBar]
\setupdocument
[metadata:title=FooBar]
\setupmetadata
[title=FooBar]
Are any of those deprecated or the preferred way? I'm starting to
get confused.
There’s also \settaggedmetadata; I actually didn’t know \setupmetadata.
Both are missing in the wiki yet
On Tue, 5 Mar 2024 23:14:04 +0100
Wolfgang Schuster wrote:
> Here is the official solution:
>
> \startxmlsetups xml:meta
>\setupmetadata
> [author={\xmltext{#1}{/author}},
> title={\xmltext{#1}{/title}}]
> \stopxmlsetups
So now we have:
\setupintera
because Hans changed they way
how the values of the \setupinteraction commands are passed to Lua
side of ConTeXt to be written to the PDF file.
Many thanks for your reply and your explanation, Wolfgang.
I can provide at the moment solutions which ensure the information
appear in the PDF but none
hey way
> how the values of the \setupinteraction commands are passed to Lua
> side of ConTeXt to be written to the PDF file.
Many thanks for your reply and your explanation, Wolfgang.
> I can provide at the moment solutions which ensure the information
> appear in the PDF but none of the is ver
or explain me what I am missing
I can confirm the issue and it happens because Hans changed they way
how the values of the \setupinteraction commands are passed to Lua
side of ConTeXt to be written to the PDF file.
I can provide at the moment solutions which ensure the information
appear in the PDF
{xml:initialize}
\startxmlsetups xml:doc
\xmlflush{#1}
\stopxmlsetups
\startxmlsetups xml:meta
\setupinteraction
[author={\xmltext{#1}{/author}},
title={\xmltext{#1}{/title}}]
\stopxmlsetups
\startxmlsetups xml:text
\xmlflush{#1}
\stopxmlsetups
\setupinteraction
Dear List,
So I changed my sentence a little bit, now it works perfect, as I wanted it.
\setupinteraction[state=start]
\starttext
\reference[Rule:1]{Rule (3.1)}
Formulate equivalents according to rule (\goto {3.1} [Rule:1]).
\stoptext
Uschi
Von: Ursula
rst document with a theorem]).
Other than that, I must confess I cannot imagine what is the issue you
might be facing.
But don’t hesitate to ask with a more verbose description.
> Sorry, I have no example.
Here you have one:
\setupinteraction[state=start, focus=standard]
\defineenumeration[theo
be greatly
appreciated.
\setupinteraction[state=start, color=darkblue]
\setupwhitespace [big]
\starttext
Consult the \goto{\ConTeXt\ wiki}[url(https://wiki.contextgarden.net/)]
.\par
\dorecurse{5}{\samplefile{lorem}\par}
\stoptext
Processed as follows:
context mwe.tex
context --extra=select
dth, align={flushleft,broad,nothyphenated}]
\setupinteraction[state=start, color=darkblue]
\starttext
\xmlprocessfile{list}{mwe.xml}{}
\stoptext
% finis
mwe.pdf
Description: Adobe PD
Dear list,
the new lpdf-wid.lmt contains in lines 302 and 377:
local relation = specification.relation or "Unspecified"
AFRelationship = pdfconstant(relation),
The following sample compiled with current latest:
\setupinteraction[state=start]
\starttext
attachment\attachm
Michael Guravage schrieb am 13.02.2024 um 14:01:
While reading the documentation I spotted something similar from which I
derived this solution:
\setupinteraction[state=start]
\def\squeeze#1%
{
\goto{#1} [url(tel:\ctxlua{context(string.gsub("#1", " ", "")
While reading the documentation I spotted something similar from which I
derived this solution:
\setupinteraction[state=start]
\def\squeeze#1%
{
\goto{#1} [url(tel:\ctxlua{context(string.gsub("#1", " ", ""))})]
}
\starttext
Call \squeeze{01234 56789
In the example below I pass the macro a string with a space, but the space
should not appear in the url.
I've tried using \ctxlua to invoke string substitution, but without
success. What is the proper way to remove this space, and to perform string
manipulation more generally?
\setupinteraction
Dear list,
It seems with one of the latest lmtx this old reported issue
(https://www.mail-archive.com/ntg-context@ntg.nl/msg84988.html) is back.
MWE:
\setupinteraction[state=start,color=red,style=]
\setupbtx[aps:cite][alternative=entry]
\usebtxdefinitions[aps]
\startbuffer [bib]
@ARTICLE
context(text)
end
end
\stopluacode
% without that line there is no problem
\setupinteraction[state=start]
\defineenumeration[enu][text=Enu]
\defineenumeration[enu][text=Enu,title=yes]
\unprotect
\def\mc{\dosingleempty\do_my_command}
\def\do_my_command[#1]#2{%
\iffirstargumen
to_hash(keywords)
>
> if cfg['emph'] ~= nil then
> context("\\emph{" .. text .. "}")
> elseif cfg['bold'] ~= nil then
> context("\\bold{" .. text .. "}")
> else
> context(text)
> end
> end
> \stopluacode
>
> % without tha
nd
end
\stopluacode
% without that line there is no problem
\setupinteraction[state=start]
\defineenumeration[enu][text=Enu]
\unprotect
\def\mc{\dosingleempty\do_my_command}
\def\do_my_command[#1]#2{%
\iffirstargument{%
\ctxlua{userdata.my_command('#1', [==[#2]==])}%
}\el
t;
> I want to use linked bibliography numbers, linked Chapter, section
> subsection, linked margin numbers, in the text.
>
> \setupinteraction[state=start]
This is essential.
>
> \starttext
>
> Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von
> \m{x\dou
Am 08.01.24 um 14:10 schrieb Ursula Hermann:
Dear List,
Is this the right way?
I want to use linked bibliography numbers, linked Chapter, section
subsection, linked margin numbers, in the text.
\setupinteraction[state=start]
This is essential.
\starttext
Der Wert von \m{y = f(x)} ist
Dear List,
Is this the right way?
I want to use linked bibliography numbers, linked Chapter, section subsection,
linked margin numbers, in the text.
\setupinteraction[state=start]
\starttext
Der Wert von \m{y = f(x)} ist unabhängig von der Wahl\par von \m{x\doubleprime}
ist gleichbedeutend mit
.
>
> What are you using for links to external documents? If just a single
> command such as \goto then you might be able to get away with defining a
> wrapper (e.g. \myGoto) that does
> \setupinteraction[state=start,page=name,focus=standard] then the \goto
> command then \
> On 3 Dec 2023, at 15:26, Pablo Rodriguez via ntg-context
> wrote:
>
> On 11/22/23 00:06, Bruce Horrocks wrote:
>> [...]
>> I changed your example to the following:
>> \setupinteraction[state=start, page=name, focus=standard]
>> \starttext
>&g
themselves.
Basically one can sign (with some certificate) and then validate.
% sign-001.tex
\setupinteraction[state=start]
\definefield[signature][signed]
\defineoverlay[signature][my signature]
\starttext
\startTEXpage[offset=1ts,frame=on,framecolor=darkblue]
sign: \inframed
On 11/22/23 00:06, Bruce Horrocks wrote:
> [...]
> I changed your example to the following:
> \setupinteraction[state=start, page=name, focus=standard]
> \starttext
> \input knuth \par
> a\footnote{b} \par
> \dorecurse{7}{\input knuth \par}
> \stoptext
Many thanks for yo
> On 20 Nov 2023, at 18:01, Pablo Rodriguez via ntg-context
> wrote:
>
> Dear list,
>
> sorry for insisting, but this is important for my documents.
>
> I have the following sample:
>
> \setupinteraction[state=start, page=name, focus=standard]
> \startt
Dear list,
sorry for insisting, but this is important for my documents.
I have the following sample:
\setupinteraction[state=start, page=name, focus=standard]
\starttext
a\footnote{b}
\stoptext
If page is set to anything different than no in \setupinteractionscreen,
focus=standard
Dear list,
I have the following sample:
\setupinteraction[state=start, page=name, focus=standard]
\starttext
a\footnote{b}
\stoptext
In \setupinteraction, "focus=standard" is ignored when I use "page=name".
I mean, link destinations are to the full page and they
>
> It seems that the default mode for outer (external file) references is
> the "auto" mode. This one seems to load the whatever.pdf file, check the
> named destinations and decide based on that.
Many thanks for your explanation, Michal.
I was totally ignorant of the page k
Hello Pablo,
On Mon Nov 13, 2023 at 5:25 PM CET, Pablo Rodriguez via ntg-context wrote:
> Dear list,
>
> imagine I have a PDF document (named "whatever.pdf") such as the one
> generated from this source:
>
> \setupinteraction[state=start,
> focus=standard]
Dear list,
imagine I have a PDF document (named "whatever.pdf") such as the one
generated from this source:
\setupinteraction[state=start,
focus=standard]
\starttext
\dorecurse{5}
{\chapter[\recurselevel]{Chapter}
\section[sec-\recurselevel]{Section}}
\stoptext
T
iki
(https://wiki.contextgarden.net/Commands_with_optional_arguments).
It seems that the command has to be defined as unexpanded, such as in:
\setupinteraction[state=start]
\setupattachments[method=hidden]
\usemodule[database]
\starttext
\unexpanded\def\ItemContents#1#2#3{\doiftext{#2}
Thank You,
It works great.
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage :
Hi,
you can try contrastcolor:
\setupinteraction[state=start,color=,contrastcolor=]
/Mikael
On Sat, Oct 28, 2023 at 1:54 PM Mia Bikey wrote:
>
> Ah, wrong attachment.
> Here is the correct one.
>
> On Sat, Oct 28, 2023 at 5:18 PM Mia Bikey wrote:
>>
>> Hi,
&g
software issue but it is
> still the same.
>
> Here is a minimal working example:
>
> ConTeXt ver: 2023.09.26 18:19 LMTX
>
> \setupinteraction[state=start, color=black]
>
> \starttext
>
> \placeformula[eq:equation1]
> \startformula
> x
> \stopformula
\setupinteraction[state=start, color=black]
\starttext
\placeformula[eq:equation1]
\startformula
x
\stopformula
References are red on the first page \in[eq:equation1]
\at{page}[eq:equation1]
\input tufte
\input tufte
\input tufte
\input tufte
\input tufte
Now they become black \in[eq:equation1] \at{page
poor explanation of the issue.
Wanting to give a minimal sample, I didn’t add my full interaction setup:
\setupinteraction
[state=start,
style=,
color=,
contrastcolor=,
display=new,
focus=standard]
\enabledirectives
[references.border=darkgreen]
I
f the issue.
Wanting to give a minimal sample, I didn’t add my full interaction setup:
\setupinteraction
[state=start,
style=,
color=,
contrastcolor=,
display=new,
focus=standard]
\enabledirectives
[references.border=darkgreen]
I wanted to be able to setup the i
On 10/12/2023 3:14 PM, Pablo Rodriguez wrote:
Hi Hans,
I have the following source, which tries to resemble three kinds of links:
\setupinteraction[state=start, style=, focus=standard]
\def\inone#1{%
\start\setupinteraction[color=darkgreen]%
\enabledirectives
Hi Hans,
I have the following source, which tries to resemble three kinds of links:
\setupinteraction[state=start, style=, focus=standard]
\def\inone#1{%
\start\setupinteraction[color=darkgreen]%
\enabledirectives[references.border=darkgreen]%
\goto{#1}[url(#1)]\stop
ion 'ISO coated v2 300%
(ECI)' loaded from
'/Users/jinho/context-osx-arm64/tex/texmf-context/colors/icc/context/colorprofiles.xml'
backend > profiles > error, couldn't locate profile
'ISOcoated_v2_300_eci.icc'
backend > profiles > invalid output intent 'ISO Coated
/texmf-context/colors/icc/context/colorprofiles.xml'
backend > profiles > error, couldn't locate profile
'ISOcoated_v2_300_eci.icc'
backend > profiles > invalid output intent 'ISO Coated v2 300% (ECI)'
Here is a MWE that generates these errors:
setupinteraction
[title=TITLE,
hat doesn’t matter.
"location=inmargin": the symbol is at the edge of the text, but not in
the margin.
Hraban
\setupinteraction[
state=start,
]
\setupcomment[
author=Don,
location=inmargin,
]
\starttext
\samplefile{knuth}
\comment[author=Me
image () gets included even though the actual
file name does not contain two spaces (but @xlink:href does).
Any ideas what is going on here?
Then, in the case of the link, the two %20 end up as a single %20.
Best,
Denis
\setupinteraction[state=start]
\startxmlsetups xml:test
Forwarded Message
Subject: Re: [NTG-context] escaping \ in Lua
Date: Tue, 5 Sep 2023 21:00:21 +0200
From: Hans Hagen
To: Pablo Rodriguez
On 9/5/2023 6:43 PM, Pablo Rodriguez wrote:
Dear list,
I have the following source:
\setupinteraction[state=start, display=new
Dear list,
I have the following source:
\setupinteraction[state=start, display=new]
\enabledirectives[references.border=darkgreen]
\starttext
\startTEXpage[offset=1dk]
\attachment[method=hidden, file=a(b).pdf]
\stopTEXpage
\stoptext
The name in EmbeddedFiles is "a\(b\
I’m afraid that \in{attachment}[foobar] doesn‘t generate a link in your
sample.
Or do you get a link border from the following source?
\setupinteraction[state=start]
\enabledirectives[references.border=green]
\starttext
\startTEXpage[offset=1em]
\attachment[
file={hacker.jpg},
m
the hood, I think there’s just a
“reference” key missing in \attachment or \setupattachment:
\setupinteraction[state=start]
\starttext
\samplefile{lorem}
\attachment[
file={hacker.jpg},
title={Hacker},
symbol=Paperclip,
author=Hans,
location=inmargin,
reference=foobar,
]
As you can see
, as a
special character seems to cause an error. Adding a double hash seems to work,
but those ## will end up in the link URL. How can I properly escape a single #?
I've already tried using \Ux{23}, but that won't work either.
Best,
Denis
\setupinteraction[state=start]
\startxmlsetups xml:test
]
@book{burago2022course,
title={A course in metric geometry},
author={Burago, Dmitri and Burago, Yuri and Ivanov, Sergei},
volume={33},
year={2022},
publisher={American Mathematical Society}
}
\stopbuffer
\setupinteraction[state=start, color=blue]
\setupcolors[state=start]
\usebtxdataset
inlineuserdata?
%% MWE:
\setupinteraction[state=start]
\define[2]\imghref{\bgroup\goto{#1}[url(#2)]\egroup}
\defineexternalfigure[logo][height=1em]
\definedataset[autores]
\setdataset[autores][
nombre={Angie Natalia Farfán Acevedo},
cvlac={
https://scienti.minciencias.gov.co/cvlac/visualizador
ng, since I forgot enabling interaction in the main PDF
document to generate the targets (or named destinations).
\setupinteraction[state=start, focus=standard]
\starttext
\dorecurse{15}
{\chapter[chap\recurselevel]{Chapter}}
\stoptext
The first line was missing yesterday.
After that (
reference (save it as main.tex):
\starttext
\dorecurse{15}
{\chapter[chap\recurselevel]{Chapter}}
\stoptext
You have the file that reads the references from main.tuc and generates
the inter-document links:
\setupinteraction[state=start]
\starttext
Links to each chapter using
If that could be what you might need, here is a sample.
First you have the destination file:
\setupinteraction[state=start,
focus=standard,
prefix=n_,]
\starttext
\dorecurse{50}
{a\footnote{b} }
\startluacode
luatex.wrapup(
function()
os.rename(tex.jobname ..
On 7/19/2023 12:36 AM, Gerben Wierda wrote:
This file:
\setupinteraction
[state=start,
color=blue,
style=bold]
\definefallbackfamily
[archimate]
[ss]
[Helvetica]
[preset=range:cyrillic,
tf=style:light,
it=style:lightoblique,
bf=style:regular,
bi
This file:
\setupinteraction
[state=start,
color=blue,
style=bold]
\definefallbackfamily
[archimate]
[ss]
[Helvetica]
[preset=range:cyrillic,
tf=style:light,
it=style:lightoblique,
bf=style:regular,
bi=style:oblique,
force=yes,
rscale=1.0]
\definefontfamily
Dear list,
having the following sample code:
\setuppapersize[A4, landscape]
\setuplayout[page]
\setupinteraction[state=start]
\starttext
\setupfield[sl][horizontal]
[frame=off, width=\textwidth, height=\textheight]
\definefield[x][signature][sl]
\field[x]
I also attach
upports JS to control OCGs
(\overlayrollbutton in the MWE)
Hraban
\setupinteraction[state=start]% needed for JS
\defineviewerlayer[Gebuesch][
state=stop,
]
\defineviewerlayer[Versteck]
\setupviewerlayer[Versteck][ % doesn’t work
state=stop,
]
\starttext
Hier fängt der Wald an.
\startviewerlaye
On 5/28/2023 8:57 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
in the following sample, hyperlinks for footnotest don’t work with
current latest (2023.05.28 18:57) with current LMTX (20230528):
\setupinteraction
[state=start,
focus=standard]
\starttext
On 5/28/2023 8:57 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
in the following sample, hyperlinks for footnotest don’t work with
current latest (2023.05.28 18:57) with current LMTX (20230528):
\setupinteraction
[state=start,
focus=standard]
\starttext
Dear list,
in the following sample, hyperlinks for footnotest don’t work with
current latest (2023.05.28 18:57) with current LMTX (20230528):
\setupinteraction
[state=start,
focus=standard]
\starttext
\completecontent
\dorecurse{5}
{a\footnote{}}
\stoptext
LuaTeX
On 3/13/23 22:32, Hans Hagen via ntg-context wrote:
>> [...]
>> I hope EOLs are fine now.
> dunno ... no full example so ...
Sorry, Hans, the full example reads:
\startbuffer[text]
\stopbuffer
\savebuffer[text][sample-text.xml, prefix=no]
\setupinteract
Dear list,
using current latest from 2023.03.10 12:18, I have this XML sample:
And the following environment:
\setupinteraction[state=start]
\startxmlsetups xml:text
\xmlsetsetup{\xmldocument}
{pre}
{xml:copy:html}
\stopxmlsetups
\xmlregistersetup{xml:text
iles (MWEs):
% index-1.tex
\setupinteraction[state=start]
\starttext
test \index{entry WB.1} \page empty \page
test \index{another WB.1} \page empty \page
test \index{onemore WB.1} \page empty \page
test \index{whatever WB.1} \page empty \page
test \index{common} \page e
Hans needs to confirm, "In the next update..."
Test files (MWEs):
% index-1.tex
\setupinteraction[state=start]
\starttext
test \index{entryWB.1} \page empty \page
test \index{another WB.1} \page empty \page
test \index{onemore WB.1} \page empty \page
test \inde
On 2/14/2023 7:41 PM, Pablo Rodriguez via ntg-context wrote:
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\null\page
\definerenderingwindow[myrenderingwindow]
[width=\textwidth, height=\textwidth]
\userendering[key-name][audio/mp3
Dear list,
I have the following sample:
\setupinteraction[state=start]
\starttext
\null\page
\definerenderingwindow[myrenderingwindow]
[width=\textwidth, height=\textwidth]
\userendering[key-name][audio/mp3][audio.mp3]
[embed=yes, auto]
\placerenderingwindow[myrenderingwindow
Dear list,
I have the following sample:
\setupinteraction[state=start, focus=standard]
\starttext
\completecontent
\dorecurse{25}
{\section{Section}
a\footnote{b}}
\stoptext
Using current latest (from 2023.01.26 18:34), destinations for TOC are
pages (/D [ 7 0 R /Fit
Hi Pablo,
> \showframe
> \setupinteraction[state=start]
> \starttext
> \startbuffer[abc]
> def foo(x):
> if x == 0:
> bar()
> else:
> baz(x)
> foo(x - 1)
> \stopbuffer
> \comment[location=leftmargin,
> space=yes,
> buffer=abc,
> title={P
g your point with the following sample:
\showframe
\setupinteraction[state=start]
\starttext
\startbuffer[abc]
def foo(x):
if x == 0:
bar()
else:
baz(x)
foo(x - 1)
\stopbuffer
\comment[location=leftmargin,
space=yes,
buffer=abc,
title={Python code}]
{}\ty
t/StopRendering actions with the correct label.
Hi Michal,
many thanks for your reply.
Your code fixes the "auto" option. At least with the following sample:
\setupinteraction[state=start]
\unexpanded\def\IncludeVideo[#1]
{\definerenderingwindow[#1]
[width=\tex
from scrn-wid.mklx):
>
> \setupinteraction[state=start]
> \starttext
> \null\page
> \definerenderingwindow[myrenderingwindow]
> [width=\textwidth, height=\textwidth,
> %openpageaction=StartCurrentRendering,
> %closepageaction=StopCurrentRendering,
> op
Dear list,
I’m planning to add an explanation about multimedia inclusion to the
wiki, but first I wanted to discuss an issue I have found.
I have the following sample (adapted from scrn-wid.mklx):
\setupinteraction[state=start]
\starttext
\null\page
\definerenderingwindow
On 1/15/23 17:57, Joel via ntg-context wrote:
> When I am using the SBL ConTeXt files for citations, if I add a line
> `\setupinteraction[state=start` my code starts complaining:
> [...]
> Is this package incompatible with interaction?
Hi Joel,
unless I’m missing your point,
https:
When I am using the SBL ConTeXt files for citations, if I add a line
`\setupinteraction[state=start` my code starts complaining:
Undefined control sequence \currentbtxloctext
\16>:btx:sbl:cite:inline
#1->\fastsetup {\s!btx :\s!cite :concat}\fastsetup
{btx:sbl:cite:lefttext}\begi
t; <http://litteraturbanken.se/>».
>> (And it looks as the link was cropped, only reads the first line?)
>
> \setupinteraction[state=start]
>
> \useurl
> [litteraturbanken]
> [https://litteraturbanken.se]
> [författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimi
t line?)
\setupinteraction[state=start]
\useurl
[litteraturbanken]
[https://litteraturbanken.se]
[författare/CollijnI/titlar/ActaEtProcessusCanon/sida/614/faksimil?show_search_work_query=retractata_lbworkid=lb487378_mediatype=faksimil_word_form_only]
[https://litteraturbanken.se]
\starttext
before \got
g-context
> mailto:ntg-context@ntg.nl>>:
>
> A simpler approach would read (there is a single url, instead of two
> [less typos in the end]):
>
> \setupinteraction[state=start]
>
> \starttext
>
> \def\MyURL[#1]{\goto{\tt\hyphenatedurl{#1}}[url(#1)]}
>
> \My
nclose the url inside \startasciimode...\stopasciimode to
avoid escaping the percent sign.
The percent sign has to be escaped as \letterpercent (otherwise, you get
\%) in text.
A simpler approach would read (there is a single url, instead of two
[less typos in the end]):
\setupinteraction[state=start]
\sta
On 10/16/22 13:28, Pablo Rodriguez via ntg-context wrote:
> [...]
> So, line 40 of that file ("local cheat = true") needs a conditional that
> I’m not able to provide (I have no idea how it would read).
>
> Basically, if \setupinteraction[focus=standard], please don
On 10/14/22 23:24, Pablo Rodriguez via ntg-context wrote:
> Hi Hans,
>
> I have the following sample:
>
> \setupinteraction[state=start,
> focus=standard]
> \starttext
> \completecontent
> \section{section}
> a\footnote{\contextversion}
> \stopte
Hi Hans,
I have the following sample:
\setupinteraction[state=start,
focus=standard]
\starttext
\completecontent
\section{section}
a\footnote{\contextversion}
\stoptext
With version from 2022.09.11 20:44, the link from the TOC reads in the
PDF file:
4 0 obj
<<
/D [
Hi!
Le 14/10/2022 à 16:24, Pablo Rodriguez via ntg-context a écrit :
Dear list,
I have the following sample:
\setuppapersize[A7]
\setupinteraction[state=start,
color=darkred,
contrastcolor=darkred,
focus=standard]
\starttext
\completecontent
\startsection[title
Dear list,
I have the following sample:
\setuppapersize[A7]
\setupinteraction[state=start,
color=darkred,
contrastcolor=darkred,
focus=standard]
\starttext
\completecontent
\startsection[title={sec}, list=(before \&\ now), reference=a]
\page
\in[a] (after 2022.10.1
ext wrote:
> > Thanks for the pointers, but unfortunately I cannot reproduce the second
> > fix with either the system pdf viewer or the browser one.
>
> Hi Sylvain,
>
> it seems that ConTeXt is basically ignoring "focus=standard" in lists.
>
> Compare bot
mpare both links here:
\setupinteraction[state=start,
color=darkred,
contrastcolor=darkred,
focus=standard]
\starttext
\completecontent
\section[a]{b}
\about[a]
\stoptext
And this is a regression. I think it was introduced in latest from
2022.07.06 21:42, since latest from
Thanks for the pointers, but unfortunately I cannot reproduce the second
fix with either the system pdf viewer or the browser one.
\usemodule[ipsum]
\setupinteraction[state=start,focus=standard]
\starttext
\completecontent
\section{s1}\ipsum
\section{s2}\ipsum
1 - 100 of 2127 matches
Mail list logo