Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Alan Braslau
:03, Peter Rolf wrote: > > > > Am 10.07.2019 um 21:29 schrieb Wolfgang Schuster: > >> Sanjoy Mahajan schrieb am 10.07.2019 um 04:15: > >>> Dear List, > >>> > >>> Warning: The following may be a bug or feature or just my > >>>

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Otared Kavian
r List, >>> >>> Warning: The following may be a bug or feature or just my >>> misunderstanding! It seems that parentheses cause trouble in >>> references. >> Braces are used for the argument of reference actions. >> >> \setupinteraction[state=start]

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-11 Thread Peter Rolf
gt; Braces are used for the argument of reference actions. > > \setupinteraction[state=start] > > \starttext > > \goto{Second page}[page(2)] > > \page > > \goto{ConTeXt garden}[url(http://wiki.contextgarden.net)] &g

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Wolfgang Schuster
Sanjoy Mahajan schrieb am 10.07.2019 um 04:15: Dear List, Warning: The following may be a bug or feature or just my misunderstanding! It seems that parentheses cause trouble in references. Braces are used for the argument of reference actions. \setupinteraction[state=start] \starttext

Re: [NTG-context] [DKIM Failure] Re: reference containing parentheses causes trouble

2019-07-10 Thread Peter Rolf
> > Peter, > > I think that's right, but there are small differences. For example, > variables in most languages don't allow hyphens, because they are > interpreted as minus signs. But ConTeXt references do allow them (and I > use them all the time). That may be why I exp

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Hans Hagen
On 7/10/2019 1:04 PM, Peter Rolf wrote: Hi Sanjoy, I think it's just the 'normal' limitations you have when setting a variable/id name. Special characters, like parenthesis, are not allowed here. Even whitespace can be problematic. Yesterday I had a problem with a reference (data driven

Re: [NTG-context] [DKIM Failure] Re: reference containing parentheses causes trouble

2019-07-10 Thread Sanjoy Mahajan
mple, variables in most languages don't allow hyphens, because they are interpreted as minus signs. But ConTeXt references do allow them (and I use them all the time). That may be why I expected free reign to use any characters in the reference (except, as you say, for whitespace!) and wrote my scr

Re: [NTG-context] an object representation of the node list of a paragraph: a lua table or a JSON

2019-07-10 Thread Hans Hagen
On 7/10/2019 12:02 PM, mf wrote: Hello list, i'd like having an object representation of a typeset paragraph or even a page, preferably as a JSON object, but a Lua table is equally good. My reference is section "4.4 Node lists" of the CLD manual. Before writing an iterator ove

Re: [NTG-context] reference containing parentheses causes trouble

2019-07-10 Thread Peter Rolf
Hi Sanjoy, I think it's just the 'normal' limitations you have when setting a variable/id name. Special characters, like parenthesis, are not allowed here. Even whitespace can be problematic. Yesterday I had a problem with a reference (data driven) that has a trailing space (obviously a typo

[NTG-context] an object representation of the node list of a paragraph: a lua table or a JSON

2019-07-10 Thread mf
Hello list, i'd like having an object representation of a typeset paragraph or even a page, preferably as a JSON object, but a Lua table is equally good. My reference is section "4.4 Node lists" of the CLD manual. Before writing an iterator over the list of nodes of a paragraph, fi

[NTG-context] reference containing parentheses causes trouble

2019-07-09 Thread Sanjoy Mahajan
Dear List, Warning: The following may be a bug or feature or just my misunderstanding! It seems that parentheses cause trouble in references. MNWE: \starttext \section[sec:one(two)]{One} As you see in sec.~\in[sec:one(two)], \stoptext The "in sec.~\in[sec:one(two)]" typesets as "in

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-09 Thread Thangalin
>> >> -- >> >> Message: 1 >> Date: Sun, 7 Jul 2019 10:17:31 -0400 (EDT) >> From: Aditya Mahajan >> To: mailing list for ConTeXt users >> Subject: Re: [NTG-context] Typesetting Ma

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-08 Thread Andres Conrado
-ID: > Content-Type: text/plain; charset=US-ASCII; format=flowed > > On Sat, 6 Jul 2019, Thangalin wrote: > > > Hello again! > > > > This part of the series describes how to reference *interpolated* strings > > inside Markdown documents. > > https://dave.autonoma.ca/blog

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-07 Thread Thangalin
sable"; making modifications to "main.tex" --- or creating a copy --- would subvert that goal. On Sun, Jul 7, 2019 at 7:17 AM Aditya Mahajan wrote: > On Sat, 6 Jul 2019, Thangalin wrote: > > > Hello again! > > > > This part of the series describes how to referenc

Re: [NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-07 Thread Aditya Mahajan
On Sat, 6 Jul 2019, Thangalin wrote: Hello again! This part of the series describes how to reference *interpolated* strings inside Markdown documents. https://dave.autonoma.ca/blog/2019/07/06/typesetting-markdown-part-5/ There's a section at the end about eliminating the table of contents

[NTG-context] Typesetting Markdown – Part 5: Interpolation

2019-07-06 Thread Thangalin
Hello again! This part of the series describes how to reference *interpolated* strings inside Markdown documents. https://dave.autonoma.ca/blog/2019/07/06/typesetting-markdown-part-5/ There's a section at the end about eliminating the table of contents from a reusable document template. I would

Re: [NTG-context] Tagged blocks

2019-06-19 Thread Wolfgang Schuster
with the tag [exam] should not be processed in the first chapter and only appear in the second chapter. According to the wiki and reference manual it should be possible using either \useblocks or \selectblocks but I can't get it to work. At this point you can hide tagged blocks. \beginquestion

[NTG-context] Tagged blocks

2019-06-18 Thread Jan Willem Flamma
chapter and only appear in the second chapter. According to the wiki and reference manual it should be possible using either \useblocks or \selectblocks but I can't get it to work. Who can help me out? Best regards, Jan Willem Flamma \defineenumeration[question][location=margin,text=Question

Re: [NTG-context] Wiki update

2019-05-30 Thread Procházka Lukáš Ing .
(generated automatically from ConTeXt definition)]] == section And just now I can see that \section accepts syntax of the forms: \section[MyRef]{My title} \section[MyRef]{4.0}{My title} \section[reference=MyRef,ownnumber=4.0,title={My title}] So better for us if we

[NTG-context] Wiki update

2019-05-30 Thread Taco Hoekwater
is a big shame considering the enormous amount of work that went into the process. But recently we have been discussing the wiki and (especially) the sorry state of the reference portion of that. At some point, I realised that we could rather easily combine the new xml interface files with a small

[NTG-context] Extend figure to margin, or extend figure from margin to text

2019-05-29 Thread Zhichu
as the figure and the part in the margin should not affect other marginal notes: \showframe \starttext Hello\inright{Very very very long test notes.}, world! \startplacefigure [reference=fig:whatever, title={Test figure.}, location=outer] \hbox{% \framed

Re: [NTG-context] problem with UTF8 chars in XML elements

2019-05-19 Thread Pablo Rodriguez
On 5/5/19 5:25 PM, Axel Kielhorn wrote: >> Am 05.05.2019 um 14:58 schrieb Pablo Rodriguez: >> [...] >> ConTeXt has problems parsing . To the best of my knowledge, this >> is a valid XML element name (sorry, but I don’t have a better reference: >> https://en.wikipedia.

[NTG-context] \xmlfirst lookup over whole document

2019-05-16 Thread Denis Maier
Hi, I am trying to use \xmlfirst to find a reference that is not in the current node. In the manual there is the exmple: {\xmlfirst {example-3-1} {div[@class='footnotes']/ol/li[@id='\xmlrefatt{#1}{href}']}} This is quite close to what I need, but I am not processing a buffer. How can I use

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Alan Braslau
e some document we can turn to as a reference so as to avoid (endless) debates about the "proper" way to do things. It has always been our intention to support more styles, but not endless variants as almost no publishers, universities and other institutions correctly follow any establ

Re: [NTG-context] Bibliography APS Style without unpublished

2019-05-16 Thread Alan Braslau
o (and others) have added. It is not handled by the revtex bibliography style that can be used as the reference for the "APS" style. The APA style guide suggests putting the author followed by the access date, then the title, adding "Retrieved from" followed by the URL. Internet

Re: [NTG-context] problem with UTF8 chars in XML elements

2019-05-05 Thread Axel Kielhorn
\xmlprocessbuffer{main}{demo}{} >\stoptext > > ConTeXt has problems parsing . To the best of my knowledge, this > is a valid XML element name (sorry, but I don’t have a better reference: > https://en.wikipedia.org/wiki/XML#International_use

[NTG-context] problem with UTF8 chars in XML elements

2019-05-05 Thread Pablo Rodriguez
reference: https://en.wikipedia.org/wiki/XML#International_use]). How can I get this parsed with ConTeXt? Many thanks for your help, Pablo -- http://www.ousia.tk ___ If your question is of interest to others as well, please

Re: [NTG-context] Footnotes in xtables

2019-05-01 Thread Otared Kavian
fgang for pointing to \startpostponingnotes…). %%% begin footnote-global-xtable.tex \starttext A silly one here\footnote{Here is a silly footnote.} \startpostponingnotes \startplacetable[location=middle,reference={tab:1}] \startxtable \startxrow \startxcel

Re: [NTG-context] Move footnotes without moving the footnotes-reference

2019-04-24 Thread Huseyin Özoguz
of the first page is now empty, but it should not). So the reference of the footnote and the foonote itself would be on different pages, but that would be ok. Is that possible?} \stoptext Thanks. -- Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de

Re: [NTG-context] Isn't the name ConTeXt a bit search-engine unfriendly?

2019-04-19 Thread Mohammad Hossein Bateni
I usually search for "ntg context" instead... Also searching within "contextgarden" helps sometimes. If you're looking for the key/values and syntax of a particular command (without additional information about the meanings), the most up-to-date reference is at http://www.p

[NTG-context] Move footnotes without moving the footnotes-reference

2019-04-17 Thread Huseyin Özoguz
, but it should not). So the reference of the footnote and the foonote itself would be on different pages, but that would be ok. Is that possible?} \stoptext Thank you. -- Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de

Re: [NTG-context] Fine-tuning of aps style

2019-04-14 Thread Alan Braslau
ext={,\nbsp p.~101}][Hankins:2014] > > gives no page at all > > \cite[righttext={\nbsp, p.~101}][Hankins:2014] > > gives no page at all. > > righttext seems to be reluctant over the initial comma right after the > reference number. As you can have multiple references: \cite

[NTG-context] Fine-tuning of aps style

2019-04-14 Thread Dmitry Starostin
. righttext seems to be reluctant over the initial comma right after the reference number. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Referencing the page on which an endnote was generated

2019-04-10 Thread Huseyin Özoguz
Hi, you can always set *\pagereference[bla] *into the text and reference to the pagenumber of the reference with *\at[bla]*. Is that what you wanted? Huseyin Özoguz -- Huseyin Özoguz E-Mail: h.oezo...@mmnetz.de

Re: [NTG-context] endnotes customizing how?

2019-04-09 Thread Rik Kabel
want, but if it helps, here is what I have used. \setupnote handles the in-text reference to the note, \setupnotation handles the note itself. The choice of SignalStyle depends on the appearance of the chosen font's superiors, if they exist. \define[1]\SignalStyle{\high{\small\hairspace#1

[NTG-context] Expanding text across two table cells

2019-04-08 Thread Todd DeVries
\project prj_cases \startsection[title=Counseling Progress Note, reference=DATE_clientcode] \placetable{Meeting Info} {\bTABLE \bTR \bTD \ptitle{Client Name}:~John Smith \eTD \bTD \ptitle{Billing code}:~90834 \eTD \eTR \bTR \bTD \ptitle{Date}:~April 8, 2019 \eTD \bTD \ptitle{Start \& stop time

[NTG-context] how to get reference label from stacked itemize

2019-04-06 Thread Floris van Manen
n item reference with its parent item? \startitemize[n] \item One \item Two \startitemize[a] \item A \item[refB] B Test \stopitemize see (\in[parent, refB].\in[refB]) for Test signature.asc Description: Message signed with OpenPGP using G

Re: [NTG-context] how to get reference label from stacked itemize

2019-04-06 Thread Henning Hraban Ramm
Am 2019-04-06 um 16:51 schrieb Floris van Manen : > Could someone point me to the docs where to find the proper way to > make a reference to some stacked itemize context? > > > \startitemize[n] > \item One > \item Two > \startitemize[a] > \item A > \item B Test

[NTG-context] how to get reference label from stacked itemize

2019-04-06 Thread Floris van Manen
Could someone point me to the docs where to find the proper way to make a reference to some stacked itemize context? \startitemize[n] \item One \item Two \startitemize[a] \item A \item B Test \stopitemize \stopitemize how to label / ref the generated label for item 2.b ? see (2.b) Test

Re: [NTG-context] optional hyphenation patterns in ancient Greek

2019-03-30 Thread Pablo Rodriguez
; suspect you haven’t really understood it. Sorry for my delayed reply, but I don’t have much time to devote it to these issues (they are pure hobby for me). I also had to check the reference for the alternate hyphenation (I didn’t had the book myself and I wasn’t near to a library where I could

Re: [NTG-context] Spacing between text and footnote line

2019-03-24 Thread Huseyin Özoguz
nTeXt Suite distribution, tex/texmf-context/tex/context/interface/mkiv/i-context.pdf) Just in case it might help, Pablo Thank you pablo, it was just my mistake, I confused the both. Thanks for the reference, I will check it out. Huseyin -- Huseyin

Re: [NTG-context] broken links in PDF included via \copypages (PoC fix attached)

2019-03-22 Thread Hans Hagen
ubtype /Link /Type /Annot >> there's << /Border [ 0 0 0 ] /C [ 1 0 0 ] /Dest (aff0001) /H /I /Rect [ 109.005 570.781 115.335 584.308 ] /Subtype /Link /Type /Annot >> The error I'm getting is: backend > link > missing link annotation This appears to

[NTG-context] broken links in PDF included via \copypages (PoC fix attached)

2019-03-22 Thread Tomas Janousek
<< /Border [ 0 0 0 ] /C [ 1 0 0 ] /Dest (aff0001) /H /I /Rect [ 109.005 570.781 115.335 584.308 ] /Subtype /Link /Type /Annot >> The error I'm getting is: backend > link > missing link annotation This appears to be okay according to PDF reference [PDFref, p

[NTG-context] Bibliography : wrong order of references when rendered by chapter

2019-03-18 Thread Romain Diss
(starting from 1 for each chapter). However, it doesn't wwork as expected. When a reference that exists in a previous chapter appears again in another one, the ordering is broken (I tried th option 'continue=no' but I don't know what it does). I don't know if it's very clear so here's a minimal

[NTG-context] Fwd: Meptapost Drawing not showing-up in Context Letter Style

2019-03-12 Thread Jeroen
\definelayer [logo] [repeat=no] \setlayer [logo] [hoffset=160mm,voffset=17mm] {\scale[width=25mm,height=25mm]{\useMPgraphic{mpglogo}}} \setupbackgrounds[paper][background=logo] % END MP LOGO SETUP, BEGIN LETTER SETUP \usemodule [letter] [style=dinb] \setupletterlayer [reference

[NTG-context] Meptapost Drawing not showing-up in Context Letter Style

2019-03-10 Thread Context NTG
{mpglogo}}} \setupbackgrounds[page][background=logo] % END MP LOGO SETUP, BEGIN LETTER SETUP \usemodule[letter][style=dinb] \setupletterlayer [reference] [list={name,phone,email,date}] \setupletterlayer [address] [y=55mm] \setupletterdescription [enclosure] [location=top, leftmargin=0.5em

Re: [NTG-context] cross references to chapters in a book

2019-02-23 Thread Wolfgang Schuster
just add a reference to the chapter title and refer to it instead of the the subject. When you goal is to show the value of the chapter for the current subject you should switch to MkIV where this can be done (although we have to cheat to because we have to create numbered subject’s and hide

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
nal stage of completing a book project, I was wondering how to >>> automatize cross references to chapters. I’ve already figured out how to >>> refer to pages (using “\at[REFERENCE]”), but how is this done with >>> chapters? I’m apparently too simple-minded to understand

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
omatize cross references to chapters. I’ve already figured out how to >> refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? >> I’m apparently too simple-minded to understand the manual (and I don’t >> understand the differences between \reference, \text

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Henning Hraban Ramm
out how to >> refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? >> I’m apparently too simple-minded to understand the manual (and I don’t >> understand the differences between \reference, \textreference, \in, \about). > > When you use \startchapter: &g

Re: [NTG-context] cross references to chapters in a book

2019-02-22 Thread Wolfgang Schuster
Robert Zydenbos schrieb am 22.02.19 um 17:14: Dear wizards of ConTeXt, In the final stage of completing a book project, I was wondering how to automatize cross references to chapters. I’ve already figured out how to refer to pages (using “\at[REFERENCE]”), but how is this done with chapters

[NTG-context] cross references to chapters in a book

2019-02-22 Thread Robert Zydenbos
Dear wizards of ConTeXt, In the final stage of completing a book project, I was wondering how to automatize cross references to chapters. I’ve already figured out how to refer to pages (using “\at[REFERENCE]”), but how is this done with chapters? I’m apparently too simple-minded to understand

Re: [NTG-context] markdown module vs pandoc

2019-02-16 Thread Gour
t; output), I pre-process the input: > https://adityam.github.io/context-blog/post/markdown-with-gpp/ Thank you for the reference...some nice articles there. ;) It looks as there is some learning ahead of me...btw, for illustrating ConText documents and/or slide-presentation, do you recomm

Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-11 Thread Marco Patzer
keep it updated. https://github.com/mpfusion/context-contextman > The page at https://wiki.contextgarden.net/Manuals feels a bit > out-of-date anyway, but I removed the reference to supelec.fr > right now. While you're at it. This one points to supelec, too: https://wiki.contextgarden

Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-11 Thread Taco Hoekwater
; repo any longer. Yes, the repo is gone. The page at https://wiki.contextgarden.net/Manuals feels a bit out-of-date anyway, but I removed the reference to supelec.fr right now. Clearly more work is needed on how to present the ConTeXt documentation, and that is something that we are still workin

Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Hans Hagen
On 2/10/2019 8:13 PM, Marco Patzer wrote: On Sun, 10 Feb 2019 17:43:09 +0100 Hans Hagen wrote: that effort was changed in cooking up smaller independent manuals ... Which I personally like. It provides more in depth knowledge. that ref manual still applies to much (encodings and fonts

Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Marco Patzer
On Sun, 10 Feb 2019 17:43:09 +0100 Hans Hagen wrote: > that effort was changed in cooking up smaller independent manuals ... Which I personally like. It provides more in depth knowledge. > that ref manual still applies to much (encodings and fonts have > changed of course) I know about the

Re: [NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Hans Hagen
On 2/10/2019 2:00 PM, Marco Patzer wrote: Hi! I'm wondering about the state of the reference manual contextref.pdf. The wiki states “ConTeXt reference manual. This is the most comprehensive and up-to-date general manual[…]” Date: September 27, 2013 There used to be SVN access

[NTG-context] State of the reference manual contextref.pdf

2019-02-10 Thread Marco Patzer
Hi! I'm wondering about the state of the reference manual contextref.pdf. The wiki states “ConTeXt reference manual. This is the most comprehensive and up-to-date general manual[…]” Date: September 27, 2013 There used to be SVN access on foundry.supelec.fr/projects/contextman

Re: [NTG-context] getting ConTeXt results back to Lua (for typesetting solutions at end of document)

2019-02-01 Thread Otared Kavian
that ${\rm e}\sim 2.73$ is irrational. This is the first question, with its own reference, for later use. \stopquestion \beginhint \starthint Write ${\rm e}$ as a series. \stophint \endhint \beginanswer \startanswer This is the answer to the first question (to \in{Question}[q:1]). \stopanswer

Re: [NTG-context] New logo proposal

2019-01-30 Thread Henning Hraban Ramm
Am 2019-01-30 um 11:09 schrieb Floris van Manen : >> In fact, having a pictograph instead of / along with >> textual content is probably a good idea. > > I do agree ;-) > > > Here’s an attempt the blend the lines in plain monochrome … > The latter having a naiv

Re: [NTG-context] New logo proposal

2019-01-30 Thread Floris van Manen
good idea. I do agree ;-) Here’s an attempt the blend the lines in plain monochrome … The latter having a naive reference to the typical TeX letter dropping e.g. always room for improvement ;-) .F signature.asc Description: Messa

Re: [NTG-context] Scaling down symbols and emojis

2019-01-18 Thread Wolfgang Schuster
User 19087 schrieb am 17.01.19 um 14:30: On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: % Which factor should I use to match \tfxx? \symbol[ShortForty] \scale[factor=4]{\symbol[ShortForty]} x = 0.8 xx = 0.6 That's what the ConTeXt Reference Manual also says, but that doesn't seem

Re: [NTG-context] Scaling down symbols and emojis

2019-01-17 Thread User 19087
On Wed, Jan 16, 2019 at 4:24 PM Wolfgang Schuster wrote: > > % Which factor should I use to match \tfxx? > > \symbol[ShortForty] > > \scale[factor=4]{\symbol[ShortForty]} > x = 0.8 > xx = 0.6 That's what the ConTeXt Reference Manual also says, but that doesn't seem to

Re: [NTG-context] Manipulating the left blank page when chapter starts on the right page

2019-01-12 Thread Rik Kabel
,footer,left]} \page[yes,header,footer,right] \stopsetups <...> \stopchapter% end previous chapter \startChapterEpigraph% no epigraph on next \stopChapterEpigraph \startchapter[reference={cha:no-epigraph-chapter}, title={Chapter with no ep

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
gt;> >>> On 3 Jan 2019, at 10:27, Hans van der Meer wrote: >>> >>> I cannot get the general setup macros of itemize right. I suppose I am >>> missing some clues although I tried to follow the Com

Re: [NTG-context] setting up itemize

2019-01-03 Thread Hans van der Meer
; Best wishes, > Taco > > >> On 3 Jan 2019, at 10:27, Hans van der Meer wrote: >> >> I cannot get the general setup macros of itemize right. I suppose I am >> missing some clues although I tried to follow the Command Reference >> distributed with the contextbe

Re: [NTG-context] setting up itemize

2019-01-03 Thread Taco Hoekwater
ues although I tried to follow the Command Reference > distributed with the contextbeta. Here my minimal working example. > > dr. Hans van der Meer > > > > ___ > If your question is of in

[NTG-context] setting up itemize

2019-01-03 Thread Hans van der Meer
I cannot get the general setup macros of itemize right. I suppose I am missing some clues although I tried to follow the Command Reference distributed with the contextbeta. Here my minimal working example. dr. Hans van der Meer itemizesetup.pdf Description: Adobe PDF document

Re: [NTG-context] graphics

2018-12-13 Thread Henri Menke
& decimal n & >> "," & decimal x & "))")) enddef ; >> >> Alan >> >> (shows that I have yet to use jn ;-) >> > > I often use this as reference > source/texk/web2c/luatexdir/luaffi/test.lua I have some Gists

Re: [NTG-context] graphics

2018-12-13 Thread luigi scarso
def ; > > Alan > > (shows that I have yet to use jn ;-) > I often use this as reference source/texk/web2c/luatexdir/luaffi/test.lua -- luigi ___ If your question is of interest to others as well, please

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Alan Braslau
On Sat, 8 Dec 2018 21:11:17 +0100 "Thomas A. Schmitz" wrote: > I find myself in > situations where I want a reference, but this list should not be > included in the document. Example: you distribute a bibliographical list > on your handout and want your slides to display

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Thomas A. Schmitz
somewhat distractedly... From a systematic point of view, Alan is of course right: a reference should refer to something, which is normally a list. However, I find myself in situations where I want a reference, but this list should not be included in the document. Example: you distribute

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-08 Thread Rik Kabel
On 12/8/2018 00:03, Alan Braslau wrote: As I wrote, "rendering" to footnotes as elements of a "list" can be done, and your cross-reference *is* the footnote index. We have not written setups that do this already as I have never needed this format myself, although it is rath

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
ddition pull in blocks of text from a secondary > database, that is lagniappe. Neither function requires rendering in a > separate list or lists. > > Certainly ConTeXt's bibliographic subsystem should be capable of > supporting such a basic format as that, but I can see no wa

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
>> demonstrates the failure when \placebtxrendering is omitted. > > It is not a failure. The whole intent is to place an appropriate > > rendering that you can tailor to your specific needs. There is > > little sense in a cross-reference (link) or reference number if > > there is not

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Rik Kabel
can tailor to your specific needs. There is little sense in a cross-reference (link) or reference number if there is not sort of list. Alan That makes absolutely no sense. That means that an informal paper that puts all references in footnotes and has no bibliography and does not need cross

Re: [NTG-context] Issues using publications subsystem for non-bibliographic database

2018-12-07 Thread Alan Braslau
needs. There is little sense in a cross-reference (link) or reference number if there is not sort of list. Alan ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-c

Re: [NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-06 Thread Hans Hagen
rttext \hsize 3cm See \pageref{foo}. \page \startplacefigure [reference=foo] \stopplacefigure \stoptext I agree, it drives me nuts to see p. 5 or in Figure 8 etc. Also, how about: \at{\labeltext{atpage}}[#1] indeed, that is the command to use (and does this make the space in the l

Re: [NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-05 Thread Alan Braslau
. > > Example: > > \def\pageref#1%% > {\in{figure}[#1] \labeltext{atpage}\at[#1]} > > \starttext > \hsize 3cm > See \pageref{foo}. > > \page \startplacefigure [reference=foo] \stopplacefigure > \stoptext I agree, it drives me nuts to see p. 5 or

[NTG-context] Ending strings with non-break space in lang-txt.lua

2018-12-05 Thread Marco Patzer
not all, strings ending in a space would actually benefit from having it replaced by a non-break space IMO. Example: \def\pageref#1%% {\in{figure}[#1] \labeltext{atpage}\at[#1]} \starttext \hsize 3cm See \pageref{foo}. \page \startplacefigure [referenc

[NTG-context] Footnotes and endnotes

2018-11-17 Thread Axel Kielhorn
={(},right={)}] % How to style the footnotemark in the text? \setupnotation[endnote] [left={(},right={)}] \startsection[ reference=fußnoten, title={Fußnoten} ] \index{Fußnoten} \input ward\footnote{Eine normale Fußnote. Mit etwas Text, damit die Seite voll wird. \input ward} \input

Re: [NTG-context] Issues with RGB to CMYK conversion with color profiles (was: Colormanagement)

2018-11-14 Thread Jan U. Hasecke
backend > profiles > profile specification 'ISOcoated_v2_300_eci.icc' loaded from '/home/juh/context/tex/texmf-context/colors/icc/context/colorprofiles.xml' backend > profiles > omitting reference to profile for intent 'ISO Coated v2 300% (ECI)' But, yes the size is too s

Re: [NTG-context] improving kannada script

2018-11-03 Thread luigi scarso
plex case ...) For Kannada script we can start by considering http://brahmi.sourceforge.net/docs/KannadaComputing.html it's an old doc but 1) it shows the rules for kannada 2) its says that """ 2.5 Rendering Rules (Based on Microsoft Uniscribe-OpenType implementation of the UNICODE

Re: [NTG-context] [dev-context] Luatex 1.09.0 announcement

2018-10-24 Thread Mojca Miklavec
`lj_err_unwind_dwarf': ../../../source/libs/luajit/LuaJIT-src/src/lj_err.c:236: undefined reference to `_Unwind_GetCFA' ../../../source/libs/luajit/LuaJIT-src/src/lj_err.c:254: undefined reference to `_Unwind_DeleteException' ../../../source/libs/luajit/LuaJIT-src/src/lj_err.c:262: undefined refere

[NTG-context] Bibliography sort and name-hyphenation issues

2018-10-24 Thread Rik Kabel
a bibliography (reference list in APA terms) in the order: d'Alembert Darwin Dee Defoe de Montaigne Digby Quérard But the actual result is quite different (see attached), with de Montaigne following Digby, no hyphen between the initials in the Quérard entry, and an odd handling

Re: [NTG-context] what defines the font size?

2018-10-19 Thread luigi scarso
dth" in "font design units" (it is the """ distance the current text position shall move (by translating text space) when the glyph is painted. """ , see the pdf reference). So in texgyrepagella-regular.ttx, M has a "width" of 946 o

Re: [NTG-context] what defines the font size?

2018-10-18 Thread luigi scarso
> and pdf at > > > https://docs.microsoft.com/en-us/typography/opbuildpdf/TOC.pdf?branch=live > > also this --- but keep the https://docs.microsoft.com/en-us/typography/ as reference : http://designwithfontforge.com/en-US/The_EM_Square.html -- luigi _

Re: [NTG-context] moving the first line of a page to the previous page

2018-10-09 Thread Hans Hagen
and line height setups to resemble the real configuration i'm working with - keep-line-in-page-0.tex is the reference case - keep-line-in-page-1.tex is the solution with \vadjust{\kern -0.5pt} Best wishes, Massimiliano

[NTG-context] moving the first line of a page to the previous page

2018-10-09 Thread mf
i'm working with - keep-line-in-page-0.tex is the reference case - keep-line-in-page-1.tex is the solution with \vadjust{\kern -0.5pt} Best wishes, Massimiliano \definevspacingamount[glueOverFootnotes][18pt plus 18pt minus 6pt] \setupnotation[ alternative=serried, style=\ss, numberstopper

Re: [NTG-context] linking to an external PDF file

2018-10-08 Thread Henning Hraban Ramm
\setupinteraction[state=start] > > \starttext > >whatever \footnote[whatever:1]{whatever 1} > >\goto{note 3}[second::whatever:3] >\goto{note 4}[second::whatever:4] BTW if you don’t know a reference name (from a foreign PDF), you can link to the page like this: \goto{TES

Re: [NTG-context] Implicit plots/level curves possible?

2018-10-07 Thread Mikael P. Sundqvist
lft(decimal (y-2),(y/2.5)[llcorner pic,ulcorner pic]) ; > endfor > \stopMPcode > \stopTEXpage > > > Alan Thanks both to luigi and to Alan! I'm impressed by your brute force method, Alan! In particular it learned me the "hide" command. I feel a bit ashamed. Earlier today

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Marco Patzer
On Fri, 21 Sep 2018 15:27:02 +0200 "Jan U. Hasecke" wrote: > consulting the wiki I found > http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf > and the command \setuparranging [TRYPTICHON]. So I think that I should > be able to make a pdf

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Brian Ballsun-Stanton
/mobilePamphletCover.pdf][1][width=0pt] \filterpages[../pdf/mobilePamphletInterior.pdf][1,2,3][width=0pt] \stoptext On Fri, 21 Sep 2018 at 23:27, Jan U. Hasecke wrote: > Hi all, > > consulting the wiki I found > > http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf &g

Re: [NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Wolfgang Schuster
http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf and the command \setuparranging [TRYPTICHON]. So I think that I should be able to make a pdf for a flyer and print it with an online printer. But as I am still very new to ConTeXt, I need a kickstart doing it. Has

[NTG-context] Creating flyers with ConTeXt

2018-09-21 Thread Jan U. Hasecke
Hi all, consulting the wiki I found http://context.aanhet.net/svn/contextman/context-reference/en/co-pagedesign.pdf and the command \setuparranging [TRYPTICHON]. So I think that I should be able to make a pdf for a flyer and print it with an online printer. But as I am still very new to ConTeXt

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
ion[state=start] >> >> \define[3]\ChapterTocEntry{% >> % #1-3 is not used, #1/2 are empty, #3 is page number >> \currentlistentrytitle\hfill% >> %%% goto doesn’t create a link here: >> {\goto{\currentlistentrypagenumber}[page(\currentlistentrypagenumber)]} >> %

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Wolfgang Schuster
e[3]\ChapterTocEntry{% % #1-3 is not used, #1/2 are empty, #3 is page number \currentlistentrytitle\hfill% %%% goto doesn’t create a link here: {\goto{\currentlistentrypagenumber}[page(\currentlistentrypagenumber)]} %%% %\at{}[\structurelistvariable{reference}] % #3 = \currentlistentrypagenum

Re: [NTG-context] page interaction in contents list entry

2018-09-20 Thread Henning Hraban Ramm
oto{\currentlistentrypagenumber}[page(\currentlistentrypagenumber)]} %%% %\at{}[\structurelistvariable{reference}] % #3 = \currentlistentrypagenumber \par } \setuplist[chapter][% alternative=command, interaction=pagenumber, textcolor=black, before=, inbetween=, after=, comm

Re: [NTG-context] xml in lua advice ?

2018-09-19 Thread mf
> > % this will assume xml and relate some handlers > > \setuphead[section] >[coding=xml, > xmlsetup=xml:flush] > > \startxmlsetups xml:flush > \xmlflush{#1} > \stopxmlsetups > > % comment this one for your amusement > > \startxmlsetups xml:b >

<    2   3   4   5   6   7   8   9   10   11   >