Re: [NTG-context] :Re: How to use ConTeXt extensions with VS Code
Dear Hans, I tried to install context extension using the command ‘code’, but I couldn’t make it. Using ‘context development team.context’ instead context didn’t work either. However, by copying all the files in …/vscode/extensions to ./vscode/extensions and enable it as before, it works. Thank you again. Best regards, Dalyoung > 2019. 9. 3. 오후 9:43, Jeong Dal 작성: > > Dear Hans, > > I tried to install your vscode extension for context using the command : > > code --extensions-dir > /Users/graph/ConTeXtLMTX/tex/texmf-context/context/data/vscode/extensions > --install-extension context > > > Then I got a following error message: > > Installing extensions... > Extension 'context' not found. > Make sure you use the full extension ID, including the publisher, e.g.: > ms-vscode.csharp > Failed Installing Extensions: context > > What am I missing in this process? > > Thank you. > Best regards, > > Dalyoung > ___ 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] Overfull hbox issues: different font,
Hello everyone, I apologize if this has been brought up already (or if my mistake is painfully obvious), but I'm having a slight issue with overfull hboxes. I think it is connected to hyphenation and/or using different fonts. Test file: at the end of this mail or at https://gist.github.com/JulianGmp/fe20df633554f5aff02e02eb47a6780f The output PDF I got: https://i.imgur.com/c8S7Di5.png Best regards, Julian % Compiled document (screenshot): % https://i.imgur.com/c8S7Di5.png \setuppapersize[A4] \showframe \setuplayout[ topspace=1cm, header=0cm, width=16cm, footer=0cm, bottom=1cm, ] \definefontfamily[arialFamily] [sans] [Arial] \definefontfamily[calibriFamily] [sans] [Calibri] % \setupbodyfont[myfontfamily, 12pt] \define\printExample{Es kann allerdings ein Problem auftreten: Es ist nicht immer eindeutig, ob die gemessen Phasenerschiebung eine komplette Umdrehung enthaltem. Angenommen sei eine gemessene Verschiebung von \m{\Delta_{\varphi}}, visualisiert in Abbildung 10 ... \blank[small] Zwar wird dadurch eine gewisse Übersicht geschaffen, jedoch werden potentielle Namens- konflikte nicht verhindert.} \starttext \language[de] \section{Standard Font} \subsection{German} \language[de] \printExample{} \subsection{English} \language[en] \printExample{} \switchtobodyfont[arialFamily, 12pt] \section{Arial 12pt} \subsection{German} \language[de] \printExample{} \subsection{English} \language[en] \printExample{} \page \switchtobodyfont[calibriFamily, 14pt] \section{Calibri 14pt} \subsection{German} \language[de] \printExample{} \subsection{English} \language[en] \printExample{} \stoptext ___ 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 ___
Re: [NTG-context] Page number woes
Mari Voipio schrieb am 02.09.2019 um 13:07: Hello! I have a document where I want the page numbers to start from the first page of chapter one. There's bunch of stuff before that, including a table of contents. This has worked fine: \startproduct prd-pr23 \startfrontmatter \setuppagenumber[stop] \component pr23-cover_front_web \component blank.tex \component c-contents \stopfrontmatter \startbodymatter \setuppagenumber[start] \component dtr_pg.tex \stopbodymatter \stopproduct However, now I need to switch to using a full-page pdf as cover page and changing that one line messes up with my page numbering, now TOC appears as page 1 and chapter one starts from page 2 in my test file. \startproduct prd-pr23 \startfrontmatter \setuppagenumber[stop] \startpagefigure[cover_vaisala_front_stripped]\stoppagefigure \component blank.tex \component c-contents \stopfrontmatter \startbodymatter \setuppagenumber[start] \component dtr_pg.tex % third chapter (DTR) \stopbodymatter \stopproduct What is it that I don't see? I tried moving the cover page before the \startfrontmatter, but that didn't change anything, TOC still starts on page 2 when it shouldn't have a page number at all. Why does switching the cover page from .tex to \pagefigure have such an effect and how can I counteract it? Mari The \setuppagenumber command takes an assignment as argument but in your example you pass keywords to it. When you change the setting in the frontmatter to \setuppagenumber[state=stop] the numbers disappear. Since settings in a sectionblock are local there is no need to enable the counter in the bodypart because the previous setting is forgotten. When I look in your attached files I see that some file contain the setting \setuppagenumber[state=stop] which disabled the page counter. Wolfgang ___ 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] :Re: How to use ConTeXt extensions with VS Code
Dear Hans, I tried to install your vscode extension for context using the command : code --extensions-dir /Users/graph/ConTeXtLMTX/tex/texmf-context/context/data/vscode/extensions --install-extension context Then I got a following error message: Installing extensions... Extension 'context' not found. Make sure you use the full extension ID, including the publisher, e.g.: ms-vscode.csharp Failed Installing Extensions: context What am I missing in this process? Thank you. Best regards, Dalyoung ___ 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] 13th ConTeXt meeting - final reminder!
Hi all, This is a last reminder that the registration for the 13th ConTeXt meeting in Bassenge will remain open only until Sunday September 8. Two weeks from now we will be listening to the third talk of the first meeting day and so will be well on our way to learning all there is to know about the latest ConTeXt and LuaTeX developments. If you have not registered to the meeting, there are only five days left to decide to join us in our journey of discovery :) The updated schedule and registration information is available on the meeting website: https://meeting.contextgarden.net/2019/ Hope see many of you soon! Taco ___ 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 ___