Re: [NTG-context] Typesetting Markdown
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: > > https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ > That is interesting. Do you provide a RSS feed for your blog? juh ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] https://wiki.contextgarden.net/Fraktur_fonts
On Wed, May 22, 2019 at 07:40:12PM +0200, Willi Egger wrote: > Hi Rudolf, > > I looked at your work on the wiki. It looks very nice, well-structured. > > I wanted to try to upload the pictures. However if I understand the help > correctly, then one needs privileges to upload files? > > Kind regards > > Willi Hello Willi, thank you for your message! I remember having read somewhere that after wiki-login one should have those privileges to upload pictures to the wiki server. But I don't know whether I'm right. In any case I hadn't any success and gave up (for a couple of weeks, at least :) Best wishes, Rudolf ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Typesetting Markdown
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: https://dave.autonoma.ca/blog/2019/05/22/typesetting-markdown-part-1/ Thank you! ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] XML export: basic questions
On 5/22/2019 10:30 PM, Procházka Lukáš Ing. wrote: Hello, suppose having "Main.mkiv": \setupbackend[export=yes] \starttext \startsection[title={Sec},MyPar=MyVal] \input knuth \stopsection \stoptext Some questions concerning XML export: 1. Normally, with \setupbackend[export=yes], Ctx creates "Main-export" directory containing (among others) Main-raw.xml, and Main-tag.xhtml and some subdirs. no, because then we also need to check for files with that name already present etc etc Is there a way to tell Ctx to produce just one XML file with a prescribed name which wouldn't be placed in any subdir? In my case - to produce "Main.xml" (instead of "Main-export/Main-raw.xml"), other files to be omitted? no, because they also server as check 2. Is there a way to export user parameters used in \section? In my case: \startsection[title={Sec},MyPar=MyVal] uses user parameter "MyPar" with value "MyVal", but "MyPar" is not transmitted into XML; the goal is to have which would allow some filtering when reprocessing that XML. there are soem options to pass properties (probably also demonstrated in examples) - Or is there another way, like enclosing into a user tag: \starttag[MyTag] \startsection[title={Sec},MyPar=MyVal] \input knuth \stopsection \stoptag indeed you can define your own tags which would export into: MyPar="MyVal"> ... as it is impossible to fulfil every possible scneario the export is just that ... an export ... one can always postprocess the xml Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl - ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] XML export: basic questions
Hello, suppose having "Main.mkiv": \setupbackend[export=yes] \starttext \startsection[title={Sec},MyPar=MyVal] \input knuth \stopsection \stoptext Some questions concerning XML export: 1. Normally, with \setupbackend[export=yes], Ctx creates "Main-export" directory containing (among others) Main-raw.xml, and Main-tag.xhtml and some subdirs. Is there a way to tell Ctx to produce just one XML file with a prescribed name which wouldn't be placed in any subdir? In my case - to produce "Main.xml" (instead of "Main-export/Main-raw.xml"), other files to be omitted? 2. Is there a way to export user parameters used in \section? In my case: \startsection[title={Sec},MyPar=MyVal] uses user parameter "MyPar" with value "MyVal", but "MyPar" is not transmitted into XML; the goal is to have which would allow some filtering when reprocessing that XML. - Or is there another way, like enclosing into a user tag: \starttag[MyTag] \startsection[title={Sec},MyPar=MyVal] \input knuth \stopsection \stoptag which would export into: ... Best regards, Lukas -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS:nrpt3sn Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] https://wiki.contextgarden.net/Fraktur_fonts
Hi Rudolf, I looked at your work on the wiki. It looks very nice, well-structured. I wanted to try to upload the pictures. However if I understand the help correctly, then one needs privileges to upload files? Kind regards Willi > On 12 May 2019, at 19:56, Rudolf Bahr wrote: > > Hello All, > > I wrote the wiki page "https://wiki.contextgarden.net/Fraktur_fonts; on my > experiences of ConTeXt and three Fraktur fonts. > > 4 result images are still missing. I didn't succeed in uploading them to the > server in > reasonable time. Could somebody, who has already uploaded images, please, do > it for me? > The 4 images are appended here. > > Best wishes, > > Rudolf___ > 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 : http://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : http://contextgarden.net > ___ ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] section to have different conversion in body part and appendices
Hello, that's it - thanks! The following code seems to be even more minimal & working: \definestructureconversionset[appendix:sectionnumbers][,,A,] \setupheads[sectionconversionset=sectionnumbers] \starttext \completecontent \startbodymatter \part{Part} \chapter{Chap} \section{In body} \subsection{SSec} \stopbodymatter \startappendices \part{Part} \chapter{Chap} \section{In apps} \subsection{SSec} \stopappendices \stoptext Best regards, Lukas On Tue, 21 May 2019 16:14:45 +0200, Pablo Rodriguez wrote: On 5/21/19 3:10 PM, Procházka Lukáš Ing. wrote: Hello, is there a way to tell \section (or other heads) to be "number-converted" differently in bodypart and appendices? Hi Lukáš, I think this is what you want to achieve: \definestructureconversionset [sectionnumbers] [0,R,n,n,g] [n] \definestructureconversionset [appendix:sectionnumbers] [0,R,Characters,g,characters] [n] \setupheads [sectionconversionset=sectionnumbers] \setuphead[section][] % e.g. "appendices:numberconversion=A"? \starttext \startbodymatter \section{In body} % To produce "1. In body" \stopbodymatter \startappendices \section{In apps} % To produce "A In apps" \stopappendices \stoptext I hope it helps, Pablo -- http://www.ousia.tk ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___ -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz | IDDS: nrpt3sn | IČO: 40763439 Bezová 1658 147 14 Praha 4 Mob.: +420 702 033 396 AppNum2.mkiv Description: Binary data AppNum2.pdf Description: Adobe PDF document ___ 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 : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___