Re: [NTG-context] custom zig zag sidebars

2021-04-28 Thread Hans Hagen
On 4/28/2021 5:27 PM, mf wrote: Hello, I made an experiment to add alternatives to sidebars (see attachment). I discovered the sidebar is drawn by anch_sidebars_draw in metapost/context/base/mpiv/mp-apos.mpiv. I've redefined it locally to add alternatives. To make fancy, zig zag bars I

[NTG-context] custom zig zag sidebars

2021-04-28 Thread mf
Hello, I made an experiment to add alternatives to sidebars (see attachment). I discovered the sidebar is drawn by anch_sidebars_draw in metapost/context/base/mpiv/mp-apos.mpiv. I've redefined it locally to add alternatives. To make fancy, zig zag bars I defined a macro, draw_pattern_bar

Re: [NTG-context] How to improve visually a table

2021-02-16 Thread Alain Delmotte
. Look at the attachment for a example. Wolfgang Thank you Wolfgang, I continued to explore the wiki and I did find the description for the natural table and I did discover what you are sugesting me. I'll continue to test. Thanks again, Alain

Re: [NTG-context] How to improve visually a table

2021-02-16 Thread Wolfgang Schuster
at the attachment for a example. Wolfgang \setupbodyfont[dejavu,10pt,ss] \starttext \definecolor [tableheader] [x=00ADEF] \startsetups[tablesettings] \setupTABLE[start][framecolor=gray,loffset=.5ex,roffset=.5ex] %\setupTABLE[header][background=color,backgroundcolor=tableheader

Re: [NTG-context] Missing images in Wiki?

2021-01-22 Thread Andres Conrado Montoya Acosta
_...@mail.gmail.com> > Content-Type: text/plain; charset="utf-8" > > It seems a lot of image examples from the wiki are gone now. Most articles > lost many images. Is this on purpose? > > -- > Andrés Conrado Montoya > -- next part -

[NTG-context] flushleft nbsp with unequal width

2020-11-23 Thread Jano Kula
woo woo woo woo woo woo woo woo woo \blank \setupalign[flushleft] woo woo woo woo woo woo woo woo woo woo \stopTEXpage MWE also in the attachment to preserve nbsp. Regards, Jano flushleft-nbsp.tex Description: TeX document

[NTG-context] help with filename containing spaces

2020-10-17 Thread Pablo Rodriguez
}]], "", "/")}} no spaces: \doifelsefileexists{\PathName\cB}{yes}{no} \attachment[file={\PathName\cB}]\\ with spaces: \doifelsefileexists{\PathName\cC}{yes}{no} \attachment[file={\PathName\cC}] \stoptext It works fine in Linux with spaces in file names. I invoke it with:

Re: [NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-09 Thread Henning Hraban Ramm
t;> \input nolig-german-wordlist.tex >> \starttext >> auffasste >> auffasse >> \stoptext >> ``` >> gives me "auffasse auffasse" (see attachment.) >> I don't really understand what is happening here. Why is the t disappearing. > > who knows ... i d

[NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-08 Thread Denis Maier
Hi, I do as adviced on the Wiki and input the nolig-german-wordlist.tex to suppress wrong ligatures. However, I'm seeing strange results: ``` \input nolig-german-wordlist.tex \starttext auffasste auffasse \stoptext ``` gives me "auffasse auffasse" (see attachment.) I do

Re: [NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-08 Thread Denis Maier
\stoptext ``` gives me "auffasse auffasse" (see attachment.) I don't really understand what is happening here. Why is the t disappearing. who knows ... i don't have that file I took it from the wiki: http://wiki.contextgarden.net/images/b/be/nolig-german-wordlist.tex That's wh

Re: [NTG-context] Disappearing characters with nolig-german-wordlist

2020-10-08 Thread Hans Hagen
fasse" (see attachment.) I don't really understand what is happening here. Why is the t disappearing. who knows ... i don't have that file ``` \replaceword[eka][auffasse][au{ff}asse] \replaceword[eka][auffasste][au{ff}asste] \setreplacements[eka] \starttext auffasste auffasse

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
• I can't get # 1 and # 3 at same time > • \setupfloat doesn't have before option, which I could use to change > orientation > • I have no idea how to accomplish # 4 > A minimal working example (PDF in attachment): > > %

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
to accomplish # 4 A minimal working example (PDF in attachment): %%% \definepapersize[default][A4, portrait] \definelayout[default][topspace=0.6cm, topdistance=0cm, header=1cm, headerdistance=0cm, height

[NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jeong Dal
ied version 2020.09.20: Unicode > input works for the "Private Use Area" Unicodes reported in > \ShowCompleteFont. Such Unicodes are, however, not desirable. Moreover, in > MKIV, a Unicode U+2713 (Check Mark) in the input did produce the > ZapfDingbats check, e.g. as follows: > > \de

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Otared Kavian
\getglyph{ZapfDingbats}{\tochar{n:a105}} \par >>>> >>>> Thank you Hans! >>>> Access by glyph index with \tochar{i:19} works well for both MKIV and >>>> LMTX. Access by name with \tochar{n:a39} does not work in LMTX wi

Re: [NTG-context] \dorecurse{}{} problem

2020-09-21 Thread Jairo A. del Rio
n pinciple unicode should work too) > > > > Dear Hans, > > Thank you for working on this. I have tried version 2020.09.20: Unicode > input works for the "Private Use Area" Unicodes reported in > \ShowCompleteFont. Such Unicodes are, however, not desirable. Moreover

Re: [NTG-context] force index entries without page number

2020-09-03 Thread mf
;Ramm, Hraban}{} No, this results in "Ramm, Hraban passim see passim" Only with check=yes, otherwise it works right. And \index{passim->Ramm, Hraban} results in "Ramm, Hraban passim 1" No, see attachment page 2. I.e. I’m still looking for an index entry without "

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread jbf
for the layout is the better way (see attachment). Wolfgang ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context

Re: [NTG-context] setuplayout vs Indesign!

2020-08-27 Thread Wolfgang Schuster
a layout because there are too many areas which are unimportant for the margins on each side. A simpler step by step introduction where you can see leftmargin doesn't matter for the layout is the better way (see attachment). Wolfgang layout.pdf Description: Adobe PDF document

Re: [NTG-context] Same counter for figures as theorems

2020-08-18 Thread Tim Steenvoorden
20, at 09:49, Tim Steenvoorden > > wrote: > > > > Hi Taco, > > > > Thanks for your example and the pointer to make a MWE. > > > > Sadly, it doesn’t work for me. It numbers the first enumeration 1.1.1 and > > the first figure _also_ 1.1.1, which I’d

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Taco Hoekwater
ote: > > Hi Taco, > > Thanks for your example and the pointer to make a MWE. > > Sadly, it doesn’t work for me. It numbers the first enumeration 1.1.1 and the > first figure _also_ 1.1.1, which I’d like to be 1.1.2. > > This time, you’ll find the code and the output pdf

Re: [NTG-context] Same counter for figures as theorems

2020-08-14 Thread Tim Steenvoorden
Hi Taco, Thanks for your example and the pointer to make a MWE. Sadly, it doesn’t work for me. It numbers the first enumeration 1.1.1 and the first figure _also_ 1.1.1, which I’d like to be 1.1.2. This time, you’ll find the code and the output pdf in the attachment! Cheers, Tim P.S. I’m

Re: [NTG-context] Same counter for figures as theorems

2020-08-13 Thread Taco Hoekwater
> On 13 Aug 2020, at 10:06, Tim Steenvoorden wrote: > > Hi all, > > Anybody some pointers? Next time, prepare a minimal (non)working example. Because the attachment works for me. Best wishes, Taco tryme.tex Descripti

Re: [NTG-context] ntg-context Digest, Vol 193, Issue 65

2020-07-30 Thread Jan Hansen
onts.lua' > Message-ID: > > Content-Type: text/plain; charset="utf-8" > > Dear List, > > After updating ConTeXt to the last version, the command: > > mtxrun --script fonts > > replies: > mtxrun | unknown script 'fonts.lua' or 'mtx-f

[NTG-context] \insertpages and remote file

2020-07-23 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \insertpages [https://eur-lex.europa.eu/legal-content/EL/TXT% /PDF/?uri=CELEX:32015D0022] [width=0pt] \attachment[file=https://eur-lex.europa.eu/% legal

Re: [NTG-context] \placetable vs. \placefloat and option "none"

2020-07-08 Thread Wolfgang Schuster
Lukas/ConTeXt schrieb am 08.07.2020 um 12:08: Hello, (– resending now without resulting .pdf to avoid attachment size limit –) option "none" has different effect with \placetable and \placefloat. No problem with this, but as I thought both commands raise from the same code (or more

[NTG-context] \placetable vs. \placefloat and option "none"

2020-07-08 Thread Lukas/ConTeXt
Hello, (– resending now without resulting .pdf to avoid attachment size limit –) option "none" has different effect with \placetable and \placefloat. No problem with this, but as I thought both commands raise from the same code (or more precisely: I thought that \placetable is sp

[NTG-context] LSP support

2020-06-27 Thread Saša Janiška
in mind even amidst the threefold miseries or elated when there is happiness, and who is free from attachment, fear and anger, is called a sage of steady mind. ___ If your question is of interest to others as well,

[NTG-context] issue with remote \attachment

2020-06-15 Thread Pablo Rodriguez
Hi Hans, one of my documents uses \attachment to embed PDF documents (well, it contains many). I have been doing this for more than a year, but right now it is way slower: over 250s vs. 7s compilation time (with and without the attachment). It takes me 6s to download the document directly

[NTG-context] annotations in \insertpages

2020-05-28 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \attachment[file=https://kbdeveloper.qoppa.com/wp-content/uploads/blank_signed.pdf] \insertpages[https://kbdeveloper.qoppa.com/wp-content/uploads/blank_signed.pdf][interaction=all] \stoptext

Re: [NTG-context] Shift tabulate into margin and center

2020-05-05 Thread Tim Steenvoorden
Hi all, Apparently the solution does not work with multiple blocks on the same page. Table floats get ill aligned and frame rules are drawn double (see attachment). How should I fix this? Cheers, Tim On 4 May 2020, 20:42 +0200, Tim Steenvoorden , wrote: > Hi all, > > I’ve a pa

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread ntg
And the attachment (d'oh): <> ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Wolfgang Schuster
ेषूपजायते । सङ्गात्सञ्जायते कामः कामात्क्रोधोऽभिजायते ॥ ६२ ॥ dhyāyato viṣayān puṁsaḥ saṅgas teṣūpajāyate saṅgāt sañjāyate kāmaḥ kāmāt krodho ’bhijāyate Translation: ``While contemplating the objects of the senses, a person develops attachment for them, and from such attachment lust develops, and

[NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
ायते ॥ ६२ ॥ dhyāyato viṣayān puṁsaḥ saṅgas teṣūpajāyate saṅgāt sañjāyate kāmaḥ kāmāt krodho ’bhijāyate Translation: ``While contemplating the objects of the senses, a person develops attachment for them, and from such attachment lust develops, and from lust anger arises.'' \stoptext which I w

[NTG-context] Geometric math symbols in Lucida OT

2020-04-11 Thread Tim Steenvoorden
variant, they are way too big! (See attachment.) Pagella and Latin Modern do this right. Is this a font issue or a ConTeXt issue? Anything I can do about this without redefining every symbol I need by hand? Cheers, Tim \startproduct test \setupbodyfont[lucidaot,10pt] $\square\boxtimes

Re: [NTG-context] ntg-context Digest, Vol 189, Issue 28

2020-03-15 Thread Yves Cloutier
atting is applied to my keywords. > > Just wondering if the way to do it has changed or if there are other > examples I could look at to compare with what I'm doing. > > Regards, > > yc > -- next part -- > An HTML attachment was scrubbed... > UR

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-14 Thread Pablo Rodriguez
On 2/14/20 3:43 AM, Rik Kabel wrote: > [...] > The further I look into bookmark, annotation, and attachment handling by > a number of viewers, the more confusing things appear. Hi Rik, this is why following the prescription (the PDF spec) is better in order to check the standard than

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-14 Thread Fabrice Couvreur
i Henri, Thank you for your answer. The idea is to make the graph as an attachment. I converted to Metapost but the road is still long! The code is from percusse on StackExchange. As you can see, there is a problem with the ellipse. How do I fix this ? Thank you Fabrice \usemodule[tikz

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-13 Thread Rik Kabel
treatment that can differ; it doesn't help that acrobat changed behaviour a couple of times i think this is why the whole attachment handling was as it is: some comprimise that kind of made them show up ok on the average; but validatin spoiled this and now we're stick with these incompatible viewer

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-13 Thread Hans Hagen
that acrobat changed behaviour a couple of times i think this is why the whole attachment handling was as it is: some comprimise that kind of made them show up ok on the average; but validatin spoiled this and now we're stick with these incompatible viewer behaviour .. not much we can do about

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-12 Thread Rik Kabel
out. For the document with the pushpin (which Evince does display) the available choices are Thumbnails and Annotations. The Annotations selection shows the attached file on a tree under Page 1. For the document with the hidden attachment, both the Attachments and the Annotations choices

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-12 Thread Rik Kabel
doesn't contain an entry, and fails VeraPDF for clauses 6.8-1 and 6.3.3-1. Hi Rik, as for 6.8-1, did you set MIME type of the attached file (such as in "type={application/pdf}")? Oddly, the bookmarks do not appear either way under MkIV, and they do not appear when the attachment is vis

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-12 Thread Pablo Rodriguez
n entry, and fails VeraPDF for clauses 6.8-1 > and 6.3.3-1. Hi Rik, as for 6.8-1, did you set MIME type of the attached file (such as in "type={application/pdf}")? > Oddly, the bookmarks do not appear either way under MkIV, and they do > not appear when the attachment is visible

Re: [NTG-context] issues with \attachment when specifying name

2020-02-08 Thread Pablo Rodriguez
example). In that cases, renaming actual files could be both undesirable and a lot of work. It is mainly a question of consistency. Also across applications. Consider the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] attachment\attachment[file=xm

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-08 Thread Rik Kabel
that the appearance dictionary doesn't contain an entry, and fails VeraPDF for clauses 6.8-1 and 6.3.3-1. Oddly, the bookmarks do not appear either way under MkIV, and they do not appear when the attachment is visible under LMTX. The bookmarks do appear with a hidden attachment under LMTX

Re: [NTG-context] issues with \attachment when specifying name

2020-02-08 Thread Peter Rolf
Am 08.02.2020 um 09:31 schrieb Pablo Rodriguez: > Hi Peter, > > here you have a minimal sample with file name changed inside the > attachment command: > >\setupinteraction[state=start] > \starttext > an attachment\attachment[file=secret-name.pdf, >

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-08 Thread Peter Rolf
ray.icc}, >>     level=0] >> >> \setupcolors[pagecolormodel=auto] >> >> \setupinteraction[state=start] >> \starttext >> \startTEXpage[offset=1em] >> an attachment\attachment[file=xml-mkiv.pdf, >> type={application/pdf}] >&g

[NTG-context] issues with \attachment when specifying name

2020-02-08 Thread Pablo Rodriguez
Hi Peter, here you have a minimal sample with file name changed inside the attachment command: \setupinteraction[state=start] \starttext an attachment\attachment[file=secret-name.pdf, type={application/pdf}, %~ method=hidden, name=other-name] \stoptext

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-07 Thread Hans Hagen
,default_gray.icc}, level=0] \setupcolors[pagecolormodel=auto] \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] an attachment\attachment[file=xml-mkiv.pdf, type={application/pdf}] \stopTEXpage \stoptext With "method=h

Re: [NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-07 Thread Pablo Rodriguez
t_gray.icc}, level=0] \setupcolors[pagecolormodel=auto] \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] an attachment\attachment[file=xml-mkiv.pdf, type={application/pdf}] \stopTEXpage \stoptext With "method=hidden" (no attachment anno

[NTG-context] attachments working again (issue with /EmbeddedFiles)

2020-02-07 Thread Pablo Rodriguez
] a\attachment[file=abdfaeasd.txt, name=hola, method=hidden] \contextversion \stopTEXpage \stoptext File name is changed: 2 0 obj << /AFRelationship /Unspecified /EF << /F 1 0 R >> /F (hola.txt) /Type /Filespec /UF

[NTG-context] Fonts/Layouts in ConTeXt books

2020-01-24 Thread Saša Janiška
and configuring additional (bought extra) fonts in today's ConText? Sincerely, Gour -- While contemplating the objects of the senses, a person develops attachment for them, and from such attachment lust develops, and from lust anger arises

[NTG-context] Quotation dash issues with semantic markup

2019-12-29 Thread Sam May
(though still not most common) isn't as out of place. See attachment for actual examples, but I'm looking for a dash at each side of the quotation, /except/ at the very end of a paragraph. I additionally want dialogue tags (via \aside, and located within quotations) to not print

Re: [NTG-context] issues with attachments

2019-12-27 Thread Hans Hagen
On 12/26/2019 9:05 PM, Rik Kabel wrote: On 12/18/2019 11:32, Pablo Rodriguez wrote: Hi Hans, I accidentally discovered that file attachment generates two entries in Acrobat, such as this sample: \setuppapersize[A5] \showframe \setupinteraction[state=start

Re: [NTG-context] issues with attachments

2019-12-26 Thread Rik Kabel
On 12/18/2019 11:32, Pablo Rodriguez wrote: Hi Hans, I accidentally discovered that file attachment generates two entries in Acrobat, such as this sample: \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment

[NTG-context] issues with attachments

2019-12-18 Thread Pablo Rodriguez
Hi Hans, I accidentally discovered that file attachment generates two entries in Acrobat, such as this sample: \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext a\attachment[file=xml-mkiv.pdf, name

Re: [NTG-context] lmtx

2019-12-12 Thread Pablo Rodriguez
ument (using latest beta from 2019.12.12 13:15). \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext a\attachment[file=xml-mkiv.pdf] \stoptext BTW, if I try to compile this with MkIV beta from 2019.12.12

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-07 Thread Peter Rolf
Am 06.12.2019 um 16:56 schrieb Hans Hagen: > On 12/6/2019 4:21 PM, Peter Rolf wrote: >> Hi Rik, >> >> I guess it's not supported yet. >> >> In "lpdf-fmt.lua" it says: >> [..] >>     ["pdf/a-3a"] = { -- untested; NEW: any

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-07 Thread Pablo Rodriguez
On 12/6/19 6:08 PM, Pablo Rodriguez wrote: > [...] > I already reported this and I think that the most sensible value is to > relate them to the document. Rik, I have just discovered that the line 97 in lpdf-tag.lua contains: local embeddedfilelist= pdfarray() -- /AF But that

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-06 Thread Pablo Rodriguez
On 12/6/19 3:11 AM, Rik Kabel wrote: > Hello list, > > The following document fails PDF/A-3a validation. It passes without the > attachment. > [...] Hi Rik, ConTeXt needs better handling of attachments to be PDF/A-3 compatible. BTW, attachments don’t need to be PDF/A-3

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-06 Thread Hans Hagen
On 12/6/2019 4:21 PM, Peter Rolf wrote: Hi Rik, I guess it's not supported yet. In "lpdf-fmt.lua" it says: [..] ["pdf/a-3a"] = { -- untested; NEW: any type of attachment is allowed [..] I remember adding the "a-2a" and "a-3a" versions back wh

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-06 Thread luigi scarso
On Fri, Dec 6, 2019 at 4:26 PM Peter Rolf wrote: > > So we have only basic support for "PDF/A-3a", the more advanced features > of that format are not supported yet. The main problem here is the > lacking PDF/A documentation (ISO pay wall). > A complete installation of verapdf has a very

Re: [NTG-context] PDF/A-3a attachment support query

2019-12-06 Thread Peter Rolf
Hi Rik, I guess it's not supported yet. In "lpdf-fmt.lua" it says: [..] ["pdf/a-3a"] = { -- untested; NEW: any type of attachment is allowed [..] I remember adding the "a-2a" and "a-3a" versions back when Hans and I added experimental support for

[NTG-context] PDF/A-3a attachment support query

2019-12-05 Thread Rik Kabel
Hello list, The following document fails PDF/A-3a validation. It passes without the attachment. \setuplanguage   [en] \setuptagging    [state=start] \setupinteraction    [state=start] \setupbackend    [format={pdf/a-3a},profile={default_gray.icc

[NTG-context] two issues with inmargin attachments

2019-11-20 Thread Pablo Rodriguez
Hi Hans, I have the following sample, using latest beta from 2019.11.14 17:07: \setuppapersize[A5] \showframe \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext a\attachment[file=xml-mkiv.pdf] b\attachment[file=mkiv

Re: [NTG-context] issue attaching remote files

2019-11-04 Thread Hans Hagen
On 11/4/2019 6:26 PM, Pablo Rodriguez wrote: Hi Hans, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \attachment [file={https://eur-lex.europa.eu/legal-content/% ES/TXT/PDF/?uri=CELEX:02010L0040

[NTG-context] issue attaching remote files

2019-11-04 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] \attachment [file={https://eur-lex.europa.eu/legal-content/% ES/TXT/PDF/?uri=CELEX:02010L0040-20180109}, name=one.pdf, color=orange

Re: [NTG-context] issue embedding from Lua code

2019-11-01 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 01.11.2019 um 10:44: On 11/1/19 9:13 AM, Wolfgang Schuster wrote: Pablo Rodriguez schrieb am 01.11.2019 um 08:20: [...] I don’t know why I do get the second attachment, but not the first one. Lua code seems to be fine (given the last command in the sample). Could

Re: [NTG-context] issue embedding from Lua code

2019-11-01 Thread Pablo Rodriguez
On 11/1/19 9:13 AM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 01.11.2019 um 08:20: >> [...] >> I don’t know why I do get the second attachment, but not the first one. >> Lua code seems to be fine (given the last command in the sample). >> >> Could anyon

Re: [NTG-context] issue embedding from Lua code

2019-11-01 Thread Hans Hagen
"#1")}}      \def\cE{BOE-A-1978-31229} \attachment[file={\giveattachment{\cE}}, color=red] \attachment[file={https://www.boe.es/buscar/pdf/1978/BOE-A-1978-31229-consolidado.pdf},   color=blue] \giveattachment{\cE} \stoptext I don’t know why I do get the second att

Re: [NTG-context] issue embedding from Lua code

2019-11-01 Thread Wolfgang Schuster
oe.es/buscar/pdf/; .. year .. "/" .. reference .. "-consolidado.pdf" return attachment_url end \stopluacode \unexpanded\def\giveattachment#1{% \cldcontext{document.special_attachment("#1")}} \def\cE{BOE-A-1978-31229}

[NTG-context] issue embedding from Lua code

2019-11-01 Thread Pablo Rodriguez
t; .. reference .. "-consolidado.pdf" return attachment_url end \stopluacode \unexpanded\def\giveattachment#1{% \cldcontext{document.special_attachment("#1")}} \def\cE{BOE-A-1978-31229} \attachment[file={\giveattachment{\cE}}, color=red] \attachm

Re: [NTG-context] columns and footnotes

2019-10-21 Thread luigi scarso
On Mon, Oct 21, 2019 at 8:24 AM Henning Hraban Ramm wrote: > Hi again, > I’m testing columns again, and before I publish an article on the subject, > I’d like to check with you. > Best, Hraban > Hi Hraban, the attachment are >100K, I have made an exception but please try

Re: [NTG-context] PDF viewer poll

2019-10-16 Thread context
as AR is; many functions included, restore last view, tabbed env, page thumbs navigator/bookmarks navigator, attachment list, comment list; OCR included; handy designed; (many command line options, e.g.) /open and /close options to be used by 3rd party programs; /printto for batch printing; printing

Re: [NTG-context] experiment

2019-08-28 Thread Henning Hraban Ramm
> I’ll send your example to the developers of PDF Studio. > Ok, thanks. Maybe we should have a wiki page that sums up viewers and what > they support. Like we have for editors: https://wiki.contextgarden.net/Text_Editors I’ve an overview in my (still upcoming…) book, see attachment. I rea

Re: [NTG-context] lmtx: img?

2019-08-03 Thread Hans Hagen
to calculate scaling and cropping parameters. There’s probably an easier way to get those. See attachment – I’m trying to calculate the image size to fit into the line grid. hm, there's a conceptual error in there (which, lucky you, won't show up in your case due to some settings in context) .. i'll tell

Re: [NTG-context] lmtx: img?

2019-08-03 Thread Henning Hraban Ramm
s probably an easier way to get those. See attachment – I’m trying to calculate the image size to fit into the line grid. Greetlings, Hraban --- https://www.fiee.net http://wiki.contextgarden.net https://www.dreiviertelhaus.de GPG Key ID 1C9B22FD TEXpt = 65536 -- sp per pt TEXptpi = 72.27 -- p

Re: [NTG-context] (again) inmargin attachments in notes

2019-07-30 Thread Pablo Rodriguez
On 7/29/19 10:27 PM, Hans Hagen wrote: > On 7/29/2019 9:33 PM, Pablo Rodriguez wrote: > [...] > b\footnote{x\inleftmargin[scope=local]{\attachment[location=high,file=i-context.pdf]}} Many thanks for your reply, Hans. I didn’t know that placing margin data in notes was so complex. Ma

Re: [NTG-context] (again) inmargin attachments in notes

2019-07-29 Thread Hans Hagen
On 7/29/2019 9:33 PM, Pablo Rodriguez wrote: Hi Hans, I have the following sample: \showframe\showgrid \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setupattachment[location=inmargin] \starttext a\attachment[file=xml-mkiv.pdf] b

[NTG-context] (again) inmargin attachments in notes

2019-07-29 Thread Pablo Rodriguez
Hi Hans, I have the following sample: \showframe\showgrid \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setupattachment[location=inmargin] \starttext a\attachment[file=xml-mkiv.pdf] b\footnote{\attachment[file=i-context.pdf]} \stoptext

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

2019-07-09 Thread Thangalin
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 reference *interpolated* &g

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

2019-07-08 Thread Andres Conrado
ngs > > > 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 tem

Re: [NTG-context] ntg-context Digest, Vol 180, Issue 23

2019-06-23 Thread Andres Conrado
t; > Is there a way to make crosswords or word puzzles in context? > > In my hippocampus I have a vague idea that this has already been > > tried, but I can't find this code anymore. > AFAIK there are only packages for LaTeX to create crossword but you can > use natural or extreme

Re: [NTG-context] Typesetting Markdown -- Part 2

2019-05-31 Thread Saša Janiška
doc. > > So, it seems a good bet that https://github.com/Witiko/markdown > supports pandoc markdown. Well John MacFarlane is [here](https://commonmark.org/) as well. ;) Sincerely, Gour -- While contemplating the objects of the senses, a person develops attachment for them, and from suc

Re: [NTG-context] Creating one's own style

2019-05-18 Thread Alan Braslau
range effect (full MWE in attachment): Corrected MWE attached. -- Alan Context_bib.pdf Description: Adobe PDF document %\enabletrackers[publications.setups] \setuplanguage[ru] \setupbodyfont[dejavu] \mainlanguage[russian] \setupindenting[big,yes] \setbreakpoints[compound] \startbuffer[bib] @

[NTG-context] Creating one's own style

2019-05-18 Thread Dmitry Starostin
Thank you for the instructions on how to make one's own style. I only need to change the formatting in the bibliography list, the formatting of the notes in the text is entirely up to the requirement. A strange effect (full MWE in attachment): \btxdoifelse {address} { {\btxspace \emdash

[NTG-context] (no subject)

2019-05-18 Thread Dmitry Starostin
Thank you for the instructions on how to make one's own style. I only need to change the formatting in the bibliography list, the formatting of the notes in the text is entirely up to the requirement. A strange effect (full MWE in attachment): \btxdoifelse {address} { {\btxspace \emdash

Re: [NTG-context] No menu bar option for Adobe Reader

2019-05-01 Thread Henning Hraban Ramm
a >> ConTeXt upgrade to create a \setupinteractionscreen[option=nomenubar] switch. >> I wonder if it would be possible to add this little feature to the source >> code. Perhaps it can be useful to others as well. >> Greetings! >> Paul >> Attachment: patch + modified lpdf-mis.lu

Re: [NTG-context] No menu bar option for Adobe Reader

2019-04-28 Thread Hans Hagen
f it would be possible to add this little feature to the source code. Perhaps it can be useful to others as well. Greetings! Paul Attachment: patch + modified lpdf-mis.lua (from ConTeXt MkVI 2019.04.25) ok, but i didn't test it, so you need to check next

[NTG-context] No menu bar option for Adobe Reader

2019-04-27 Thread Paul Schalck
le feature to the source code. Perhaps it can be useful to others as well. Greetings! Paul Attachment: patch + modified lpdf-mis.lua (from ConTeXt MkVI 2019.04.25)if not modules then modules = { } end modules ['lpdf-mis'] = { version = 1.001, comment = "companion to lpdf-ini.mk

Re: [NTG-context] issue with symbol in attachments

2019-03-25 Thread Pablo Rodriguez
On 3/25/19 10:48 AM, Hans Hagen wrote: > On 3/24/2019 6:47 PM, Pablo Rodriguez wrote: > >> Can anyone confirm that all attachment symbols are distorted, except the >> first one? > hard to say ... support for these symbols / icons in viewers has been an > inconsistent m

Re: [NTG-context] issue with symbol in attachments

2019-03-25 Thread Hans Hagen
On 3/24/2019 6:47 PM, Pablo Rodriguez wrote: Can anyone confirm that all attachment symbols are distorted, except the first one? hard to say ... support for these symbols / icons in viewers has been an inconsistent mess right from the start and one has to keep adapting ... (scaling

[NTG-context] issue with symbol in attachments

2019-03-24 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setuppapersize[A9] \starttext \attachment[xml-mkiv.pdf]\\ \attachment[xml-mkiv.pdf] [symbol=Pushpin width=fit, width=fit, depth=fit]\\ \attachment[xml-mkiv.pdf

[NTG-context] inmargin attachments from notes

2019-03-10 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \setuppapersize[A9, landscape] \starttext \footnote{attachment\attachment [xml-mkiv.pdf] [location=inmargin]} \stoptext Using latest beta

Re: [NTG-context] expansion inside PDF annotations

2019-03-07 Thread Pablo Rodriguez
On 3/6/19 10:34 PM, Wolfgang Schuster wrote: > Pablo Rodriguez schrieb am 05.03.19 um 17:44: >> [...] >> \attachment >> [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] >> [author={Attached on \currentdate}, >> title={Att

Re: [NTG-context] expansion inside PDF annotations

2019-03-06 Thread Wolfgang Schuster
Pablo Rodriguez schrieb am 05.03.19 um 17:44: Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] Attached on \currentdate. \attachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf

Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Pablo Rodriguez
> \startbuffer[...] ... \stopbuffer > > \attachment[buffer=...] > > where you combine the buffer and \attachment in a single construct. Many thanks for your reply, Wolfgang. I thought it could be used as a kind of link. > This does also mean the argument you pass to \startattac

Re: [NTG-context] issue with \startattachment...\stopattachment

2019-03-05 Thread Wolfgang Schuster
. \stopattachment Attached on \currentdate. \stopTEXpage \stoptext I have a question: shouldn’t be “Attached file.” typeset on the main text? No because \startattachment ... \stopattachment is the same as \startbuffer[...] ... \stopbuffer \attachment[buffer=...] where you combine the buffer

[NTG-context] expansion inside PDF annotations

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \starttext \startTEXpage[offset=1em] Attached on \currentdate. \attachment [http://pragma-ade.com/general/manuals/xtables-mkiv.pdf] [author={Attached on \currentdate}, title

[NTG-context] attachment from URL

2019-03-05 Thread Pablo Rodriguez
Dear list, I have the following sample: \setupinteraction[state=start] \setupinteractionscreen[option=attachment] \starttext \attachment [https://eur-lex.europa.eu/legal-content/ES/TXT/PDF/?uri=CELEX:12016E/TXT] [name=TFUE.pdf] \stoptext Is there a way that curl may

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