[NTG-context] Screen document design
Morning all, Quick question. I want to design a screen document at 1024 by 768 pixels, so ideally work in pixels as units, and not mm / cm. I know pdfs are scalable and about \setuppapersize[S6][S6], but I'd prefer to work in pixels (I have swfs / images to embed, and these come in x by y pixels). Anyone have an easy answer? ...nothing I have found in the selection of downloadable documentation or on the wiki suggests that it is possible... Thanks Ian ___ 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] Screen document design
On Thu, Feb 24, 2011 at 10:40 AM, Ian Lawrence physics.roo...@gmail.com wrote: Morning all, Quick question. I want to design a screen document at 1024 by 768 pixels, so ideally work in pixels as units, and not mm / cm. I know pdfs are scalable and about \setuppapersize[S6][S6], but I'd prefer to work in pixels (I have swfs / images to embed, and these come in x by y pixels). Anyone have an easy answer? \definepapersize[Screen][width=1024px,height=768px] \setuppapersize[Screen][Screen] You should check if it's ok, I'm not sure. -- luigi ___ 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] git repository in sync with minimals
Is the git repository git://gitorious.org/context/context.git in sync with the minimals? It is but it is incomplete compared to the minimals and therefore may not be what you are looking for. Long answer: The repository is in sync with http://pragma-ade.nl/context/current/cont-tmf.zip (see http://gitorious.org/context/context/blobs/script/context_git_update.pl). However, the repository misses binaries, all extras and additional fonts that are available on http://minimals.contextgarden.net/. Thanks Marco ___ 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] Screen document design
Thanks for taking the trouble for what was really simple, but seems undocumented (?) It does, and then all the offsets etc, seem to work in pixels as well. eg. \definelayer [topmatter] % name of the layer [x= 0 px, y=20 px, % from upper left corner of paper width=\paperwidth, height=\paperheight] % let the layer cover the full paper Ian On 24 February 2011 09:47, luigi scarso luigi.sca...@gmail.com wrote: On Thu, Feb 24, 2011 at 10:40 AM, Ian Lawrence physics.roo...@gmail.com wrote: Morning all, Quick question. I want to design a screen document at 1024 by 768 pixels, so ideally work in pixels as units, and not mm / cm. I know pdfs are scalable and about \setuppapersize[S6][S6], but I'd prefer to work in pixels (I have swfs / images to embed, and these come in x by y pixels). Anyone have an easy answer? \definepapersize[Screen][width=1024px,height=768px] \setuppapersize[Screen][Screen] You should check if it's ok, I'm not sure. -- luigi ___ 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] Screen document design
On 2011-02-24 Ian Lawrence physics.roo...@gmail.com wrote: Thanks for taking the trouble for what was really simple, but seems undocumented (?) Some other units: mm Millimetres cm Centimetres in Inches em em width, depends on the font ex ex height, depends on the font pc Picas (1pc = 12pt) pt Points (1in = 72.27pt) Marco ___ 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] How to disable hyphenation?
I have a Dutch document where I use the word genereren. Because it is on the end of the line ge- is put on the end and nereren is put on the beginning of the next line. I find this quit ugly. Can I disable hyphenation, or let it behave more 'beautiful'? I searched on ContextGarden, but did not find anything. -- Cecil Westerhof ___ 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] Float option “top” affects page break (on following pages)
Hi all, consider the following example. \starttext \showgrid Try to comment the \tex{placefigure} command, there will be 40 lines on the second page. If you uncomment it again there are 41 lines! \placefigure[top,nonumber]{}{\externalfigure[dummy]} \page \dorecurse{30}{line \recurselevel\par} \blank[medium,small] \dostepwiserecurse{31}{50}{1}{line \recurselevel\par} \stoptext It's really a problem if compiling a component file which ends up with another page breaking than the corresponding product file. I hope there will be soon a fix for that … is there already one? Regards Andreas ___ 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] lilypond module error with mkiv beta
Hi all, with newest ConTeXt MKIV beta from Minimals following file (from the doc) failes to compile: \usemodule[lilypond] \starttext \subject{Telemann, TWV 40:11} \startlilypond \relative c' { \set Staff.instrumentName = flute \key fis \minor \time 3/4 \partial 4 r8 fis'8 | fis4. cis8 a cis | fis, a cis fis a fis | b, d fis b d b | eis,, gis cis eis gis b, | a fis' gis, fis' cis eis | fis,4 r8 a' gis fis | e gis, a e' fis cis | d fis, gis b e d | cis4 \trill r8 cis b a | b dis e gis cis, b | a e' dis fis b, a | gis4 \trill r8 } \stoplilypond \stoptext The errormessage is: fontslatin modern fonts are not preloaded languageslanguage en is active resolversmodules loaded: 'lilypond' (C:/contextminimal/texmf-local/tex/context/third/lilypond/t-lilypond.tex loading LilyPond module ){C:/contextminimal/texmf-context/fonts/map/pdftex/context/mkiv-base.map} fontspreloading latin modern fonts (second stage) (C:/contextminimal/texmf-context/tex/context/base/type-siz.mkiv) (C:/contextminimal/texmf-context/tex/context/base/type-otf.mkiv){C:/contextminimal/texmf/fonts/map/dvips/lm/lm-math.map}{C:/contextminimal/texmf/fonts/map/dvips/lm/lm-rm.map} fontsfallback modern rm 12pt is loaded system begin file lily.tex at line 3 structuresectioning subject @ level 3 : 0.0.0 - Telemann, TWV 40:11 ! Undefined control sequence. \dodostartlilypond ...ily!filename {\bufferprefix lilypond-\lily!figures }\e... l.19 \stoplilypond Is this a bug in the lilypond module? Greetings Lutz ___ 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] How to disable hyphenation?
Am 24.02.2011 um 14:05 schrieb Cecil Westerhof: I have a Dutch document where I use the word genereren. Because it is on the end of the line ge- is put on the end and nereren is put on the beginning of the next line. I find this quit ugly. Can I disable hyphenation, or let it behave more 'beautiful'? I searched on ContextGarden, but did not find anything. \hyphenation{genereren} or \hyphenation{gene-re-ren} or \setuplanguage [du] % ? [lefthyphenmin=3,righthyphenmin=2] Greeting Andreas ___ 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] Screen document design
Am 2011-02-24 um 11:34 schrieb Marco: On 2011-02-24 Ian Lawrence physics.roo...@gmail.com wrote: Thanks for taking the trouble for what was really simple, but seems undocumented (?) Some other units: mm Millimetres cm Centimetres in Inches em em width, depends on the font ex ex height, depends on the font pc Picas (1pc = 12pt) pt Points (1in = 72.27pt) There’s also bp (big points). We have the difference between TeX points (pt) and PostScript points (bp) in ConTeXt like in every other TeX: 1 pt = 1/72,27 in = 0,3515 mm (traditional American printer’s point) 1 bp = 1/72 in = 0,3528 mm (after the Anglo-Saxon compromise inch of 1959 = 25.4 mm) (1 Didot point, traditionally used in Europe, was 0,376 mm) See also http://en.wikipedia.org/wiki/Point_(typography) Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ 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 ___
Re: [NTG-context] How to disable hyphenation?
Am 2011-02-24 um 14:05 schrieb Cecil Westerhof: I have a Dutch document where I use the word genereren. Because it is on the end of the line ge- is put on the end and nereren is put on the beginning of the next line. I find this quit ugly. Can I disable hyphenation, or let it behave more 'beautiful'? I searched on ContextGarden, but did not find anything. \hbox{genereren} % single use \hyphenation{genereren} % prohibit hyphenation of that word generally Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ 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 ___
Re: [NTG-context] lilypond module error with mkiv beta
Am 2011-02-24 um 14:22 schrieb Lutz Haseloff: Hi all, with newest ConTeXt MKIV beta from Minimals following file (from the doc) failes to compile: http://wiki.contextgarden.net/LilyPond#Deprecation_Warning Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ 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 ___
Re: [NTG-context] How to disable hyphenation?
Thanks for the very speedy reply. 2011/2/24 Andreas Harder ahar...@uni-koblenz.de I have a Dutch document where I use the word genereren. Because it is on the end of the line ge- is put on the end and nereren is put on the beginning of the next line. I find this quit ugly. Can I disable hyphenation, or let it behave more 'beautiful'? I searched on ContextGarden, but did not find anything. \hyphenation{genereren} or \hyphenation{gene-re-ren} or \setuplanguage [du] % ? [lefthyphenmin=3,righthyphenmin=2] It is of-course not only about genereren. So I choose your second option. I have included: \setuplanguage[nl][ lefthyphenmin=5, righthyphenmin=4, ] \language[nl] But I found something peculiar happening. I think it is a bug, but maybe I am wrong. Where genereren first was hypenated, it now gets put completly put at the end of the sentence. If that is possible now, why was it not possible beforehand? In another paragraph I am using gedocumenteerd. First it was gedo- cumenteerd, now it is gedocu- menteerd. What is happening here? -- Cecil Westerhof ___ 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] lilypond module error with mkiv beta
Thank you very much! 2011/2/24 Henning Hraban Ramm hra...@fiee.net: Am 2011-02-24 um 14:22 schrieb Lutz Haseloff: Hi all, with newest ConTeXt MKIV beta from Minimals following file (from the doc) failes to compile: http://wiki.contextgarden.net/LilyPond#Deprecation_Warning Greetlings from Lake Constance! Hraban --- http://www.fiee.net/texnique/ 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 ___ ___ 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] How to disable hyphenation?
But I found something peculiar happening. I think it is a bug, but maybe I am wrong. Where genereren first was hypenated, it now gets put completly put at the end of the sentence. What else did you expect after you told the system to leave at least five characters to the left and four character to the right of a hypenatable word? If that is possible now, why was it not possible beforehand? It was possible. But ConTeXt calculates the breakpoints (including possible hypenation) so that the paragraphs look nice and the inter word space will not be stretched too much. In another paragraph I am using gedocumenteerd. First it was gedo- cumenteerd, now it is gedocu- menteerd. What is happening here? What else did you expect after you told the system to leave at least five characters to the left and four character to the right of a hypenatable word? Marco ___ 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] how to make chapter starts from odd page always?
Dear all, I'd like to start every chapter starts from an odd page. page=right or page=left doesn't affect the page setting. I tried it using pagenumbering, but not succeed. I also want to put counting + pagenumber at the header of everypage. How to make it work? Here is my setting. Corrections for better shapes are welcomed. Thank you. Best regards, Dalyoung \definestructureconversionset[frontpart:pagenumber][][romannumerals] \definestructureconversionset[bodypart:pagenumber] [][numbers] \setupheadertexts[][{\tfx COUNTING}] \startstructureblockenvironment[frontpart] \setupuserpagenumber[numberconversion=romannumerals] \setuppagenumber[number=1] \setuphead[chapter][command=,number=no,page=right] \stopstructureblockenvironment \startstructureblockenvironment[bodypart] \setuppagenumber[number=1] \setuppagenumbering[alternative={singlesided,doublesided},location={header,left}]%singlesided,right] \setuphead[chapter][command=\Myheader, page=left] \stopstructureblockenvironment \startstructureblockenvironment[backpart] \setuphead[chapter][command=,number=no,page=left] \stopstructureblockenvironment ___ 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] How to disable hyphenation?
2011/2/24 Marco net...@lavabit.com If that is possible now, why was it not possible beforehand? It was possible. But ConTeXt calculates the breakpoints (including possible hypenation) so that the paragraphs look nice and the inter word space will not be stretched too much. Okay, that explains it. Thanks. -- Cecil Westerhof ___ 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] \halign
Hi, I have just installed beta. The line: \starttext \halign{\hfil#\hfil\quad\cr This That\cr12\cr} \stoptext is not typeset and the are left in place. What could be the problem? Thank you. Eythan ___ 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] btex and DeclareGraphicsRule question
Why does stmt, label(btex Au dessus etex, (0,0)); fail when using stmt, \DeclareGraphicsRule{*}{mps}{*}{} but works with stmt, \DeclareGraphicsRule{*}{eps}{*}{} I am running texlive/2010. Here is the error msg I get when using mps. /usr/local/texlive/2010/bin/i386-linux/mpost xtest.mp This is MetaPost, version 1.211 (TeX Live 2010) (kpathsea version 6.0.0) (./xtest.mpfatal: Command failed: etex --parse-first-line --interaction=nonstopmode mpIYqrrH.tex; see mpxerr.log xtest.mp xtest.mpx ! Unable to make mpx file. l.15 label(btex Au dessus etex, (0,0)); Transcript written on xtest.log. -- xtext.mp % verbatimtex %latex \documentclass{book} \usepackage{dvidrv} \usepackage{hrefout} \usepackage{xbookjh} \usepackage{xstyle} \usepackage{verbatim} \begin{document} etex beginfig(1); label(Au dessus ,(0,0)); label(btex Au dessus etex, (0,0)); endfig; bye; --- xbookjh.sty \ProvidesPackage{bookjh}[2001/05/24 Material for _Linear Algebra_ (JH)] \usepackage[\dvidrv]{color} \usepackage[\dvidrv]{graphicx} % \DeclareGraphicsRule{*}{mps}{*}{} % make pdflatex take fig.1 as metapost. % \DeclareGraphicsRule{*}{eps}{*}{} % make pdflatex take fig.1 as metapost. \endinput --- xstyle.sty \AtBeginDocument{\newlength{\heightofcdot} \newlength{\widthofcdot} \settoheight{\heightofcdot}{$\cdot$} \settowidth{\widthofcdot}{$\cdot$} \newsavebox{\dotprodcircle} \savebox{\dotprodcircle}{\includegraphics{dotprod.1}} \newcommand{\dotprod}{\mathbin{\raisebox{.5\heightofcdot}{ \makebox[\widthofcdot]{$\smash{\usebox{\dotprodcircle}}$} Alternatively if I use stmt, \DeclareGraphicsRule{*}{mps}{*}{} and comment out all the lines in xstyle.sty no error is generated when mpost is run. I don't understand what in xstyle.sty can be having an affect on \DeclareGraphicsRule{*}{mps}{*}{}. Can anyone provide any helpful information? My preference is to use mps and not eps. ___ 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] \halign
Am 24.02.2011 um 17:56 schrieb Eythan Weg: Hi, I have just installed beta. The line: \starttext \halign{\hfil#\hfil\quad\cr This That\cr12\cr} \stoptext is not typeset and the are left in place. What could be the problem? Since a while ^, _ and can be used in text mode like any other character. You can disable this with \donknuthmode at the begin of your document or use the \aligntab where you would normally use but the best thing is to use one of contexts build in table environment. 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] How to disable hyphenation?
Am 24.02.2011 um 14:26 schrieb Andreas Harder: Am 24.02.2011 um 14:05 schrieb Cecil Westerhof: I have a Dutch document where I use the word genereren. Because it is on the end of the line ge- is put on the end and nereren is put on the beginning of the next line. I find this quit ugly. Can I disable hyphenation, or let it behave more 'beautiful'? I searched on ContextGarden, but did not find anything. \hyphenation{genereren} or \hyphenation{gene-re-ren} or \startexceptions[du] gene-re-ren \stopexceptions or \startexceptions gene-re-ren \stopexceptions 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
Re: [NTG-context] Question regarding registertempfile
On Thu, 24 Feb 2011, luigi scarso wrote: Can you remove the first line of this function? (That is, do not modify the name at all). This will allow me to use this functionality to remove temporary files created by t-filter and t-vim. These files, do not end in .mkiv-tmp or .tmp. why not ? Because mtxrun --ifchanged generates a .md5 file. It is easier to change the behaviour of registertempfile than changing the behaviour of mtxrun --ifchanged. Aditya ___ 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] Float option “top” affects page break (on following pages)
Am 24.02.2011 um 14:15 schrieb Andreas Harder: Hi all, consider the following example. \starttext \showgrid Try to comment the \tex{placefigure} command, there will be 40 lines on the second page. If you uncomment it again there are 41 lines! \placefigure[top,nonumber]{}{\externalfigure[dummy]} \page \dorecurse{30}{line \recurselevel\par} \blank[medium,small] \dostepwiserecurse{31}{50}{1}{line \recurselevel\par} \stoptext It's really a problem if compiling a component file which ends up with another page breaking than the corresponding product file. I hope there will be soon a fix for that … is there already one? I found a workaround. One can set \setupinterlinespace[top=0] Is this a bad idea? Are there any disadvantages? I would appreciate some explanations. Greeting Andreas ___ 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] inmargin problem in mkiv with luatex when specified with stack
Hello, Running the following context code doesn't seem to work with context --luatex. Works with context --xetex however. -- \setuplayout[backspace=5cm,margin=3cm,margindistance=.5cm,width=middle] \setupinmargin[stack=yes] \starttext A\margintext{A} B\margintext{B}. C\inmargin{C} D\inmargin{D}. \stoptext - I get the following error: 11 C\inmargin{C} D\inmargin{D}. 12 13 \stoptext 14 \ctxcommand ...\directlua \zerocount {commands.#1} \@@ar@@1 ...se \currentposition \previousposition {\scratchskip \dimexpr \MP... \redoloop -\expandrecursecontent \endofloop to be read again { inserted text 2 \dodoloop ...mexpr \recurselevel +\plusone \relax } ... l.11 C \inmargin{C} D\inmargin{D}. %Dinh stack_inmargin-xetex.pdf Description: Adobe PDF document stack_inmargin-luatex.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 ___
[NTG-context] \placefigure and \em (again)
Hello, sorry for repeating this topic, maybe it's not too attractive. Please, have a look to the following problem. I wonder why the behaviour described bellow occurs and how to typeset a paragraph starting with some text enclosed into {\em ...} group inside the free area formed (affected) by \placefigure. --- \starttext \placefigure [left,none] {} { \startMPcode draw (0,0)--(6cm,6cm); \stopMPcode } This is a normal text -- it flows around the picture on the left side of the page as expected. {\em This empathized text starting a new paragraph} should not scratch the picture left. When some text contains {\em an empathized text inside the paragraph}, text flows normally as expected. \input tufte \stoptext --- Thank you in advance. Best regards Lukas -- Ing. Lukáš Procházka [mailto:l...@pontex.cz] Pontex s. r. o. [mailto:pon...@pontex.cz] [http://www.pontex.cz] Bezová 1658 147 14 Praha 4 Tel: +420 244 062 238 Fax: +420 244 461 038 t-Hang3.mkiv Description: Binary data t-Hang3.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 ___