[NTG-context] Re: How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
Thank you! --Joel On Saturday, April 27, 2024 at 12:08:13 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 27.04.2024 um 19:16: > \starttext >  test\high{1}test\footnote{some text} > \stoptext > > How can I create a superscript number that has e

[NTG-context] How to make superscript text match footnote mark formatting?

2024-04-27 Thread Joel via ntg-context
\starttext test\high{1}test\footnote{some text} \stoptext How can I create a superscript number that has exactly the same formatting as a footnote, but which won't create a footnote. I tried \high{}, which I believe should be the way to superscript text, but if you compile this, you can see

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-23 Thread Joel via ntg-context
2, 2024 at 07:22:24 AM MDT, vm via ntg-context wrote: On 22/04/2024 14:38, Joel via ntg-context wrote: > Is this the correct way to be using the \startpostponing code (see > example below)? > > \starttext >      \input knuth > \startpostponing >      

[NTG-context] Re: Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
Changing location=none to location=text still left me with the bullet points appearing in a big list at the end of my chapter, but without any messages in them. On Monday, April 22, 2024 at 07:54:39 AM MDT, Joel via ntg-context wrote: A few years back, I tried using endnotes

[NTG-context] Why are ConTeXt-SBL endnotes empty?

2024-04-22 Thread Joel via ntg-context
A few years back, I tried using endnotes with ConTeXt-SBL, and it failed to compile. I'm forced to try again (due to some other issue with footnotes), and instead of compiling to error, it compiles, but the footnote's message ends up being empty.  Why is it appearing empty? Is there a fix?

[NTG-context] Re: Why don't footnotes appear in floats or figures?

2024-04-22 Thread Joel via ntg-context
ntg-context wrote: On 4/22/2024 2:45 AM, Joel via ntg-context wrote: > I'm three days out from sending my work to an editor, and found some > serious problem: many footnotes just aren't rendering. > > I have a history text that uses ConTeXt-SBL for the citations, as such, &

[NTG-context] Why don't footnotes appear in floats or figures?

2024-04-21 Thread Joel via ntg-context
I'm three days out from sending my work to an editor, and found some serious problem: many footnotes just aren't rendering. I have a history text that uses ConTeXt-SBL for the citations, as such, it has lots of footnotes. Sometimes the footnotes are just in the main text, but sometimes also in

[NTG-context] How to isolate serious errors from warnings?

2024-04-17 Thread Joel via ntg-context
I'm about to have a lengthy (2,000+ page) document published. Normally if it compiles and looks okay, I regard that as meaning no errors appeared, but I've noticed that sometimes ConTeXt will still compile, even if something isn't displayed on screen as it should: (1) I tried placing a table

[NTG-context] Is TIFF image no longer supported?

2024-04-14 Thread Joel via ntg-context
I have a document with PNG, JPG, and TIFF. When I try using \externalfigure[filename][frame=on, width=.\textwidth] it displays JPG and PNG fine, but the TIFF files don't render. Is TIFF not supported in ConTeXt anymore? --Joel

[NTG-context] How to get an image to fill the maximum available space?

2024-03-29 Thread Joel via ntg-context
I have code like this:     \placefigure[here, force]{my caption}{%         \externalfigure[#1][frame=on, maxheight=1.2\textwidth, maxwidth=\textwidth]%     }% I need some images to appear in a book. I need them to keep their proper ratios, but scale up to the maximize the available space. The

[NTG-context] Why is header page number appearing when I define a header?

2024-03-16 Thread Joel via ntg-context
\starttext              \setupheadertexts[Name:~][Date:~__][Date:~__][Name:~]             \setupfootertexts[][pagenumber][][pagenumber]     \input knuth \stoptext I used this code to create header texts that prints Name / Date on the

[NTG-context] Re: Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
Thank you! The solution worked! On Friday, March 15, 2024 at 02:30:40 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 15.03.2024 um 20:50: > When I run this code, \at{page}[xyz] is unable to find the cross reference: > > \starttext > %\r

[NTG-context] Why aren't cross-references working in tabulate?

2024-03-15 Thread Joel via ntg-context
When I run this code, \at{page}[xyz] is unable to find the cross reference: \starttext%\reference[xyz]{} \starttabulate[|lp(.3\textwidth)|lp(.\textwidth)|] \NC    \reference[xyz]{} \NC \NC\NR \stoptabulate \pagebreak \at{page}[xyz] \stoptext The code does work when I uncomment line

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
I'm not understanding in a much much larger document how I sold this, as I've tired placing \dontleavehmode in different places, but no success. On Wednesday, March 13, 2024 at 04:46:54 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 13.03.2024 um 23:27: > Af

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
What is an anchor? Does that mean the index needs to me next to some items, like placed next to some text? On Wednesday, March 13, 2024 at 04:46:54 PM MDT, Wolfgang Schuster wrote: Joel via ntg-context schrieb am 13.03.2024 um 23:27: > After many hours of trial-and-error, I was a

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
{turtles} For reasons I can't understand, the index produces the same [entry not flushed] error. It seems here happening when contents are input. My code is so simple, I can't understand what I've typed wrong. --Joel On Wednesday, March 13, 2024 at 12:51:56 PM MDT, Joel via ntg-context wrote

[NTG-context] Re: How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
that blank spot? --Joel On Wednesday, March 13, 2024 at 07:53:21 AM MDT, Joel via ntg-context wrote: I have some custom registers that I use to index some information. When compiled, it just prints [entry not flushed] instead of printing some of the page numbers. I have tens of thousand

[NTG-context] How to track down source of [entry not flushed] displaying in indexes?

2024-03-13 Thread Joel via ntg-context
I have some custom registers that I use to index some information. When compiled, it just prints [entry not flushed] instead of printing some of the page numbers. I have tens of thousands of lines of code, so have no idea how to break the problem down to a minimal example. What does [entry not

[NTG-context] How to set section title based on section content?

2024-03-09 Thread Joel via ntg-context
How to set section title based on section content? I have a document that has some structures like this: \starttext \startsection[title={Animals}] \event{\input knuth } \stopsection \startsection[title={Books}] \event{\input knuth } \stopsection \stoptext The event macro runs a bunch of

[NTG-context] How to print the book title and section title where \reference is located?

2024-02-06 Thread Joel via ntg-context
I have an extensive multi-book project. Each book has a nickname, like TB for "Textbook", "WB 1" for the "Workbook, Vol. 1": TB -- 01_textbook.texWB 1 -- 03_workbook.texWB 2 -- 04_workbook.texWB 3 -- 05_workbook.tex WB 4 -- 06_workbook.tex TG -- 08_teachersguide.tex I have to prove to a

[NTG-context] How to stop

2024-01-27 Thread Joel via ntg-context
I have a document that uses ~40 different TABLE configurations, each with their own special requirements, such as these below, and in total, perhaps 2000 tables appear in a file, using one of the configurations.                        \setupTABLE[r][1][align=raggedleft]                     

[NTG-context] How to input first n lines from file?

2023-12-16 Thread Joel via ntg-context
With the command `\input file`, I can input the entire contents of `file.tex`. Is there a way to limit it to the first n lines, for instance, something like `\input[10]` file would only input the first 10 lines from `file.tex` and ignore the rest of the lines. --Joel

Re: [NTG-context] How to really force figure to appear "here"?

2023-05-21 Thread Joel via ntg-context
    \input knuth     \input knuth     \input knuth     \input knuth \stoptext --Joel On Saturday, May 20, 2023 at 07:49:45 PM MDT, Joel via ntg-context wrote: I have been using \placefigure[here, force] to place some graphics, but its instead showing other text from the next section

[NTG-context] How to really force figure to appear "here"?

2023-05-20 Thread Joel via ntg-context
I have been using \placefigure[here, force] to place some graphics, but its instead showing other text from the next section, then the picture. In testing, this is causing readers to be confused, as they expect to see a picture, but its somehow appearing two pages later. I don't care it it

[NTG-context] Is there a way to centrally add a list of indexed items to a sub category?

2023-05-14 Thread Joel via ntg-context
I have a document like this:     \starttext     \index{dogs}          \index{cats}          \index{flowers}          \index{snails}          \index{trees}          \placeindex          \stoptext      As I understand, if you use

[NTG-context] How to print all pages for a single index entry?

2023-05-07 Thread Joel via ntg-context
I have an index like this: \starttext \index{butterflies}\index{horses}\index{cows} \placeindex \stoptext The placeindex will place every index. Is there a way to say, display an index, but only for a specific single entry, or specific list of entries, e.g. \placeindex[horses, cows] (would

[NTG-context] How to fix indexes displaying [entry not flushed] with hidden data?

2023-05-07 Thread Joel via ntg-context
I have a document that needs to place some "hidden" data. In other words, there is an entire \input file with an article, but it doesn't get rendered visibly. However, the indexes, registers, and bibliography need to still function as if it were displayed right there on the page. It should be

[NTG-context] How to show bibliography only for the chapter?

2023-05-06 Thread Joel via ntg-context
I am trying to place a bibliography at the end of the chapter, not the end of the whole document. I tried various code such as `criteria=bychapter` etc., but it will only show the entire bibliography for the whole document. How can I limit the list to the material falling within that chapter?  

Re: [NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
, Joel via ntg-context wrote: I've set a \pagereference in a chapter, and want to print its chapter title and page number, ex. "You can find more information in "Fish" on p. 1" (where "Fish" is the title of the chapter or section). I've tried looking

[NTG-context] How to print the section number of a reference in ConTeXt?

2023-03-04 Thread Joel via ntg-context
I've set a \pagereference in a chapter, and want to print its chapter title and page number, ex. "You can find more information in "Fish" on p. 1" (where "Fish" is the title of the chapter or section). I've tried looking all through the wiki, thinking this was a basic feature, but couldn't get

[NTG-context] How to place a page reference multiple times?

2023-03-01 Thread Joel via ntg-context
I need to report every chapter that a particular macro appeared. I would do this by placing `\pagereference[sample]` inside the macro definition, so whenever it is called, it marks the reference info. But I can't seem to get references to work with multiple reference locations marked, example:

Re: [NTG-context] How to add data from another PDF in index?

2023-02-26 Thread Joel via ntg-context
ok project to great success! We need to thank Hans for the quick implementation. Alan On Fri, 24 Feb 2023 05:43:01 +0000 (UTC) Joel via ntg-context wrote: > I am making a textbook and workbook set. > I have this custom index using this code, in both the textbook and > workbook:

[NTG-context] Can ConTeXt display a simple itemized list as a comma-separated list?

2023-02-25 Thread Joel via ntg-context
I have a list like this: \startitemize[1]\item fish\item eggs\item milk\stopitemize Is there any command in ConTeXt to make this display the items as a comma-separated list, like this: fish, eggs, milk Or a semi-colon-separated list? fish; eggs; milk --Joel

[NTG-context] How to add data from another PDF in index?

2023-02-23 Thread Joel via ntg-context
I am making a textbook and workbook set. I have this custom index using this code, in both the textbook and workbook: % \defineregister[learnedshort][compress=yes] \setupregister[learnedshort][style=sansbold, textstyle=slanted, n=2, pagenumber=yes, indicator=no] %

[NTG-context] How to create multi-line headers and footers?

2023-01-29 Thread Joel via ntg-context
I am creating a template for a 1-page newsletter. At the top of every page is a huge title, below which is a block with a brief introduction to the newsletter. The body is just 200-300 words each issue--I edit it such that all of the content fits on just one-side, one page. Finally, in the

Re: [NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-29 Thread Joel via ntg-context
the citations. The rest of the text is plain text with no other ConTeXt markup, or at leave hardly any. --Joel On Thursday, January 26, 2023 at 11:44:07 PM MST, Hans Hagen via ntg-context wrote: On 1/27/2023 4:22 AM, Joel via ntg-context wrote: > Assuming I have an input file with an es

[NTG-context] Can ConTeXt print specific paragraph and sentences from an input file?

2023-01-26 Thread Joel via ntg-context
Assuming I have an input file with an essay: \starttext \input essay \stoptext Is there any command to tell ConTeXt to print a specific sentence, e.g. the first sentence from paragraph 2, or the last sentence from paragraph 1, etc? --Joel

[NTG-context] Why won't custom indexes work when the value comes from \getvalue?

2023-01-21 Thread Joel via ntg-context
I setup a custom index like this (see minimum example code below): The problem is, when I try to create an index entry, using \setcoreidea, but place \getvalue inside, it won't render, ex.: \setcoreidea{\getvalue{secret1}} As you can see in this sample code, \setcoreidea will work fine, but when

[NTG-context] Is the Society of Biblical Literature (SBL) style files for ConTeXt incompatible with \setupinteraction[state=start]?

2023-01-15 Thread Joel via ntg-context
When I am using the SBL ConTeXt files for citations, if I add a line `\setupinteraction[state=start` my code starts complaining: Undefined control sequence \currentbtxloctext \16>:btx:sbl:cite:inline     #1->\fastsetup {\s!btx :\s!cite :concat}\fastsetup {btx:sbl:cite:lefttext}\begingroup

[NTG-context] Why does \doifsomething think there is content?

2023-01-15 Thread Joel via ntg-context
I am creating a book that presents readers with a list of recommended materials. If materials are listed, then its displayed under the \subject{Materials} heading in a simple itemized list. I'm using \doifsomething{} to check if any items are listed. The problem I'm having is, when fed a blank

Re: [NTG-context] How to display the pages of a particular section in another PDF?

2022-12-05 Thread Joel via ntg-context
Thanks so much! It took some work for me to figure out how to make it work, but it now works great! --Joel On Monday, December 5, 2022 at 05:15:49 AM MST, Hans Hagen via ntg-context wrote: On 12/4/2022 11:30 PM, Joel via ntg-context wrote: > I can use this code to display page 5 f

[NTG-context] How to display the pages of a particular section in another PDF?

2022-12-04 Thread Joel via ntg-context
I can use this code to display page 5 from a PDF:\externalfigure[filename.pdf][page=5]I am making a teacher's guide for a workbook (workbook.pdf). I need to be able to display on the page all pages of a particular section. The teacher's guide uses the same section titles as the workbook, e.g.:

[NTG-context] Why are my captions overlapping next text in combinations?

2022-11-25 Thread Joel via ntg-context
I have some combinations used throughout my document like this: \starttext   \startcombination[4*2]            {%                 \framed[width=.25\textwidth, height=.25\textwidth]{}%             }{%                 \strut word \\ \thinrule\hairline\hairline%             }%         

[NTG-context] How to break margin notes across page breaks?

2022-11-15 Thread Joel via ntg-context
How can I allow margin text to break across the page breaks? I have a document with many \inmargin code. The problem I'm finding is that sometimes I have a lot of items in the margin. I hope this margin details can break across the page and continue onto the next page. The problem is instead it

[NTG-context] How to make a block of text narrower?

2022-11-15 Thread Joel via ntg-context
I need to make a section of text in my document narrower, about .\textwidth. Basically the text has normal alignment and everything, just instead of filling \textwidth, its compressed so there is a larger white space to the right. I've tried dozens of things, but cannot get a good solution,

[NTG-context] How to stop enumerated tabulate environments from shifting to the right?

2022-11-12 Thread Joel via ntg-context
When I place a tabulate environment inside itemize, it indents and the entire table is shifted to the right about 1/2". \starttext    \input knuth         \startitemize[n]             \item x         \stopitemize         \startitemize[n]             

Re: [NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Joel via ntg-context
PM, Joel via ntg-context wrote: > > I have a very large document that, when compiled, produces a PDF, but reports > the error "mtx-context    | fatal error: return code: 1". > > The PDF can open, but after about 100 pages in, the content starts appearing > all in the w

[NTG-context] What to do when ConTeXt not revealing the error details?

2022-10-30 Thread Joel via ntg-context
I have a very large document that, when compiled, produces a PDF, but reports the error "mtx-context | fatal error: return code: 1". The PDF can open, but after about 100 pages in, the content starts appearing all in the wrong place. Usually when I compile, it says there is an error, and I

[NTG-context] How to make a row of text have vertical centering in tabulate environment?

2022-10-24 Thread Joel via ntg-context
I have a simple tabulate environment like this: \starttext    \starttabulate[|p(.45\textwidth)|cp(.1\textwidth)|p(.45\textwidth)|]             \NR                 \HL                 \NC Cause    \NC \NC Effect    \NC\NR                 \HL                 \NC            \NC \NC            

[NTG-context] How to set the vertical spacing between a sequence of images?

2022-10-24 Thread Joel via ntg-context
I have code like this which randomly pulls a page from `comic2.pdf` and displays it, scaled to fit \textwidth, then displays four more random pages afterwares. \starttext   \dorecurse{5}{             \placefigure[force,

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Joel via ntg-context
These both work great, but do that for the whole document? Is there a way to restrict it to only apply the lines to some parts of the file, not every single paragraph? Thanks! --Joel On Monday, October 10, 2022 at 04:57:07 PM MDT, Max Chernoff wrote: Hi Joel, On Mon, 2022-10-10 at

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-13 Thread Joel via ntg-context
When I use the code given, it compiles and displays fine. But when I try replacing \everypar with \EveryPar, it halts during compiling with this complaint: "A number should have been here; I inserted '0'. (If you can't figure out why I needed to see a number, look up 'weird error' in the index

[NTG-context] How to get line numbering to match block quote position?

2022-10-10 Thread Joel via ntg-context
I have some text that is a block quote, but also has line numbering:     \setuplinenumbering[step=3]    \starttext    \startblockquote             \startlinenumbering                 \input knuth             \stoplinenumbering         \stopblockquote \stoptext The line numbering is

Re: [NTG-context] How to make something appear to the right of every paragraph?

2022-10-10 Thread Joel via ntg-context
Hello Max, It is preferred if the solution is just three lines per paragraph, rather than some content parallel to the text...I'll be modifying whatever solution to fix a bunch of other situations (e.g. display a box next to each paragraph). --Joel On Monday, October 10, 2022 at 12:24:03

[NTG-context] How to make something appear to the right of every paragraph?

2022-10-09 Thread Joel via ntg-context
I'd like to add some area for readers to write in the margins of some text. This would leave three lines, like this to the right of the text. __ The passage would take up about the left 60% of the text and the margin note space about 30% of textwidth, so no need to use the

[NTG-context] How to reset settings in setuphead back to defaults?

2022-08-21 Thread Joel via ntg-context
I have some settings like this, which define the part, chapter, and section titles within a file that contains all of my common settings for all files. \definepagebreak[chapterpagebreak][yes, right] \setuphead[part][style=\sse, placehead=yes, expansion=yes] \setuphead[chapter][style=\sse,

[NTG-context] How to print a random whole number between x and y?

2022-06-17 Thread Joel via ntg-context
I was using this code for a long time in my document. I have a PDF with 10 pages, and this would randomly display one of those pages:    \ctxlua{math.randomseed( os.time() )}                  \getrandomnumber \n {1} {10}              \placefigure[force,

[NTG-context] Why are some images rendered very tiny?

2022-06-15 Thread Joel via ntg-context
I wrote this macro to display images in my book. It should place the image to the left, filling ~50% of \textwidth, then the caption is to the right. \setupcaption[location=right, minwidth=.5\textwidth] \define[4]\figureis{%     \placefigure{#2, Courtesy #3, photo no.

[NTG-context] How to define a section title, after the section title appears?

2022-06-12 Thread Joel via ntg-context
I have a document with conditionally-generated content. There are some situations when I need the section title to change according to the content displayed within that section. For instance, the 14th section that appears in *every* chapter is either called "Cause and Effect" if the conditions

[NTG-context] Table of Contents empty for unknown reason

2022-06-12 Thread Joel via ntg-context
I need to display a table of contents, but only displaying chapters. Here is my minimum working example: \starttext     \startfrontmatter         \startchapter[title={Contents}]             \placelist[chapter]         \stopchapter         \completecontent     \stopfrontmatter     \startbodymatter

[NTG-context] How to install the ConTeXt-SBL module?

2022-05-29 Thread Joel via ntg-context
I had https://github.com/jjmccollum/context-sbl this module working fine, but ran and update, and somehow it deleted my extra files. I can't figure out how I was able to get it working in the first place--I had just copied all the files to a folder somewhere. What is the correct way to install

Re: [NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Joel via ntg-context
Adding the brackets + file name also didn't work. --Joel On Sunday, May 29, 2022, 11:33:48 AM MDT, Henning Hraban Ramm via ntg-context wrote: Did you try \input{file.tex} ? (Just an idea, didn’t try.) Hraban Am 29.05.22 um 18:34 schrieb Joel via ntg-context: > After a recent upd

[NTG-context] How to include a file with table data within a table?

2022-05-29 Thread Joel via ntg-context
After a recent update to ConTeXt, the code no longer seems to allow me to \input a file within a table: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL         \NC {\bf Term} \NC {\bf Definition} \NC\NR                     \HL         \input test2.tex %

[NTG-context] Does writing \emdash versus writing "—" in the source file impact the displayed output?

2022-05-18 Thread Joel via ntg-context
I have been using \endash, \emdash, and \figuredash in place of the various types of dashes in my document, \quotation{} around quotes, etc. so basically the only really punctuation appearing in the tex file are periods, commas, semi-colons, colons, apostrophes, and question-marks. The problem

[NTG-context] How to place "Content" and other chapter-level titles the same vertical distance from the top?

2022-05-07 Thread Joel via ntg-context
I created a chapter title style with a large number telling the chapter number, and below it the title of the chapter. It looks like this: -    1   <--really big chapter number=== <-- there is a border created by a background image between these    

Re: [NTG-context] How do I define a smallcaps font?

2022-04-25 Thread Joel via ntg-context
16:21 schrieb Joel via ntg-context: > I have a font that already comes with a smallcaps variant. > > How do I define it? > > I've tried the following, which I think should work from the > documentation I've seen, but doesn't: > > > \starttypescript[serif]          

[NTG-context] How do I define a smallcaps font?

2022-04-24 Thread Joel via ntg-context
I have a font that already comes with a smallcaps variant. How do I define it? I've tried the following, which I think should work from the documentation I've seen, but doesn't: \starttypescript[serif]                            [garamond]     \definefontsynonym[Serif]                    

[NTG-context] Why can I no longer place \input inside table after update?

2022-04-23 Thread Joel via ntg-context
After I ran an update on ConTeXt, my code gets an error: \starttext \starttabulate[|p(.3\textwidth)|p(.7\textwidth)|]     \HL         \NC {\bf Term} \NC {\bf Definition} \NC\NR                     \HL         \input test2.tex     \HL \stoptabulate \stoptext File test2.tex contains "\NC {\bf Term}

[NTG-context] How to create a more human-readable syntax for displaying workbook activities?

2022-04-18 Thread Joel via ntg-context
I am creating a student workbook. There are ~30 chapters, each containing ~20 activities, called "Activity A", "Activity B", and so on. The `workbook.tex` itself uses a recurse function, so it prints chapter 1-30. The reason I use this, is if I need to do a fast test of the code, I can compile

[NTG-context] How to stop \placefigure from floating off to some other page?

2022-01-29 Thread Joel via ntg-context
When I used `\placefigure`, ConTeXt often puts the figure on a completely different page, my readership of young students is getting confused where the image is. How can I have all of my `\placefigure` in the entire document appear exactly where called, even if that means having to place it on

[NTG-context] How to create multiple PDFs from one TeX file?

2022-01-29 Thread Joel via ntg-context
I have several books in a set that have many things I'd like to have linked together, such as page references, shared indexes, shared glossaries, etc. One solution I see is putting all the files together, then using a tool like pdfjam to seperate the pages later, but I'm wondering if ConTeXt

[NTG-context] How can I get a section title to change depending on the section content?

2022-01-29 Thread Joel via ntg-context
I have a section somewhat like this...I'm replacing the code with something much simpler, but its basically doing a similar thing, running conditionals to check which content to place: \section{Brave Rabbits} \ifnum\somenumber>3 Print this content about rabbits. \else

[NTG-context] Why isn't bold + italics working together?

2022-01-29 Thread Joel via ntg-context
I am finishing the final touches on a manuscript, which I hope to send to a publisher later today and noticed this problem where bold and italic text isn't rendered at the same time. I am using the EB Garamond font in my document. I set it up exactly as shown below. Strangely, bold works,

[NTG-context] How to stop columns from splitting up items in a list?

2022-01-29 Thread Joel via ntg-context
I am writing a workbook that contains a materials list in front of some craft activities. I found that simply displaying a bulleted list can take up lots of space on the page, so instead put the list in three columns. The problem is, if there is an item with a somewhat long description, it can

[NTG-context] What is the proper way to define many different list types in a document?

2022-01-24 Thread Joel via ntg-context
I have about several different types of list that reoccur multiple times in my documents. Though I tried to keep things simple, by just defining the type when it appears, strange glitches appear. For instance, I have one that uses the ☞ (pointing hand) logo, and sometimes that randomly appears

[NTG-context] How to get \placenotes to place footnote-style citations at the end of my content?

2022-01-24 Thread Joel via ntg-context
I'm spinning this question off another post, as my previous  question was very specific, but it was possibly discovered a more general bug exists? I'm creating some lecture slides that have footnote citations throughout. The problem is, the slides themselves already don't have much screen space,

[NTG-context] How to add entire chapter's page ranger for index entry?

2022-01-23 Thread Joel via ntg-context
I am adding items to an index simply using `\index{word}`. There are a few cases where instead of printing just the page number where `\index{word}` is placed, I need the entire page range for that chapter to be displayed. For instance, if Chapter 3 spans page 22-50, and I place `\index{word}`

[NTG-context] How to make an in-text list without periods

2022-01-23 Thread Joel via ntg-context
I am trying to create an in-text list, with parenthesis, but without the period. If I use this `\startitemize[text, n]`, I get an in-text list, but there are periods: There are many kinds of animals at the children's zoo: (1.) rabbits, (2.) pigs, (3.) sheep, and (4.) dogs. Strangely when I use

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
l but is better than not having the index showing anything. --Joel On Tuesday, January 18, 2022, 07:41:15 AM MST, Henning Hraban Ramm via ntg-context wrote: Am 18.01.22 um 14:27 schrieb Joel via ntg-context: > One possible solution I see, since the textbooks and workbooks s

Re: [NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
readers which of the five "page 5's" (for example) the index is referring to. --Joel On Tuesday, January 18, 2022, 06:19:01 AM MST, Joel via ntg-context wrote: I am writing a secondary textbook to be used in public schools. In my state, the textbooks must adhere to

[NTG-context] How to create an index that refers to multiple other books?

2022-01-18 Thread Joel via ntg-context
I am writing a secondary textbook to be used in public schools. In my state, the textbooks must adhere to standards, such as the Common Core State Standards (CCSS). It is typical for a textbook to contain an index for teachers to check where in the textbook which standards are used. I've used

[NTG-context] How to achieve true double space text in ConTeXt?

2022-01-17 Thread Joel via ntg-context
I need to display one article within my book that is in double space, like what is a basic requirement in US colleges for turning in papers. Basically, I need readers to have lots of space above the text to be able to write some notes above every line. This is a line of text. % <-- here is the

[NTG-context] How to troubleshoot why my document begins with a blank page?

2022-01-17 Thread Joel via ntg-context
I created a book that strangely renders with an entirely blank page. There are tons and tons of macros, in dozens of files defined before the document starts, but the document itself starts quite simply with a title page set inside \startfrontmatter. How can I identify what types of preamble

[NTG-context] How to override ConTeXt-SBL titles, to make all titles everywhere capitalized?

2022-01-17 Thread Joel via ntg-context
I am a few days from sending a document to a publisher, and using the Society of Biblical Literature style (via the macro ConTeXt-SBL) as it is very close to what I need, Chicago (numbers style) citations. One glaring difference I notice between the two styles is ConTeXt-SBL presents the titles

[NTG-context] How to manually adjust the sort order of items appearing in a custom index?

2022-01-17 Thread Joel via ntg-context
I created a custom index that displays a list of "Important Dates" appearing in my book. It lists the year, a short description of what happened, and should show the page number. I'm running into two errors though: First, if the date is the same year, it is sorting alphabetically, example

[NTG-context] How to let a macro check the previous value of #1 the last time the same macro was called?

2022-01-09 Thread Joel via ntg-context
Is there a way for a macro to check the previous value of #1, the last time that same macro was called? Here is a minimum working example, pretending that `\previousvalue` is equal to #1 from the last time the same macro was called:     \define[1]\mymacro{     \if\previousvalue=#1         

Re: [NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
            \bTD Mesozoic Era\eTD     \eTR     \bTR         \bTD Cenozoic Era \eTD     \eTR \eTABLE Willi > On 8 Jan 2022, at 22:39, Joel via ntg-context wrote: > > I created a table that has some cells span multiple rows. This works good > with cells that span an odd-number of rows, bu

[NTG-context] How to create cell data that spans four rows in a table?

2022-01-08 Thread Joel via ntg-context
I created a table that has some cells span multiple rows. This works good with cells that span an odd-number of rows, but when I try to span 4 rows, the text isn't quite vertically centered. How can I get the cell with the text "Archaeon Eon" to be a little lower, so it is centered within its

[NTG-context] Is there a syntax for making many index entry's all in one?

2021-12-28 Thread Joel via ntg-context
I am using \index{} to populate \placeindex (an index) with items. I am wondering if there is any syntax that allows one \index{} command to define more than one entry, for example, something like this: \index{presidents+Lincoln, Abraham; Lincoln, Abraham} The result is two appearances in the

[NTG-context] Why are endnotes not working with ConTeXt-SBL?

2021-12-25 Thread Joel via ntg-context
I am using the ConTeXt-SBL package for citations. I need to move my footnotes to the end of each article. According to the manual, I can suppress the placement of footnotes using two lines of code. I've added these to my minimal working code, placing \setupnote[footnote][location=none] in the

[NTG-context] Why are back-to-back \autocite commands not working in ConTeXt-SBL?

2021-12-24 Thread Joel via ntg-context
I am using the ConTeXt-SBL module to handle the citations in my article. Using the plain \cite[na2006] command has worked fine. But there are some situations where I want the footnote to include page number details. I tried using \cite[extra=2][na2006], but that doesn't seem compatible with

[NTG-context] Displaying names in Chicago-Turabian "note" style

2021-12-21 Thread Joel via ntg-context
I could not find any existing solution for using Chicago-Turabian "note" style in ConTeXt, so I have started my own attempt. Chicago-Turabian uses footnotes to display the author's details on the same page, but also uses a bibliography to display an alphabetical list of the sources again at