Re: [NTG-context] Layout with equal margins.
Thanks Wolfgang! Just last few questions and I og wiht cows home... :) ** Does backspace or cutspace cover the inner space where bhe book binding is located? ** What about the margin where one would like to place chapter and section numbers? Since my printing house requires 3mm of space around the page for trimming. Does defining a paper size taller and wider than the 6x9 'pawel' paper size you gave in hte example is a solution? For the example purposes: \definepapersize[printing_sheet][width440pt,height=656pt] Then use: \setuppapersize[pawel][printing_sheet] As I understand using 'location=middle in \seputlayout would place my 6x9 page in the middle of this wider and taller sheet. So many more htings are much more clear and I am copying these messages to propose osme changes to the wiki. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Layout with equal margins.
Hi, Using the 'backspace' key worked for setting up equal margins for my downloadable version. I created a mode for printing where I used the following values: \setuplayout[ rightmargin=52pt, leftmargin=52pt, backspace=16pt, ...] Unfortunately the text width is not equal to 312pt as in hte downloadable version. I used these values since I infered that we have: ** left and righ margins on the sides of text, ** backspace which is an additional space in the gutter. Following the setup I described in the printable version I would get or I at least wanted: 52pt outer margins and 68pt inner margins. Is my reasoning correct or I am missing something? Thank you for explanation. I keep asking for I want to fix my layout and there may be others who may find it useful in the future. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Layout with equal margins.
Dear Friends, I played wih hte setup and read the posts on the list. Apparently the mechanism for setting different margins can be confusing at times. At least, it is for a beginner. I want to create 2 versions of my book: Version 1: Goes to printing with different inner and outer margins due to binding and so on, Version 2: Can be downloaded and the left and right margins are equal size. I want ot keep the 6x9 size of a page, which is: 432x648pt. The sum of margins in both cases is 120pt. It leaves 312pt for the text content. When I do hte following: \setuplayout[ alternative=doublesided, width=fit, height=fit, leftmargin=60pt, leftmargin=60pt, ...] The makeup width and text width is calculated as 472pt and the margin appears to be set just on one side. I set both cutspace and backspace to 0pt. I assumed that either value is a particular area of the page. Has any one of you handled such a case? I'll be very glad to get some directions. I can create a simple document with modes or documents to illustrate my case if needed... Thank you, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Idea for a shared repository.
Dear Everyone, We currently have the Context Garden site, wiki and htis list for documentation and resources. There is a Github contextgarden organization that can host repositories. What about creating a repository called: 'templates' or 'resources' - we can figure out the exact name later. The idea behind it is to collect templates and examples that are scattered all over the web or in the list threads. The first example that comes to my mind is the type definition for a Roboto font I needed and other type scripts that can be useful for the community. Then there are templates for books, slides or documents. The Repository has a wiki where we could add some notes about more complex items. It is not about duplicating the Context garden site but to collect code in a place where we could gradually fix possible errors or introduce improvements. All the best, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Non-standard font alternatives
I've found the following Github repository with the typscripts definitions: https://github.com/r3n4ud/roboto-context When I use this type-imp-roboto.mkiv file fonts are used and embedded when using Roboto in thes \setupbodyfont[]. When I use ebgaramond as the body font but use: \switchtobodyfont[roboto,20pt] in the \setuphead[] call the font is not embedded and seems to be not used. I am more optimistic but still confused what can be wrong. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Non-standard font alternatives
Dear Hraban, No, it does not. I am attaching hte type file and the short test document. Here are the links where one can download the fonts: https://github.com/googlefonts/roboto/releases https://fonts.google.com/specimen/Roboto+Slab I am wondering if 'hinted' or 'unhinted' release of Roboto found at Github matters. Trust me, that your time ahd help if very much appriciated. I know how much time it may take to debug such issue - just for rewriting the files with small changes. \usetypescriptfile[ebgaramond] \usetypescriptfile[roboto] \usebodyfont[roboto] \setupbodyfont[roboto] \setuphead[chapter] [style={\switchtobodyfont[roboto,20pt]\ss}] \starttext \startchapter[title=Whatever is the best title] \input tufte \stopchapter \startchapter[title={Just a second title}] Some random text. \stopchapter \stoptext \definefontfeature[robotofeatures][ mode=node, ccmp=yes, % character composition liga=yes, tlig=yes, % ligatures pnum=yes, cpsp=yes, % capital spacing kern=yes, language=dflt, protrusion=quality, expansion=quality, ] \definefontfeature[smallcaps][ % use with \addff smcp=yes, % smallcaps % c2sc=yes, % caps to smallcaps ] \starttypescript[sans][roboto,robotosans] \definefontsynonym[Roboto-Regular][name:robotoregular] \definefontsynonym[Roboto-Black][name:robotoblack] \definefontsynonym[Roboto-BlackItalic][name:robotoblackitalic] \definefontsynonym[Roboto-Bold][name:robotobold] \definefontsynonym[Roboto-BoldItalic][name:robotobolditalic] \definefontsynonym[Roboto-Italic][name:robotoitalic] \definefontsynonym[Roboto-Light][name:robotolight] \definefontsynonym[Roboto-LightItalic][name:robotolightitalic] \definefontsynonym[Roboto-Medium][name:robotomedium] \definefontsynonym[Roboto-MediumItalic][name:robotomediumitalic] \definefontsynonym[Roboto-Italic][name:robotoitalic] % \definefontsynonym[Roboto-Regular][name:robotoregular] \definefontsynonym[Roboto-Thin][name:robotothin] \definefontsynonym[Roboto-ThinItalic][name:robotothinitalic] \stoptypescript \starttypescript[sans][roboto,robotosans][name] \definefontsynonym [SansThin] [Roboto-Thin] [features=robotofeatures] \definefontsynonym [SansThinItalic] [Roboto-ThinItalic] [features=robotofeatures] \definefontsynonym [SansThinSlanted] [Roboto-ThinItalic] [features=robotofeatures] \definefontsynonym [SansLight] [Roboto-Light] [features=robotofeatures] \definefontsynonym [SansLightItalic] [Roboto-LightItalic] [features=robotofeatures] \definefontsynonym [SansLightSlanted] [Roboto-LightItalic] [features=robotofeatures] \definefontsynonym [Sans] [Roboto-Regular] [features=robotofeatures] \definefontsynonym [SansItalic] [Roboto-Italic] [features=robotofeatures] \definefontsynonym [SansSlanted] [Roboto-Italic] [features=robotofeatures] \definefontsynonym [SansCaps] [Roboto-Regular] [features={robotofeatures,smallcaps}] \definefontsynonym [SansMedium] [Roboto-Medium] [features=robotofeatures] \definefontsynonym [SansMediumItalic] [Roboto-MediumItalic][features=robotofeatures] \definefontsynonym [SansMediumSlanted][Roboto-MediumItalic][features=robotofeatures] \definefontsynonym [SansBold] [Roboto-Bold] [features=robotofeatures] \definefontsynonym [SansBoldItalic] [Roboto-BoldItalic] [features=robotofeatures] \definefontsynonym [SansBoldSlanted] [Roboto-BoldItalic] [features=robotofeatures] \definefontsynonym [SansBlack] [Roboto-Black] [features=robotofeatures] \definefontsynonym [SansBlackItalic] [Roboto-BlackItalic] [features=robotofeatures] \definefontsynonym [SansBlackSlanted] [Roboto-BlackItalic] [features=robotofeatures] \stoptypescript \starttypescript[sans][roboto-light][name] \definefontsynonym [Sans] [Roboto-Light] [features=robotofeatures] \definefontsynonym [SansItalic] [Roboto-LightItalic] [features=robotofeatures] \definefontsynonym [SansSlanted] [Roboto-LightItalic] [features=robotofeatures] \definefontsynonym [SansCaps] [Roboto-Light] [features={robotofeatures,smallcaps}] \definefontsynonym [SansBold] [Roboto-Medium] [features=robotofeatures] \definefontsynonym [SansBoldItalic] [Roboto-MediumItalic] [features=robotofeatures] \definefontsynonym [SansBoldSlanted] [Roboto-MediumItalic] [features=robotofeatures] \stoptypescript \starttypescript[sans][roboto-medium][name] \definefontsynonym [Sans] [Roboto-Medium] [features=robotofeatures] \definefontsynonym [SansItalic] [Roboto-MediumItalic] [features=robotofeatures] \definefontsynonym [SansSlanted] [Roboto-MediumItalic] [features=robotofeatures] \definefontsynonym [SansCaps] [Roboto-Medium] [features={robotofeatures,smallcaps}] \definefontsynonym [SansBold]
Re: [NTG-context] Non-standard font alternatives
Yes, I did - all the files are listed. I can attach my files if that can be of any help - in case when someone wants to be generous with time and wisdom. ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Non-standard font alternatives
> > Dear Matthew, I wrote you off the list in connection to the other thread where Hans helped me with using Roboto Flex. I used your typescript definitions but the font is not embedded in the document. ** I've copied all the ttf font files to the recommended directory structure under: texmf-local/fonts/truetype. ** I've created a type-imp-roboto.mkiv file and saved it in the recommended location under: texmf-local/tex/.../mkiv/. Using: \usetypescript or \usetypescriptfile or \usebodyfont [roboto] with setuphead does not work. I use the following simplest setup command: \setuphead[chapter][style={\switchtobodyfont[roboto,20pt]\ss}] I will be glad to join forces and create the typescript file but maybe missing something obvious. While I could use an inline definition suggested by Hans in the other thread, Roboto is a great font and I or other people would like to use it as a shared resource. All the best and thanks for help and feedback, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.
Dear Hans, Thank you for the template. Roboto Flex gets embedded in the generated PDF document. I read the co-fonts manual and the wiki once again. I'll try to put together a handful of ideas for rewriting the wiki to make certain concepts more friendly for beginners. My next step will be to create a proper working type-imp-roboto-flex.mkiv and type-imp-roboto.mkiv for the non-variable font edtion to be more portable. Roboto is a very good font and is recommended as a body font for presentations or headings, which made me use in the first place. I must admit that I am struggling a bit but will try to take small steps when creating that typescrip definition file. All the best and thank you, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.
> > Hi Hans, > I will write what I want to acomplish. While it is definitely thrivial, > I'm either missing something obvious or more experienced users suffer from > the curse of knowledge. > > I want ot use Roboto Flex for my chapter and section heads with Garamond > Premier for the body contents. > > I followed the Context wiki example and consistant examples from the web. > > Here is my code: > \usemodule[fonts-variable] > \definefontfamily[roboto-flex][ss][rotoboflex] > % robotoflex.ttf is the recognized font file name. > \setuphead[chapter] > [style={\switchtobodyfont[roboto-flex,20pt]\ss}] > > While the Garamond is embedded and text is styled, the chapter tible is > typeset with Garamond not Roboto. > > Any hints or feed back will be very appriciated. > > Thank you, > Pawel > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Google's Roboto Flex font typescript and goodies definition.
Hi Hans, I will write what I want to acomplish. While it is definitely thrivial, I'm either missing something obvious or more experienced users suffer from the curse of knowledge. I want ot use Roboto Flex for my chapter and section heads with Garamond Premier for the body contents. I followed the Context wiki example and consistant examples from the web. Here is my code: \usemodule[fonts-variable] \definefontfamily[roboto-flex][ss][rotoboflex] % robotoflex.ttf is the recognized font file name. \setuphead[chapter] [style={\switchtobodyfont[roboto-flex,20pt]\ss}] While the Garamond is embedded and text is styled, the chapter tible is typeset with Garamond not Roboto. Any hints or feed back will be very appriciated. Thank you, Pawel > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Google's Roboto Flex font typescript and goodies definition.
Dear Everyone, Following my attempts to create and learn Context's ways to manage fonts, I would like to ask about the following: I've created the structure for fonts in texmf-local folder and after running scripts they are listed. The output for Roboto Flex is as follows: identifier familyname fontname filename subfont instances robotoflex robotoflex robotoflexregular robotoflex.ttf thin extralight light regular medium semibold bold extrabold black extrablack thinitalic extralightitalic lightitalic italic mediumitalic semibolditalic bolditalic extrabolditalic blackitalic extrablackitalic What is the proper way to use family name or font name to create a typescript file and a goodies file to take advantage of optical sizes. Google's Roboto Flex is an upgraded Roboto as a variable font. I know that this topic has been discussed many times and I've read the fonts manual but still have these questions. Most of the examples are rather ready solutions or templates but not always cover ways how to figure out values from scratch and how they correspond. Thanks for help, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Typescript definitions and font goodies for Adobe Garamond Premier Pro.
Hi Everyone, Adobe's Garamond Premier Pro is one of the most popular fonts. However, it seems that there are always questions on how to properly use its features, such as optical sizes. I've found this Stackoverflow thread tha tprovides code and instructions: https://tex.stackexchange.com/questions/466645/context-how-to-use-font-optical-sizes Context wiki does contain a page about using fonts, with instructions for optical sizes and other features too. Extra or less frequently used features are mentioned too. Do you know of any repository or would you be willing to share setup definition files for typescripts and goodies? Maybe we could update and expand a wiki section with such files and instructions? All the best, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] ConTeXt features in pandoc 3
> > > Hi Albert, Fantastic news. Thanks to Pandoc and completions in editors I can create great looking documents at the speed of light... Since you've asked for ideas or suggestions here are a few: ** Create a Pandoc markdown directive that woulc allow for document includes - in the style and spirit of Context components. ** Add the ability to place a pandoc.yaml file in the folder so it can be picked by Pandoc to get options for this folder and contained documents, ** Use LUA to run something like pipes inside Pandoc itself - LUA could be the format for the 'pandoc' file I've mentioned, ** Something Context and accessibility related: Screen readers allow to navigate quickly by element type, for example: heading / list / form elements. Headings are very useful to quickly move around the document but htere is one corner case. Context splits the heading number and heading itself into separate parts. When doing this quick navigation the user hears for example: 1.2 or 3.4 and need to reach for the arrow keys to scroll to the next logical line to read the very heading. I don't know if it is possible at the tagging level to combine the number and the heading tible togehter wiht a space in between, os htey are not stringed together in an unnatural way. Taggs are a bit like a parallel universe. Please drop a line if you would like to digg further... All the best, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Use section custom value in a header text.
> > > Hi Everyone, Thanks for the answers. I learnt something new. I ended up using the: \namedstructureuservariable{chapter}{my_custom_variable} command with \setupheadertexts. It worked well - at least for my case. While reading the wiki I started wondering what is the role of: lefttext / middletext / righttext keys in \setupheader and \setupfooter commands. I would understand htem as keys that can be assigned some value for their respective slots. I tried to put some texts manually, but there was no effect - or maybe there is some trick to that. It was just a bit of exploration - the solution I described works well for my case. Thanks again for your time and experience... Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Use section custom value in a header text.
Hi, Let me clarify my question more... I need to attach some value to a chapter in that key. That custom prefix + the value in the key is ment to be in the header or a footer as a matter of fact. The case can apply to both headers and footers. I tried: \chapter[title={A sample title}][custom_random={custom_value}] \setupheadertexts[{Prefix: \structureuservariable{custom_random}}] ... \stopchapter I tried this code when trying to figure out the mechanism. The prefix string in placed in the header, but hte custom value of the attached key is not expanded.. Evey page will contain just one section started by a \startchapter and \stop chapter. I would like to put this custom attached value in the right slot in the document header. I hope that htis time around htigs are more clear. On Tue, Dec 20, 2022 at 8:13 PM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 20.12.22 um 19:44 schrieb Pawel Urbanski via ntg-context: > > Dear Friends, > > I spent some time searching and coding simple documents, but failed and > > therefore I'm asking for help... > > A section such as chapter cn have custom keys with values. One uses the: > > \structureuservariable command to access such values. > > How can I use such a value to create a custom header in a format: > > Prefix: \structureuservariable{foo} > > > > I am asking for the only thing that worked when I tried was calling the: > > \setupheadertexts command inside a chapter environment block with some > > prefix. Unfortunately the value from the custom field was not expanded. > > It was correctly inserted in a regular paragraph. > > For example: > > \startchapter > > [title={A sample title}][custom_something={random_value}] > > ... > > \stopchapter > > > > How can I put the value of: custom_something in the header with some > prefix? > > \define[2]\MyChapter{No.#1 – Prefix > \structureuservariable{custom_something}: #2} > > \setuphead[chapter][ > command=\MyChapter, > ] > > Is this what you meant? > > Hraban > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Use section custom value in a header text.
Dear Friends, I spent some time searching and coding simple documents, but failed and therefore I'm asking for help... A section such as chapter cn have custom keys with values. One uses the: \structureuservariable command to access such values. How can I use such a value to create a custom header in a format: Prefix: \structureuservariable{foo} I am asking for the only thing that worked when I tried was calling the: \setupheadertexts command inside a chapter environment block with some prefix. Unfortunately the value from the custom field was not expanded. It was correctly inserted in a regular paragraph. For example: \startchapter [title={A sample title}][custom_something={random_value}] ... \stopchapter How can I put the value of: custom_something in the header with some prefix? All the best and thanks, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Project structure with nested subfolders and shared environments.
Thank you for responses. While the ability to sort of inherit setups would be very useful it looks like as of time of posting this message in December 2022 it is not possible. As a workaround I will create a shead environment file and just bulk copy it to subfolders. In case when I'll need to globally change some configuration I can just replace the file. I keep all my documents in GIT so the ability to reverte hte change is just a command away. Thanks for help. Best, Pawel On Fri, Dec 16, 2022 at 10:55 AM Henning Hraban Ramm via ntg-context < ntg-context@ntg.nl> wrote: > Am 16.12.22 um 10:09 schrieb Pawel Urbanski via ntg-context: > > When I compile a document I switch to the SubSubFolder for the document > > file is in there. > > In my experience this won’t work. ConTeXt searches from the current > folder (you can configure search paths, but I gave up on that, and you’d > have to do it in the called file). > > It should be enough to call the environment from the project, but either > the project or the environment isn’t found if the path doesn’t fit the > call location. > > Hraban > > ___ > If your question is of interest to others as well, please add an entry to > the Wiki! > > maillist : ntg-context@ntg.nl / > https://www.ntg.nl/mailman/listinfo/ntg-context > webpage : https://www.pragma-ade.nl / http://context.aanhet.net > archive : https://bitbucket.org/phg/context-mirror/commits/ > wiki : https://contextgarden.net > > ___ > ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
Re: [NTG-context] Project structure with nested subfolders and shared environments.
> > > Hi, To address the first question: \usepath[{Metadata}] % Is the actual code - I put spaces for readability reasons, which was a bad idea. When I compile a document I switch to the SubSubFolder for the document file is in there. I will appriciate any further hints. Obvious htings are usually obvious for people more experenced than I am with Context at this time. Best, Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___
[NTG-context] Project structure with nested subfolders and shared environments.
Dear Everyone, I'm setting up a project structure that will possibly let me share styles and layouts with lots of documents I need to create weekly. Unfortunately my definitions in the environment file or files are ignored... Here is the setup under the purposely created structure: ** The folder called: 'MainFolder' is the root of my document repository. ** The 'Metadata' folder inside the 'MainFolder' contains environment files. ** The 'SubFolder/SubSubFolder' inside the 'MainFolder' is the nestin glevel I need with all the documents. Here are the files: % /MainFolder/Meta.tex \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 * \startchapter[title={ Nested }] \input tufte \stopchapter \stopcomponent \stopproduct Unfortunately the default font is applied and EB Garamond is not picked up from the environment. The question is: ** How can I use such a structure to share styles and layouts kept i the 'Metadata' folder and use htem in products that are ment to be complete documents kept in the 'SubSubFolders'? All the very best and htank you in advance for any clarifications... Pawel ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context webpage : https://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : https://contextgarden.net ___