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

2020-09-03 Thread Jan Willem Flamma
Dear Julian, I use something similar using a main product file, an environment file that contain the styling and several components that build up the frontmatter, the manual and the appendices.  Below my setup where I start the roman numbering on the table of contents page (page 5 or v in roman

Re: [NTG-context] Combining colors with matrices

2020-07-15 Thread Otared Kavian
Hi David, Regarding matrices, below is an example. You can choose the names pmatrix, etc as you wish. There is even a module which allows you to compute the product of two matrices, etc (with \usemodule[m-matrix], see m-matrix.mkiv). %% defining matrix with parentheses \definemathmatrix

Re: [NTG-context] using modeset

2020-06-17 Thread Jan Willem Flamma
ink of security instructions or legal stuff that is the same in all). Each block has an explicite change date to keep track of the state of the different translations.The two main files of each product are one that contains just a few settings and one that pulls in all the needed building blocks. I

Re: [NTG-context] using modeset

2020-06-15 Thread Henning Hraban Ramm
e state of the different translations. The two main files of each product are one that contains just a few settings and one that pulls in all the needed building blocks. In this case all blocks with the same content in different languages are kept together in one directory (files have a language code)

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
> Thanks for the suggestion. I have tried it with \incrementcounter before > and after the TEXpage. Sadly, neither worked. > > > > This mwe is an attempt to capture the failure of the following in > processing a product with numerous components: > > > > \definecounter[

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Taco Hoekwater
Hi, Taco— > > Thanks for the suggestion. I have tried it with \incrementcounter before and > after the TEXpage. Sadly, neither worked. > > This mwe is an attempt to capture the failure of the following in processing > a product with numerous components: > > \definecount

Re: [NTG-context] problem with counters (page)

2020-06-10 Thread Alan Bowen
Hi, Taco— Thanks for the suggestion. I have tried it with \incrementcounter before and after the TEXpage. Sadly, neither worked. This mwe is an attempt to capture the failure of the following in processing a product with numerous components: \definecounter[volpage][type=page, way=bypage

Re: [NTG-context] output file name query

2020-05-23 Thread Henning Hraban Ramm
> Am 23.05.2020 um 14:43 schrieb Wolfgang Schuster > : > >>> 1. Drop the weird (sorry Hraban) naming system and use myfilename for your >>> product. >> I force nobody to use that. > No and everybody has to find a system which fits best for him, pref

Re: [NTG-context] output file name query

2020-05-23 Thread Gerben Wierda
> On 23 May 2020, at 14:46, Wolfgang Schuster > wrote: > > Henning Hraban Ramm schrieb am 22.05.2020 um 17:39: >>>> Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster >>>> : >>> >>> Alan Bowen schrieb am 22.05.2020 um 14:33: >>&

Re: [NTG-context] output file name query

2020-05-23 Thread Wolfgang Schuster
Henning Hraban Ramm schrieb am 22.05.2020 um 17:39: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file

Re: [NTG-context] output file name query

2020-05-22 Thread Rik Kabel
On 5/22/2020 11:39, Henning Hraban Ramm wrote: Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster : Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each

Re: [NTG-context] output file name query

2020-05-22 Thread Henning Hraban Ramm
> Am 22.05.2020 um 15:09 schrieb Wolfgang Schuster > : > > Alan Bowen schrieb am 22.05.2020 um 14:33: >> In my project, I process a single product file by enabling various modes. >> What I would like to do is to vary the name of the output PDF file in each >>

Re: [NTG-context] output file name query

2020-05-22 Thread Wolfgang Schuster
Alan Bowen schrieb am 22.05.2020 um 14:33: In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf

[NTG-context] output file name query

2020-05-22 Thread Alan Bowen
In my project, I process a single product file by enabling various modes. What I would like to do is to vary the name of the output PDF file in each instance. So, in processing a file, how does one go directly from prd_filename.tex to myfilename.pdf rather than to prd_filename.pdf—assuming

Re: [NTG-context] Compile only one new component in a project

2020-05-07 Thread Wolfgang Schuster
can use a project file where you load all environments and load then the project file in your product and component files. ##chapter-4-seconde.tex## \startcomponent chapter-4-seconde Add here \environment ... or \project ... \startchapter[title=] ... \stopchapter \stopcomponent Wolfgang

Re: [NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread Wolfgang Schuster
for the ConTeXt version so I have created a template tex file they can simply \input at the top of their article. Processing the single article gives the desired output. So far so good. When I receive the articles, I want to use the project/product/component structure to allow me to produce an entire

[NTG-context] \definehead behaving differently when in an environment file versus \input'ed

2020-05-02 Thread ntg
file they can simply \input at the top of their article. Processing the single article gives the desired output. So far so good. When I receive the articles, I want to use the project/product/component structure to allow me to produce an entire issue of the journal in one go. (I would simply

Re: [NTG-context] Project setup query

2020-04-30 Thread Henning Hraban Ramm
d > % !TEX root=../prd_\mystring.tex Processing single components won’t work in your project, since I defined several metadata macros in the product. More off list. > with, e.g., \def\mystring{Name01} in the prd_Name01.tex file, but that does > not seem to work—the various .tex files re not foun

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 welcom

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

2020-04-28 Thread Jan-Erik Hägglöf
ng Hraban Ramm, fiëé > visuëlle > > Options: > --version show program's version number and exit > -h, --helpshow this help message and exit > -m FILETYPE, --mode=FILETYPE > create which type of file? > -c NAME, --component=NAME, --cm

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

2020-04-28 Thread Henning Hraban Ramm
ban Ramm, fiëé visuëlle Options: --version show program's version number and exit -h, --helpshow this help message and exit -m FILETYPE, --mode=FILETYPE create which type of file? -c NAME, --component=NAME, --cmp=NAME c

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 > organ

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

Re: [NTG-context] lmtx & lohit-devanagari fonts

2020-04-21 Thread Saša Janiška
subtree: texmf-linux-64 mkiv lua stats > used engine: luametatex version: 2.0502, functionality level: 20200413, format id: 493, compiler: gcc mkiv lua stats > control sequences: 45484 of 65536 + 10 mkiv lua stats > lua properties: engine:

Re: [NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Otared Kavian
s code to a ConTeXt file composed product > and components, > and using the second method, i.e. combi(n,r). The first method is still > working well. > The error message is as following: > > metapost log> loading metafun, including plain.mp version 1.004 for > metafun iv a

[NTG-context] running lua in metafun and in ConTeXt

2020-04-11 Thread Jeong Dal
, when I added this code to a ConTeXt file composed product and components, and using the second method, i.e. combi(n,r). The first method is still working well. The error message is as following: metapost log> loading metafun, including plain.mp version 1.004 for metafun iv and xl metapost

Re: [NTG-context] Fwd: Using Lua files in project structure

2020-04-06 Thread Jairo A. del Rio
ns. Although it is not recommended in > ConTeXt, > > some of them are really necessary to me. > > I didn't try to completely debug what is going wrong in your setup, but > here is a simpler way to achieve the same result. I am using components > because (i) it works and (ii) I

Re: [NTG-context] Fwd: Using Lua files in project structure

2020-04-06 Thread Aditya Mahajan
e result. I am using components because (i) it works and (ii) I don't use the product-project setup regularly enough to debug it quicky. Aditya<> ___ If your question is of interest to others as well, please add an ent

Re: [NTG-context] How to approach a ConTeXt language server?

2020-02-05 Thread Hans Hagen
I’d implement it in ConTeXt is to keep a list of open ConTeXt projects in the server (obtained by following \include, \component, \product, \environment, \project). Now my questions begin: 1. Then I’d make context load the project without compiling it to a PDF but make it execute some Lua

Re: [NTG-context] How to approach a ConTeXt language server?

2020-02-05 Thread Philipp A.
to keep a list of open ConTeXt > projects in the server (obtained by following \include, \component, > \product, \environment, \project). > > Now my questions begin: > > • Then I’d make context load the project without compiling it to a > PDF but make it execute some Lua (

Re: [NTG-context] How to approach a ConTeXt language server?

2020-02-04 Thread Henning Hraban Ramm
les and when the user > requests something of the above. > > The way I’d implement it in ConTeXt is to keep a list of open ConTeXt > projects in the server (obtained by following \include, \component, \product, > \environment, \project). > Now my questions begin: > • Th

[NTG-context] How to approach a ConTeXt language server?

2020-02-04 Thread Philipp A.
of open ConTeXt projects in the server (obtained by following \include, \component, \product, \environment, \project). Now my questions begin: 1. Then I’d make context load the project without compiling it to a PDF but make it execute some Lua (how do I do this?) 2. I’d need a way to get all

Re: [NTG-context] ConTeXt as a service

2019-11-24 Thread Hans Hagen
and also run a HTML cleaner before saving. It was an effort until it worked, but not that much. another link: https://coko.foundation/ https://coko.foundation/product-suite/ Sounde nice but then tne question is: which of these will stay for a long term (commitment, open etc). Always a bit of a gan

Re: [NTG-context] ConTeXt as a service

2019-11-23 Thread mf
Il 23/11/19 14:18, Henning Hraban Ramm ha scritto: Am 2019-11-23 um 13:18 schrieb luigi scarso : another link: https://coko.foundation/ https://coko.foundation/product-suite/ or merely https://pubsweet.coko.foundation Thank you for the hint, sounds interesting and like the thing I always

Re: [NTG-context] ConTeXt as a service

2019-11-23 Thread Henning Hraban Ramm
> Am 2019-11-23 um 13:18 schrieb luigi scarso : > another link: > https://coko.foundation/ > https://coko.foundation/product-suite/ or merely https://pubsweet.coko.foundation Thank you for the hint, sounds interesting and like the thing I always wanted to build… I didn’t read every

Re: [NTG-context] ConTeXt as a service

2019-11-23 Thread luigi scarso
il it worked, but not that > much. > another link: https://coko.foundation/ https://coko.foundation/product-suite/ -- luigi ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] columns and footnotes

2019-10-21 Thread Hans Hagen
On 10/20/2019 3:51 PM, Henning Hraban Ramm wrote: Hi again, I’m testing columns again, and before I publish an article on the subject, I’d like to check with you. Find attached my testing environment, env_test.tex, and columns.tex, a "product", as well as the result of compiling

Re: [NTG-context] PDF viewer poll

2019-10-16 Thread context
Hello, On 2019-10-13 12:43, Henning Hraban Ramm wrote: Hi, I’d like to update my list of (usable!) PDF viewers. Which one do you use? (Current version?) PDF XChange Viewer (https://www.tracker-software.com/product/pdf-xchange-viewer) What are its pros and cons? + Free; not annoying

Re: [NTG-context] PDF viewer poll

2019-10-14 Thread Hans Hagen
management). With acrobat moving to the cloud and with all these sharing and validation and security stuff built it became kind of unuseable for every day use. It demonstrates that one cannot easilly mix a commercial product with a general 'standadized' format vor document distribution (I'm not ev

[NTG-context] Questions regarding project structure

2019-05-15 Thread Denis Maier
Hi, I am just testing out the project structure. Let's suppose I have these files: - test_env.tex ``` \startenvironment * \setuphead [section] [textstyle=\bf] \stopenvironment ``` - test_project ``` \startproject * \environment test_env \product test_prod \stopproject

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

2019-02-03 Thread Wolfgang Schuster
into headertexts? Background: authors shall define title, subtitle etc in the product file with setupinteraction (or a better method if available). In the environment file I want to insert theses informations into headers and footers. Use \setupdocument to set the metadata for the PDF. You can

[NTG-context] Title from setupinteraction used in header

2019-02-03 Thread Jan U. Hasecke
define title, subtitle etc in the product file with setupinteraction (or a better method if available). In the environment file I want to insert theses informations into headers and footers. TIA juh ___ If your question

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
Axel Kielhorn schrieb am 05.10.18 um 18:44: Am 05.10.2018 um 17:33 schrieb Wolfgang Schuster : I took a look at your example files and there a few things which can be improved. Product file: 1. You don’t need the actual name of the current file and use * instead 2. You can use brackets

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Axel Kielhorn
> Am 05.10.2018 um 17:33 schrieb Wolfgang Schuster > : > > I took a look at your example files and there a few things which can be > improved. > > > Product file: > > 1. You don’t need the actual name of the current file and use * instead > > 2

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
has several chapters. Thus I started to build a project with three products, see enclosed archive. According to my understanding I should be able to context c_01 to get one chapter context prd_A to get one product context project_ecm to get the whole book. Any whole book should be a product

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Wolfgang Schuster
I took a look at your example files and there a few things which can be improved. Product file: 1. You don’t need the actual name of the current file and use * instead 2. You can use brackets as delimiters for the file name instead of a space after the name 3. In products you can put all

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-05 Thread Axel Kielhorn
> Am 04.10.2018 um 20:59 schrieb Henning Hraban Ramm : > > Am 2018-10-04 um 10:08 schrieb Axel Kielhorn : > >> Thus having the whole file inside \start{project|product|component} \stop… >> would be a good idea and consistent. > > That’s what I do. > Since I

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Henning Hraban Ramm
Am 2018-10-04 um 10:08 schrieb Axel Kielhorn : > Thus having the whole file inside \start{project|product|component} \stop… > would be a good idea and consistent. That’s what I do. Since I wrote that wiki page (some years ago) I’ll change it. Greetlings, Hraban --- https://www.fiee.ne

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Axel Kielhorn
> Am 04.10.2018 um 09:27 schrieb Taco Hoekwater : > >> According to my understanding I should be able to >> context c_01 to get one chapter >> context prd_A to get one product >> context project_ecm to get the whole book. > > Any whole book should be

Re: [NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Taco Hoekwater
Each part has several chapters. > > Thus I started to build a project with three products, see enclosed archive. > > According to my understanding I should be able to > context c_01 to get one chapter > context prd_A to get one product > context project_ecm to get the whole book.

[NTG-context] Need help with project: TeX capacity exceeded

2018-10-04 Thread Axel Kielhorn
. According to my understanding I should be able to context c_01 to get one chapter context prd_A to get one product context project_ecm to get the whole book. The first two steps lead to circular inclusion and the TeX capacity error. The last step doesn’t load the products and creates no files. I

Re: [NTG-context] list of figures

2018-09-14 Thread Andrea Valle
% chapter >> >> \input c_2_conceptions.tex >> >> etc > > The ConTeXt way of doing this is: > > \component c_1_semiotics > > \component c_2_conceptions > > also putting > > \startcomponent c_1_semiotics > ... > \stopcomponent > > at the b

Re: [NTG-context] list of figures

2018-09-14 Thread Alan Braslau
% chapter > > \input c_2_conceptions.tex > > etc The ConTeXt way of doing this is: \component c_1_semiotics \component c_2_conceptions also putting \startcomponent c_1_semiotics ... \stopcomponent at the beginning and end in each component file. This project/product scheme is handled more c

Re: [NTG-context] Troubleshooting pdf bookmarks

2017-09-26 Thread Henning Hraban Ramm
ot;) works perfectly with > all the enviroment files and component files. However, when I copied > the working product file to the product folder ("prd-serv"), fixed the > links and ran ConTeXt, I didn't get bookmarks. Reference links show up > in TOC and text, so there's some kind

[NTG-context] Troubleshooting pdf bookmarks

2017-09-26 Thread Mari Voipio
he working product file to the product folder ("prd-serv"), fixed the links and ran ConTeXt, I didn't get bookmarks. Reference links show up in TOC and text, so there's some kind of interactivity, but no bookmarks. I've tried to figure out from logs (attached) what eats my bookmarks i

Re: [NTG-context] \definemathfence commands

2017-09-10 Thread Hans Hagen
,\phi} \stopformula while the scalar product of two functions $f$ and $g$ is denoted $\parenth{f|g}$. \stoptext %%% end mathfence-example.tex you can set left and right as : left="27E6, right="

[NTG-context] \definemathfence commands

2017-09-10 Thread Otared Kavian
%%% begin mathfence-example.tex \definemathfence[duality][angle][command=yes,factor=auto] \definemathfence[parenth][parenthesis][command=yes,factor=auto] \starttext The action of $T$ on a smooth function $\phi$ is denoted by \startformula \duality{T,\phi} \stopformula while the scalar product

Re: [NTG-context] Typesetting all documents in a project

2017-06-11 Thread Henri Menke
pdf, compresslevel 3, > objectcompresslevel > 3 > > The claimed output “project_guide.pdf” does not materialise (nor should it).   > Instead I hoped > typesetting "project_guide.tex" > would create a PDF of each product mentioned i.e. "prd_guide" in this ca

[NTG-context] Typesetting all documents in a project

2017-06-11 Thread Mike O'Connor
Instead I hoped typesetting "project_guide.tex" would create a PDF of each product mentioned i.e. "prd_guide" in this case ; a way of generating in one action all outputs for a project. I saw the same result in the TexLive 2017 version, but the above messages are from the l

Re: [NTG-context] Question about " ! Infinite glue shrinkage inserted from \skip131" error

2017-03-10 Thread Hans Hagen
false \postpon... \page_breaks_process ...the \everybeforepagebreak \c_page_breaks_prevpage \r... ...t \nonoindentation \else \page [\v!preference ] \page_otr_command_check_if... ... l.50 \stopplacefigure 1 % !TEX root =../../Main.tex 2 3 \startcomponent MathModel2 4 \prod

[NTG-context] Question about " ! Infinite glue shrinkage inserted from \skip131" error

2017-03-10 Thread Jeong Dal
% !TEX root =../../Main.tex 2 3 \startcomponent MathModel2 4 \product Main 5 6 \SlideTitle{미적분학} 7 >> \null\vfill 8 자연과 일상생활에서 일어나는 많은 일들의 수학적 모델을 잘 찾아낼 수만 있다면 앞으로의 변화나 예상되는 일들을 정확하게 파악할 수 있을 것이다. 하지만 이런 일들의 정확한 수학적모델을 찾는다는 것은 매우 어려운 일이다. 9 대부분의 경우 어느 정

[NTG-context] Simple input vs component structure

2016-09-18 Thread Malte Stien
Hi all, I have a set of reference manuals that consist of a number of chapters. Those documents pull in the individual chapters via \input commands. I have just recently discovered that ConTeXt actually DOES support a project/product/component structure. So, I have been experimenting

Re: [NTG-context] Building a Component

2016-09-12 Thread Malte Stien
an use the Component in any Product even if not specified on the \product line. I assume it just makes sure that the environment file for the Product is pulled in, would that be right? Does it do anything else? Analogous, the \project line just pulls in environment file for the project? Thank you,

Re: [NTG-context] Building a Component

2016-09-12 Thread Wolfgang Schuster
finite recursion. Here is the file: \project test-project \product reference-manual-1 Move the two lines after \startcomponent. \startcomponent component-1 \starttext You don’t need \starttext/\stoptext when you use product and component files. Wo

[NTG-context] Building a Component

2016-09-12 Thread Malte Stien
/components I might be able to do something much smarter. Let’s see. I get stuck quite early on, though. I have created a minimal component file ‘component-1.tex’ and when I build it, context runs into what seems to be an infinite recursion. Here is the file: \project test-project \product reference

Re: [NTG-context] Product-component structure

2016-07-11 Thread Alan BRASLAU
rather nice if compiling a component that is part of a product could use the .tuc information from an earlier compiling of the entire product (if present) for numbering. Of course, modifying a component (such as a chapter) might or would have an effect on all other components of the product, but such is life.

Re: [NTG-context] Product-component structure

2016-07-11 Thread Procházka Lukáš Ing .
nvironment file 'styles.sty' is included in the product file and ALSO in all component files. - Environment file is included AHEAD OF any \start{product|component}. - Product file can be successfully compiled. - Single components can be compiled successfully, too; sections here are NOT NUMBERED a

Re: [NTG-context] Product-component structure

2016-06-26 Thread Hans Hagen
On 6/25/2016 7:13 PM, Wolfgang Schuster wrote: Hans Hagen 25. Juni 2016 um 11:56 i always use one main environment (that can include others) and putting an \environment on top of a component is then not much overhead (compared to getting the content done) The problem

Re: [NTG-context] Product-component structure

2016-06-25 Thread Aditya Mahajan
On Sat, 25 Jun 2016, Wolfgang Schuster wrote: Hans Hagen 25. Juni 2016 um 11:56 i always use one main environment (that can include others) and putting an \environment on top of a component is then not much overhead (compared to getting the content done) The problem

Re: [NTG-context] Product-component structure

2016-06-25 Thread Aditya Mahajan
ovided by product/project? A product is the book itself while components are only chapters, sections etc. (components can be nested). Does that mean products cannot be nested? Even if a component is part of a product, the component must explicitly include all the environments needed for compilation (

Re: [NTG-context] Product-component structure

2016-06-25 Thread Wolfgang Schuster
Hans Hagen 25. Juni 2016 um 11:56 i always use one main environment (that can include others) and putting an \environment on top of a component is then not much overhead (compared to getting the content done) The problem with puttins \environment before

Re: [NTG-context] Product-component structure

2016-06-25 Thread Wolfgang Schuster
Aditya Mahajan <mailto:adit...@umich.edu> 25. Juni 2016 um 18:37 On Sat, 25 Jun 2016, Hans Hagen wrote: So, to a newcomer, one can suggest to simply use components and environments. What is the advatange of the extra structure provided by product/project? A product is the book itself

Re: [NTG-context] Product-component structure

2016-06-25 Thread Aditya Mahajan
an \environment on top of a component is then not much overhead (compared to getting the content done) So, to a newcomer, one can suggest to simply use components and environments. What is the advatange of the extra structure provided by product/project? Aditya

Re: [NTG-context] Product-component structure

2016-06-25 Thread Hans Hagen
ileonce }, [v_product] = { "none", processfilenone }, [v_component] = { "many", processfilemany }, } } Then, why is the product file processed multiple times? The rules for a component files are applied *after* \startcomponent which isn’t the case for the

Re: [NTG-context] Product-component structure

2016-06-25 Thread Aditya Mahajan
= { "none", processfilenone }, [v_component] = { "many", processfilemany }, } } Then, why is the product file processed multiple times? The rules for a component files are applied *after* \startcomponent which isn’t the case for the example where in the first iteration the &quo

Re: [NTG-context] Product-component structure

2016-06-25 Thread Wolfgang Schuster
[v_component] = { [v_text]= { "many", processfilemany }, [v_project] = { "once", processfileonce }, [v_environment] = { "once", processfileonce }, [v_product] = { "none", processfilenone }, [v_component]

Re: [NTG-context] Product-component structure

2016-06-24 Thread Hans Hagen
[v_text]= { "many", processfilemany }, [v_project] = { "once", processfileonce }, [v_environment] = { "once", processfileonce }, [v_product] = { "none", processfilenone }, [v_component] = { "many"

[NTG-context] Product-component structure

2016-06-24 Thread Aditya Mahajan
", processfilemany }, [v_project] = { "once", processfileonce }, [v_environment] = { "once", processfileonce }, [v_product] = { "none", processfilenone }, [v_component] = { "man

Re: [NTG-context] [SOLVED] searching in subdirectories with project structure

2016-05-05 Thread luigi scarso
/image2.jpg >>> (...) >>> /tables/ >>> /table1.tex >>> /table2.tex >>> (...) >>> Questions: >>> >>> What is the canonical way to keep subdirectories of dependencies in a >>> com

Re: [NTG-context] [SOLVED] searching in subdirectories with project structure

2016-05-05 Thread Javier M Mora
/images/ /image1.jpg /image2.jpg (...) /tables/ /table1.tex /table2.tex (...) Questions: What is the canonical way to keep subdirectories of dependencies in a component? (to be reused later in product compilation) These are my ideas and my solution (don't hesitate

Re: [NTG-context] searching in subdirectories with project structure

2016-05-05 Thread Javier M Mora
\product prod_thesis \environment envi_chap1 blah blah blah \placefigure[here][fig:img1]{img1}{ \externalfigure[image1.jpg] } blah blah blah \input tables/table1 blah blah blah \stopcomponent First and second answer: \input command is a tex command and inserts file as is. It is possible

[NTG-context] searching in subdirectories with project structure

2016-05-05 Thread Javier M Mora
/ /table1b.tex /table2b.tex (...) (...) envi_chap1.tex has: \startenvironment envi_chap1 \product prod_thesis \usepath[images] \usepath[tables] \stopenvironment comp_chap1.tex

Re: [NTG-context] in next beta

2016-03-10 Thread Wolfgang Schuster
Procházka Lukáš Ing. <mailto:l...@pontex.cz> 10. März 2016 um 09:52 Hello, I'm probably not getting what supposed; my sample files are attached; both were compiled with today's beta. Could the intended product be placed somewhere to download? I attached the result of the e

Re: [NTG-context] in next beta

2016-03-10 Thread Procházka Lukáš Ing .
Hello, I'm probably not getting what supposed; my sample files are attached; both were compiled with today's beta. Could the intended product be placed somewhere to download? Best regards, Lukas On Tue, 08 Mar 2016 11:22:50 +0100, Hans Hagen <pra...@wxs.nl> wrote: On 3/7/2016 9

Re: [NTG-context] % !TeX root problem

2015-11-16 Thread Otared Kavian
all, > > I use product file: FM_main.tex which contains component files like FM_1.tex, > FM_2.tex, etc. > They are all in the same folder. > In each component file, I put “% !TEX root=FM_main.tex” at the first line. > > It worked fine but some time after it won’t work. >

Re: [NTG-context] % !TeX root problem

2015-11-15 Thread Hans Hagen
On 11/14/2015 2:41 PM, Jeong Dal wrote: Dear all, I use product file: FM_main.tex which contains component files like FM_1.tex, FM_2.tex, etc. They are all in the same folder. In each component file, I put “% !TEX root=FM_main.tex” at the first line. It worked fine but some time after

[NTG-context] % !TeX root problem

2015-11-14 Thread Jeong Dal
Dear all, I use product file: FM_main.tex which contains component files like FM_1.tex, FM_2.tex, etc. They are all in the same folder. In each component file, I put “% !TEX root=FM_main.tex” at the first line. It worked fine but some time after it won’t work. I know that it is a matter

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-09-09 Thread Jens Bertram
cker information in the log). Wolfgang \enabletrackers[ system.jobfiles, structures.referencing, structures.referencing.importing, structures.referencing.identifying] \setupinteraction[state=start] \useexternaldocument[xr1][xr-prod1][XR Product One] \useexternaldocument[xr2][xr-prod2

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-09-09 Thread Wolfgang Schuster
o much a bug but the current mechanism assumes a project/component struture i'll see if i can catch the non structured variant The same happens when you link from on product to another. Wolfgang ___ If your question is

[NTG-context] Output compilation

2015-08-12 Thread Fabrice Couvreur
Hi, My product lesson contains the component chapter-1 which itself contains the components activities and synthesis. Is it possible to compile lesson.tex and have the output that activities.pdf file ? Thanks, Fabrice \project manual \startproduct lesson \startfrontmatter \component

Re: [NTG-context] Output compilation

2015-08-12 Thread Hans Hagen
On 8/12/2015 12:42 PM, Fabrice Couvreur wrote: Hi, My product lesson contains the componentchapter-1 which itself contains the components activities and synthesis. Is it possible to compile lesson.tex and have the output that activities.pdf file ? Thanks, --result=activities

Re: [NTG-context] Output compilation

2015-08-12 Thread Fabrice Couvreur
Hi Hans, I think my initial request was unclear. In fact, I want to get output only content activities.tex file. Fabrice 2015-08-12 13:18 GMT+02:00 Hans Hagen pra...@wxs.nl: On 8/12/2015 12:42 PM, Fabrice Couvreur wrote: Hi, My product lesson contains the componentchapter-1 which itself

Re: [NTG-context] Output compilation

2015-08-12 Thread Fabrice Couvreur
-modules \environment my-styles \environment my-commands \startproject manual \product lesson \stopproject Thank you. 2015-08-12 14:43 GMT+02:00 Wolfgang Schuster schuster.wolfg...@gmail.com: Fabrice Couvreur fabrice1.couvr...@gmail.com 12. August 2015 14:22 Hi Hans, I think my initial

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-11 Thread tala...@fastmail.fm
Sorry for not being clear. The original question was whether cross-referencing in a project can only be done between components, or if they can also be done between products. I could never get the latter to work. Wolfgang confirmed that in MkII, intra-product cross-referencing works (even

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-11 Thread tala...@fastmail.fm
Schuster schuster.wolfg...@gmail.com wrote: tala...@fastmail.fm mailto:tala...@fastmail.fm 6. August 2015 19:00 Perhaps I might ask a more preliminary question: when using project structure, is cross-document referencing possible between two product files, or only between two component files

Re: [NTG-context] cross-references between documents in a project (using \useexternaldocument)

2015-08-10 Thread Wolfgang Schuster
tala...@fastmail.fm mailto:tala...@fastmail.fm 6. August 2015 19:00 Perhaps I might ask a more preliminary question: when using project structure, is cross-document referencing possible between two product files, or only between two component files within a single product file? You can create

[NTG-context] Cover of ePub

2015-08-07 Thread Henning Hraban Ramm
Hi again, I'm trying to define a cover image for my ePub using the documented „firstpage“ setting of \setupexport. While it works in my minimal example below, it fails in my project structure; I tried to move \setupexport into project, product and component to no avail. % \setupbackend[export

Re: [NTG-context] Cover of ePub

2015-08-07 Thread Henning Hraban Ramm
of \setupexport. While it works in my minimal example below, it fails in my project structure; I tried to move \setupexport into project, product and component to no avail. % \setupbackend[export=yes] \setupinteraction[ state=start, color=,contrastcolor=, title={ePub

Re: [NTG-context] Numbering subformulas

2015-08-06 Thread Otared Kavian
begin example \usemodule[visual] \starttext Using the definition of the scalar product we infer that: \placeformula[eq:1] \startformula \fakeformula \stopformula And here are some other relations valid in a Hilbert space: %\startsubformulas[+] % These two options for \subformulas

<    1   2   3   4   5   6   7   8   9   >