[NTG-context] Makeup on same page as main content
Hi all, I would like to create a makeup environment that will contain author, university logo and date and other information that doesn’t occupy its own page that I can define in an environment file and reuse. The logo and date should occupy the margins at the top at the left and right respectively. Then there will be course information on the left and a framed assignment box on the right (as it will have special fonts). Much like the title of a latex article class. It should look something like this: [logo] [date] - [course]: [Code] [assignment] [name] [ ] [class][ 1] -- body Any pointers on how I can achieve this? Jethro ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Trouble with using predefined typescript files
Hello everyone, I am reading the ConTexT manual’s chapter on Typography. I want to achieve a Palatino-like small font which is bolder than the default provided by ConTeXt like in some math textbooks. So I loaded the typescript files ie type-xxx stated in the chapter in turns no matter the type-xxx I load. I always got this in the log: fonts > typescripts > unknown library 'xtx' fonts > typescripts > unknown library 'gyr' selectfont > the requested font 'palatino' has no files for the 'tf' alternative, Latin Modern is used instead. selectfont > the requested font 'palatino' has no files for the 'tf' alternative, Latin Modern is used instead. selectfont > the requested font 'palatino' has no files for the 'tf' alternative, Latin Modern is used instead. selectfont > the requested font 'palatino' has no files for the 'tf' alternative, Latin Modern is used instead. \usetypescriptfile[type-xtx] \usetypescriptfile[type-gyr] \usetypescript[palatino][ec] \definefontfamily [mainface] [rm] [palatino] \definefontfamily [mainface] [ss] [palatino] \definefontfamily [mainface] [mm] [palatino] \definefontfamily [mainface] [tt] [palatino] \setupbodyfont[mainface,11pt] \starttext Hello world! \stoptext What am I missing? Are these not available right from the box like the book said? These are ‘predefined typescripts’ as the book said after all. Thanks. I use MacOS if that helps current version of ConTeXt: 2021.03.05 19:11 ~Jethro ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] Project structure: Specifying environment in component
Hello everyone, I am creating a project of notes across different areas of mathematics I am studying and the structure looks like this: env_notes.tex project_notes.tex geogroups/groups-prd_geometry-groups.tex geogroups/groups-c_chapter1.tex I am following this wiki: https://wiki.contextgarden.net/Project_structure My question is: Why do I need to specify \environment env_notes before It works at the component level? The wiki didn’t say that. Plus it is already specified at the product level. Thanks. ~Jethro___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___