[NTG-context] Re: Local alternative to \input

2024-03-04 Thread Denis Maier via ntg-context
] Re: Local alternative to \input With a single environment it seems to work, though when I expand it to multiple, it does not seem to work anymore \starttext SomeText \\ \environment aaa \\ SomeText \\ \environment bbb \\ SomeText \\ \startenvironment aaa \samplefile{lorem} \stopenvironment

[NTG-context] Re: Local alternative to \input

2024-03-03 Thread Jeroen
With a single environment it seems to work, though when I expand it to multiple, it does not seem to work anymore \starttext SomeText \\ \environment aaa \\ SomeText \\ \environment bbb \\ SomeText \\ \startenvironment aaa \samplefile{lorem} \stopenvironment \startenvironment bbb \samplefile

[NTG-context] Re: Local alternative to \input

2024-01-04 Thread Henning Hraban Ramm
\environment foo \environment bar \startenvironment foo this is a lot of text \stopenvironment \startenvironment bar and this is another piece of text \stopenvironment \stoptext An environment is a separate file. \environment is like \input with a few more checks, e.g. it loads the file only once. e.g

Re: [NTG-context] Problem with latest version ?

2023-01-04 Thread Fabrice Couvreur via ntg-context
el 7, order 59, name 'pgfmoduleshapes.code.tex' > close source> level 7, order 59, name 'pgfmoduleshapes.code.tex' > close source> level 6, order 59, name 'pgfmodulematrix.code.tex' > open source > level 6, order 60, name 'tikzlibrarytopaths.code.tex' > close source

[NTG-context] Problem with latest version ?

2023-01-04 Thread Fabrice Couvreur via ntg-context
s.code.tex' close source> level 5, order 62, name 'pgfmoduledecorations.code.tex' close source> level 4, order 62, name '/home/fabrice/LMTX/tex/texmf-context/tex/context/modules/mkxl/m-tikz.mkxl' modules > 'pgfplots' is not found tex error > tex error on line 8 in fi

[NTG-context] Project structure with nested subfolders and shared environments.

2022-12-15 Thread Pawel Urbanski via ntg-context
\startproject * \usepath [{ Metadata }] \environment Environment.tex \stopproject % /MainFolder/Metadata/Environment.tex \startenvironment * % Test if setup is applied. \setupbodyfont[ebgaramond] \stopenvironment % /MainFolder/SubFolder/SubSubFolder/Doc.tex \startproduct * \project Meta \startcomponent

Re: [NTG-context] filling buffers in cld documents

2022-11-27 Thread Hans Hagen via ntg-context
:    \startenvironment env_corrige.mkiv    \startluacode   userdata = userdata or {}    function userdata.Critere (commentaire,note,notemax)   context.startxcell {"width=11cm","height=2.75cm"} context(Eleve[commentaire])   context.stopxcell ()   context.star

[NTG-context] filling buffers in cld documents

2022-11-27 Thread damien thiriet via ntg-context
Hi, I am used to giving very extensive feedbacks to my pupils. These are buffers with xtables flushing lua vectors. Here is their basic structures: * an environment that stores xtables. Turned into MWE, look like: \startenvironment env_corrige.mkiv \startluacode userdata

Re: [NTG-context] Page break with placement of a figure at the bottom of the page

2022-11-12 Thread Fabrice Couvreur via ntg-context
ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > \starten

[NTG-context] Fwd: Malfunctioning of syllabic partitioning of words in Spanish

2022-07-07 Thread Joaquín Ataz López via ntg-context
the \mainlanguage[es] command in the environment file was ignored. In the end I have come to the conclusion that this was because I had written in it \startenvironment instead of \startenvironment environment_name What I do not understand is why, when not putting the name of the environment

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
] ... \endcomponent end component begin environment \startenvironment[terminale-style] ... \startsetups [section:chapter] \setuphead [chapter] [align=flushright, textcommand=\groupedcommand{\blank[medium]}{}, numbercolor=darkgray, textstyle=ChapterTextStyle, numberstyle

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
component \startcomponent [*] \environment [...] ... \stopcomponent end component begin environment \startenvironment [*] \startsetups [section:chapter]     \setuphead     [chapter]     [...] \stopsetups \startsectionblockenvironment [bodypart]     \directsetup{section:chapter

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

2021-07-18 Thread Wolfgang Schuster
\stopproduct end document.tex begin document-environment.tex \startenvironment [*] % sub directory for images % % \setupexternalfigures % [directory=...] % % sub directories for components % % \usepath % [...] % put you setups here \stopenvironment end document-environment.tex

Re: [NTG-context] lmtx error: You can't use 'integer 340' in internal vertical mode

2021-02-19 Thread juh
] [3mm] \stopmode\startenvironment env-colors %% Hostsharing corporate colors %% Für RGB-Medien wie zum Beispiel Präsentationen %% definieren wir RGB-Farben. %% Wenn context ohne mode=fogra39 und ohne mode=isocoated aufgerufen wird, %% werden diese RGB-Farben benutzt. \startnotmode[fogra39,is

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

2020-09-06 Thread Jan Willem Flamma
%%%% end product  begin environment\startenvironment env-WA \setuppagenumbering   [alternative=doublesided, location=right]   \defineconversionset   [frontpart:pagenumber] [] [romannumerals] \setupexternalfigures   [directory={External PDF}] \startsectionblockenvironment [frontpart]    \setu

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

2020-09-04 Thread Wolfgang Schuster
\component co-01 \component co-02 \stopbodymatter \startappendices \component co-ap-01 \component co-ap-02 \stopappendices \startbackmatter \copypages[app1.pdf][n=4] \stopbackmatter \stopproduct end product begin environment \startenvironment env-WA \setuppagenumbering

Re: [NTG-context] \documentvariable (used in environment)

2020-07-22 Thread Wolfgang Schuster
Alan Braslau schrieb am 23.07.2020 um 00:21: Hello, I have put the following in an environment \startenvironment MYENVIRONMENT \setupdocument   [metadata:title={\documentvariable{title}},    metadata:subtitle={\documentvariable{subtitle}},    metadata:author={\documentvariable{author

[NTG-context] \documentvariable (used in environment)

2020-07-22 Thread Alan Braslau
Hello, I have put the following in an environment \startenvironment MYENVIRONMENT \setupdocument [metadata:title={\documentvariable{title}}, metadata:subtitle={\documentvariable{subtitle}}, metadata:author={\documentvariable{author}}, metadata:keywords={\documentvariable{keywords

[NTG-context] Custom Footertext

2019-09-29 Thread Jeroen
to adjust it. Who can help me out? Best Regards, Jeroen \startenvironment mkivcnotesenv \setuppapersize[A4,portrait] [A4,portrait] \setuplayout[backspace=20mm, width=175mm, topspace=20mm, header=0mm, footer=2mm, height

[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] Language dependency in environment-project file

2018-11-29 Thread Marco Patzer
On Thu, 29 Nov 2018 20:30:53 +0100 Wolfgang Schuster wrote: > Below is a improved version of the token method which works with the > new beta. > > \startenvironment [*] > > \definetokenlist [english] % optional because \starttokenlist > \definetokenlist [swedish] % chec

Re: [NTG-context] Language dependency in environment-project file

2018-11-29 Thread Wolfgang Schuster
. Below is a improved version of the token method which works with the new beta. \startenvironment [*] \definetokenlist [english] % optional because \starttokenlist \definetokenlist [swedish] % checks if the token lists exists \starttokenlist [english]   \setupitemgroup [itemize] [i

Re: [NTG-context] Language dependency in environment-project file

2018-11-28 Thread Hans Hagen
}{\mainlanguage[\documentvariable{language}]}% \to \everysetupdocument That's basically what I've done in my project file (te-proj.tex). At least the code is supposed to do exactly that. But even your solution doesn't work here. Did you try it in the example project file? \startenvironment

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Wolfgang Schuster
Marco Patzer schrieb am 27.11.18 um 22:23: On Tue, 27 Nov 2018 22:05:27 +0100 Wolfgang Schuster wrote: But even your solution doesn't work here. Did you try it in the example project file? \startenvironment [*] \startsetups [itemgroup:en]   \setupitemgroup [itemize] [i] \stopsetups

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Marco Patzer
On Tue, 27 Nov 2018 22:05:27 +0100 Wolfgang Schuster wrote: > > But even your solution doesn't work here. Did you try it in the > > example project file? > > \startenvironment [*] > > \startsetups [itemgroup:en] >   \setupitemgroup [itemize] [i] > \stopsetups &

Re: [NTG-context] Language dependency in environment-project file

2018-11-27 Thread Wolfgang Schuster
}]}% \to \everysetupdocument That's basically what I've done in my project file (te-proj.tex). At least the code is supposed to do exactly that. But even your solution doesn't work here. Did you try it in the example project file? \startenvironment [*] \startsetups [itemgroup:en]   \setupitemgroup [itemize

[NTG-context] tex error Argument of \titlecmd has an extra }

2018-03-06 Thread ????????
root/openstack_doc/project-openstack-source-analysis.tex: ! Argument of \titlecmd has an extra }". I don't know the reason of this error.How to fix this error? Many thanks for your help! the evn-plain.tex file content is below: \startenvironment env-plain % C ??

[NTG-context] Head sections automatically marked for conditional text

2017-08-31 Thread Paul Mazaitis
in a particular mode (if that makes any sense at all). Is this possible? The long version: What I think I want is something like: --- begin foo.tex --- \startenvironment foo \definemode[showexamples][keep] % Can I add some magic here in the following setup to automagically % wrap these sections

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-19 Thread Fabrice Couvreur
## \startenvironment MyLayout \setupbodyfont[12pt,pagella] \definelayout [noheader] [header=2\lineheight, headerdistance=\lineheight, backspace=2cm, width=middle, topspace=\dimexpr 2cm-\headerheight-\headerdistance\relax, footer=\lineheight, height=middle

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
r me if I compile the Aditya file. >>> I have another problem with a simple structure. I created the file >>> MyLayout.tex containing the macro and I want to call this macro in the >>> dm1.tex file, but it does not work. >>> Thank you >>> Fabrice >>&g

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik
call this macro in the dm1.tex file, but it does not work. Thank you Fabrice # MyLayout.tex # % macros=mkvi \startenvironment MyLayout \setuplayout    [header=3\lineheight,     he

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
gt;>> I have another problem with a simple structure. I created the file >>> MyLayout.tex containing the macro and I want to call this macro in the >>> dm1.tex file, but it does not work. >>> Thank you >>> Fabrice >>> >>> # >>

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
Hello, >> It's ok for me if I compile the Aditya file. >> I have another problem with a simple structure. I created the file >> MyLayout.tex containing the macro and I want to call this macro in the >> dm1.tex file, but it does not work. >> Thank you >> Fabric

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik Kabel
macros=mkvi \startenvironment MyLayout \setuplayout    [header=3\lineheight,     headerdistance=\lineheight] \setupbackgrounds   [header]   [text]   [     frame=off,     bottomframe=on,     framecolor=darkgray,     rulethickness=2pt,   ] \

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
e. I created the file > MyLayout.tex containing the macro and I want to call this macro in the > dm1.tex file, but it does not work. > Thank you > Fabrice > > # > MyLayout.tex > # > > % macros=mkvi > > \startenvironment MyLayout > > \setuplay

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Rik Kabel
# MyLayout.tex # % macros=mkvi \startenvironment MyLayout \setuplayout    [header=3\lineheight,     headerdistance=\lineheight] \setupbackgrounds   [header]   [text]   [     frame=off,     bottomframe=on,     framecolor=darkgray,     rulethickness=2pt,   ] \defineframed

Re: [NTG-context] About \setupheadertexts : simplify a code

2017-08-18 Thread Fabrice Couvreur
\startenvironment MyLayout \setuplayout [header=3\lineheight, headerdistance=\lineheight] \setupbackgrounds [header] [text] [ frame=off, bottomframe=on, framecolor=darkgray, rulethickness=2pt, ] \defineframed[headerframed] [ frame=off

Re: [NTG-context] Product-component structure

2016-07-11 Thread Procházka Lukáš Ing .
Hello, my "how-I-do-it" used for typesetting a large book was: styles.sty % Styles, settings etc.; never compiled individually, thus ".sty"; the file also doesn't use '\startenvironment' ... '\stopenvironment' commands (I even don't know whether such commands exist; a

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

2016-05-05 Thread Javier M Mora
compile a component or a product. My solution: envi_thesis.tex - \startenvironment envi_thesis %% PATHS \usepath[{comp_chapter1,comp_chapter2}] blah blah blah \stopenvironment prod_thesis.tex -- \startproduct prod_thesis

[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] ntg-context Digest, Vol 142, Issue 52

2016-04-19 Thread Brian Ballsun-Stanton
.) Here's a working example % engine=luajittex \startenvironment env_trap \enableregime[utf-8] \setupcolors[state=start] \setupreferencing[autofile=yes] \setupinteraction[state=start, color=blue, contrastcolor=blue, style={\tf}] \usemodule[simplefonts] \usemodule[database] % Enable hyperlinks

Re: [NTG-context] Refering to parent in XML

2015-08-26 Thread Hans Hagen
On 8/25/2015 8:18 PM, Xan wrote: Hi, I have this environment: \startenvironment processadorxml % Activitat: defineix \Activitat{activitat-id} \def\Activitat#1% {\xmlfilter{rebost} {/activitats/activitat[@id=='#1']/command(xml:list)} } % Simplement llistam totes les presentacions

[NTG-context] Refering to parent in XML

2015-08-25 Thread Xan
Hi, I have this environment: \startenvironment processadorxml % Activitat: defineix \Activitat{activitat-id} \def\Activitat#1% {\xmlfilter{rebost} {/activitats/activitat[@id=='#1']/command(xml:list)} } % Simplement llistam totes les presentacions. \startxmlsetups xml:list

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

2015-08-06 Thread tala...@fastmail.fm
env_xref \product prd_xref \stopproject % environment \startenvironment env_xref \setupinteraction [state=start, style=, color=blue, contrastcolor=, menu=on, title=Cross referencing Test File, author=Gerard Verhaag] \stopenvironment % component1 [xref1] \project

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

2015-08-05 Thread tala...@fastmail.fm
\product prd_xref \stopproject % environment \startenvironment env_xref \setupinteraction [state=start, style=, color=blue, contrastcolor=, menu=on, title=Cross referencing Test File, author=Gerard Verhaag] \stopenvironment % component1 [xref1] \project project_xref \startcomponent

[NTG-context] local environment?

2015-08-04 Thread tala...@fastmail.fm
\startenvironment envA % the definitions \stopenvironment # EnvironmentB \startenvironment envB % the definitions \stopenvironment # ComponentA \environment envA \product MyProduct \startcomponent ComponentA \starttext … \stoptext # ComponentB \environment envB \product MyProduct

Re: [NTG-context] Process contents of xmlflush in context

2015-08-02 Thread Hans Hagen
\item la blava recorre \stopitemize /presentacio /activitat /activitats is interpreted? I want that {\start,\stop}itemize is processed. \xmlflushcontext My setup is: \startenvironment processadorxml \xmlloadonly{rebost}{dades/activitats.xml}{} \def\Activitat#1% {\xmlfilter

[NTG-context] Process contents of xmlflush in context

2015-08-01 Thread Xan
/presentacio /activitat /activitats is interpreted? I want that {\start,\stop}itemize is processed. My setup is: \startenvironment processadorxml \xmlloadonly{rebost}{dades/activitats.xml}{} \def\Activitat#1% {\xmlfilter{rebost} {/activitats/activitat[@id=='#1']/presentacio

[NTG-context] Structure : problem with an environment

2015-07-30 Thread Fabrice Couvreur
Hi, In my project, there is an env-03.tex file that contains this : \startenvironment env-03 \defineenumeration [def] [text={Définition}, headstyle={\bf\feature[+][f:smallcaps]}, width=fit, alternative=left, stopper={.}] \stopenvironment If I compile, I get this : open

Re: [NTG-context] Structure : problem with an environment

2015-07-30 Thread Wolfgang Schuster
Fabrice Couvreur mailto:fabrice1.couvr...@gmail.com 30. Juli 2015 15:21 Hi, In my project, there is an env-03.tex file that contains this : \startenvironment env-03 \defineenumeration [def] [text={Définition}, headstyle={\bf\feature[+][f:smallcaps]}, width=fit, alternative=left

Re: [NTG-context] Environments

2015-07-07 Thread luigi scarso
the \definesomething commands as for example http://wiki.contextgarden.net/Command/definetyping Context has also http://wiki.contextgarden.net/Command/startenvironment but I suppose it's not what you mean. -- luigi

Re: [NTG-context] Environments

2015-07-07 Thread Hans Aberg
{Environment}{typingmore}% {code}{code«typing·args}% {·typing»code}{code} I think, to make specializations. Context has also http://wiki.contextgarden.net/Command/startenvironment but I suppose it's not what you mean. It looks like just adding a series of command names, rather than a stacked

Re: [NTG-context] \appendtoks and structuring commands

2015-03-25 Thread Hans Hagen
, it doesn't seem to work. Here is a minimal (not) working example: % env.tex \startenvironment env \setuppapersize[A5] \appendtoks Title page \to \everystarttext \stopenvironment % prj.tex \startproject prj \environment env \stopproject

[NTG-context] \appendtoks and structuring commands

2015-03-24 Thread Sam Ḥilluc
(not) working example: % env.tex \startenvironment env \setuppapersize[A5] \appendtoks Title page \to \everystarttext \stopenvironment % prj.tex \startproject prj \environment env \stopproject % prd.tex \startproduct prd \project prj \starttext

Re: [NTG-context] mkiv versus mkii: whitespace issues

2015-03-15 Thread Gerben Wierda
= \startenvironment env_cataoia \project project_cataoia % \definedescription [description] [location=serried, width=broad, hang=fit, margin=standard, headstyle=bold] \definestartstop [descriptions] [before=\startpacked

[NTG-context] component not included

2015-03-12 Thread Wolfgang Werners-Lucchini
Hallo, I am trying to start a new project with the following test files: --env-medizin.tex--- \startenvironment env-medizin \mainlanguage[deo] \enableregime[utf] \setupbodyfont[sans,11pt] \setuplanguage[deo][leftquote=\guilsingleright

Re: [NTG-context] component not included

2015-03-12 Thread Wolfgang Schuster
Am 12.03.2015 um 13:35 schrieb Wolfgang Werners-Lucchini w...@musensturm.de: Hallo, I am trying to start a new project with the following test files: --env-medizin.tex--- \startenvironment env-medizin \mainlanguage[deo] \enableregime

Re: [NTG-context] component not included

2015-03-12 Thread Norbert Melzer
: --env-medizin.tex--- \startenvironment env-medizin \mainlanguage[deo] \enableregime[utf] \setupbodyfont[sans,11pt] \setuplanguage[deo][leftquote=\guilsingleright, rightquote=\guilsingleleft

[NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-13 Thread joasyannick
environment file fonts.tex: \startenvironment fonts \starttypescript [math] [fonts] \loadfontgoodies[baskervald-math] \definefontsynonym[MathRoman][file:texgyrepagella-math@baskervald-math] \stoptypescript \definetypeface

Re: [NTG-context] Baskervald ADF Virtual Math Fonts

2014-04-13 Thread Hans Hagen
that the following files produced effects: Extract from environment file fonts.tex: \startenvironment fonts \starttypescript [math] [fonts] \loadfontgoodies[baskervald-math] \definefontsynonym[MathRoman][file:texgyrepagella-math@baskervald

[NTG-context] Blank page

2014-03-19 Thread Philippe Figon
-env file containing only - \startenvironment simple-env \setuppagenumbering[alternative=doublesided] \setuphead [chapter] [page=right] \stopenvironment - The text

Re: [NTG-context] Blank page

2014-03-19 Thread Wolfgang Schuster
{} This is an example \stoptext with simple-env file containing only - \startenvironment simple-env \setuppagenumbering[alternative=doublesided] \setuphead [chapter] [page=right

Re: [NTG-context] Blank page

2014-03-19 Thread Philippe Figon
this : -- \environment simple-env \starttext \chapter{} This is an example \stoptext with simple-env file containing only - \startenvironment simple-env

[NTG-context] Problem with an environment

2014-03-06 Thread Fabrice Couvreur
}{3}{2014}{{\ss \tfd \bf Correction du devoir maison de Mathématiques} }{{\ss \bf \tfd 9}} \startex \input knuth \stopex \stoptext ## \startenvironment environ-2 \loadtypescriptfile[mathdesign] \definetypeface [mainface] [rm] [serif

Re: [NTG-context] [***SPAM***] Textile

2013-11-19 Thread Mica Semrick
}... or \startenvironment ...) I know a lot of computer languages now and I really don't want to learn Lua or Haskell -- I'm retired! :) -- Bill Meahan, Westland, Michigan “Writing is like getting married. One should never commit oneself until one is amazed at one's luck

[NTG-context] [***SPAM***] Textile

2013-11-16 Thread Bill Meahan
to Textile as well such as local styling (CSS or \begin{environment}... or \startenvironment ...) I know a lot of computer languages now and I really don't want to learn Lua or Haskell -- I'm retired! :) -- Bill Meahan, Westland, Michigan “Writing is like getting married. One should never

[NTG-context] From XeLaTeX's Unicode-math to ConTeXt's typescript

2013-07-13 Thread Joas Kinouani
for the math settings. \startenvironment liberty \starttypescript [liberty] \definefontsynonym [Serif] [file:LinLibertine_R_G] \definefontsynonym [SerifCaps] [Serif] [features=smallcaps] \definefontsynonym [SerifItalic] [file:LinLibertine_RI_G] \definefontsynonym [SerifSlanted

[NTG-context] Using Product-component

2013-04-16 Thread Aditya Mahajan
Has something changed recently on how product-component structure is supposed to be used? I have three files: 1. prd.tex \environment env \startproduct prd \component cmp \stopproduct 2. env.tex \startenvironment env \define\testing{This is a test

Re: [NTG-context] Using Product-component

2013-04-16 Thread d.henman
? I have three files: 1. prd.tex \environment env \startproduct prd \component cmp \stopproduct 2. env.tex \startenvironment env \define\testing{This is a test} \stopenvironment 3. cmp.tex \product prd \startcomponent cmp

Re: [NTG-context] Using Product-component

2013-04-16 Thread Wolfgang Schuster
\startenvironment env \define\testing{This is a test} \stopenvironment 3. cmp.tex \product prd \startcomponent cmp Testing \testing \stopcomponent When I compile cmp.tex, I get: %--%- […] mtx

Re: [NTG-context] Using Product-component

2013-04-16 Thread Aditya Mahajan
cmp \stopproduct 2. env.tex \startenvironment env \define\testing{This is a test} \stopenvironment 3. cmp.tex \product prd \startcomponent cmp Testing \testing \stopcomponent When I compile cmp.tex, I get

Re: [NTG-context] Using Product-component

2013-04-16 Thread Hans Hagen
\environment env \startproduct prd \component cmp \stopproduct 2. env.tex \startenvironment env \define\testing{This is a test} \stopenvironment 3. cmp.tex \product prd \startcomponent cmp Testing \testing \stopcomponent When I compile cmp.tex, I get

Re: [NTG-context] default parameter in \definefont

2013-02-27 Thread Wolfgang Schuster
[titlefont][MyriadPro-Bold*default at 70bp] \definefont [subtitle][MyriadPro-Bold*default at 25bp] \definefont [gauthor][MinionPro-Regular*default at 25bp] --- \startenvironment[formatting] \usemodule [simplefonts] \definefont [titlefont][MyriadPro-Bold

[NTG-context] Reading product environment within a component file

2012-12-02 Thread Romain Diss
%% end an environment file e.tex %% e.tex \startenvironment e % style commands... \stopenvironment %% end and two component files c.tex and d.tex %% c.tex (d.tex is the same file, except content part) \setupreferencing[autofile=yes] \setupinteraction[state=start] \startcomponent c \product p

[NTG-context] Problem with \product

2012-11-25 Thread Bernd Kosubek
Hallo, I use: ConTeXt ver: 2012.11.23 17:35 MKIV fmt: 2012.11.25 int: english/english Problem: \product do not work: Main-file a.tex: \startproject a \environment e 1 \product b 3 \stopproject Environment-file e.tex \startenvironment e \setupbodyfont[sans,12pt] \stopenvironment Sub-file

Re: [NTG-context] Problem with \product

2012-11-25 Thread Wolfgang Schuster
-file e.tex \startenvironment e \setupbodyfont[sans,12pt] \stopenvironment Sub-file b \startproduct b \project a 2 \stopproduct gives as a ressult: 1 3 The environment-file works fine, but the sub-file seems to be ignored. What is the matter? Use the product file as main file

[NTG-context] Indented footnotes in ConTeXt

2012-11-20 Thread Adam Khan
environment file is causing my difficulties, I attach it below: \startenvironment Formattierung \setuppapersize[letter][letter] \setuplayout[backspace=1.5in, topspace=1in, bottomspace=1in, cutspace=1in] \setupinterlinespace[line=5.6ex] \setupindenting[.5in

Re: [NTG-context] Beginner question. Chapter heading in words

2012-11-11 Thread Andrew Dowell
-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ \startenvironment env2bookk \setuppapersize [A5][A4

Re: [NTG-context] Beginner question. Chapter heading in words

2012-11-11 Thread Andrew Dowell
component files below (I tried attaching them but then realised the attachments Hans sent me were off list) Thanks again Andrew Here's my environment file \startenvironment env2bookk \setuppapersize [A5][A4] \setuparranging [2UP,rotated,doublesided] \setuppagenumbering [alternative

[NTG-context] Problem with new version

2012-10-03 Thread pavel
\stopproject * environment file ausgewaehlte_environment.tex \startenvironment ausgewaehlte_environment \usemodule[typo-krn] \usemodule[letterspace] \setupoutput[pdftex] \enableregime[utf] \mainlanguage[cz

Re: [NTG-context] Problem with new version

2012-10-03 Thread Wolfgang Schuster
... \stopbodymatter \stopproject * environment file ausgewaehlte_environment.tex \startenvironment ausgewaehlte_environment \usemodule[typo-krn] […] Could anyone explain me what happened? Why the new context version complains about duplicate core namespace

Re: [NTG-context] CP 1250 component

2012-09-21 Thread Wolfgang Schuster
with diacritics t-Env.mkiv - Environment file - just load macros %\enableregime[cp1250] \input t-M.mkiv \startenvironment * \stopenvironment t-Comp.mkiv - Component - this file is to be compiled %\enableregime[cp1250] \environment t-Env.mkiv \startcomponent

[NTG-context] CP 1250 component

2012-09-19 Thread Procházka Lukáš Ing . - Pontex s . r . o .
] \input t-M.mkiv \startenvironment * \stopenvironment t-Comp.mkiv - Component - this file is to be compiled %\enableregime[cp1250] \environment t-Env.mkiv \startcomponent * Comp \stopcomponent I tried to place \enableregime[cp1250] statement to all places where it is marked

Re: [NTG-context] running context mcommon.tex

2012-08-19 Thread Sietse Brouwer
Hi John, mcommon.tex is an environment file used by mreadme.tex. (If you look inside mcommon.tex, you'll see it starts with \startenvironment) This is why it produces no pages of output. For more on environment files, see http://wiki.contextgarden.net/Command/startenvironment http

Re: [NTG-context] \startcomponent, \startproduct... + automatic file name

2012-08-09 Thread Sietse Brouwer
On Thu, 09 Aug 2012 11:27:08 +0200, Hans Hagen pra...@wxs.nl wrote: in the current beta you can say \startcomponent * Hans Wikified at http://wiki.contextgarden.net/Command/startcomponent. This trick also works for startproject, startenvironment, and startproduct, I assume

Re: [NTG-context] \startcomponent, \startproduct... + automatic file name

2012-08-09 Thread Wolfgang Schuster
for startproject, startenvironment, and startproduct, I assume? And for the general case, what about `\ctxlua{commands.processedfile}`? That looks like it should print the current filename, as long as any inclusions use the ConTeXt commands and not \input. You can use \currentcomponent

Re: [NTG-context] 2 columns: 1 language per column (solved)

2012-07-31 Thread Peter Münster
() local fp = io.open(env.tex, w) fp:write([[ \startenvironment env \def\ColumnDistance{1cm} \startmode[columns] \definepapersize[columns][ width=\dimexpr (\textwidth - \ColumnDistance) / 2 \relax, height=\textheight] \setuppapersize[columns] \setuplayout[page] \setuppagenumbering

Re: [NTG-context] 2 columns: 1 language per column (solved)

2012-07-31 Thread Otared Kavian
-file): --8---cut here---start-8--- local C = context local format = string.format local function create_environment() local fp = io.open(env.tex, w) fp:write([[ \startenvironment env \def\ColumnDistance{1cm} \startmode[columns] \definepapersize

Re: [NTG-context] simpleslides help needed

2012-07-23 Thread Pavneet Arora
: \startenvironment myquotation \setuplayout[leftmargin=1.5in,backspace=1.5in,rightmargin=1.5in] \stopenvironment ...and then the slide: \SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet} \blank %\setupquotation[leftmargin=1.5in] {\environment env-myquotation.tex \quotation

Re: [NTG-context] simpleslides help needed

2012-07-23 Thread Wolfgang Schuster
an environment file env-myquotation.tex, which has as its contents: \startenvironment myquotation \setuplayout[leftmargin=1.5in,backspace=1.5in,rightmargin=1.5in] \stopenvironment ...and then the slide: \SlideTitle{An exception: Lotus Improv, an exceptional spreadsheet} \blank

Re: [NTG-context] directory structure

2012-06-12 Thread Marco
unique to this particular document I often only use environments. template file in some directory on the system: \startenvironment myreport ... \setupexternalfigures[directory=???] \setupfootertexts[{\externalfigure[mypic]}] ... \stopenvironment External figures are also found in the local texmf

[NTG-context] directory structure

2012-06-08 Thread Jan Pohanka
path in document file? Is enviroment good aproach to define templates? I have read Han's document about project structure, but it does something a bit different I think. template file in some directory on the system: \startenvironment myreport ... \setupexternalfigures[directory

Re: [NTG-context] lucida ot

2012-04-29 Thread Wolfgang Schuster
, it hangs.. A minimal environment test file: \startenvironment env_ms_blackletter \definetypeface[mainface][rm][specserif] [Lucida Blackletter OT][default][features=default] \setupbodyfont[mainface] \stopenvironment There are two ways to get around this: 1. Load the environment before

Re: [NTG-context] lucida ot

2012-04-25 Thread Mari Voipio
[mainface] \definebodyfontenvironment[default][em=cg] \starttext \input knuth roman {\cg calligraphic} roman {\em emphasized} roman \stoptext Works fine in a single file, but as soon as I try using it in a project environment, it hangs.. A minimal environment test file: \startenvironment

[NTG-context] Project structure, (simple)font woes

2012-04-16 Thread Mari Voipio
\environment env-fonts-simplefonts \product prd-test1 \stopproject prd-test1.tex: \startproduct prd-test1 \project proj-test \input knuth \stopproduct env-fonts-simplefonts: \startenvironment env-fonts-simplefonts % FONT related setups \usemodule[simplefonts] % to get access to Calibri Cambria, win

Re: [NTG-context] Project structure, (simple)font woes

2012-04-16 Thread Wolfgang Schuster
simplefonts to load the font you have to change your environment file to this: \startenvironment env-fonts-simplefonts \usemodule[simplefonts] % to get access to Calibri Cambria, win ttf fonts \setmainfont[Cambria] \setsansfont[Calibri] \setupbodyfont[10pt,sans] \stopenvironment BTW: I can give

[NTG-context] Project, product, component...

2012-02-28 Thread Procházka Lukáš Ing . - Pontex s . r . o .
, it seems to me that I refer to file names (as with \input) when working with components rather than their ids assigned by \startcomponent or \startproduct. What would be a situation when I'd need to use ids CCC or PPP (or later, those assigned by \startproduct PROD and \startenvironment ENV)? Best

Re: [NTG-context] Project, product, component...

2012-02-28 Thread Jaroslav Hajtmar
(as with \input) when working with components rather than their ids assigned by \startcomponent or \startproduct. What would be a situation when I'd need to use ids CCC or PPP (or later, those assigned by \startproduct PROD and \startenvironment ENV)? Best regards, Lukas

[NTG-context] Project structure: Do macros go into the environment?

2011-11-13 Thread Paul Menzel
Dear ConTeXt folks, I am using the project layout [1] and have a file `env.tex` which gets loaded. \startenvironment env \mainlanguage[de] \setupinteraction [title=Titel, author=John Doe, keyword={keyword

Re: [NTG-context] Project structure: Do macros go into the environment?

2011-11-13 Thread Wolfgang Schuster
Am 13.11.2011 um 20:05 schrieb Paul Menzel: Dear ConTeXt folks, I am using the project layout [1] and have a file `env.tex` which gets loaded. \startenvironment env \mainlanguage[de] \setupinteraction [title=Titel, author=John

  1   2   >