[NTG-context] Problem with SVG an conversion mp (was: Improving pandoc's ConTeXt output)

2022-06-05 Thread Jan U. Hasecke via ntg-context
Am Sun, Jun 05, 2022 at 04:52:52PM -0700 schrieb Thangalin: > This allows me to eliminate the dependency on both Pandoc and Inkscape. > I've also encountered some problems with SVG to MP, but Hans is usually > quick to fix the bugs given a minimal working example that pinpoints the > problem.

Re: [NTG-context] Gradient fill in embedded pdf disappear in externalfigure (on regular pages)

2021-08-30 Thread Jan U. Hasecke via ntg-context
Am 30.08.21 um 09:58 schrieb Benjamin Buchmuller via ntg-context: (For the record on the list, I attach a small res screenshot to illustrate the matter, description below; My apologies for any inconvenience.) When I open the pdf in evince I see no difference. Maybe also a reader problem?

Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Jan U. Hasecke
Dear Hans, thanks for the hint to the repo. I remember that it was mentiooned before. Am 02.07.21 um 10:42 schrieb Hans Hagen: official    : https://bitbucket.org/phg/context-mirror/src/beta/ Is there a how-to-bootstrap-from-repository? How can I get a running context with the repo? TIA

Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-02 Thread Jan U. Hasecke
Am 02.07.21 um 01:07 schrieb Bruce Horrocks: One option you might try, if your cooperative has a web-server available to editors, is to store your own ConTeXt repository. That way you can update the LMTX version when you are ready to. This works because "install.sh" can have a "--server"

Re: [NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Jan U. Hasecke
Hi Taco, thanks for this hint. Am 01.07.21 um 08:44 schrieb Taco Hoekwater: I would put the whole context distribution in the git. That way, you can potentially hotfix something centrally. Would you put texmf-cache into .gitignore? Or is the cache portable to other machines? juh

[NTG-context] Rolling out a pandoc-context publication workflow in an organization

2021-07-01 Thread Jan U. Hasecke
Dear all, in the last weeks I asked more questions than I normally do. The reason is that my organization is discussing to roll out a markdown-pandoc-context publication workflow. Some time ago we started to use context to produce flyers and some other documents. In fact I was the only one

[NTG-context] path for custom files (was Different authorconversion for citation alternatives and bibliographic entries)

2021-06-30 Thread Jan U. Hasecke
Sorry for hijacking this thread. Am 30.06.21 um 18:06 schrieb Hans Hagen: or just tex/texmf-project/ What is the difference between tex/texmf-local tex/texmf-project if $TEXMFHOME/tex/context/personal/ gets scanned every run? Any recommandations what to store where? juh

[NTG-context] makeups with local setups

2021-06-29 Thread Jan U. Hasecke
Dear all, how can I use setups in makeups locally? Or do I miss something. In this sample the interlinespace of the coverpage makeup is also used after stopmakeup. Is there a way to define the setups values only locally inside the makeup? Or is it better to use something else?

Re: [NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-29 Thread Jan U. Hasecke
Hi Wolfgang, I am late as I was busy elsewhere, but thanks a lot for your help. Am 25.06.21 um 13:44 schrieb Wolfgang Schuster: \startsetups [userdata:shiftblock]     \signalrightpage     \doifelserightpage {     \startnarrower[2*left,-2*right]     \getuserdata    

[NTG-context] paragraph standing out of the normal layout comsuming the margin

2021-06-25 Thread Jan U. Hasecke
Dear all, the mwe shows my try to define a paragraph that stand out like this: On right pages xxx xxx xx xx xxx xxx On left pages xxx xxx xx xx xxx xxx My try with setups does not work. The textcolor is restored but not the

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Am 25.06.21 um 12:36 schrieb denis.ma...@unibe.ch: but you'll perhaps have to put the stuff inside a hbox first \definehbox[pagenumber][12.5mm] \setupfootertexts [] [{\getmarking[chapter]}\hboxpagenumber{\hfill\pagenumber}]

Re: [NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Hi Denis, Am 25.06.21 um 09:50 schrieb denis.ma...@unibe.ch: Or, for more complex footers/headers you can use: \setupfootertexts [left on odd page] % out [right on odd page] % in [right on even page] % in [left on even page] % out In fact it is something like this

[NTG-context] Align in setup header/footer

2021-06-25 Thread Jan U. Hasecke
Dear all, while finetuning a layout I would like to change the align in setupfootertext to right align or outer align as it is a doublesided layout. The default is afaics to align to the middle of the two pages. I would like to change this but there is no align key in setupfooter. TIA juh

[NTG-context] splitting tables from csv with first row as header

2021-06-23 Thread Jan U. Hasecke
Hi all, I have this sample: \usemodule[database] \setuppapersize [A6] \setupTABLE [split=yes, header=repeat] \defineseparatedlist [test] [separator={;}, % tab before=\bTABLE,after=\eTABLE, first=\bTR,last=\eTR, left=\bTD,right=\eTD] \starttext

Re: [NTG-context] endash emdash

2021-06-23 Thread Jan U. Hasecke
Am 23.06.21 um 07:11 schrieb Jan U. Hasecke: Dear all, I am completely lost with a ridicously small problem. This was a self motivation. ;-) \starttext -- --- – \stoptext ConTeXt creates two endash rules and a very long dash in the middle, as I expected. But in my project I always

[NTG-context] endash emdash

2021-06-23 Thread Jan U. Hasecke
Dear all, I am completely lost with a ridicously small problem. \starttext -- --- – \stoptext ConTeXt creates two endash rules and a very long dash in the middle, as I expected. But in my project I always get the plain source chars. I have no idea where I accidentally misconfigured

[NTG-context] named § symbol

2021-06-17 Thread Jan U. Hasecke
Hi all, I use this for legal documents: \setuplabeltext[section=§~] But I wonder if there is a named command like \letterhash for this. TIA juh ___ If your question is of interest to others as well, please add an

[NTG-context] How to write readable source files?

2021-04-24 Thread Jan U. Hasecke
Hi all, how do you format your ConTeXt source files? I recently discovered prettier which reformats source files for different markup and programming languages such as html, markdown, json etc. There are some other tools around but I don't find anything for ConTeXt. Do you know of any

Re: [NTG-context] lmtx

2021-01-19 Thread Jan U. Hasecke
Hi, I am afraid that clip stops working in current version: 2021.01.18 18:19 \setupexternalfigure[location=default] \showframe \starttext \clip[height=50mm,voffset=10mm] {\externalfigure[cow.pdf][width=\textwidth]} \stoptext juh -- Autoren-Homepage: .

[NTG-context] Org-Mode for ConTeXt

2021-01-10 Thread Jan U. Hasecke
Dear all, Emacs and Org-Mode is central to my writing workflow as I use org-mode for organizing my Zettelkasten.[1] Now I am looking for a way to extend the workflow an include ConTeXt. Is anybody aware of a ConTeXt export tool for Org-Mode? Ciao! juh [1]

Re: [NTG-context] Text editor support via Digestif

2020-12-31 Thread Jan U. Hasecke
Dear Augusto, Am 31.12.20 um 10:25 schrieb Augusto Stoffel: > Hi all, > > I have worked a bit on ConTeXt support in the Digestif language server > [1], and I think it's pretty usable by this point, so I would like to > invite everyone to check it out. Feedback is welcome. this looks great.

Re: [NTG-context] checkbox in fields show the word yes

2020-12-11 Thread Jan U. Hasecke
Dear all, as nobody answered I would like too repeat my question. If you open the MWE in Firefox, you see the word "yes" written in the checkbox. Is there a way to avoid this? Thanks a lot for your help. juh Am 17.11.20 um 13:50 schrieb Jan U. Hasecke: > Hi all, > > with

Re: [NTG-context] image align in \clip

2020-12-09 Thread Jan U. Hasecke
Am 09.12.20 um 11:26 schrieb Hans Hagen: > what if you put \removeunwantedspaces in front of the clip The space vanishes when I put it right before \externalfigure. Thanks a lot, Hans! (Still, I would like to know how the space came up in the first place.) juh

[NTG-context] image align in \clip

2020-12-09 Thread Jan U. Hasecke
Dear all, I use \clip to simplify working with images. I have a problem that I am unable to reproduce in a MWE. \setupexternalfigure[location=default] \showframe \starttext \externalfigure[cow.pdf][width=\textwidth] \clip[height=50mm] {\externalfigure[cow.pdf][width=\textwidth]}

[NTG-context] checkbox in fields show the word yes

2020-11-17 Thread Jan U. Hasecke
Hi all, with this example I get a checkbox that does not work; in my real world document it works, I can't say why. But this minimal example shows the problem I have in my real document. \usemodule[fields] \setupinteraction [state=start]

[NTG-context] statistical charts (was: Changing the colors of Charts in luametafun)

2020-10-19 Thread Jan U. Hasecke
Hi all, I play around with the charts module by Tamara Kocurová & Adriana Kašparová. Great work! I really like it. https://akela.mendelu.cz/~thala/statcharts/ There is one very nitpicking thing. The dots of the grid are not always in a regularly fixed distance as the attached screenshot shows.

Re: [NTG-context] Changing the colors of Charts in luametafun

2020-10-19 Thread Jan U. Hasecke
On 18.10.20 22:59, Henning Hraban Ramm wrote: > Hi juh, > >> Am 16.10.2020 um 15:34 schrieb Jan U. Hasecke : >> >> as I'll need to make some business charts in the near future I had a >> look into metafun xl. > > you might like the new charts module by Tamar

Re: [NTG-context] Changing the colors of Charts in luametafun

2020-10-18 Thread Jan U. Hasecke
On 18.10.20 19:04, Hans Hagen wrote: >> How can I change the colors used for the sample? > >     fillcolors = { >     "red", "green", "blue", >     "yellow", "magenta", "cyan", >     "gray" >     }, Thanks a lot. Argh, it was before my eyes. :-/ juh

[NTG-context] Changing the colors of Charts in luametafun

2020-10-16 Thread Jan U. Hasecke
Hi, as I'll need to make some business charts in the near future I had a look into metafun xl. Here is the first example: \startMPcode draw lmt_chart_circle [ samples = { { 1, 4, 3, 2, 5, 7, 6 } }, percentage = true, trace = true, ] ; \stopMPcode How can I change the colors used for the

Re: [NTG-context] text surrounding graphic in columns

2020-10-15 Thread Jan U. Hasecke
Thanks a lot for this hint, Hans! On 15.10.20 09:15, Hans Hagen wrote: > \starttext > > \setupbodyfont[plex,10pt] > \setupalign[tolerant,stretch] > \useMPlibrary[dum] > > \startpagecolumns[n=2] >     \dorecurse {10} { >     \startplacefigure[location={left,none}] >    

Re: [NTG-context] text surrounding graphic in columns

2020-10-15 Thread Jan U. Hasecke
Thanks Hraban! On 14.10.20 19:36, Henning Hraban Ramm wrote: >> how can I get a graphic that floats left or right from the text in >> columns or columnsets? > > You can’t, sorry. I feared that. I changed my layout a bit and use tables now. juh

[NTG-context] text surrounding graphic in columns

2020-10-14 Thread Jan U. Hasecke
Hi, how can I get a graphic that floats left or right from the text in columns or columnsets? \starttext \startcolumns[2] \placefigure[left, high, none]{} {\externalfigure[dummy][width=3em]} \input ward \input ward \stopcolumns \blank \placefigure[left, high, none]{}

Re: [NTG-context] A Spanish introduction to ConTeXt Mark IV

2020-10-14 Thread Jan U. Hasecke
Hola Joaquín, On 14.10.20 06:27, Joaquín Ataz López wrote: > Its title is "An Introduction (not too short) to ConTeXt Mark IV". what a great introduction! And just another hint for me to improve my Spanish. ;-) Jan Ulrich Hasecke

Re: [NTG-context] footnotes missing in heads

2020-09-03 Thread Jan U. Hasecke
Am 03.09.20 um 07:50 schrieb Pablo Rodriguez: > Dear list, > > the following minimal sample: > > \starttext > \chapter{Chapter\footnote{Note}} > \section{Section\footnote{Note}} > \stoptext > > Using current latest (from 2020.09.02 20:37) doesn’t display the footnotes. > > I’m

[NTG-context] Bug in lmtx or wrong setup?

2020-06-09 Thread Jan U. Hasecke
Hi all, I encountered a very strange problem. I want to have section headlines expanding the whole textarea, but the following copy text of the section shall be typeset in columns. I have this setup and it works fine. \setuphead [section] [ insidesection=\startcolumns,

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Jan U. Hasecke
Am 29.05.20 um 18:03 schrieb Aditya Mahajan: > The magic of loading and reusing them happens behind the scenes, so the > user doesn't have to worry about it. See > https://wiki.contextgarden.net/System_Macros/Key_Value_Assignments#Multi-pass_data > for more details. > > Now, suppose you wanted to

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Jan U. Hasecke
Hi Wolfgang, thank you very much. Amazing! Am 29.05.20 um 15:35 schrieb Wolfgang Schuster: > \definedataset [chapter] > > \startsetups [chapter:before] > >   \page[yes] > >   \doglobal\increment\ChapterCounter > >   \doifoddpageelse >     {} >     {\doifsomething >   

Re: [NTG-context] Let chapter start on odd page and make the even page before show an image

2020-05-29 Thread Jan U. Hasecke
Am 29.05.20 um 12:45 schrieb Wolfgang Schuster: > juh schrieb am 29.05.2020 um 10:29: >> Dear all, >> >> with your help I can colorize the empty even page right before a >> chapter starts >> on the odd page. The mwe below shows it. >> >> Now I would like to redefine the contents of the left page

Re: [NTG-context] two superscript versions with Garamond Libre

2020-05-19 Thread Jan U. Hasecke
Am 18.05.20 um 22:23 schrieb Henning Hraban Ramm: > > >> Am 18.05.2020 um 17:18 schrieb Pablo Rodriguez : >> >> Typeface is available at >> https://github.com/dbenjaminmiller/garamond-libre/releases/latest. > > Thank you for the hint, I’m always looking for interesting fonts. > This is a nicely

Re: [NTG-context] Styling of included buffers or files

2020-05-18 Thread Jan U. Hasecke
Am 17.05.20 um 19:04 schrieb Marco Patzer: >> >> Is it somehow possible to apply styles to all buffers that gets >> included via \getbuffer by defining a special getbuffer-style? > > \setupbuffer has before and after keys which can be used. Example: > > \setupbuffer >

[NTG-context] Styling of included buffers or files

2020-05-17 Thread Jan U. Hasecke
Hi all, I am currently writing a text where I want to include text snippets either by including files or including buffers. What is the best way to style all these included buffers? I know that I can do something like this: \startcolumns \getbuffer[Muenchen] \stopcolumns Or do something with

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

2020-04-28 Thread Jan U. Hasecke
Am 28.04.20 um 10:35 schrieb Saša Janiška: > On Tue, 28 Apr 2020 08:32:57 +0200 > "Jan U. Hasecke" wrote: > >> 3. Being a writer I think that Markdown --> ConTeXt is the best way to >> achieve what I want: easy writing and professional looking books. > >

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

2020-04-28 Thread Jan U. Hasecke
Hi Dave, Am 28.04.20 um 04:00 schrieb Thangalin: > Hi folks! > > Second last part in the series. The project, product, component, and > environment relations were a bit finicky. Those willing to point out > improvements that can be made---Hans, Taco, Wolfgang, Aditya, and > others---would be

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 19:25 schrieb Henning Hraban Ramm: > >> Am 23.04.2020 um 16:36 schrieb Jan U. Hasecke : >> >> Am 23.04.20 um 16:10 schrieb Vladimir Lomov: >>> Please see the page about '\goto' command, it was written for a reason! >> >> Ok, with \go

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 16:10 schrieb Vladimir Lomov: > Please see the page about '\goto' command, it was written for a reason! Ok, with \goto{linkname}[program(target.doc)] it works. "works" means some PDF Viewers opens the right program. juh

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Am 23.04.20 um 14:22 schrieb Vladimir Lomov: > Otherwise could you describe what exactly you want to achive? This works: \setupinteraction[state=start] \setupcolors[state=start] \starttext \goto{linkname}[file(target.pdf)] \stoptext This does not work: \setupinteraction[state=start]

Re: [NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Hi Wolfgang, thanks for the fast reply. Am 23.04.20 um 12:06 schrieb Wolfgang Schuster: > Jan U. Hasecke schrieb am 23.04.2020 um 11:54: >> Hi, >> >> can I link to a file with custom file type eg. OpenDocument with >> \useexternaldocument? >> >> This do

[NTG-context] useexternaldocument with custom file type

2020-04-23 Thread Jan U. Hasecke
Hi, can I link to a file with custom file type eg. OpenDocument with \useexternaldocument? This does not work. \useexternaldocument[test][test.ods][A test document] As the PDF viewer is opened first, it does not recognize the file type. juh

Re: [NTG-context] Project Gutenberg Projects

2020-04-13 Thread Jan U. Hasecke
Am 12.04.20 um 20:23 schrieb Thangalin: > Hi list! > > Another blog post for you all, tangentially related to ConTeXt: > > https://dave.autonoma.ca/blog/2020/04/11/project-gutenberg-projects > > In particular, the conversion from XHTML to Markdown so that pandoc > can convert Markdown to

Re: [NTG-context] Quick question about dual output pdf and epub

2020-03-03 Thread Jan U. Hasecke
Am 03.03.20 um 22:04 schrieb Rik Kabel: > Instructions for creating the .epub from the export are contained in the > log file. Has anyone ever got an epub that validates? juh ___ If your question is of interest to

Re: [NTG-context] metapost: remapping colors of an SVG picture

2020-02-20 Thread Jan U. Hasecke
Am 18.02.20 um 19:24 schrieb Jan U. Hasecke: > Am 18.02.20 um 19:17 schrieb mf: >> Il 18/02/20 19:07, Jan U. Hasecke ha scritto: >>> Am 18.02.20 um 14:53 schrieb Hans Hagen: >>> >>>> \setupcolors[rgb=no] >>>> \startMPcode >>>> dr

[NTG-context] Fonts not in preview of online print shop

2020-02-19 Thread Jan U. Hasecke
Dear all, strange problem with my online print shop. I want to print 3 products. 1. Business Cards 2. Flyer 3. Poster All definitions for fonts, colors, color profiles and pdf version come from one an the same file (env-cd.tex). All PDFs passed the data check without problems, but Business

Re: [NTG-context] metapost: remapping colors of an SVG picture

2020-02-18 Thread Jan U. Hasecke
Am 18.02.20 um 19:17 schrieb mf: > Il 18/02/20 19:07, Jan U. Hasecke ha scritto: >> Am 18.02.20 um 14:53 schrieb Hans Hagen: >> >>> \setupcolors[rgb=no] >>> \startMPcode >>> draw lmt_svg [ filename = "sample.svg" ] ; >>> \stop

Re: [NTG-context] metapost: remapping colors of an SVG picture

2020-02-18 Thread Jan U. Hasecke
Am 18.02.20 um 14:53 schrieb Hans Hagen: > > \setupcolors[rgb=no] > \startMPcode >     draw lmt_svg [ filename = "sample.svg" ] ; > \stopMPcode I get this error. ! Not implemented: (unknown numeric)=(string). ] <*> ... ; p := lmt_svg [ filename = "sample.svg" ] juh

Re: [NTG-context] Any plans for an active color management?

2020-02-17 Thread Jan U. Hasecke
Hi Henning Hraban, I contacted three print shops and they demand three different color profiles, one of them prints on "100 % recycling paper" with an uncoated profile. The other two use ISO Coated v2 300% and Coated Fogra 39. Being online shops I think they will complain if not the right

[NTG-context] Any plans for an active color management?

2020-02-17 Thread Jan U. Hasecke
Hi all, I would like to come back to a discussion from 2018 on this list. After printing some flyers for my cooperative I come to the conclusion that color management *is* very difficult. In my eyes, the only way of getting good results seems to be the following process. My starting point are

Re: [NTG-context] Repeat backgrounds on slides

2020-02-15 Thread Jan U. Hasecke
\structureuservariable – this is really cool. Thanks a lot Wolfgang. juh Am 14.02.20 um 19:53 schrieb Wolfgang Schuster: > \setupexternalfigures[location=default] > > \defineoverlay > [SlideBackground] > [\doifsomething > {\structureuservariable{background}} >

Re: [NTG-context] Repeat backgrounds on slides

2020-02-14 Thread Jan U. Hasecke
Am 13.02.20 um 20:39 schrieb Wolfgang Schuster: > > This is normal behaviour for layers but you can repeat it on every page with > > \definelayer [bg:...] [state=repeat] Thanks. There was a dark idea of this in the back of my brain. > > In your case a simple overlay is the simpler

Re: [NTG-context] Color Profiles in lmtx

2020-02-13 Thread Jan U. Hasecke
Am 12.02.20 um 19:48 schrieb Pablo Rodriguez: > On 2/12/20 5:15 PM, Jan U. Hasecke wrote: >> [...] >> I just realized that the above output is the right output. > > Hi Jan Ulrich, > > you might check profiles that with VeraPDF (or simply \nopdfcompression >

Re: [NTG-context] Color Profiles in lmtx

2020-02-12 Thread Jan U. Hasecke
Am 12.02.20 um 11:09 schrieb Peter Rolf: >> I get this in my logs >> >> backend > profiles > profile specification 'ISO Coated v2 300% >> (ECI)' loaded from >> '/home/juh/context-linux-64/tex/texmf-context/colors/icc/context/colorprofiles.xml' I just realized that the above output is

Re: [NTG-context] xml differences between old context and lmtx

2019-12-27 Thread Jan U. Hasecke
Am 27.12.19 um 14:03 schrieb Hans Hagen: > On 12/26/2019 1:19 PM, Jan U. Hasecke wrote: >> Hi all, >> >> are there any documented differences between the xml features of normal >> context and lmtx? >> >> In a fun project I compile xml sources from www.deuts

[NTG-context] xml differences between old context and lmtx

2019-12-26 Thread Jan U. Hasecke
Hi all, are there any documented differences between the xml features of normal context and lmtx? In a fun project I compile xml sources from www.deutschestextarchiv.de to pdf via context using xmlsetups which kinda works with normal context current version: 2019.08.09 18:29 With lmtx current

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Jan U. Hasecke
Am 10.12.19 um 20:38 schrieb Nicola: > As for ConTeXt, I have tried the latest beta with: > > context mybook.tex > mtxrun --script epub --make mybook > > This, among the rest, creates an .epub file, which unfortunately the > above mentioned tools do not like (maybe, that output is still

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-10 Thread Jan U. Hasecke
Am 10.12.19 um 08:50 schrieb Nicola: > On 2019-12-10, Jan U. Hasecke wrote: > Thanks, I didn't think of Pandoc, I'll give it a try. In the past, > I have tried to create some simple content (slides) with Markdown, but > my conclusion was that if you know TeX, it doesn't make

Re: [NTG-context] Ebooks with ConTeXt?

2019-12-09 Thread Jan U. Hasecke
Am 09.12.19 um 22:13 schrieb Nicola: > What is the current status of epub support in ConTeXt? > > I have never followed ConTeXt's development on the XML front too > closely, but recently I have been asked to help format a text-only > manuscript for publishing on platforms such as Kindle or Apple

Re: [NTG-context] ConTeXt as a service

2019-11-22 Thread Jan U. Hasecke
Am 22.11.19 um 10:05 schrieb Henning Hraban Ramm: > Am 2019-11-22 um 09:46 schrieb Mojca Miklavec > : >> >> On Fri, 22 Nov 2019 at 08:51, Jan U. Hasecke wrote: >>> >>> I am very interested in running ConTeXt as a service, too. I am still >>> nurturing

Re: [NTG-context] ConTeXt as a service

2019-11-21 Thread Jan U. Hasecke
Am 20.11.19 um 18:10 schrieb Henning Hraban Ramm: > Hi! > > I’m running ConTeXt on my web server e.g. to generate shipping forms for a > customer. > > As Hans said, it makes sense to use an asynchronous setup; in my case it’s > celery/RabbitMQ behind Django. > > You probably need to set a few

Re: [NTG-context] issue with footnote in LMTX

2019-10-08 Thread Jan U. Hasecke
Am 08.10.19 um 16:44 schrieb Jan U. Hasecke: >> Could anyone confirm this issue with links in footnotes for LMTX? > > Yes, no link with LMTX 2019.10.02 22:33 Sorry. I mixed up my versions somehow. Please forget m

Re: [NTG-context] issue with footnote in LMTX

2019-10-08 Thread Jan U. Hasecke
Am 08.10.19 um 15:11 schrieb Pablo Rodriguez: > Dear list, > > I have the following sample: > > \setupinteraction[state=start, focus=standard] > \starttext > a\footnote{b} > \stoptext > > Using latest beta from MkXL (2019.10.05 14:56), link form footnote to > main text body

Re: [NTG-context] beta

2019-10-02 Thread Jan U. Hasecke
Am 02.10.19 um 16:06 schrieb Hans van der Meer: > You can add to the end of the install script: > > echo "Removing luatex-cache/context" > rm -r tex/texmf-cache/luatex-cache/context > I reinstalled 64 bit Linux from http://www.pragma-ade.nl/install.htm and now it works again. Thanks a lot for

[NTG-context] ConTeXt on current Debian

2019-09-30 Thread Jan U. Hasecke
Dear all, todays upgrade broke my context installation (context and lmtx) as context now uses GLIBC_2.29 which is not available in Debian 10 buster. After using my backup I now wonder if from now on ConTeXt won't support Debian stable anymore? juh

[NTG-context] Error during installation of LMTX

2019-09-30 Thread Jan U. Hasecke
I tried to update or install LMTX today and get this error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /home/juh/context-linux-64/bin/mtxrun) I am running debian 10 buster. juh ___

Re: [NTG-context] CMYK Color profile

2019-05-30 Thread Jan U. Hasecke
Am 30.05.19 um 23:34 schrieb Benjamin Koppe: > Hello everyone, > > I'm about creating a DIN Lang Folder brochure with ConTEXt. I got > everything set up the way I'd like it to. Now that I'm done with the > work, I've been told the output pdf should have a CMYK Color profile > embedded for the on

Re: [NTG-context] Wiki update

2019-05-30 Thread Jan U. Hasecke
Am 30.05.19 um 12:07 schrieb Taco Hoekwater: > url: > https://wiki.contextgarden.net/Command/setupdescription > > content: > == Syntax == > > setupdescription Brilliant! Thanks a lot! juh ___ If your

Re: [NTG-context] Typesetting Markdown

2019-05-22 Thread Jan U. Hasecke
Am 23.05.19 um 07:18 schrieb Thangalin: > Hi folks! > > I'm thinking about writing a series of blog posts about how to typeset > Markdown using ConTeXt. I've written the first part and am wondering if > anyone would be interested in reading more: > >

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

2019-05-16 Thread Jan U. Hasecke
Am 16.05.19 um 16:12 schrieb nyssus: > Honestly, some way to use CSL files to style bibliography would be ideal > here, but that doesn't seem to currently exist Have a look at Pablos way to go from pandoc via xhtml to context: https://github.com/ousia/from-pandoc-to-context Or a slightly

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

2019-05-16 Thread Jan U. Hasecke
Hi Alan, thanks a lot for these hints. Am 16.05.19 um 02:05 schrieb Alan Braslau: > On Wed, 15 May 2019 14:27:21 +0200 > "Jan U. Hasecke" wrote: > >> is there an option to eliminate the "unpublished" in aps bibliography? > > I suppose you mean

[NTG-context] Bibliography APS Style without unpublished

2019-05-15 Thread Jan U. Hasecke
Hi all, is there an option to eliminate the "unpublished" in aps bibliography? I understand that apa and aps are the only implemented styles. Is there any other style I can use? TIA juh ___ If your question is of

Re: [NTG-context] serial letters

2019-05-06 Thread Jan U. Hasecke
Am 10.04.19 um 09:08 schrieb Henning Hraban Ramm: > Thank you very much! I’ll try to come up with a solution (and document it). Did you find a solution? I am very interested as LibreOffice's serial letter function is annoying. Grüße juh -- Software-Dokumentation mit Sphinx Zweite überarbeitete

[NTG-context] Blogging about ConTeXt at Hostsharing

2019-03-15 Thread Jan U. Hasecke
Dear all, with your kind help I was able to establish an inhouse workflow to produce print material for my hosting cooperative Hostsharing. We are going to use ConTeXt for flyers, writing pads, business cards, posters and published documents such as sustainability reports. Many thanks to all

Re: [NTG-context] Printing 3 din lang pages on one dina4 page

2019-03-12 Thread Jan U. Hasecke
Am 12.03.19 um 17:25 schrieb Wolfgang Schuster: > \definepapersize [A4/3] [width=99mm,height=210mm] > > \setuppapersize [A4/3] [A4,landscape] > > \setuppaper [nx=3,ny=1] > > \setuparranging [XY] > > \setupbodyfont [10pt] > > \showframe[page] > > \starttext >

[NTG-context] Printing 3 din lang pages on one dina4 page

2019-03-12 Thread Jan U. Hasecke
Hi, I managed to print din long flyers (100mmx210mm with 97mmx210mm fold page) with 6 pages using a lot of pageshifts etc. But how can I print one simple din long page (99mmx210mm) three times on a din a4 page so that I can cut it myself? The following does not work. \definepapersize

Re: [NTG-context] Macro for a header does not work as well

2019-02-19 Thread Jan U. Hasecke
Am 19.02.19 um 12:55 schrieb Otared Kavian: > Hi Fabrice, > > After adding > >\mainlanguage[fr] > > to your file I obtain the attached output (Context version 2019.02.14 16:57). > I have a similar problem with a lua snippet, where mainlanguage does not solve the problem. In a

Re: [NTG-context] Creating business cards with CSV

2019-02-10 Thread Jan U. Hasecke
Thanks Pablo, great documentation and just the tool I was looking for. juh ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] Metapost graphic in setupbackground

2019-02-08 Thread Jan U. Hasecke
Thanks a lot Wolfgang and Marco. :-) juh Am 08.02.19 um 12:57 schrieb Wolfgang Schuster: > > > Jan U. Hasecke schrieb am 08.02.19 um 12:36: >> Hi all, >> >> I make my first steps with Metapost. >> >> I would like to set the background of all page

[NTG-context] Metapost graphic in setupbackground

2019-02-08 Thread Jan U. Hasecke
Hi all, I make my first steps with Metapost. I would like to set the background of all pages to a Metapost graphic. But only the first page has the defined background. I also tried with \startuseMPgraphic with no success --- mwe --- \startreusableMPgraphic{kreis} draw fullcircle scaled

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-07 Thread Jan U. Hasecke
Am 07.02.19 um 17:46 schrieb Alan Braslau: > On Thu, 7 Feb 2019 07:27:57 +0100 (UTC) > "Jan U. Hasecke" wrote: > >> At least a missing file should make ConTeXt stop immediately. > > Why? > > (I often process with missing figures, etc. Of course, not for a

[NTG-context] Creating business cards with CSV

2019-02-07 Thread Jan U. Hasecke
Hi all, I found some hints to CSV in the wiki, but they all refer to tables. What are the building block to create business cards from a csv file? My business-card.tex looks like this: \starttext {\bf Vorname Name}\\ Function \blank Company\\ Street\\ PLZ City\\ Germany\\ Telefon:

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-06 Thread Jan U. Hasecke
Am 06.02.19 um 19:31 schrieb Pablo Rodriguez: > On 2/5/19 8:07 AM, Jan U. Hasecke wrote: >> Hola Pablo, > > Hallo Jan-Ulrich, > >> I inserted this in the setupbackend command so that ConTeXt stops with >> the unknown command \colorprofilenotfound I inserted in t

Re: [NTG-context] Making ConTeXt stop on all or some errors

2019-02-04 Thread Jan U. Hasecke
Hola Pablo, Am 04.02.19 um 18:42 schrieb Pablo Rodriguez: > On 2/4/19 7:30 AM, Jan U. Hasecke wrote: >> Hi all, >> >> yesterday I asked about where to put color profiles. >> >> My problem was that ConTeXt for some unknown reason didn't find the >> color p

[NTG-context] Making ConTeXt stop on all or some errors

2019-02-03 Thread Jan U. Hasecke
Hi all, yesterday I asked about where to put color profiles. My problem was that ConTeXt for some unknown reason didn't find the color profiles I downloaded. But most annoying was the fact that I didn't saw the error in the log because ConTeXt only complains about not finding the profile. Is

Re: [NTG-context] Where to put icc color profiles

2019-02-03 Thread Jan U. Hasecke
Am 03.02.19 um 18:19 schrieb Mojca Miklavec: > Dear Jan, > > On Sun, 3 Feb 2019 at 14:49, Jan U. Hasecke wrote: >> >> I downloaded some color profiles and stored them in: >> >> /context/tex/texmf-context/colors/icc/profiles >> >> But they get overwr

Re: [NTG-context] Title from setupinteraction used in header

2019-02-03 Thread Jan U. Hasecke
Am 03.02.19 um 17:34 schrieb Wolfgang Schuster: > > Use \setupdocument to set the metadata for the PDF. You can access the > values with the \documentvariable command. > > \setuppagenumbering >   [location=] > > \setupheadertexts >   [\documentvariable{metadata:title} –

Re: [NTG-context] Color profile not found

2019-02-03 Thread Jan U. Hasecke
Am 03.02.19 um 15:26 schrieb Jan U. Hasecke: > I get an error when I use. > > \setupbackend[ >format=PDF/X-3:2003, >intent={Coated FOGRA39 (ISO 12647-2:2004)}, >] > > backend > profiles > profile specification 'Coated FOGRA39 (ISO > 12647-

[NTG-context] Color profile not found

2019-02-03 Thread Jan U. Hasecke
I get an error when I use. \setupbackend[ format=PDF/X-3:2003, intent={Coated FOGRA39 (ISO 12647-2:2004)}, ] backend > profiles > profile specification 'Coated FOGRA39 (ISO 12647-2:2004)' loaded from '/home/juh/context/tex/texmf-context/colors/icc/context/colorprofiles.xml'

[NTG-context] Where to put icc color profiles

2019-02-03 Thread Jan U. Hasecke
Hi all, I downloaded some color profiles and stored them in: /context/tex/texmf-context/colors/icc/profiles But they get overwritten, when I update context. Can I put color profiles in the working folder of my project. And how do I access them with setupbackend? TIA juh --

[NTG-context] Title from setupinteraction used in header

2019-02-03 Thread Jan U. Hasecke
Hi all, it is quite easy to have chapters in headers and footers as shows this example. \setuppagenumbering[location=] \setupheadertexts [text] [chapter] [] [] [chapter] \setupinteraction [title={foo}, subtitle={bar}, author={Peter}, keyword={context}] \starttext

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

2019-01-17 Thread Jan U. Hasecke
Am 14.01.19 um 19:25 schrieb Wolfgang Schuster: > >> I'll try to wikify this later this week. I wikified it here: https://wiki.contextgarden.net/Command/setuphead Is there a way to suppress the context output? The output does not show the effect. juh

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

2019-01-13 Thread Jan U. Hasecke
Am 13.01.19 um 16:56 schrieb Wolfgang Schuster: > Here is a example which shows how you can change the background color > of a empty page before the chapter title. > > \setuppagenumbering >   [alternative=doublesided] > > \startsetups [chapter:before] >   \doifoddpageelse >     {} >    

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

2019-01-12 Thread Jan U. Hasecke
Hi Aditya, Am 12.01.19 um 20:11 schrieb Aditya Mahajan: > On Sat, 12 Jan 2019, Jan U. Hasecke wrote: > >> Hi all, >> >> in my document \startchapter and \starttitle starts a new chapter on the >> right (odd) page. So sometimes, there is a blank even page just be

  1   2   >