[NTG-context] Placing a page without a blank page after.
I have tried various things like \start/stop/standardmakeup, \start/stop/TEXpage and so on. I am trying to place a full sized page including bleeds without a blank page following. Sometimes It works but mostly it gives me a blank page following. What is the recommended solution? -- John Culleton Wexford Press Free list of books for self-publishers: http://wexfordpress.net/shortlist.html Updated PDF e-book: Create Book Covers with Scribus 1.4.5 coming soon at http://www.booklocker.com/! ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] (hindi) font questions
Hi, I'd like to type set a single hindi/devanagari word in a chapter heading (using standalone MkVI), where I need your help for some questions/problems: - which (free) font do you suggest ? right now I'm using Lohit-Devanagari. text font is 11pt Palatino, Lohit doesn't match too good, and a bold version would be nice for the chapter head. - font size: how do I define this font to get automatic/matching font sizes for both the chapter head and the title of contents ? right now I use \definefont [hindib] [Lohit-Devanagari at 24pt] ... \mychapter{Danke -- {\hindib धन्यवाद}} which gives a reaosonable font size for the chapter title, but of course that's way too large for the TOC:-( what's the right way to define a scalable single font (or two, if you have a suggestion for a normal+bold devanagari font) in ConTeXt ? thanks, Harald -- I hope to die ___ _ before I *have* to use Microsoft Word., 0--,|/OOO\ Donald E. Knuth, 02-Oct-2001 in Tuebingen._/ / /OOO\ \ \/OOO\ \ O|// \/\/\/\/\/\/\/\/\/ Harald Koenig // / \\ \ koe...@tat.physik.uni-tuebingen.de ^ ^ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] line spacing (\setupinterlinespace) with grid
Pablo Rodriguez írta: On 04/08/2015 07:12 PM, Csikos Bela wrote: [...] I think there is setting to change the default line spacing to which the grids are adjusted. The question is how? Add the following line before \setuplayout: \setupinterlinespace[line=3em] This is the standard way to set the default interline space in the document Yes, it seems this is what I need. Thanks, bcsikos ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] caption setup
Hello: I have to setup caption formatting for Hungarian. In Hungarian I have to write #. figure. instead of Figure #: The exact word for figure is ábra, so what I want exactly is: # ábra., eg 1. ábra. How can I do it? (If I set the document language to Hungarian, the word ábra is shown correctly but the order is not correct; I get ,. ábra:#.) Another question: for caption text I want it to be justified and the last line of the caption centered. How can I do that? Thanks, bcsikos ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] For the Mac users: AppleScript to launch ConTeXt in a flexile way
Updated (1.2.4) http://dflect.net/context-typeset-tool/ Changes: 1.2.4 (61) (2015-04-09) Added the option to enforce SyncTeX via command switch `--synctex=zipped`. This will work also where `\enabledirectives [system.synctex]` doesn’t work, for example in standalone tex documents without components or other input files. Changed the “typesetting started”-notification emoji from U+231A U+FE0F to U+2615 U+FE0F. (Thank you, Apple, for having converted the formerly nice Watch emoji into a blemished Apple Watch emoji that resembles a piece of coal in 12pt.) For semantic coherence changed the “typesetting finished” emoji from U+1F3C1 to U+1F37A ;-) Manual: Added note on auto syntax check in Product Mode. -- Thomas ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Having difficulty getting unicode characters to display in ConTeXT out put PDF
On 4/8/2015 9:28 AM, Henning Hraban Ramm wrote: Am 2015-04-08 um 00:40 schrieb david.boerschl...@juno.com: I am having difficulty getting Unicode characters to display correctly in PDF output using ConTeXT. Also, the PDF Bookmarks are not showing in this example. Would you please give me some pointers and put a working multi-lingual example on the contextgarden.net website? You don’t need the „regime“ stuff in ConTeXt MkIV, at least as long as you write in UTF-8. But you need fonts that support your desired glyphs. DejaVu supports Russian and Armenian, but not Punjabi, Arabic and Hebrew (at least in the version installed at my computer). I can’t help you with the PDF bookmarks, sorry; I tried different options, but the functionality is probably broken. hm, your example shows unicode bookmarks here (in sumatra pdf at least) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Textbackgrounds interrupted by floats
On 7 April 2015 21:53:40 AEST, Wolfgang Schuster wrote: Am 07.04.2015 um 13:31 schrieb robin.kirk...@csiro.au: Here is problem that must have been asked about before, but I can’t seem to find a solution on the archive or anywhere else. I want a colour background for verbatim text (for code), and floating figures. However if a figure floats to the bottom (as in the example below), and the verbatim text is broken over to the next page because it is long, I don’t want the colour background under the figure as well — I want no background at all. What is the correct setup to do that? Add the following line to your document: \setconstant\kindofpagetextareas\plusone Wolfgang Thanks Wolfgang, obscure but works perfectly — Robin ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] SyncTeX and mkiv
On 4/8/2015 10:43 AM, Otared Kavian wrote: Hi Thomas, Mojca and Andreas, After playing with several options as either of you suggested, I ended up with the following setups which solve partially the misbehaviour of SyncTeX in mkiv. The solution works for with TeXShop on Mac OS X 10.10.2 and the latest standalone beta of ConTeXt. 1) I have in a file named mkiv.engine (which sits in the folder ) the following lines: #!/bin/bash export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH context --autogenerate $1 —purgeall 2) As one may see I do not use the option —synctex in the above context call, since it doesn’t work correctly (beware the — shown is actually two hyphens {-}{-}…). 3) In the TeXShop Preferences, in the Typesetting pane, I have checked the radio button next to SyncTex (Tex ≥ 2010) as one may see on the attached screen capture. For now the syncing seems to work essentially fine (although it is not as precise as when using Plain TeX, or LaTeX, but probably this might be expected beacuse mkiv is more complex). I checked the context runner, maybe the next beta works better (i get a zip with --synctex=zipped) but i have no clue if something useful is in there (useability also depends on how the content is placed / generated and there not always a 1-1 relation between this (and i have to time or motivation to cook up a better alternative that suits context better). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] adjust text width mkiv
Am 07.04.2015 um 15:15 schrieb John Culleton j...@wexfordpress.com: I am still matching my file with a previous InDesign layout. On one particular page I want to narrow the text width a bit to cause the bottom line to fill the full text width. I have tried adjusting \hsize within braces, and changing setlayout. I am considering putting all the text in a framedtext but with the frame suppressed. You mean like the second paragraph in the attached PDF? Wolfgang test.pdf Description: Adobe PDF document ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Having difficulty getting unicode characters to display in ConTeXT out put PDF
Am 2015-04-08 um 00:40 schrieb david.boerschl...@juno.com: I am having difficulty getting Unicode characters to display correctly in PDF output using ConTeXT. Also, the PDF Bookmarks are not showing in this example. Would you please give me some pointers and put a working multi-lingual example on the contextgarden.net website? You don’t need the „regime“ stuff in ConTeXt MkIV, at least as long as you write in UTF-8. But you need fonts that support your desired glyphs. DejaVu supports Russian and Armenian, but not Punjabi, Arabic and Hebrew (at least in the version installed at my computer). I can’t help you with the PDF bookmarks, sorry; I tried different options, but the functionality is probably broken. \usetypescript[dejavu] \setupbodyfont[dejavu, 9pt] % Enables index in PDF document \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[section][force=yes] % Let us say hello in many languages \starttext \setupfooter [state=start] \page[1] \startfrontmatter {\midaligned {\tfc{\WORD{Hello World \placecontent[extras={22=page},alternative=c] \stopfrontmatter \page[yes] \startbodymatter \section{1. Russian: Привет мир!} Russian: Привет мир! \\ \section{2. Punjabi: ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ!} Punjabi: ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ! \\ \section{3. Arabic: مرحبا أيها العالم!} Arabic: مرحبا أيها العالم! \\ \section{4. Hebrew: שלום העולם!} Hebrew: שלום העולם! \\ \section{5. Armenian: Բարեւ աշխարհ!} Armenian: Բարեւ աշխարհ! \\ \stopbodymatter \stoptext Greetlings, Hraban --- http://www.fiee.net http://wiki.contextgarden.net https://www.cacert.org (I'm an assurer) ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Having difficulty getting unicode characters to display in ConTeXT out put PDF
I am having difficulty getting Unicode characters to display correctly in PDF output using ConTeXT. Also, the PDF Bookmarks are not showing in this example. ConTeXt ver: 2014.12.11 12:02 MKIV beta fmt: 2014.12.15 int: english/english I am attaching a minimal example. Would you please give me some pointers and put a working multi-lingual example on the contextgarden.net website? Thanks much. David Boerschlein (214) 412-3275 home office land (585) 278-4687 cell www.linkedin.com/in/davidboerschlein Old School Yearbook Pics View Class Yearbooks Online Free. Search by School Year. Look Now! http://thirdpartyoffers.juno.com/TGL3141/552424cca81e724cc01f5st02duc hello_world.pdf Description: hello_world.pdf hello_world.log Description: hello_world.log hello_world.tex Description: hello_world.tex hello_world.tuc Description: hello_world.tuc ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Help wanted: cross referencing
Maybe a third post will get attention from a guru… Hi all, As explained in the example below, I would like to setup the referencing mechanism so that a cross reference within a given chapter gives only the number of the section and that of an equation, while if the same reference is used in another chapter then the number of the chapter is also included. Is this possible with mkiv? Best regards: OK Here is a minimal example of what I would like to obtain: % begin prefix-reference.tex \setupinteraction[state=start] \setupformulas[prefix=yes,prefixsegments=chapter:section,way=bysection,location=left] \def\eqref#1{(\in[eq:#1])} \starttext \startchapter[title=Introduction to sequences of numbers] \startsection[title=On sequences,reference=sec:Sequences] \placeformula[eq:Number-e] \startformula a_{n} := \sum_{k=0}^n {1 \over n!} \stopformula \stopsection The sequence defined in equation \eqref{Number-e} cannot converge to a rational number. (Here I would like to have (1.1) instead of (1.1.1)). \startsection[title=Cauchy sequences] The sequence defined in \eqref{Number-e} satisfies $a_{n} a_{n+1} 3$ but it does not converge to a rational number. (Here I would like to have (1.1) instead of (1.1.1)). \stopsection \stopchapter \startchapter[title=What is a real number] \startsection[title=Limits of Cauchy sequences] We proved in \in{section}[sec:Sequences] that the sequence defined in equation \eqref{Number-e} cannot converge to a rational number. (Here I would like to have section 1.1, and equation (1.1.1)). \stopsection \stopchapter \stoptext % begin prefix-reference.tex ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] SyncTeX and mkiv
Hi Thomas, Mojca and Andreas, After playing with several options as either of you suggested, I ended up with the following setups which solve partially the misbehaviour of SyncTeX in mkiv. The solution works for with TeXShop on Mac OS X 10.10.2 and the latest standalone beta of ConTeXt. 1) I have in a file named mkiv.engine (which sits in the folder ) the following lines: #!/bin/bash export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH context --autogenerate $1 —purgeall 2) As one may see I do not use the option —synctex in the above context call, since it doesn’t work correctly (beware the — shown is actually two hyphens {-}{-}…). 3) In the TeXShop Preferences, in the Typesetting pane, I have checked the radio button next to SyncTex (Tex ≥ 2010) as one may see on the attached screen capture. For now the syncing seems to work essentially fine (although it is not as precise as when using Plain TeX, or LaTeX, but probably this might be expected beacuse mkiv is more complex). Thanks to all of you! Best regards: OK pref-texshop.pdf Description: Adobe PDF document On 07 Apr 2015, at 16:33, Thomas Floeren t...@mac.com wrote: On 7 Apr 2015, at 10:32, Mojca Miklavec wrote: Hi, SyncTeX usually works for me, but I need to use context --synctex ... (I don't know if --synctex=1 is supposed to work in ConTeX. I believe that Hans changed the syntax.) Enabling it inside the document doesn't work for me for some reason. Hans suggested to put the command inside the first line (modeline or however that one is called). But context --synctex filename.tex generally works. Yes, this is strange. `\enabledirectives [system.synctex]` works for me *if* it’s in the product file (no `--synctex` switch needed). It even works if it is not in the first line, for example: Product file: \startproduct pd-test \enabledirectives [system.synctex] \component 01-intro \stopproduct Component: \startcomponent 01-intro Hi there, can you show me this sentence in the source file? \stopcomponent But, indeed, it doesn’t work with single-file documents. -- Thomas ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] tagging heads and empty output
On 4/3/2015 8:59 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: Hi Hans, On Sat, 28 Mar 2015 16:17:33 -0600, Hans Hagen pra...@wxs.nl wrote: On 3/28/2015 10:12 PM, Idris Samawi Hamid ادريس سماوي حامد wrote: On Sat, 28 Mar 2015 07:34:32 -0600, Idris Samawi Hamid ادريس سماوي حامد isha...@colostate.edu wrote: Dear gang, Two issues: 1. What is the proper way to tag heads in itemize? I do the next beta will provide item head=yes === div class=itemgroup itemize symbol-n level-1 div class=item head-yes div class=itemtag1./div div class=itemcontentHead 1 div class=break!--empty--/div Test 3/div /div div class=item head-yes div class=itemtag2./div div class=itemcontentHead 2 div class=break!--empty--/div Test 4/div /div /div === Ok, but 'Head 1' and 'Head 2' are still not tagged, so we can't translate the actual head, e.g., \setupitemize[each][headstyle=bold] into css, while leaving the paragraph after the break unaffected. Current workaround: == \definestartstop[heading][style=] \startitemize[n] \starthead {\startheading Head 1 \stopheading} Test 1 \stophead \starthead {\startheading Head 2 \stopheading} Test 2 \stophead \stopitemize = div class=itemgroup itemize symbol-n level-1 div class=item head-yes div class=itemtag1./div div class=itemcontentdiv class=construct headingHead 1/divdiv class=break!--empty--/div Test 1/div /div div class=item head-yes div class=itemtag2./div div class=itemcontentdiv class=construct headingHead 2/divdiv class=break!--empty--/div Test 2/div /div /div === ok, you now get (next beta) ... that's all you get (too much mess otherwise) item kind=head itemtag2./itemtag itemcontentitemheadHead 2/itemhead itembodyTest 2/itembody/itemcontent /item - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] line spacing (\setupinterlinespace) with grid
Hello: When I set grid layout on (\setuplayout[grid=yes]) \setupinterlinespace has no effect. Here is an example: \setuplayout[grid=yes] % or grid=no \starttext \input tufte \par \setupinterlinespace[small] \input tufte \par \setupinterlinespace[medium] \input tufte \par \setupinterlinespace[big] \input tufte \par \setupinterlinespace[1] \input tufte \par \setupinterlinespace[1.3] \input tufte \par \setupinterlinespace[1.5] \input tufte \par \setupinterlinespace[2] \input tufte \par \setupinterlinespace[3] \input tufte \stoptext I attach the correpsonding pdf outputs (with grid on and off). My context version according to the log files: tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.01.03 00:40 MKIV current fmt: 2015.4.1 int: english/english system 'cont-new.mkiv' loaded How can I change/set line spacing when grid layout is turned on? Thanks, bcsikos linespacing-with-grid-on.pdf Description: Adobe PDF document linespacing-with-grid-off.pdf Description: Adobe PDF document ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Figure-libray/resource library
On 4/7/2015 7:18 PM, Willi Egger wrote: Hi all! I am working on an older project… Herein a resource-library is used. Now I have the problem, that Context does not find page 103 (resulting in a fatal error: LuaTeX error: PDF inclusion: required page 103 does not exist == Fatal error occurred, no output PDF file produced!). When I put the the figure contained on page 103 as an \externalfigure[mylibrary][page=103], the figure is displayed. — Now I tried to remake the resource library with changing the format from MKII to MKIV. However there seems to be a problem, since I get only two pages of output. Even with the enclosed minimal I get only two empty pages… What to do? xml core load error in [id: main, file: test.xml]: invalid xml file - parsed text so ... clue: look at comment - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Having difficulty getting unicode characters to display in ConTeXT output PDF
On 04/07/2015 08:40 PM, david.boerschl...@juno.com wrote: I am having difficulty getting Unicode characters to display correctly in PDF output using ConTeXT. Also, the PDF Bookmarks are not showing inthis example. ConTeXt ver: 2014.12.11 12:02 MKIV beta fmt: 2014.12.15 int: english/english I am attaching a minimal example. Would you please give me some pointers and put a working multi-lingual example on the contextgarden.net website? Hi David, this sample (slightly modified from the one Hraban posted before) works fine with latest beta from 2015.04.08 14:19 (and stable version from 2014.01.03 00:40): \definefontfamily[mainface][rm][FreeSerif] \setupbodyfont[mainface] % Enables index in PDF document \setupinteraction[state=start] \setupinteractionscreen[option=bookmark] \placebookmarks[section][force=yes] % Let us say hello in many languages \starttext \setupfooter [state=start] \page[1] \startfrontmatter {\midaligned {\tfc{\WORD{Hello World \placecontent[extras={22=page},alternative=c] \stopfrontmatter \page[yes] \startbodymatter \section{1. Russian: Привет мир!} Russian: Привет мир! \\ \section{2. Punjabi: ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ!} Punjabi: ਸਤਿ ਸ੍ਰੀ ਅਕਾਲ ਦੁਨਿਆ! \\ \section{3. Arabic: مرحبا أيها العالم!} Arabic: مرحبا أيها العالم! \\ \section{4. Hebrew: שלום העולם!} Hebrew: שלום העולם! \\ \section{5. Armenian: Բարեւ աշխարհ!} Armenian: Բարեւ աշխարհ! \\ \stopbodymatter \stoptext The FreeSerif font is available from https://ftp.gnu.org/gnu/freefont/. I hope it helps, Pablo -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] line spacing (\setupinterlinespace) with grid
Pablo Rodriguez írta: On 04/08/2015 05:54 PM, Csikos Bela wrote: Hello: When I set grid layout on (\setuplayout[grid=yes]) \setupinterlinespace has no effect. Hi Csikos, I guess this is intended. \setuplayout[grid=yes] may impose that all lines have to be exactly over the grid lines. It is only an educated guess, but type at the top of your document: \showgrid The difference (even if you add a \title or a \chapter) may be revealng. Just in case I’m not wrong :-), I see what you mean. But in my opinion it should apply only if I want to change line spacing within the text. But I would like to change the default line spacing in my document. I think the default grid should be set based on the default line spacing. The question here is, I guess, how the grid is set. I think there is setting to change the default line spacing to which the grids are adjusted. The question is how? Thanks, bcsikos ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Figure-libray/resource library
Hans, of course, I hope that the new files are ok ;-) Willi etiket-klaar.pdf Description: Adobe PDF document lib-MKIV.xml Description: XML document test-figurefromlibrary.tex Description: Binary data On 8 apr. 2015, at 20:17, Hans Hagen pra...@wxs.nl wrote: On 4/8/2015 8:07 PM, Willi Egger wrote: Thank you Hans, of course that minimal example has a trouble. Still, when correcting this mistake, the problem remains. I have no clue…. so then a better test file (xml + image + tex file) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] alphabetically ordered notes
On 04/08/2015 07:51 PM, Hans Hagen wrote: On 4/5/2015 8:32 PM, Pablo Rodriguez wrote: [...] BTW, it would be extremely useful to be able to place this kind of notes on each page and also with a \placenotes command. quite tricky due to synchronization issues Many thanks for your help, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) Many thanks for this improvement, Hans. Is there a way to remove page number from the final list? Many thanks for your help, Pablo -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] alphabetically ordered notes
On 4/8/2015 8:36 PM, Pablo Rodriguez wrote: On 04/08/2015 07:51 PM, Hans Hagen wrote: On 4/5/2015 8:32 PM, Pablo Rodriguez wrote: [...] BTW, it would be extremely useful to be able to place this kind of notes on each page and also with a \placenotes command. quite tricky due to synchronization issues Many thanks for your help, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) Many thanks for this improvement, Hans. Is there a way to remove page number from the final list? it's just a list so you can use all list variants and key/values - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Figure-libray/resource library
On 4/8/2015 8:34 PM, Willi Egger wrote: Hans, of course, I hope that the new files are ok ;-) No they're not ... can't you install a validator in you editor? or when it has decent highlighting it will show that it's bad. tidy -quiet -utf8 -xml -errors lib-MKIV.xml line 16 column 1 - Error: unexpected /description in rl:description line 25 column 1 - Error: unexpected /rl:library in rl:description you miss a -- Willi On 8 apr. 2015, at 20:17, Hans Hagen pra...@wxs.nl wrote: On 4/8/2015 8:07 PM, Willi Egger wrote: Thank you Hans, of course that minimal example has a trouble. Still, when correcting this mistake, the problem remains. I have no clue…. so then a better test file (xml + image + tex file) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] line spacing (\setupinterlinespace) with grid
On 04/08/2015 05:54 PM, Csikos Bela wrote: Hello: When I set grid layout on (\setuplayout[grid=yes]) \setupinterlinespace has no effect. Hi Csikos, I guess this is intended. \setuplayout[grid=yes] may impose that all lines have to be exactly over the grid lines. It is only an educated guess, but type at the top of your document: \showgrid The difference (even if you add a \title or a \chapter) may be revealng. Just in case I’m not wrong :-), Pablo Here is an example: \setuplayout[grid=yes] % or grid=no \starttext \input tufte \par \setupinterlinespace[small] \input tufte \par \setupinterlinespace[medium] \input tufte \par \setupinterlinespace[big] \input tufte \par \setupinterlinespace[1] \input tufte \par \setupinterlinespace[1.3] \input tufte \par \setupinterlinespace[1.5] \input tufte \par \setupinterlinespace[2] \input tufte \par \setupinterlinespace[3] \input tufte \stoptext I attach the correpsonding pdf outputs (with grid on and off). My context version according to the log files: tex/texmf-context/tex/context/base/cont-yes.mkiv ConTeXt ver: 2014.01.03 00:40 MKIV current fmt: 2015.4.1 int: english/english system 'cont-new.mkiv' loaded How can I change/set line spacing when grid layout is turned on? Thanks, bcsikos ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Figure-libray/resource library
Thank you Hans, of course that minimal example has a trouble. Still, when correcting this mistake, the problem remains. I have no clue…. Kind regards Willi On 8 apr. 2015, at 19:06, Hans Hagen pra...@wxs.nl wrote: On 4/7/2015 7:18 PM, Willi Egger wrote: Hi all! I am working on an older project… Herein a resource-library is used. Now I have the problem, that Context does not find page 103 (resulting in a fatal error: LuaTeX error: PDF inclusion: required page 103 does not exist == Fatal error occurred, no output PDF file produced!). When I put the the figure contained on page 103 as an \externalfigure[mylibrary][page=103], the figure is displayed. — Now I tried to remake the resource library with changing the format from MKII to MKIV. However there seems to be a problem, since I get only two pages of output. Even with the enclosed minimal I get only two empty pages… What to do? xml core load error in [id: main, file: test.xml]: invalid xml file - parsed text so ... clue: look at comment - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] alphabetically ordered notes
On 4/5/2015 8:32 PM, Pablo Rodriguez wrote: Hans, as you told me to remind you latter, here you have the proposal for alphabetically ordered footnotes: \setuplanguage[en][patterns={en,agr}] \setuppapersize[A7] \setupbodyfont[dejavu, 12pt] \definenote[dict] \setupnote[dict][n=2,rule=off, split=strict, inbetween=\hskip1.5em] \setupnotation[dict][width=broad, number=no] \starttext Πρῶτον δεῖ θέσθαι τί ὄνομα\dict{ὄνομα, -ατος, τό: noun} καὶ τί ῥῆμα\dict{ῥῆμα, -ατος, τό: verb}, ἔπειτα τί ἐστιν ἀπόφασις\dict{ἀπόφασις, -εως, ἡ: negation} καὶ κατάφασις\dict{κατάφασις, εως, ἡ: affirmation} καὶ ἀπόφανσις\dict{ἀπόφανσις, -εως, ἡ: statement} καὶ λόγος. Ἔστι μὲν οὖν τὰ ἐν τῇ φωνῇ\dict{φωνή, -ῆς, ἡ: voice} τῶν ἐν τῇ ψυχῇ\dict{ψυχῇ, -ῆς, ἡ: soul} παθημάτων\dict{πάθημα, -ατος, τό: affections} σύμβολα\dict{σύμβολον, -ου, τό: symbol}, καὶ τὰ γραφόμενα\dict{γραφόμενον: written} τῶν ἐν τῇ φωνῇ. \page \title{Vocabulary} \placenotes[dict] \stoptext BTW, it would be extremely useful to be able to place this kind of notes on each page and also with a \placenotes command. quite tricky due to synchronization issues Many thanks for your help, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] line spacing (\setupinterlinespace) with grid
On 04/08/2015 07:12 PM, Csikos Bela wrote: [...] I think there is setting to change the default line spacing to which the grids are adjusted. The question is how? Add the following line before \setuplayout: \setupinterlinespace[line=3em] This is the standard way to set the default interline space in the document. Pablo -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Figure-libray/resource library
On 4/8/2015 8:07 PM, Willi Egger wrote: Thank you Hans, of course that minimal example has a trouble. Still, when correcting this mistake, the problem remains. I have no clue…. so then a better test file (xml + image + tex file) - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] alphabetically ordered notes
On 04/08/2015 09:12 PM, Hans Hagen wrote: On 4/8/2015 8:36 PM, Pablo Rodriguez wrote: On 04/08/2015 07:51 PM, Hans Hagen wrote: On 4/5/2015 8:32 PM, Pablo Rodriguez wrote: [...] BTW, it would be extremely useful to be able to place this kind of notes on each page and also with a \placenotes command. quite tricky due to synchronization issues Many thanks for your help, in next beta: \placelist[dict][order=title] (no language control yet .. no time now) Many thanks for this improvement, Hans. Is there a way to remove page number from the final list? it's just a list so you can use all list variants and key/values Many thanks for the tip, Hans. Pablo -- http://www.ousia.tk ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] SyncTeX and mkiv
Hi Hans, Thanks for your attention and the new SyncTeX option: I just made some testing with the beta from today and it seems to work. So for being useful to others, the command I use now in TeXShop and MacOS X is: #!/bin/bash export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH context --synctex=zipped --autogenerate $1 --purgeall Best regards: OK On 08 Apr 2015, at 13:27, Hans Hagen pra...@wxs.nl wrote: On 4/8/2015 10:43 AM, Otared Kavian wrote: Hi Thomas, Mojca and Andreas, After playing with several options as either of you suggested, I ended up with the following setups which solve partially the misbehaviour of SyncTeX in mkiv. The solution works for with TeXShop on Mac OS X 10.10.2 and the latest standalone beta of ConTeXt. 1) I have in a file named mkiv.engine (which sits in the folder ) the following lines: #!/bin/bash export PATH=/Volumes/OK/context-minimal/tex/texmf-osx-64/bin:$PATH context --autogenerate $1 —purgeall 2) As one may see I do not use the option —synctex in the above context call, since it doesn’t work correctly (beware the — shown is actually two hyphens {-}{-}…). 3) In the TeXShop Preferences, in the Typesetting pane, I have checked the radio button next to SyncTex (Tex ≥ 2010) as one may see on the attached screen capture. For now the syncing seems to work essentially fine (although it is not as precise as when using Plain TeX, or LaTeX, but probably this might be expected beacuse mkiv is more complex). I checked the context runner, maybe the next beta works better (i get a zip with --synctex=zipped) but i have no clue if something useful is in there (useability also depends on how the content is placed / generated and there not always a 1-1 relation between this (and i have to time or motivation to cook up a better alternative that suits context better). Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com | www.pragma-pod.nl - ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___ ___ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Figure-libray/resource library
Hi Hans,third attempt.Tidy does not give me any errors, but the resource library does not compile :-(Have a good night!Willi etiket-klaar.pdf Description: Adobe PDF document lib-MKIV.pdf Description: Adobe PDF document lib-MKIV.xml Description: XML document test-figurefromlibrary.tex Description: Binary data On 8 apr. 2015, at 21:17, Hans Hagen pra...@wxs.nl wrote:On 4/8/2015 8:34 PM, Willi Egger wrote:Hans,of course, I hope that the new files are ok ;-)No they're not ... can't you install a validator in you editor? or when it has decent highlighting it will show that it's bad.tidy -quiet -utf8 -xml -errors lib-MKIV.xmlline 16 column 1 - Error: unexpected /description in rl:descriptionline 25 column 1 - Error: unexpected /rl:library in rl:descriptionyou miss a --WilliOn 8 apr. 2015, at 20:17, Hans Hagen pra...@wxs.nl wrote:On 4/8/2015 8:07 PM, Willi Egger wrote:Thank you Hans,of course that minimal example has a trouble. Still, when correcting this mistake, the problem remains. I have no clue….so then a better test file (xml + image + tex file)-Hans Hagen | PRAGMA ADERidderstraat 27 | 8061 GH Hasselt | The Netherlandstel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com| www.pragma-pod.nl-___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-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : http://foundry.supelec.fr/projects/contextrev/wiki : http://contextgarden.net__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-contextwebpage : http://www.pragma-ade.nl / http://tex.aanhet.netarchive : http://foundry.supelec.fr/projects/contextrev/wiki : http://contextgarden.net___---Hans Hagen | PRAGMA ADERidderstraat 27 | 8061 GH Hasselt | The Netherlandstel: 038 477 53 69 | voip: 087 875 68 74 |www.pragma-ade.com|www.pragma-pod.nl-___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-contextwebpage :http://www.pragma-ade.nl/http://tex.aanhet.netarchive :http://foundry.supelec.fr/projects/contextrev/wiki :http://contextgarden.net__ 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___