[NTG-context] Adjust width of section part of table of contents

2023-09-04 Thread Jeroen
The following is a setuplist for the table of contents. Is there a way to have the section part only go to 80% of the page width, similar to width=0.8\textwidth \setuplist [chapter] [style={\bf}] \setuplist [section] [style={\tfx}] \setuplist [chapter,section] [headnumber

[NTG-context] How to prefix the list of figures with part number?

2023-03-25 Thread Willi Egger via ntg-context
Hello again, My project has different parts. Each part contains a whole list of figures. At the beginning of the book I would like to place a list of all figures. Hoever they should be prefixed with the part number. I can not figure out how to achieve this. May be someone can hint me… Cheers

Re: [NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Bruce Horrocks via ntg-context
> On 18 Apr 2022, at 22:10, Wolfgang Schuster via ntg-context > wrote: > > Bruce Horrocks via ntg-context schrieb am 18.04.2022 um 22:46: >> In the MWE below the 'part' title is centred but on one line only and, >> because it is a long title, the beginning and en

Re: [NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Aditya Mahajan via ntg-context
On Mon, 18 Apr 2022, Wolfgang Schuster via ntg-context wrote: > Bruce Horrocks via ntg-context schrieb am 18.04.2022 um 22:46: > > In the MWE below the 'part' title is centred but on one line only and, > because it is a long title, the beginning and end are lost off the sides o

Re: [NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 18.04.2022 um 22:46: In the MWE below the 'part' title is centred but on one line only and, because it is a long title, the beginning and end are lost off the sides of the page. If it were a 'chapter' title then I could insert '\\' to cause a line

[NTG-context] Word wrap of 'part' titles

2022-04-18 Thread Bruce Horrocks via ntg-context
In the MWE below the 'part' title is centred but on one line only and, because it is a long title, the beginning and end are lost off the sides of the page. If it were a 'chapter' title then I could insert '\\' to cause a line break at that point. However this does not seem to work for 'part

[NTG-context] registers - only part of an entry to be italics

2022-01-28 Thread jbf via ntg-context
Let me add one more difficulty I have come across with registers. I need the title of a book to be in italics (and know exactly how to do that with \defineprocessor), but the author's name to follow is to be normal, not italic. So I need: /book name/, author name. I tried setting up a second

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Uff, this is indeed deep tex. Thanks a lot for the example, Hans! I still need to learn a lot. After a walk and a bit of fresh air, I found another (much easier) way around my problem. This works since I don't need to deal with #2 in any special way: \tolerant\def\startMyCommand[#1]% {

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 2:14 PM, Benjamin Buchmuller wrote: Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error):

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Thanks, Hans, for the answer, but I'm not sure if I get the point. While this is possible in ConTeXt: \startsection[title={My Title}] \beginMyBlock bla bla \endMyBlock \stopsection The following won't work (end of file error): \startMyCommand[optional={Maybe}] \beginMyBlock bla bla

Re: [NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Hans Hagen via ntg-context
On 1/2/2022 11:47 AM, Benjamin Buchmuller via ntg-context wrote: Hi list, I'm playing around with blocks and buffers again, realizing that I cannot use them inbetween a \start...\stop that I defined myself. Apparently, they work between \startsection...\stopsection and the like, so I was

[NTG-context] How to make \def accept block or buffer as part of (long) command argument

2022-01-02 Thread Benjamin Buchmuller via ntg-context
Hi list, I'm playing around with blocks and buffers again, realizing that I cannot use them inbetween a \start...\stop that I defined myself. Apparently, they work between \startsection...\stopsection and the like, so I was wondering how I should define or expand #2 in the MWE below to make

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Wolfgang Schuster via ntg-context
Bruce Horrocks via ntg-context schrieb am 13.09.2021 um 22:18: In the absence of any other replies I think... (a) your example is a good one. The only improvement would be to turn it into a 2 across, 3 or 4 down set of mini pages imposed onto a larger one so that it can be rendered on the

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-13 Thread Bruce Horrocks via ntg-context
ntg-context schrieb am 10.09.2021 um 19:25: >>> Dear List, >>> >>> I am trying to set up double pages at the beginning of a new part in such a >>> way that: >>> - on an odd/right-hand page there will be number and the title typeset in >>> some fashi

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-12 Thread Christian Dekant via ntg-context
at the beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page there should be a full (printpaper)size image. https://www.mail-archive.com/ntg-context@ntg.nl/msg94581.html Wolfgang

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-11 Thread Wolfgang Schuster via ntg-context
Christian Dekant via ntg-context schrieb am 10.09.2021 um 19:25: Dear List, I am trying to set up double pages at the beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page

Re: [NTG-context] Setting up the double pages of part beginnings

2021-09-11 Thread Pablo Rodriguez via ntg-context
On 9/10/21 7:25 PM, Christian Dekant via ntg-context wrote: > [...] > % startTEXpage does not increase page number => incrementpagenumber Sorry, Christian, I’m afraid I don’t understand what you want to achieve \startTEXpage[pagestate=start] uses page numbers as any other page. I hope it helps,

[NTG-context] Setting up the double pages of part beginnings

2021-09-10 Thread Christian Dekant via ntg-context
Dear List, I am trying to set up double pages at the beginning of a new part in such a way that: - on an odd/right-hand page there will be number and the title typeset in some fashion, and - on the even/left-hand page there should be a full (printpaper)size image. If the part title ends up

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Aditya Mahajan
On Fri, 8 Jan 2021, jbf wrote: > Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) > one that I presume would bring you to tears. Oh, it does: https://www.theonion.com/ Aditya___ If your

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Very useful!  And I'll be on the lookout for a newspaper called The Onion :-) one that I presume would bring you to tears. And yes, had discovered that processors don't like split 'strings'!! But I would never have worked out your definition on my own, but it offers me ideas for other

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Oh, I would do it another way, as processors aren't very happy with commands which split "strings". The drawback of my quick and dirty method is the need for additional commands, but I hope this will be useful. \defineregister[myindex] %Sorry for the funny names \def\myindexspaced#1{%

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name.

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread jbf
Thanks Jairo, with some tweaking I now have it working ( I had \placeindex instead of \placemyindex! And altered the 'style' name to something else as you hinted I should). Now, this might be asking too much of ConTeXt, but some Newspaper names don't italicise the 'The', only the main name.

Re: [NTG-context] styling part of an index entry

2021-01-07 Thread Jairo A. del Rio
Hi. In latest LMTX (2021.01.07 16:59), your example works as expected: \defineregister[myindex] \defineprocessor[style][style=italic]%Isn't another name available? \starttext In \myindex{style->Observer, The}{\em The Observer} of 31 July 2018 \placemyindex% \stoptext Jairo El jue, 7 de

[NTG-context] styling part of an index entry

2021-01-07 Thread jbf
I'm wondering if further progress has been made in Mk IV on styling parts of an index (register) entry? I have followed the explanation on the wiki, but do not seem to be able to achieve what I need. And what I need is to be able to italicise entries that refer to newspaper names, e.g. The

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread jbf
into an editor and keep tweaking. It doesn't have to produce the correct output, but it should compile. If you add an MWE you're more likely to get a response. Of the three issues below, only the first is not resolved, meaning that part=Section\nobreakspace does not make any difference, or put another way

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread Marco Patzer
ely to get a response. > Of the three issues below, only the first is not resolved, meaning > that part=Section\nobreakspace does not make any difference, or put > another way, at least it stops things from throwing an error, but the > result I get is not 'Section 1. My title' but simpl

Re: [NTG-context] Part label and chapter numbers

2021-01-04 Thread Marco Patzer
On Mon, 4 Jan 2021 13:22:55 +1100 jbf wrote: > Issue 1: > > Parts need to be called 'Section' (Section 1, section 2 etc.). \setuphead [part] [placehead=yes, bodypartlabel=part] \setuplabeltext [part=Section\nobreakspace] > Issue 2: > > While the above 'sect

[NTG-context] Part label and chapter numbers

2021-01-03 Thread jbf
This is a Mark IV issue rather than LMTX, and while it is almost certainly simple enough, I seem to have got myself confused and am not getting the results I need. essentially I am dealing with a book that is divided into parts and chapter, but the parts need to be called 'Section' not 'Part

[NTG-context] Best practices for multi-part book

2020-12-29 Thread Denis Maier
Hi, I need to typeset a book that, due to space constraints, is going to be published in two volumes. Both volumes together will contain about 1500 pages, both volumes should be continuously paginated, i.e. if volume 1 ends at page 700 volume 2 will start at 801 (After the frontmatter

[NTG-context] own answer to part of the question re typeface options

2020-09-01 Thread jbf
I have come up with part answers to my two questions. The remaining unanswered question is in the final line. The question I can now answer, after some experimenting, is how to ensure that I can use small caps as part of the Alegreya family when I need to do so. This is how my definitions now

Re: [NTG-context] Chapter numbering after \part

2020-08-20 Thread Wolfgang Schuster
jbf schrieb am 21.08.2020 um 04:27: By default, chapter numbers coming after \part are numbered 1.1... 2.1... and so on. But in my case I need them to still be simply 1,2... for each part. Is there a way I can get this numbering to occur? I thought I could do it using ownnumber

[NTG-context] Chapter numbering after \part

2020-08-20 Thread jbf
By default, chapter numbers coming after \part are numbered 1.1... 2.1... and so on. But in my case I need them to still be simply 1,2... for each part. Is there a way I can get this numbering to occur? I thought I could do it using ownnumber=, but that doesn't work. Then I tried a makeup

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

2020-04-28 Thread Henning Hraban Ramm
Sorry, I took your message for irony. Should have read your blog posts to know better. Hraban > Am 28.04.2020 um 18:07 schrieb Henning Hraban Ramm : > > Don’t forget, what’s already included in ConTeXt: > > \usemodule[visual] > \useMPlibrary[dum] > > \starttext > \simplethesis > \stoptext >

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

2020-04-28 Thread Thangalin
Hi Jan, > 1. Nameing and organizing the project, product and environments files. I > am currently reorganising the files for my cooperative. I think that > besides some nameing conventions it is more or less up to me how I > organise our print work. Any recommendations welcome. Download

Re: [NTG-context] contextproject script (was: Typesetting Markdown - Part 8)

2020-04-28 Thread Henning Hraban Ramm
> Am 28.04.2020 um 16:39 schrieb Henning Hraban Ramm : > >>> https://github.com/fiee/tools/blob/master/contextproject.py > > There are a few bugs in the output, e.g. in the first call you can’t set the > project name, and in the second it won’t create an environment if it’s > missing. If you

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

2020-04-28 Thread Henning Hraban Ramm
Don’t forget, what’s already included in ConTeXt: \usemodule[visual] \useMPlibrary[dum] \starttext \simplethesis \stoptext > Am 28.04.2020 um 17:33 schrieb Thangalin : > > Jan-Erik, after you have installed all the required software (and > fonts!) and unzipped the book.zip and themes.zip

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

2020-04-28 Thread Jan-Erik Hägglöf
Perfect, I will get in to it. Many thanks and Best wishes, Janne > 28 apr. 2020 kl. 17:33 skrev Thangalin : > > Jan-Erik, after you have installed all the required software (and > fonts!) and unzipped the book.zip and themes.zip archives, you can > build a book using: > > cd

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

2020-04-28 Thread Thangalin
Jan-Erik, after you have installed all the required software (and fonts!) and unzipped the book.zip and themes.zip archives, you can build a book using: cd $HOME/dev/writing/book ./build -V -c -y -i jekyll-hyde -d standard-ebooks/jekyll-hyde \ -b

Re: [NTG-context] contextproject script (was: Typesetting Markdown - Part 8)

2020-04-28 Thread Jan-Erik Hägglöf
That was clarifying. Thanks a lot and good work done by you! Take Care Best wishes, Janne > 28 apr. 2020 kl. 16:39 skrev Henning Hraban Ramm : > > >> Am 28.04.2020 um 16:12 schrieb Jan-Erik Hägglöf : >> >>> 28 apr. 2020 kl. 09:33 skrev Henning Hraban Ramm : >>> >>> Yes, the naming is

Re: [NTG-context] contextproject script (was: Typesetting Markdown - Part 8)

2020-04-28 Thread Henning Hraban Ramm
> Am 28.04.2020 um 16:12 schrieb Jan-Erik Hägglöf : > >> 28 apr. 2020 kl. 09:33 skrev Henning Hraban Ramm : >> >> Yes, the naming is completely up to you. >> >> I use: >> >> project_something.tex >> env_something.tex >> prd_oneissue.tex >> c_onechapter.tex >> >> That’s also what my script

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

2020-04-28 Thread Jan-Erik Hägglöf
Is there a running example ? I’m not sure how to fill in the commandline > 28 apr. 2020 kl. 09:33 skrev Henning Hraban Ramm : > > Yes, the naming is completely up to you. > > I use: > > project_something.tex > env_something.tex > prd_oneissue.tex > c_onechapter.tex > > That’s also what my

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. > > I've the same opinion! > >> Up to now

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

2020-04-28 Thread 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. I've the same opinion! > Up to now I used Pablos way via pandoc and XHTML described here: >

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

2020-04-28 Thread Henning Hraban Ramm
> Am 28.04.2020 um 08:32 schrieb Jan U. Hasecke : > > 1. Nameing and organizing the project, product and environments files. I > am currently reorganising the files for my cooperative. I think that > besides some nameing conventions it is more or less up to me how I > organise our print work.

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 &

[NTG-context] Typesetting Markdown - Part 8

2020-04-27 Thread 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 very much appreciated. Specifically, it seems that some project

[NTG-context] Typesetting Markdown – Part 7: Mathematics

2019-08-06 Thread Thangalin
https://dave.autonoma.ca/blog/2019/08/06/typesetting-markdown-part-7/ This installment tackles a cost-benefit analysis problem comparing electric to gasoline-powered vehicles, calls into R for amortization, typesets math and a repayment schedule, continues to explore the separation of content

[NTG-context] Typesetting Markdown – Part 6: Computation

2019-07-11 Thread Thangalin
This part of the series describes a way to produce and typeset dynamic documents using R Markdown and ConTeXt. https://dave.autonoma.ca/blog/2019/07/11/typesetting-markdown-part-6/ Comments or suggestions for improvement

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

2019-07-09 Thread Andres Conrado
Thank you. I still don't really understand why can't you have a "presentational" yaml file and a "content" yaml file (I do it like that... I have a "variables.yaml" file for content and a "settings.yaml" file for presentational stuff, and use a "template.context" file with all my mapped variables

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

2019-07-09 Thread Thangalin
> You can reach the person managing the list at >> ntg-context-ow...@ntg.nl >> >> When replying, please edit your Subject line so it is more specific >> than "Re: Contents of ntg-context digest..." >> >> >> Today's Topics: >> &

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

2019-07-08 Thread Andres Conrado
; ntg-context-requ...@ntg.nl > > You can reach the person managing the list at > ntg-context-ow...@ntg.nl > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of ntg-context digest..." > > > Today's Topics: &

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

2019-07-08 Thread Thangalin
Thanks again for the great ideas. The downside is that it comes with a lot of extra ConTeXt setup code. My understanding is that the toc parameter to pandoc only works when creating a standalone document. I think \def\completecontent\empty is a bit more expressive of intent than

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

2019-07-07 Thread Aditya Mahajan
On Sun, 7 Jul 2019, Thangalin wrote: Thank you Aditya. The main.tex file is meant to be reusable for different document styles. By removing \completecontent altogether from the main template, it would preclude a different document from reusing the main.tex template with a table of contents.

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

[NTG-context] Typesetting Markdown – Part 4: Theme Style

2019-06-23 Thread Thangalin
Hi all! This part of the series describes a way to define colours, fonts, and layout such that content is separated from presentation. https://dave.autonoma.ca/blog/2019/06/23/typesetting-markdown-part-4/ Questions, corrections, and improvements are welcome

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

2019-06-17 Thread Floris van Manen
On 17-06-19 19:31, Thangalin wrote: > > Definitely. Part 4 will be about themes. great ! .F pEpkey.asc Description: application/pgp-keys ___ If your question is of interest to others as well, please add an

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

2019-06-17 Thread Thangalin
> Maybe some instructions as how to adjust/redefine the pandoc output? Please elaborate. > e.g. how to include different style templates for ConTeXt. Definitely. Part 4 will be about themes. Thank you! ___ I

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

2019-06-17 Thread Floris van Manen
On 17-06-19 07:54, Thangalin wrote: > Hi all! > > The third part of the series describes a way to perform continuous > integration when writing Markdown that is typeset using ConTeXt. > > https://dave.autonoma.ca/blog/2019/06/16/typesetting-markdown-part-3/ > > Sug

[NTG-context] Typesetting Markdown -- Part 3

2019-06-16 Thread Thangalin
Hi all! The third part of the series describes a way to perform continuous integration when writing Markdown that is typeset using ConTeXt. https://dave.autonoma.ca/blog/2019/06/16/typesetting-markdown-part-3/ Suggestions for improvement are welcome. Thank you

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

2019-05-31 Thread Saša Janiška
David Nebauer writes: > https://github.com/Witiko/markdown is forked from > https://github.com/jgm/lunamark. Github user "jgm" is John MacFarlane, > the creator of pandoc, and pandoc itself is hosted on github under > "jgm" as well: https://github.com/jgm/pandoc. > > So, it seems a good bet that

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

2019-05-30 Thread Thangalin
> > sense to check all these mappings onto context, for instance I think > that pandoc uses \section and such while in fact it should use > \startsectionlevel[title={}] ... \stopsectionlevel so that one can embed > documents in other documents. > https://github.com/jgm/pandoc/issues/5539 Feel

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

2019-05-30 Thread David Nebauer
https://github.com/Witiko/markdown is forked from https://github.com/jgm/lunamark. Github user "jgm" is John MacFarlane, the creator of pandoc, and pandoc itself is hosted on github under "jgm" as well: https://github.com/jgm/pandoc. So, it seems a good bet that

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

2019-05-30 Thread Hans Hagen
On 5/30/2019 12:18 PM, Saša Janiška wrote: Hans Hagen writes: just test it and tell me what needs to be fixed / added I'm looking at https://github.com/Witiko/markdown and wondering which flavour of Markdown this package does support? By reading https://github.com/Witiko/markdown/issues/25

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

2019-05-30 Thread Saša Janiška
Hans Hagen writes: > just test it and tell me what needs to be fixed / added I'm looking at https://github.com/Witiko/markdown and wondering which flavour of Markdown this package does support? By reading https://github.com/Witiko/markdown/issues/25 it could mean it could be Pandoc's one, but

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

2019-05-30 Thread Hans Hagen
On 5/29/2019 11:54 PM, Thangalin wrote: Hi all, The second part describes how to create a PDF file from a Markdown file using pandoc and ConTeXt: https://dave.autonoma.ca/blog/2019/05/29/typesetting-markdown-part-2/ If anyone has suggestions to improve the ConTeXt-related portions, please

[NTG-context] Typesetting Markdown -- Part 2

2019-05-29 Thread Thangalin
Hi all, The second part describes how to create a PDF file from a Markdown file using pandoc and ConTeXt: https://dave.autonoma.ca/blog/2019/05/29/typesetting-markdown-part-2/ If anyone has suggestions to improve the ConTeXt-related portions, please pass them along. I've considered using

Re: [NTG-context] section to have different conversion in body part and appendices

2019-05-22 Thread Procházka Lukáš Ing .
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{

Re: [NTG-context] section to have different conversion in body part and appendices

2019-05-21 Thread Pablo Rodriguez
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]

[NTG-context] section to have different conversion in body part and appendices

2019-05-21 Thread Procházka Lukáš Ing .
Hello, is there a way to tell \section (or other heads) to be "number-converted" differently in bodypart and appendices? Something like: \setuphead[section][] % e.g. "appendices:numberconversion=A"? \starttext \starbodyamtter \section{In body} % To produce "1. In body"

Re: [NTG-context] Modes and conditional part of the source

2019-03-01 Thread Hans van der Meer
I used \doifmode and friends for selection of mode dependent code. dr. Hans van der Meer > On 1 Mar 2019, at 01:24, Hans Hagen wrote: > > On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote: >> Hello, >> I'm struggling with using modes to make a part of the text conditiona

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Hans Hagen
On 2/28/2019 11:29 AM, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext   A   \b{100} % Should be start of some

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Procházka Lukáš Ing .
Hello Aditya, thanks for the code, I'll try something like that. Best regards, Lukas On Thu, 28 Feb 2019 12:54:06 +0100, Aditya Mahajan wrote: On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my

Re: [NTG-context] Modes and conditional part of the source

2019-02-28 Thread Aditya Mahajan
On Thu, 28 Feb 2019, Procházka Lukáš Ing. wrote: Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext A \b{100} % Should be start of some

[NTG-context] Modes and conditional part of the source

2019-02-28 Thread Procházka Lukáš Ing .
Hello, I'm struggling with using modes to make a part of the text conditional. Here is my code: \def\b#1{\startmode[#1]} \def\e{\stopmode} % \enablemode[100] % For optional usage \starttext A \b{100} % Should be start of some conditional text from here ... B \e % ... to here

Re: [NTG-context] Omitting part number in chapter numbers

2019-02-20 Thread Wolfgang Schuster
Simon Collier schrieb am 20.02.19 um 02:01: Dear list. I would like to have a TOC that looks basically as follows when stripped down to the essentials: 1 Part1 1 Chapter1 2 Chapter2 2 Part2 3 Chapter3 I don't want the part number to be "part" of the chapter number (no 2.

[NTG-context] Omitting part number in chapter numbers

2019-02-19 Thread Simon Collier
Dear list. I would like to have a TOC that looks basically as follows when stripped down to the essentials: 1 Part1 1 Chapter1 2 Chapter2 2 Part2 3 Chapter3 I don't want the part number to be "part" of the chapter number (no 2.1, just 1, for example). This behaviour should

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread Alan Braslau
m manually > > cutting and pasting the parts into the ConTeXt file. Is it possible > > to make ConTeXt do that for me? I am thinking of including each > > part of the Coq sources between tags like this: > > > &g

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread N. Raghavendra
At 2018-04-21T17:29:58+02:00, Wolfgang Schuster wrote: > The verbatim commands have a range key which let you select parts of > the code, you can use line numbers to include a small block > (e.g. range={3,10} or range {3,+7}) or you put labels in your code. Many thanks! It works perfectly, with

Re: [NTG-context] Including part of a program source file

2018-04-21 Thread Wolfgang Schuster
ssible to make ConTeXt do that for me? I am thinking of including each part of the Coq sources between tags like this: $ cat src-file part_to_be_included_1 part_to_be_included_2 -

[NTG-context] Including part of a program source file

2018-04-21 Thread N. Raghavendra
I am writing some notes using ConTeXt, which involves displaying parts of some program source files. At present, I am manually cutting and pasting the parts into the ConTeXt file. Is it possible to make ConTeXt do that for me? I am thinking of including each part of the Coq sources between tags

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
On 12/20/2017 6:44 PM, Aditya Mahajan wrote: On Wed, 20 Dec 2017, Hans Hagen wrote: %  solution 1: \setuphead   [part]   [page=no,    placehead=hidden] \setuptexttexts   [\synchronizehead{part}] I recently had a problem where \testpage was misbehaving while \testpagesyncronized worked

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
On 12/20/2017 6:40 PM, Aditya Mahajan wrote: On Wed, 20 Dec 2017, Hans Hagen wrote: Forwarded Message Subject: Re: [NTG-context] Stray blank page with part Date: Wed, 20 Dec 2017 11:50:11 +0100 From: Hans Hagen <pra...@wxs.nl> To: Henri <henrime...@gmail.com> On

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Aditya Mahajan
On Wed, 20 Dec 2017, Hans Hagen wrote: % solution 1: \setuphead [part] [page=no, placehead=hidden] \setuptexttexts [\synchronizehead{part}] I recently had a problem where \testpage was misbehaving while \testpagesyncronized worked correctly. The example above is another

Re: [NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Aditya Mahajan
On Wed, 20 Dec 2017, Hans Hagen wrote: Forwarded Message Subject: Re: [NTG-context] Stray blank page with part Date: Wed, 20 Dec 2017 11:50:11 +0100 From: Hans Hagen <pra...@wxs.nl> To: Henri <henrime...@gmail.com> On 12/19/2017 9:15 PM, Henri wrote: Dear list,

[NTG-context] Fwd: Re: Stray blank page with part

2017-12-20 Thread Hans Hagen
Forwarded Message Subject: Re: [NTG-context] Stray blank page with part Date: Wed, 20 Dec 2017 11:50:11 +0100 From: Hans Hagen <pra...@wxs.nl> To: Henri <henrime...@gmail.com> On 12/19/2017 9:15 PM, Henri wrote: Dear list, Motivated by https://tex.stack

[NTG-context] Stray blank page with part

2017-12-19 Thread Henri
Dear list, Motivated by https://tex.stackexchange.com/questions/406892 I wanted to disable page breaks for parts.  This works on all pages, except the first page of a document.  Why?  MWE is below as always.  Reproducible with TL 2017 and latest beta. Cheers, Henri \setuphead   [part

Re: [NTG-context] bug getting part for \setupheadertexts?

2017-04-01 Thread Pablo Rodriguez
On 04/01/2017 10:33 AM, Pablo Rodriguez wrote: > Dear list, > > as Hraban already reported, there might be a bug in: > > \setupheadertexts[section][chapter][part][section] > > \starttext > \dorecurse{10}{\part{Part} > \chapter{Chapter} >

[NTG-context] bug getting part for \setupheadertexts?

2017-04-01 Thread Pablo Rodriguez
Dear list, as Hraban already reported, there might be a bug in: \setupheadertexts[section][chapter][part][section] \starttext \dorecurse{10}{\part{Part} \chapter{Chapter} \dorecurse{5}{\section{Section}\page}} \stoptext Replacing [part] with [\getmarking{part

[NTG-context] part in header

2017-03-29 Thread Henning Hraban Ramm
Hi again, last one for today: How can I get the part title in header? This doesn’t work (left header stays blank): \setupheadertexts[][chapter][part][] and this throws an error: \setupheadertexts[][\getmarking{chapter}][\getmarking{part}][] What’s the trick? Greetlings, Hraban --- http

Re: [NTG-context] Extract only certain part of document (via modes)?

2016-11-10 Thread Wolfgang Schuster
Hans Hagen 10. November 2016 um 17:27 search for 'blocks' ... \defineblock ... \hideblocks \keepblocks \useblocks \processblocks \selectblocks This doesn’t solve the problem because he want a document which contains *only* certain blocks and nothing else, a solution for

Re: [NTG-context] Extract only certain part of document (via modes)?

2016-11-10 Thread Hans Hagen
On 11/6/2016 12:51 PM, Mikael P. Sundqvist wrote: Dear list, and in particular Hans, I asked the same question on stackexchange before today (http://tex.stackexchange.com/q/337738/52406), and got the answer that what I want to do might not be possible. In my large document I have exercises

Re: [NTG-context] Extract only certain part of document (via modes)?

2016-11-06 Thread Mikael P. Sundqvist
On Sun, Nov 6, 2016 at 3:03 PM, Wolfgang Schuster wrote: > Mikael P. Sundqvist > 6. November 2016 um 12:51 > Dear list, and in particular Hans, > > I asked the same question on stackexchange before today > (http://tex.stackexchange.com/q/337738/52406), and got the

Re: [NTG-context] Extract only certain part of document (via modes)?

2016-11-06 Thread Wolfgang Schuster
Mikael P. Sundqvist 6. November 2016 um 12:51 Dear list, and in particular Hans, I asked the same question on stackexchange before today (http://tex.stackexchange.com/q/337738/52406), and got the answer that what I want to do might not be possible. In my large document

[NTG-context] Extract only certain part of document (via modes)?

2016-11-06 Thread Mikael P. Sundqvist
Dear list, and in particular Hans, I asked the same question on stackexchange before today (http://tex.stackexchange.com/q/337738/52406), and got the answer that what I want to do might not be possible. In my large document I have exercises (typeset with \startexercise \stopexercise, defined as

Re: [NTG-context] Reprocessing part of input

2016-02-02 Thread Hans Hagen
On 2/2/2016 4:28 PM, Meer, Hans van der wrote: How to do the following eludes me. Inside macro -processing read into a buffer the following part of the input \startmyinput ...\stopmyinput Analogous to input containing \startbuffer[mystoragebuffer] \startmyinput

[NTG-context] Reprocessing part of input

2016-02-02 Thread Meer, Hans van der
How to do the following eludes me. Inside macro -processing read into a buffer the following part of the input \startmyinput ...\stopmyinput Analogous to input containing \startbuffer[mystoragebuffer] \startmyinput ... \stopmyinput \stopbuffer but now

[NTG-context] ISO/IEC 14496-22:2015 Information technology -- Coding of audio-visual objects -- Part 22: Open Font Format

2015-11-12 Thread luigi scarso
Now available at http://standards.iso.org/ittf/PubliclyAvailableStandards/index.html Direct link http://standards.iso.org/ittf/PubliclyAvailableStandards/c066391_ISO_IEC_14496-22_2015.zip -- luigi ___ If your

  1   2   3   >