[NTG-context] Re: How to tell a single *.tex file to produce separate PDFs?

2024-09-20 Thread Denis Maier via ntg-context
er using a product-component based solution. You'll then be able to process each file indivdually while still having a main file around. The page numbers in the individual file will be incorrect, i.e. always start at 1, but for having a quick look that still might be nice. (Hans or Wolfgang p

[NTG-context] Re: Inconsistencies with fonts/c2sc feature

2024-06-25 Thread Hans Hagen via ntg-context
On 6/24/2024 6:03 PM, Kirill Davidov wrote: Greetings, I have been trying to make font feature sets that allow me to write abbreviations in small caps and corporate entity/product/etc names with small caps replacing regular ones. I have run into an issue where c2sc works as intended on some

[NTG-context] Inconsistencies with fonts/c2sc feature

2024-06-24 Thread Kirill Davidov
Greetings, I have been trying to make font feature sets that allow me to write abbreviations in small caps and corporate entity/product/etc names with small caps replacing regular ones. I have run into an issue where c2sc works as intended on some fonts and not in others. No idea what that&#

[NTG-context] Re: last page number for a list

2024-04-03 Thread Alan Bowen
{r}{\lastpagenumber} and \at[\Reference]–\at[\lastpagenumber] work properly in the body text. The overall structure is project-product sort with many components in the product. This is probably TMI. The bottom line is that I am truly stumped. All best, Alan On Wed, Apr 3, 2024 at 6:56 AM Bruce

[NTG-context] Re: Why LuaMetaTex is so slow?

2024-01-18 Thread Gavin via ntg-context
Hi Shiv, ConTeXt’s project structure has many benefits. One is speed. See https://wiki.contextgarden.net/Project_structure. My books and long papers are products, each containing many components (chapters or sections). When I’m working, I have both the product and a component open. I

[NTG-context] Re: font error in float placement?

2024-01-14 Thread Bruce Horrocks
etup causes a different handling of these > externalfigures – but a small example with the same environments worked. Whenever I've had odd results like this it's been the result of an accumulation of 'small' errors. For example, I once had a missing } in a macro in an enviro

[NTG-context] Re: LMTX schema for poster

2024-01-11 Thread Henning Hraban Ramm
ow. The 9 elements of the grid will be - such a diagram that explains the building blocks / general workflow – the diagram of the layout areas – the project structure (environment, product, component) – some examples of code and results I wanted to use the “christmas card” squares for borders around and

[NTG-context] Re: Metapost docs

2024-01-11 Thread Shiv Shankar Dayal
tMPpage…\stopMPpage, so that it can be typeset > as-is. > > If you want to do 3D, you may want to get Lua involved for calculations. I > use > > - Programming in LuaTeX page on the wiki ( > https://wiki.contextgarden.net/Programming_in_LuaTeX) > - Programming in Lua, 4t

[NTG-context] Re: Metapost docs

2024-01-11 Thread Gavin via ntg-context
(https://www.amazon.com/gp/product/8590379868) If you provide an example of what you hope to accomplish with MetaPost, we might have more specific recommendations. Below are two graphs that I made in TikZ, which I hope to convert to MetaPost (actually LMTX). These are from my chapter on

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Henning Hraban Ramm
Am 09.01.24 um 14:43 schrieb G.C.H.M. Verhaag via ntg-context: Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tol

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread Mikael Sundqvist
Hi, On Tue, Jan 9, 2024 at 2:45 PM G.C.H.M. Verhaag via ntg-context wrote: > > Hi, > The example below works as expected, but within my product it doesn't. > > % Subject example before and after! > > \setuphead[subject][color=limegreen,before={\blank[none]},after={\bla

[NTG-context] Re: Setuphead issue!

2024-01-09 Thread G.C.H.M. Verhaag via ntg-context
Hi, The example below works as expected, but within my product it doesn't. % Subject example before and after! \setuphead[subject][color=limegreen,before={\blank[none]},after={\blank[none]},align={flushleft,nothyphenated,tolerant}] \starttext A paragraph before calling the subject. \su

[NTG-context] Drawing calligraphy practice grid in metafun

2023-11-20 Thread Andres Conrado Montoya
fline solution. This adventure started with the usual insidious idea: "I could do this in ConTeXt! And this is a great opportunity to learn metafun!" A couple weeks later, I have an almost ready product! It compiles fine, but I have the following issue: The template creates a Line, composed o

[NTG-context] Problem with dataset not being populated

2023-11-14 Thread Bruce Horrocks
I produce a small magazine where the source files are organised into a product and component structure. For each issue, I have a main file with \startproduct and then, inside that, several \component[filename] statements, one per article. Each article starts in a standard way, including

[NTG-context] Re: wiki update: Modules

2023-10-01 Thread Jeong Dal via ntg-context
Dear Hraban, When I wrote a class material for Linear Algebra, it is nice to use \pmatrix and \bmatrix etc. But, for example, to write a result matrix of the product of two matrices, I need to calculate it somewhere and copy it to my text. Hence, I tried to use Lua to handle it in the ConTeXt

[NTG-context] Re: Not getting a page break in the ToC

2023-08-22 Thread Hans Hagen via ntg-context
s another method: \showpageprogress % [all] %resetforcedbreak \starttext \registerforcedbreak[8][before] \dorecurse{10}{\samplefile{tufte}\par} \page \resetforcedbreak \registerforcedbreak[12][after] \dorecurse{10}{\samplefile{tufte}\par} \stoptext (by-product of some new mechan

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Wolfgang Schuster
e after the backside title page. I don’t know if it helps, but did you set \setupsectionblock[frontpart][page=no] ? I had \setupsectionblock[frontpart][page=] and setting page=no does not change anything. I get the same behavior in my Volume 2 product, which does not have any \frontmatter. I s

[NTG-context] Re: Title pages makeup extra blank pages

2023-07-06 Thread Alan Braslau via ntg-context
lps, but did you set \setupsectionblock[frontpart][page=no] ? I had \setupsectionblock[frontpart][page=] and setting page=no does not change anything. I get the same behavior in my Volume 2 product, which does not have any \frontmatter. I solved the problem by rather using: \definemakeup[

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

2023-02-24 Thread Alan Braslau via ntg-context
, \placelist [part,chapter,section,subsection] [criterium=product,reference=VolumeII] will include the TOC of VolumeII in product VolumeI. Once we have this figured-out, I will have to create a wiki page. Alan On Fri, 24 Feb 2023 05:43:01 + (UTC) Joel via ntg-context wrote

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-31 Thread Yaroslav Beltukov via ntg-context
h references if I compile one > > component only. The references to formulas in other components have > > wrong prefixes, e.g. (2.1) instead of (3.1). Needless to say, the right > > formula references are very important. > > > > I started looking into this issue. The

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-30 Thread Hans Hagen via ntg-context
ed looking into this issue. The references to other components are taken from the whole product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a

Re: [NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Alan Braslau via ntg-context
I, too, am struggling with external (and internal) references. I have created (and sent to Hans) a MWE that seems to identify two bugs: 1) External references: in a single product, some of these work, and *some* do not render the numbers (using \in{} [ref], for example). They are, however

[NTG-context] Wrong prefix in cross references to formulas in external document

2023-01-29 Thread Yaroslav Beltukov via ntg-context
the whole product as from an external document. It turned out that this is a general problem with references with prefixes to external documents. The prefix is stored in a tuc file as a reference to a section as a sequential number of the header in the document. As a result, the prefix from th

Re: [NTG-context] Command line arguments on context project

2022-12-19 Thread Wolfgang Schuster via ntg-context
Aditya Mahajan via ntg-context schrieb am 19.12.2022 um 16:01: On Sun, 18 Dec 2022, Alan Braslau via ntg-context wrote: On Fri, 16 Dec 2022 16:14:33 + Jethro Djan via ntg-context wrote: 2. How do I get CoTeXt to recognise the ref.bib file when I run the components not the product

Re: [NTG-context] Command line arguments on context project

2022-12-19 Thread Aditya Mahajan via ntg-context
On Sun, 18 Dec 2022, Alan Braslau via ntg-context wrote: > On Fri, 16 Dec 2022 16:14:33 + > Jethro Djan via ntg-context wrote: > > > 2. How do I get CoTeXt to recognise the ref.bib file when I run the > > components not the product? > > > > For context, I

Re: [NTG-context] Command line arguments on context project

2022-12-18 Thread Alan Braslau via ntg-context
On Fri, 16 Dec 2022 16:14:33 + Jethro Djan via ntg-context wrote: > 2. How do I get CoTeXt to recognise the ref.bib file when I run the > components not the product? > > For context, I don’t want the references printed at the end of each > chapter but I would like the in-t

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Richard Mahoney | Indica et Buddhica via ntg-context
ch volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber   [part] [2] \setupheadnumber   [chapter] [5] (I have multiple [5] parts in the project, and the first volume ends with part 2 and chapter 5.) 1) Is

Re: [NTG-context] Command line arguments on context project

2022-12-16 Thread Wolfgang Schuster via ntg-context
: tex error on line 5 in file /usr/local/texlive/2022/texmf-dist/doc/latex/buctthesis/chapter1.tex: ! Undefined control sequence How do you load the chapter file in your product file? The error message above appears because ConTeXt can't find the chapter file of your document and use

[NTG-context] Command line arguments on context project

2022-12-16 Thread Jethro Djan via ntg-context
e 5 in file /usr/local/texlive/2022/texmf-dist/doc/latex/buctthesis/chapter1.tex: ! Undefined control sequence 2. How do I get CoTeXt to recognise the ref.bib file when I run the components not the product? For context, I don’t want the references printed at the end of each chapter but I would li

Re: [NTG-context] Structure: multi-volume products

2022-12-16 Thread Denis Maier via ntg-context
TeXt users > Cc: Alan Braslau > Betreff: [NTG-context] Structure: multi-volume products > > Hello, > > I have a book project that is being cut into two volumes (because it is too > long and will be sold as a boxed set). > > Each volume is presently a separate *product* in

[NTG-context] Structure: multi-volume products

2022-12-15 Thread Alan Braslau via ntg-context
Hello, I have a book project that is being cut into two volumes (because it is too long and will be sold as a boxed set). Each volume is presently a separate *product* in the project structure. I presently set the counters in the second volume using: \setupheadnumber [part] [2

Re: [NTG-context] Mathematical MetaFun Mania

2022-12-15 Thread Hans Hagen via ntg-context
from \mathboxanchored and \connectboxanchors to my MetaPost code. Here is the code for the connectors: \startMPpositiongraphic{mypos:contract} path pa, pb, pab ; numeric na, nb ; string ta, tb, hand, product ; ta := mpvars("from") ; tb := mpvars("to") ; stemshiftfrom := (EmW

[NTG-context] Mathematical MetaFun Mania

2022-12-14 Thread Gavin via ntg-context
Here is the code for the connectors: \startMPpositiongraphic{mypos:contract} path pa, pb, pab ; numeric na, nb ; string ta, tb, hand, product ; ta := mpvars("from") ; tb := mpvars("to") ; stemshiftfrom := (EmWidth/8)*mpvarn("startstem") ; stemshiftto := (EmW

Re: [NTG-context] synctex problem

2022-10-15 Thread Gavin via ntg-context
y expectations are out of line. > > When I have these lines at the top of a component file and typeset the > product file, I get a rootfile.synctex file, but syncing itself goes awry. > Nothing happens when I sync from the PDf file to the component file, and when > I sync from the

[NTG-context] synctex problem

2022-10-15 Thread Alan Bowen via ntg-context
between method =min and method=max, both highlight only a few words and not the entire text to be synced, but perhaps my expectations are out of line. When I have these lines at the top of a component file and typeset the product file, I get a rootfile.synctex file, but syncing itself goes awry. Nothing

Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Pablo Rodriguez via ntg-context
ces to produce a > complete product, shouldn't it be convenient for this option to be the > default? Well, that is probably too much to say (I mean, that "--luatex" generates more accurate PDF documents). What you are experiencing might be a pretty extreme case. And you are takin

Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Hans Hagen via ntg-context
ompiled PDF document. I think that this PDF document will be fine with your printer. It was.  I printed it this morning without any problem.  Thank you! If compiling with --luatex option seem to have more chances to produce a complete product, shouldn't it be convenient for this option to

Re: [NTG-context] Missing letters and numbers in printout

2022-09-28 Thread Angel M Alganza via ntg-context
ne with your printer. It was. I printed it this morning without any problem. Thank you! If compiling with --luatex option seem to have more chances to produce a complete product, shouldn't it be convenient for this option to be the default? I would expect 'context file.tex' to

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Bruce Horrocks via ntg-context
ld be typeset more like a single number, rather than like a > product of 3.00 and 10^8. I am probably in the minority here. If \unit and > \digit had an option for tighter spacing around the \times, I’d use it, but > the current output with more space is probably what most people expect

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
I think that the tighter spacing in >> the first one, in text, is correct. >> I personally would also like less space around the \times. To me, the number >> 3.00e8 should be typeset more like a single number, rather than like a >> product of 3.00 and 10^8. I am probably in

Re: [NTG-context] Spacing in \unit

2022-09-25 Thread Hans Hagen via ntg-context
\unit command is in text or math mode. I think that the tighter spacing in the first one, in text, is correct. I personally would also like less space around the \times. To me, the number 3.00e8 should be typeset more like a single number, rather than like a product of 3.00 and 10^8. I am probably

[NTG-context] Spacing in \unit

2022-09-25 Thread Gavin via ntg-context
tighter spacing in the first one, in text, is correct. I personally would also like less space around the \times. To me, the number 3.00e8 should be typeset more like a single number, rather than like a product of 3.00 and 10^8. I am probably in the minority here. If \unit and \digit had an

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-29 Thread cryo shock via ntg-context
u can enlighten me. > > > > Cheers, k > > > > > > %%% START of MWE > > > > \definehead[VisiSection][section] > > \setuphead[VisiSection][number=no] > > > > \definehead[InvisiSection][VisiSection] > > \setuphead[InvisiSection][p

Re: [NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-25 Thread Hans Hagen via ntg-context
ad=no] \definelist[CustomBMarks] \setupinteraction[state=start] \placebookmarks[VisiSection,InvisiSection,CustomBMarks] \startcomponent * % not a product, no   \startVisiSection[title={Custom Section A}]     Text of Custom Section A   \stopVisiSection   \page   \startVisiSection[title={C

[NTG-context] Unwanted blank page before page figures when using non-placed (hidden) heads

2022-07-24 Thread cryo shock via ntg-context
start] \placebookmarks[VisiSection,InvisiSection,CustomBMarks] \startcomponent * % not a product, no \startVisiSection[title={Custom Section A}] Text of Custom Section A \stopVisiSection \page \startVisiSection[title={Custom Section B}] Text of Custom Section B \stopVisiSection \startInvisiSe

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-21 Thread Hans Hagen via ntg-context
On 7/20/2022 9:40 PM, Bruce Horrocks via ntg-context wrote: On 20 Jul 2022, at 05:31, Michael Urban via ntg-context wrote: Aside from purchasing a real font product from Linotype at enormous expense and hoping it is better equipped, is there a way to coerce ConTeXt into using the

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Bruce Horrocks via ntg-context
> On 20 Jul 2022, at 05:31, Michael Urban via ntg-context > wrote: > > Aside from purchasing a real font product from Linotype at enormous expense > and hoping it is better equipped, is there a way to coerce ConTeXt into using > the ligature glyphs for fi and fl? Yes - I

Re: [NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-20 Thread Hans Hagen via ntg-context
real font product from Linotype at enormous expense and hoping it is better equipped, is there a way to coerce ConTeXt into using the ligature glyphs for fi and fl? you can define your own ligature feature (examples in test suite and elsewhere) but personally i'd not spend money on a font

[NTG-context] If a Font Has Ligature Glyphs But No Feature?

2022-07-19 Thread Michael Urban via ntg-context
I downloaded something that purports to be Century Expanded from fontsgeek.com. Although the font has fi and fl ligature glyphs, it does not have a ligature font feature and ConTeXt does not use those glyphs. Aside from purchasing a real font product from Linotype at enormous expense and

Re: [NTG-context] lmtx installation paths not working

2022-06-17 Thread Jano Kula via ntg-context
xt > wrote: > > > > Do you have an idea how to fix problem? > > I will be thankful for an advice, it is quite urgent (everything was > working yesterday). > > Do you have an anti-virus product installed? > > In the past I've noticed that Symantec sometim

Re: [NTG-context] lmtx installation paths not working

2022-06-15 Thread Bruce Horrocks via ntg-context
> On 14 Jun 2022, at 12:20, Jano Kula via ntg-context > wrote: > > Do you have an idea how to fix problem? > I will be thankful for an advice, it is quite urgent (everything was working > yesterday). Do you have an anti-virus product installed? In the past I'v

[NTG-context] Issue in btx rendering

2022-05-04 Thread śrīrāma via ntg-context
lass, author = {M{\"u}ller, Alfred}, doi = {10.2307/1428011}, issn= {0001-8678, 1475-6064}, journal = {Advances in Applied Probability}, month = {Jun}, number = {2}, pages = {429--443}, title = {Integral Probability Metrics and Their Generating Classes of Functions}, u

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Henning Hraban Ramm via ntg-context
technology was part of the corporate identity (there were some but by the time context showed up most large publishers started outsourcing to far-far-away and those interested in technologies left), at least not one that invest beyond a specific product and even then falling back on tools like tex

Re: [NTG-context] Critical Editions?

2022-01-06 Thread Hans Hagen via ntg-context
specific product and even then falling back on tools like tex is a last resort ... do publisheres even have departments that do some kind of resaearch at all? i admire those working at publishers who were willing to take the risk (we dealt with some) but mergers, buyouts by crooky strip-down

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 4:56 PM, juh via ntg-context wrote: Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: educational tip: \starttext \startluacode context("%M",1234567.89) context.par() context("%m",1234567.89) \stopluacode \stoptext Nice, so I can use that instead: \s

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 5:15 PM, juh via ntg-context wrote: Am Fri, Nov 12, 2021 at 04:56:51PM +0100 schrieb juh via ntg-context: Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: educational tip: \starttext \startluacode context("%M",1234567.89) context.par() context("%m",123

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Am Fri, Nov 12, 2021 at 04:56:51PM +0100 schrieb juh via ntg-context: > Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: > > educational tip: > > > > \starttext > > > > \startluacode > > context("%M",1234567.89) > > context.par() > > context("%m",1234567.89) > > \stopluaco

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Am Fri, Nov 12, 2021 at 02:42:13PM +0100 schrieb Hans Hagen: > educational tip: > > \starttext > > \startluacode > context("%M",1234567.89) > context.par() > context("%m",1234567.89) > \stopluacode > > \stoptext Nice, so I can use that instead: \startcell[align=flushright] @ "0.2M

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Am Fri, Nov 12, 2021 at 02:33:45PM +0100 schrieb Wolfgang Schuster: > Not without a complete minimal example. Sorry, of course. \usemodule[spreadsheet] \setupspreadsheet [ period={,}, comma={.}, split=yes, ] \startspreadsheettable[test][frame=off] \startrow[topframe=on,bottomfr

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Hans Hagen via ntg-context
On 11/12/2021 2:27 PM, juh via ntg-context wrote: Once again me, I set this \setupspreadsheet [ period={,}, comma={.}, split=yes, ] to get german numbers in my invoice like: 10.000,00 EUR. educational tip: \starttext \startluacode context("%M",1234567.89) contex

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 12.11.2021 um 14:27: Once again me, I set this \setupspreadsheet [ period={,}, comma={.}, split=yes, ] to get german numbers in my invoice like: 10.000,00 EUR. The drawback is that I can't use a normal period and comma in the normal text. A

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Once again me, I set this \setupspreadsheet [ period={,}, comma={.}, split=yes, ] to get german numbers in my invoice like: 10.000,00 EUR. The drawback is that I can't use a normal period and comma in the normal text. Any hints? juh signature.asc Description: PGP signature

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
tation to > > make my invoices. > > > > While it is simple to calculate the sum or the product of two cells if > > you know that they are A[2] and B[2] I can't find the solution to access > > cell A and B *on the same row*. > > > > Amount | Single | Sum

Re: [NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread Wolfgang Schuster via ntg-context
juh via ntg-context schrieb am 12.11.2021 um 12:20: Dear all, I thought I could find my way through the spreadsheet documentation to make my invoices. While it is simple to calculate the sum or the product of two cells if you know that they are A[2] and B[2] I can't find the solution to a

[NTG-context] spreadsheet product of two cells in current row

2021-11-12 Thread juh via ntg-context
Dear all, I thought I could find my way through the spreadsheet documentation to make my invoices. While it is simple to calculate the sum or the product of two cells if you know that they are A[2] and B[2] I can't find the solution to access cell A and B *on the same row*. Amount | S

[NTG-context] Solved: Book setup with LHS-side quotes before chapters/parts, header/footer issues, TOC, etc.

2021-10-26 Thread Gerben Wierda via ntg-context
not really a problem. And getting the part title somewhere more centred on its page is also left as an issue for later. Example file. In a project/component setup: everything before the \starttext goes into the environment file, the rest in the product file. %%% %%% Sections that have a LHS

Re: [NTG-context] Getting Textadept to open pdf?

2021-09-26 Thread jbf via ntg-context
Thanks, I reinstalled a later version of Textadept. I notice that it now opens the pdf product but in Xreader, the default on my machine, and that's no real problem, but now that I have got it working I can experiment a bit. Interesting, though, that the changes I made at your suggestion

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-18 Thread Denis Maier via ntg-context
th ConTeXt. Obviously, these articles should rely on the same environment files. But how would you deal with those cases where you'd need a slightly different table layout in one article? > > I think that all this will end up in 20-30 environment files going from > general &g

Re: [NTG-context] improve bad habits deduplicate redundant defined values

2021-09-17 Thread Jan Ulrich Hasecke via ntg-context
hat all this will end up in 20-30 environment files going from general things like colors, fonts, page sizes to more specific things like doubleside-headers-footers, singleside-headers-footers to product specific things like env-factsheet for things that are special to factsheets only. Here are some

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-16 Thread Fabrice Couvreur via ntg-context
Hi Wolfgang, Pablo's solution works, but I tried yours without success. Here are the main lines of my project begin product \startproduct[terminale-manual] \project[terminale-environment] \startdocument \startfrontmatter ... \stopfrontmatter \startbodymatter \comp

Re: [NTG-context] How not to display the header of the chapter page on the page with the table of contents ?

2021-08-15 Thread Wolfgang Schuster via ntg-context
because you can use the *component mode to check whether the parent file is a product or a component. begin product \startproduct [*] \environment [...] \startfrontmatter ... \stopfrontmatter \startbodymatter \component [...] \stopbodymatter \stopproduct end product begin

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-18 Thread Wolfgang Schuster
to fit your own style. 1. File names In the example all sub files (style + chapters) start with the name of the main file and append a sub name. Another popular naming scheme is to prefix the files with c_ (component), p_ (product) or s_ (style/environment). To avoid problems should also try to

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-16 Thread Gerben Wierda
gt;>>> >>>> So, I tried teh old project to see if it still works, but found out it >>>> didn’t. There still is a texexec in my MacTeX, but the compilation fails: >>>> >>>> texexec --pdf --mode=SCREEN ../products/prd_book.tex >>>

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-15 Thread Gerben Wierda
ers | initialization | fatal error: kpse library is accessed >> (key: original) >> >> Is there a new ‘book’ project structure/template for the modern/standalone >> ConTeXt? > > The project struture with project/product/environment/components is still the > s

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-15 Thread Henning Hraban Ramm
c in my MacTeX, but the compilation fails: >>> >>> texexec --pdf --mode=SCREEN ../products/prd_book.tex >>> resolvers | initialization | fatal error: kpse library is accessed >>> (key: original) >>> >>> Is there a new ‘book’ project structur

Re: [NTG-context] Moving the old book-structure to a recent ConTeXt

2021-07-12 Thread Henning Hraban Ramm
for the modern/standalone > ConTeXt? The project struture with project/product/environment/components is still the same. "texexec" is MkII, you must call "context" for MkIV (with --luatex) and LMTX. You will p

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-16 Thread denis.maier
mponent level? The wiki didn’t say that. Plus it is already specified at the product level. Thanks. ~Jethro ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Fabrice Couvreur
> > 20mm width 5mm} = > > x = \int\Umathadaptsize^1_2 \mathinner{\vrule height 30mm depth > > 30mm width 5mm} = > > x = \int\Umathadaptsize^1_2 x = > > x = \rab\Umathadaptsize^1_2^^1__2 \mathinner{\vrule height 30mm > > depth 30mm width 5mm} &g

Re: [NTG-context] upload / some new math stuff

2021-06-11 Thread Mikael Sundqvist
some fine tuning if needed > (can also be dealt with at the macro end, as with other mechanisms, but > this is just a first test of useability). > > (I might also extend another mechanism to deal with it but putting > scripts on top or after is already handles pretty well by regular >

[NTG-context] upload / some new math stuff

2021-06-10 Thread Hans Hagen
isms, but this is just a first test of useability). (I might also extend another mechanism to deal with it but putting scripts on top or after is already handles pretty well by regular mechanisms, so ...) Of course only a few fonts provide these upright growing integrals (makes me wonder ab

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-09 Thread jethro Reuel
o specify > \environment env_notes > before It works at the component level? The wiki didn’t say that. Plus it is > already specified at the product level. Thanks. > > > ~Jethro > ___ > If

Re: [NTG-context] Project structure: Specifying environment in component

2021-06-09 Thread denis.maier
specify \environment env_notes before It works at the component level? The wiki didn’t say that. Plus it is already specified at the product level. Thanks. ~Jethro ___ If your question is of interest to others as

[NTG-context] Project structure: Specifying environment in component

2021-06-09 Thread mastermind_ x
://wiki.contextgarden.net/Project_structure My question is: Why do I need to specify \environment env_notes before It works at the component level? The wiki didn’t say that. Plus it is already specified at the product level. Thanks

Re: [NTG-context] \setcharacterspacing

2021-05-18 Thread Alan Bowen
Hi, Wolgang— The mwe files in a product/component structure are attached. Everything works as desired with the current env file. If one comments out the startsetups...\stopsetups, the guillemets are not properly spaced in the body text, while those in the footnote are fine. If one comments out

Re: [NTG-context] \setcharacterspacing

2021-05-17 Thread Wolfgang Schuster
Alan Bowen schrieb am 17.05.2021 um 21:50: That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr

Re: [NTG-context] \setcharacterspacing

2021-05-17 Thread Alan Bowen
That is very good to know and it works in simple cases. But I am finding that in a product/component structure, I get the proper spacing only when • the environment file has the \startsetups...\stopsetups • either \setup[test] or \setuplanguage[fr][setups=test] is in the component file. Is this

Re: [NTG-context] Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.

2021-04-07 Thread Wolfgang Schuster
structured by a project and a product file. Now I have run in some problems, I couldn’t solve with the garden and the archives of this and stackexchange’s list. But I’m sure that it is almost too simple for you experts. Let’s start with one. As intended, a new chapter starts on a right/odd page. If

[NTG-context] Suppressing headers and footers on blank pages before pagebreak at the end of a chapter.

2021-04-07 Thread rha17
Hi list, I typeset my first project with ConTeXt, a small booklet with some chapters, frontmatter, no headers, but pagenumbers in the middle of the footers. I use two environment files. The text is split into component TeX-files. All is structured by a project and a product file. Now I have

Re: [NTG-context] Nested structure of files loaded by input

2021-03-30 Thread Henning Hraban Ramm
ause the filename had a typo that I didn’t copy to the product... Hraban ___ 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

Re: [NTG-context] Writing to .tuc directly from Lua

2021-03-24 Thread Jairo A. del Rio
gt; > > > > -- For exposition only > > > > local function dofactorial(n) > > > > local function inner(c,m) > > > > if m<2 then return c end > > > > return inner(c*m, m-1) > > > > end > > > > return inner(1,n) > >

[NTG-context] Fwd: Re: LMTX 2021.03.02 | cross reference to an external file | \pagereference

2021-03-04 Thread Richard Mahoney
that I am having with my two volume proceedings.) I'd be grateful for suggestions. Best, Richard % testproject.tex -- LMTX 2021.03.02 \startproject testproject \product testproduct000 \product testproduct001 \stopproject % master000.tex -- LMTX 2021.03.02 \startproduct testproduc

Re: [NTG-context] Project Structure - inheritance rules for environments

2021-03-01 Thread Wolfgang Schuster
denis.ma...@ub.unibe.ch schrieb am 28.02.2021 um 23:09: Hi, I’m just having a look a project structure again. I am using the example given in the wiki: https://wiki.contextgarden.net/Project_structure, i.e., in my component I’m linking to the product, but not to the project. Now I was

[NTG-context] Project Structure - inheritance rules for environments

2021-02-28 Thread denis.maier
Hi, I'm just having a look a project structure again. I am using the example given in the wiki: https://wiki.contextgarden.net/Project_structure, i.e., in my component I'm linking to the product, but not to the project. Now I was expecting that the component inherits the environment

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Hans Hagen
real-world product, and even unreasonable to assume that for something like `context --help` given that no other commands are making a scene when printing help messages. So what does context --help show? Hans

Re: [NTG-context] Bug: context/mtxrun makes Firefox eat up cpu

2020-10-29 Thread Sylvain Hubert
> So it seems likely that there is something special going on with exactly your computer or your context installation. Still, I fail to see what this implies. In particular, I find it not the most professional to assume a dust-proof environment for a real-world product, and even unreasonable

[NTG-context] figure library

2020-10-12 Thread Jörg Hagmann
reated. Could somebody tell me what's wrong (with me, most likely)? Details: mkiV and LMTX, MacOS and FreeBSD, recent ConTeXt installations. The xml file on ConTeXt Wiki: Organisation ConTeXt Wiki product pictures

Re: [NTG-context] More table questions

2020-09-22 Thread Denis Maier
n one product, I have to make some design decisions right at the beginning and I won't be able to make ad hoc adjustments. In tabulate you have several kinds of horizontal lines (\HL, \FL, \ML, \LL), but you need to set them and define their width individually. IMO the different line

Re: [NTG-context] More table questions

2020-09-22 Thread Henning Hraban Ramm
use them unobtrusively. Depending on your product (black printing, CMYK printing, screen only) you can use light colors, but be aware that thin, rasterized lines look jagged, while you can e.g. use 100% cyan even in 0.25pt, if the resolution of the press (offset/digital) works with such thin lines.

Re: [NTG-context] \setupuserpagenumber not working as expected

2020-09-06 Thread Jan Willem Flamma
Willem FlammaSubject: Re: [NTG-context] \setupuserpagenumber not working as expected Jan Willem Flamma schrieb am 03.09.2020 um 10:29:> Dear Julian,> > I use something similar using a main product file, an environment file > that contain the styling and several components that

Re: [NTG-context] styling individual parts of ToC entry

2020-09-05 Thread Henning Hraban Ramm
> Am 05.09.2020 um 03:35 schrieb jbf : > > (1) the author's names lined up vertically throughout the ToC, and That would require to typeset the ToC as a table/tabulate; I remember that was hard to do, and I can’t remember in which product I used it, so I can’t look it up. Mayb

  1   2   3   4   5   6   7   8   9   >