[NTG-context] Combine lua and btx setup, was: Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-23 Thread Gerion Entrup
t; a specification, though. Does the "short" form in ConTeXt exist for a > specific reason? :) > > Gerion > > > On Tue, 16 Apr 2024 06:04:35 +0200 > > Gerion Entrup wrote: > > > > > Hi, > > > > > > I'm trying to customize a cite for

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-18 Thread Henning Hraban Ramm
Am 17.04.24 um 23:25 schrieb Garulfo: - exactly, it's not a question of proposing new documents, but of proposing another complementary way of accessing and browsing existing ones. - Actually, the wiki is (or can be) a hub for the 4 needs:   - "Reference" like https://wiki.context

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Garulfo
iki.contextgarden.net/Commands/ ... - Discussions and manuals: most of the existing manuals - Reference : the pages dedicated to commands which already include link to mailing list, stack exchange, ConTeXt's source - https://wiki.contextgarden.net/Category:Commands - https://wiki.contextgarden.

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Gerion Entrup
a bibliography. Currently, > > I'm using the aps style which fits so far, except of the plain number > > as reference. In concrete, I want to change the following: > > - Use the first letter of the last name and the year as reference > > (this should be exactly the short

[NTG-context] Re: Customize citation format of a bibliography (use the short form as reference format)

2024-04-17 Thread Alan Braslau via ntg-context
Gerion Entrup wrote: > Hi, > > I'm trying to customize a cite format in a bibliography. Currently, > I'm using the aps style which fits so far, except of the plain number > as reference. In concrete, I want to change the following: > - Use the first letter of the last name and the

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-17 Thread Bruce Horrocks
ost of the existing wiki pages which are not > https://wiki.contextgarden.net/Commands/ ... > - Discussions and manuals: most of the existing manuals > - Reference : the pages dedicated to commands which already include link to > mailing list, stack exchange, ConTeXt's source > - https://wiki.cont

[NTG-context] Customize citation format of a bibliography (use the short form as reference format)

2024-04-15 Thread Gerion Entrup
Hi, I'm trying to customize a cite format in a bibliography. Currently, I'm using the aps style which fits so far, except of the plain number as reference. In concrete, I want to change the following: - Use the first letter of the last name and the year as reference (this should be exactly

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Peter Hopcroft via ntg-context
as it doesn’t get to convoluted). > > I’d say updating, sorting, restructuring pages is more important than a new > start page. > > Yes, please sort out reference vs. tutorials! > > Often examples make sense in the reference pages, so the distinction is a bit > fuzzy, but there are

[NTG-context] Re: Wiki - test/proposal to further clarify documentation

2024-04-14 Thread Henning Hraban Ramm
Hi Garulfo, I’m not against the “new order”, but I’d keep the colorful subject tiles. Different accesses are good IMO (as long as it doesn’t get to convoluted). I’d say updating, sorting, restructuring pages is more important than a new start page. Yes, please sort out reference vs

[NTG-context] Wiki - test/proposal to further clarify documentation

2024-04-14 Thread garulfo
ing wiki pages which are not https://wiki.contextgarden.net/Commands/ ... - Discussions and manuals: most of the existing manuals - Reference : the pages dedicated to commands which already include link to mailing list, stack exchange, ConTeXt's source - https://wiki.contextgarden.net/Categor

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Henning Hraban Ramm
l in a row.     \startplacetable[mode=columns,reference=demo-1]     \externalfigure[cow][width=\textwidth]     \stopplacetable     \samplefile{tufte} \stoptext so basically we have an "at the spot" placement or a float Is "mode" in floats something new? How is

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Willi Egger
n \in {table} [demo-1]} {below} we can > have >more than one cell in a row. > >\startplacetable[mode=columns,reference=demo-1] >\externalfigure[cow][width=\textwidth] >

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Hans Hagen
, when "mode=columns" is used. compare with and without mode columns: \starttext \enablemode[columns] As we see \doifelsemode {columns} {in \in {table} [demo-1]} {below} we can have more than one cell in a row. \startplacetable[mode=columns,refere

[NTG-context] Re: Figure reference failing

2024-04-10 Thread Taco Hoekwater
> On 10 Apr 2024, at 13:04, Willi Egger wrote: > > Hello, > > It seems, that the referencing mechanism is failing. I detected this with the > January version and the current version: 2024.04.01 08:59. > > Could some one confirm this? It fails for me as well, when "mode=columns" is used.

[NTG-context] Figure reference failing

2024-04-10 Thread Willi Egger
Hello, It seems, that the referencing mechanism is failing. I detected this with the January version and the current version: 2024.04.01 08:59. Could some one confirm this? Kind regards Willi test.pdf Description: Adobe PDF document test.tex Description: Binary data

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
...) If it helps: I currently have \startFMTitle[reference=\Reference, title={}][itemAuthor=AuthorName, itemTitle=ShortTitle,...] \setuplist[FMTitle][state=start, alternative=startendfmpages, criterium=all,] (\Reference is defined at the in the preamble to input of the file/component

[NTG-context] start/end pages in ToC

2024-03-26 Thread Alan Bowen
[SourceTitle][page=yes, footer={ItemData}] \definehead[StudyTitle][chapter] \setuphead[StudyTitle][page=yes, footer={ItemData}] \definetext[ItemData][footer][ {\at[\Reference]– \at[\namedstructureuservariable{}{authorInitials}endPage]} ] \setuplist[SourceTitle][ state=start, textcolor=black

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
Thank you! The solution worked! On Friday, March 15, 2024 at 02:30:40 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 15.03.2024 um 20:50: > When I run this code, \at{page}[xyz] is unable to find the cross reference: > > \starttext > %\r

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Wolfgang Schuster
Joel via ntg-context schrieb am 15.03.2024 um 20:50: When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext %\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \NC \doifnotmode{*trialtypesetting

[NTG-context] Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext%\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \stoptabulate \pagebreak \at{page}[xyz] \stoptext The code does work when I uncomment line #2

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
upregister[learnedlong][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \define[1]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \refer

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
upregister[learnedlong][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] % \define[1]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \refer

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
]\learnedis{%     \txt{} \getvalue{#1}     \learnedshort{#1}     \learnedlong{#1} } \define[1]\learned{%     \textreference[textref#1]{\expanded{\currentstructuretitle}}     \reference[ref#1]{}% %     \learnedshort{#1}     \learnedlong{\getvalue{#1}} } \starttext \learned{W3}     \startchapter[title

[NTG-context] Re: How can I do this?

2024-03-08 Thread Otared Kavian
[color=black, height=0.10ex, width=13.50cm] \reference[Regel:1]{3.1} {\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{\forall n \in \naturalnumbe

[NTG-context] How can I do this?

2024-03-06 Thread Ursula Hermann
=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

[NTG-context] Re: \in, \at, and labletext

2024-02-29 Thread Ursula Hermann
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

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Hans Hagen
/reference manual/complete guide that comes /directly/ from the ConTeXt team (Hans, Wolfgang, etc). And, above all, that it is up to date: on Contextgarden many ‘valid’ manuals date back to many years ago, and the obsolescence of the software guides could make people say something like «well

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Tommaso Gordini
started with. The documentation on ConTeXt is copious, and we know it: just look at the manuals on Contextgarden. But it is decidedly fragmented, and this disorientates the user. I believe, therefore, that what the community misses is a tutorial/reference manual/complete guide that comes *directly

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Tommaso Gordini
gt; On Thu, Feb 15, 2024 at 8:31 AM Jan Ulrich Hasecke via ntg-context > wrote: > > > > Hi, > > > > Am 14.02.24 um 19:45 schrieb Sir Coleman via ntg-context: > > > > I wanted to create more of a reference, a complete reference, and one > that's of co

[NTG-context] Re: An announcement of my new book.

2024-02-15 Thread Mikael Sundqvist
I wanted to create more of a reference, a complete reference, and one that's > of course not meant to be read from cover to cover. > > > I think that setup-en.pdf is a good starting point for a complete reference > as it contains the commands and their options. With added expl

[NTG-context] Re: An announcement of my new book.

2024-02-14 Thread Jan Ulrich Hasecke via ntg-context
Hi, Am 14.02.24 um 19:45 schrieb Sir Coleman via ntg-context: I wanted to create more of a reference, a complete reference, and one that's of course not meant to be read from cover to cover. I think that setup-en.pdf is a good starting point for a complete reference as it contains

[NTG-context] Re: An announcement of my new book.

2024-02-14 Thread Joaquín Ataz López
ction to ConTeXt Mark IV", and teach the particularly advanced features, where there is sparse information. Particularly, it's meant to serve as one complete reference, instead of having to hunt for different manuals, which explain things differently, and with the consequence that it's ha

[NTG-context] Re: An announcement of my new book.

2024-02-14 Thread Sir Coleman via ntg-context
First of all, I'm grateful for your offer, and hope that you find it valuable indeed. However, I must say that this isn't what I had in mind. I wanted to create more of a reference, a complete reference, and one that's of course not meant to be read from cover to cover. What you're suggesting

[NTG-context] An announcement of my new book.

2024-02-11 Thread SirColeman via ntg-context
beyond the book "A not so short introduction to ConTeXt Mark IV", and teach the particularly advanced features, where there is sparse information. Particularly, it's meant to serve as one complete reference, instead of having to hunt for different manuals, which explain things d

[NTG-context] Re: OT: interview with John Warnock

2024-02-09 Thread Henning Hraban Ramm
Many thanks for the reference, Hraban. This is the first part of the interview, which has a second part in: https://archive.computerhistory.org/resources/access/text/2023/08/102738854-05-01-acc.pdf Videos for both (almost five hours in total) are available at https://invidio.us

[NTG-context] Re: OT: interview with John Warnock

2024-02-09 Thread Pablo Rodriguez via ntg-context
On 2/6/24 14:04, Henning Hraban Ramm wrote: > Hi, I came across this interview with John Warnock (founder of Adobe and > developer of PostScript): > > https://archive.computerhistory.org/resources/access/text/2023/08/102738759-05-01-acc.pdf Many thanks for the refer

[NTG-context] Re: How to print the book title and section title where \reference is located?

2024-02-09 Thread Bruce Horrocks
> On 7 Feb 2024, at 03:47, Joel via ntg-context wrote: > > I have an extensive multi-book project. Each book has a nickname, like TB for > "Textbook", "WB 1" for the "Workbook, Vol. 1": > > TB -- 01_textbook.tex > WB 1 -- 03_workbook.tex > WB 2 -- 04_workbook.tex > WB 3 -- 05_workbook.tex >

[NTG-context] How to print the book title and section title where \reference is located?

2024-02-06 Thread Joel via ntg-context
on p. 11. To mark the pages, I'm simply dropping in macros called "\requirementA" "\requirementB" on whichever page of whichever book demonstrates it meets the requirement, then the file will aquatically list the book, section, and page number by searching for that macr

[NTG-context] font error in float placement?

2024-01-13 Thread Henning Hraban Ramm
ele für gebrochene Schriften, halbherzig von Hand ausgeglichen},location=right,reference=abb:fraktur] 515 \externalfigure[gebrochene_schriften][width=.5\textwidth] 516 >> \stopplacefigure """ ___

[NTG-context] Re: Links

2024-01-09 Thread Ursula Hermann
o link to, e.g. \startchapter[title={My chapter},reference=chap:first] or \chapter[chap:first]{My chapter} This works the same for other structure levels. I’m not sure about bibliography, but I think you must use the bib entry code. You can also set anchors manually using \textreference and

[NTG-context] Re: Links

2024-01-08 Thread Henning Hraban Ramm
need an anchor (link target) to link to, e.g. \startchapter[title={My chapter},reference=chap:first] or \chapter[chap:first]{My chapter} This works the same for other structure levels. I’m not sure about bibliography, but I think you must use the bib entry code. You can also set anchors

[NTG-context] Re: error: Control sequence expected instead of undefined

2023-12-25 Thread Willi Egger
* > \starttext > \in{figure}[fig:kruskal1] is my point. > > \startplacefigure[location=,reference=fig:kruskal1,title={}] > \externalfigure[cow][width=.5\makeupwidth] > \stopplacefigure > \stoptext > % > __

[NTG-context] error: Control sequence expected instead of undefined

2023-12-25 Thread Jeong Dal via ntg-context
%%%* \starttext \in{figure}[fig:kruskal1] is my point. \startplacefigure[location=,reference=fig:kruskal1,title={}] \externalfigure[cow][width=.5\makeupwidth] \stopplacefigure \stoptext %___ If your

[NTG-context] Re: Seeking advice for module that draws globes

2023-12-19 Thread Henning Hraban Ramm
Usually it makes sense to link _to_ your new page from a related (overview) page and _from_ your page back to that. Command reference pages are special in that they read data from interface files and display a form to fill in explanations and examples. (That doesn’t yet work with interface files

[NTG-context] Re: Score sums and references

2023-12-13 Thread Jairo A. del Rio
to do the following? > > > > \integerdef\lmao=0 > > \starttext > > Sum: \in[trick] % 10 from the result below > > > > +1\advance\lmao\plusone > > > > +2\advance\lmao\plustwo > > > > +3\advance\lmao\plusthree > > > > +4\advance\lmao\plus

[NTG-context] Re: Score sums and references

2023-12-13 Thread Hans Hagen
o\plusfour \normalexpanded{\reference[trick]{\the\lmao}} % 10 printed above \stoptext I want the result of a sum (either via Lua or TeX) to be printed before summands in text, but without the mess of reference options such as interaction, etc. Thank you in advance and sorry for any inconvenience. \

[NTG-context] Score sums and references

2023-12-12 Thread Jairo A. del Rio
Hi, dear list. Is there a proper "ConTeXt way" to do the following? \integerdef\lmao=0 \starttext Sum: \in[trick] % 10 from the result below +1\advance\lmao\plusone +2\advance\lmao\plustwo +3\advance\lmao\plusthree +4\advance\lmao\plusfour \normalexpanded{\reference[trick]{\the\l

[NTG-context] Re: \placefigure[location=here...] problem

2023-12-09 Thread Wolfgang Schuster
on the next page one after the other. Can anyone suggest what I could be doing wrong? Without a proper example it's difficult to give an answer. Do I need to increase the buffer? how? This is what I have used to place each figure \startplacefigure[location=here,reference=fig:blah

[NTG-context] \placefigure[location=here...] problem

2023-12-09 Thread anton . chigurh
could be doing wrong? Do I need to increase the buffer? how? This is what I have used to place each figure \startplacefigure[location=here,reference=fig:blah][]{} \externalfigure[blah.jpeg][scale=300] \stopplacefigure

[NTG-context] Converting XHTML captions to ConTeXt captions

2023-11-26 Thread Thangalin
txmlsetups xml:table \blank \doifelsetext{\CaptionText}{% \startplacetable[ title={\ignorespaces\CaptionText{}\removeunwantedspaces.}, reference={\AnchorXref} ] \define\CaptionText{} \define\AnchorXref{} }{ \startplacetable } \startembeddedxtable \start

[NTG-context] Re: Compatibility Issue with TikZ/Spy Library in ConTeXt: Seeking Solutions

2023-11-24 Thread Hans Hagen
://context-on-web.eu/. The example employs the spy library within a TikZ environment. Surprisingly, the same example runs without error on my local LaTeX engine, indicating a potential compatibility issue between ConTeXt and the spy library. Here is the minimal example for your reference:

[NTG-context] Compatibility Issue with TikZ/Spy Library in ConTeXt: Seeking Solutions

2023-11-24 Thread wolfgangbackes--- via ntg-context
hin a TikZ environment. Surprisingly, the same example runs without error on my local LaTeX engine, indicating a potential compatibility issue between ConTeXt and the spy library. Here is the minimal example for your reference: \starttext \usemodule[tikz] \usetikzlibrary {spy} \starttikzpicture

[NTG-context] Markdown to HTML cross-references

2023-11-21 Thread Thangalin
Hi list, I'm looking to implement a consistent syntax for cross-references in KeenWrite <https://keenwrite.com/> and am wondering what you think would make the most sense for translating into ConTeXt commands. First, some background (the first two give an overview, the others are cross-ref

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-11-12 Thread Hans Hagen
metapost or latex. The next one I am going to try to build a parser for is metapost (following the reference material in the back of the manual) but I haven't sat down to that task yet. (Plus, that one's going to need a _lot_ of testing by people other than I; I only use metapost for very simple

[NTG-context] Re: ConTeXt support for Nova text editor (MacOS)

2023-11-11 Thread Paul Mazaitis
ng to try to build a parser for is metapost (following the reference material in the back of the manual) but I haven't sat down to that task yet. (Plus, that one's going to need a _lot_ of testing by people other than I; I only use metapost for very simple things, and my understanding is surf

[NTG-context] MP: problems with dashed lines

2023-10-22 Thread Henning Hraban Ramm
Hi, I wanted to use dashed lines as folding marks, but apparently they only work with pencircle, or at least not with pensquare. The Metafun manual (Reference, C5) also shows a problem with "dashed oddly", that I can’t reproduce in this MWE: \startMPpage draw (0,0)--(100,10

[NTG-context] Re: Offline documentations

2023-10-02 Thread Juliano David Hilario
; >> Well, the documentation is spread over several PDF files, and the wiki >> is not usable offline, of course. >> >> You can grep through the sources of the manuals (in >> texmf-context/doc/context/sources). >> >> And there is a command refere

[NTG-context] Re: Offline documentations

2023-10-02 Thread Juliano David Hilario
sources of the manuals (in > texmf-context/doc/context/sources). > > And there is a command reference browser: > > mtxrun --script server --auto > > and the open > http://localhost:8088/mtx-server-ctx-help.lua > > B

[NTG-context] Re: Offline documentations

2023-10-02 Thread Henning Hraban Ramm
PDF files, and the wiki is not usable offline, of course. You can grep through the sources of the manuals (in texmf-context/doc/context/sources). And there is a command reference browser: mtxrun --script server --auto and the open http://localhost:8088/mtx-server-ctx-help.lua But since

[NTG-context] Re: Framed Text with Chapter Numbers as Counter

2023-09-17 Thread Jeroen
yfont=11pt, style={\tt}] \defineenumeration [Code] [title=yes, alternative=empty, before=\startCountFramedText, after=\stopCountFramedText, left={\somenamedheadnumber{chapter}{current}.}] \starttext \startchapter [title=first] \startCode [title={The First Title}, refer

[NTG-context] Framed Text with Chapter Numbers as Counter

2023-09-16 Thread Jeroen
CountFrame} {} \defineenumeration [Counter] [title=yes, alternative=empty, before=\startCountFramedText, after=\stopCountFramedText] \starttext \startchapter [title=first] \startCounter [title={The First Title}, reference={tit1}] Some verbatim text \stopCounter \startCounte

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-10 Thread Jim
wing the names and page numbers, >>something like >>Blah blah blah2 >>Blah blah 4 >>... >>However, notwithstanding what I see in >>https://wiki.contextgarden.net/index.php?title=Titles=toggle_view_desktop#Unnumbered_titles_in_table_of_contents >

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Jim
h blah blah2 >> Blah blah 4 >> ... >> However, notwithstanding what I see in >> https://wiki.contextgarden.net/index.php?title=Titles=toggle_view_desktop#Unnumbered_titles_in_table_of_contents >> I can't get this to happen with unnumbered divisions. >> The above wi

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Lutz Haseloff
r, notwithstanding what I see in >https://wiki.contextgarden.net/index.php?title=Titles=toggle_view_desktop#Unnumbered_titles_in_table_of_contents >I can't get this to happen with unnumbered divisions. > >The above wiki reference says "the following might do that trick" but I &g

[NTG-context] Re: Table of contents of unnumbered titles

2023-09-09 Thread Wolfgang Schuster
I see in https://wiki.contextgarden.net/index.php?title=Titles=toggle_view_desktop#Unnumbered_titles_in_table_of_contents I can't get this to happen with unnumbered divisions. The above wiki reference says "the following might do that trick" but I think "might" is the keyword,

[NTG-context] Table of contents of unnumbered titles

2023-09-09 Thread Jim
://wiki.contextgarden.net/index.php?title=Titles=toggle_view_desktop#Unnumbered_titles_in_table_of_contents I can't get this to happen with unnumbered divisions. The above wiki reference says "the following might do that trick" but I think "might" is the keyword, since even the wiki doesn't show t

[NTG-context] Verbatim Textbox with Reference NUmbering

2023-09-09 Thread Jeroen
This is a longshot, but would be great to have. Below I have at MWE1 the verbatim codefragment textbox I am using. I found in the forum MWE2 which is a textbox with an automatic reference number. Is there a way to get the same for MWE1 with automatic reference numbering like 1.1, 1.2 etc

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Pablo Rodriguez
On 9/3/23 16:02, Henning Hraban Ramm wrote: > Am 03.09.23 um 13:03 schrieb Pablo Rodriguez: > [...] > While I don’t know what’s missing under the hood, I think there’s just a > “reference” key missing in \attachment or \setupattachment: Many thanks for your reply, Hraban.

[NTG-context] Re: (feature proposal) link to attachments: /GoToE

2023-09-03 Thread Henning Hraban Ramm
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

[NTG-context] Re: XML: Correct usage of hash symbol in url / new upload

2023-08-27 Thread Hans Hagen via ntg-context
this: \def\foo#1{#1 test ##} \def\foo#1{#1 test\def\more##1{(##1)}} the internal representation of #1 is a reference to parameter 1 while the ## becomes one # (cc parameter) in the second exmaple followed by a character 1 (cc other) then, when tex serializes e.g. in tracing it duplicates the hash

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-21 Thread Carlos
should indeed sit down and wonder a bit if that could be the case because he > is a pretty good tester who had been around for quite a while. So you can be > sure that he tested it well and that he has a proper setup. Personally I'd > be worried if someone doubts my installation. it has n

[NTG-context] Re: redefine space to be the same as \␣ similar to knuthian approach

2023-08-20 Thread Hans Hagen
that is the reference. Everything installed otherwise is the users problem. Which brings me to this file read only thing you mention. If your font cache is not writable you migth end up with bad metrics indeed just because there are no font resources but that's not up to context to deal with. Also

[NTG-context] backend not forcing 1000 width units on fonts; em size must be applied or else fails

2023-08-20 Thread Carlos
Mikael, Wolfgang: This is in reference to the prior Re: redefine space to be the same as \␣ similar to knuthian approach > Maybe your system is broken? > > > > > > 2. The example below results in a correct output for \TEX. > > > > > > > Not in my

[NTG-context] Re: Some very simple cld - loading a module

2023-08-18 Thread Hamid,Idris
file ./test-luacode.tex: Undefined control sequence \translateinput [Hermes][Idris] === The reason for the error is that the module is not being loaded. Toggling back to context syntax, of course, works. Reference: ConTeXt Lua Documents by Hans Hagen, page 22. The following analogous cod

[NTG-context] Re: Some very simple cld - loading a module

2023-08-18 Thread Wolfgang Schuster
line 14 in file ./test-luacode.tex: Undefined control sequence     \translateinput     [Hermes][Idris] === The reason for the error is that the module is not being loaded. Toggling back to context syntax, of course, works. Reference: ConTeXt Lua Documents by Hans Hagen, page 22. The followin

[NTG-context] Some very simple cld - loading a module

2023-08-18 Thread Hamid,Idris
ror is that the module is not being loaded. Toggling back to context syntax, of course, works. Reference: ConTeXt Lua Documents by Hans Hagen, page 22. The following analogous code works: \startluacode context.startchapter{first} \stopluacode So how do we properly load the module from within a luac

[NTG-context] Re: disable header for endnotes

2023-08-16 Thread Rik Kabel
In the text: \startbackmatter \startchapter[reference={cha:notes}, list={Notes}, % toc bookmark={Notes}, % pdf bookmark title={Notes}] % chapter head [Lettrine=no] \setups{noteHeadings:on} \placenotes[endnote] \stopchapter -- Rik

[NTG-context] Re: An error which is not in .log file

2023-08-16 Thread Xavier B.
gt; > problem to several "wrong" files. > > One was trivialy fixed because I did not close one environment, but other > > don't. Please help: > > 1. You need \starttext and \stoptext at the begin and end of your > example file. > > 2. You forgot

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Wolfgang Schuster
\stoptext at the begin and end of your example file. 2. You forgot to close the following environment: \startexercici[reference=exercici:problemes-de-fraccions-13, title={tasca per fer junts}] 3. \starttikzpicure doesn't allow arguments which results in font error messages (char .

[NTG-context] Re: An error which is not in .log file

2023-08-15 Thread Xavier B.
is not found structure > sectioning > section @ level 3 : 0.0.1 -> Problemes de fraccions structure > sectioning > subject @ level 3 : 0.0.1 -> Preguntes tex error > tex error on line 25 in file ./dev.tex: \textfont0 is undefined in ordinal, font id 0, character

[NTG-context] Re: Very strange error:

2023-08-15 Thread Wolfgang Schuster
) which end with the end of the paragraph had always been problematic and it's better to use the alternative environment. @all, please comment it out this behaviour in somewhere. The weak point of context is documentation: wiki is too bit not updated and reference manual are outdated. As a simple

[NTG-context] Re: Optical scaling in Latin Modern

2023-08-15 Thread Hamid,Idris
references to design weights and styles but not to optical sizes. So no lmroman5-regular, lmroman6-regular... lmroman17-regular. There is only reference to lmroman10, which is why my initial search came up with no results. Ah, the abstraction happens here I think: \definetypeface [\typescriptone]

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
Xavier B. schrieb am 15.08.2023 um 00:03: Now     - \startexercici[]{}  --> \startexercici[reference=...,title=...] with LMTX this \startitemize \sym{\in[REFERENCE]} \stopitemize does not work. You have to provide a example for the error because it works for me. \startt

[NTG-context] Re: Very strange error:

2023-08-14 Thread Hans Hagen via ntg-context
is too bit not updated and reference manual are outdated. As a simple user, it could cause nightmares, overall in transition to one major version to another. the only things that really changed are - input encodings, still supported but we assume utf8 - font encodings, font features etc that make

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
Now > >     - \startexercici[]{}  --> > \startexercici[reference=...,title=...] > with LMTX this \startitemize \sym{\in[REFERENCE]} \stopitemize does not work. Some change here too? Thanks,

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
o > replace it with > >     \starthead {...} >         ... >     \stophead > > but there are more things which can be changed to use modern syntax (in > many cases part of ConTeXt since nearly a decade). > > > A few examples: > >     - \startexercici[]{}  --> > \start

[NTG-context] Re: Very strange error:

2023-08-14 Thread Xavier B.
Thanks, Rik, for the comment. You're right. Note that I've never been aware of such requirement because always in MKIV I use \head without \par. @all, please comment it out this behaviour in somewhere. The weak point of context is documentation: wiki is too bit not updated and reference manual

[NTG-context] Re: Very strange error:

2023-08-14 Thread Wolfgang Schuster
ror and it's better to replace it with     \starthead {...}         ...     \stophead but there are more things which can be changed to use modern syntax (in many cases part of ConTeXt since nearly a decade). A few examples:     - \startexercici[]{}  --> \startexercici[reference=...

[NTG-context] Map XML attributes to variables, dynamically

2023-08-10 Thread Thangalin
after={\stopTextConcurrentFrame\blank[big]}, ] I'd like to replace \setMPText calls with a reference to a dynamically created variable reference. For example: \setMPtext{1}{\usermap[concurrent.title]} \setMPtext{2}{\usermap[concurrent.location]} I can verify the attribute values exist by expor

[NTG-context] Re: Bibliography cite

2023-08-05 Thread Robert via ntg-context
1984] >>> mentions …. >>> >>> >>> The tricky part concerning righttext= is the double {{ }}, needed because >>> the text contains a comma. The reason for this is simple, as righttext is a >>> comma-separated list, where each entry cor

[NTG-context] Re: Bibliography cite

2023-08-04 Thread Alan Braslau via ntg-context
=authoryears,righttext={{, p.\nbsp 12}}] [Knuth1984] mentions …. The tricky part concerning righttext= is the double {{ }}, needed because the text contains a comma. The reason for this is simple, as righttext is a comma-separated list, where each entry corresponds to a cited reference, as in \cite

[NTG-context] Re: Bibliography cite

2023-08-01 Thread Robert via ntg-context
p.\nbsp 12}}] [Knuth1984] > mentions …. > > > The tricky part concerning righttext= is the double {{ }}, needed because the > text contains a comma. The reason for this is simple, as righttext is a > comma-separated list, where each entry corresponds to a cited reference, as > i

[NTG-context] Re: Bibliography cite

2023-08-01 Thread Alan Braslau via ntg-context
, as righttext is a comma-separated list, where each entry corresponds to a cited reference, as in \cite[righttext={a,b}] [ref1,ref2] so a is associated with ref1 and b is associated with ref2. Alan On 01/08/23 01/08/23, 15:37, Robert via ntg-context wrote: Dear List members, For my academic work

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-27 Thread Pablo Rodriguez
On 7/26/23 19:47, Pablo Rodriguez wrote: > [...] > The real issue is that I couldn’t make it work with any PDF viewer I > have on Linux. > [...] > I take for granted that Acrobat will deal fine with this, since > destinations in links (GoToR) seem to be fine. Gerion, I was wrong, since I forgot

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-26 Thread Pablo Rodriguez
On 7/25/23 17:38, Pablo Rodriguez wrote: > On 7/24/23 18:04, Gerion Entrup wrote: >> […] > > I’m in a hurry, excuse my rash reply. Sorry, Gerion, my reply yesterday was rushed (no skin condition). The solution is already there (in the test files). You have the file with the

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-25 Thread Pablo Rodriguez
translate them in such a > way, that I can use \in within the outer document to link to them. I’m in a hurry, excuse my rash reply. As far as I know (although I never used them), you can use \in with references to other documents (I guess this is why you need the .tuc file of the other d

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Aditya Mahajan
; - a destination: This is a defined position within a PDF document; so > some position that a PDF viewer is able to jump to. In ConTeXt, you > can set such a position most of the time with the "reference" keyword. > In LaTeX, you use \label. > - a reference: This i

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-24 Thread Gerion Entrup
ble to jump to. In ConTeXt, you can set such a position most of the time with the "reference" keyword. In LaTeX, you use \label. - a reference: This is a link that you can click on and cause the PDF viewer to jump/scroll to the linked destination. In ConTeXt, you can use \in to creat

[NTG-context] Re: Link from a PDF to a reference of an embedded PDF

2023-07-22 Thread Pablo Rodriguez
On 7/20/23 16:25, Gerion Entrup wrote: > [...] > Can I somehow access the references of inner.tex from outer.tex? > For me, it is not that relevant, that the correct number is set, but the > interaction within the outer PDF should work, so clicking on the > reference should scroll

[NTG-context] Link from a PDF to a reference of an embedded PDF

2023-07-20 Thread Gerion Entrup
nk to them within the main context document? In [2], I found something maybe related but it requires a tuc file. Example: inner.tex: ``` \starttext \startsection[title=References, reference=sec:ref] Some text \placeformula[eq:foo] \startformula 1 + 2 = 3 \stopformula or: \startitemize[n]

  1   2   3   4   5   6   7   8   9   10   >