Re: [NTG-context] Problems with heads using margintext alternative
On 7/29/2017 7:34 PM, Rik wrote: Willi, Pablo, and list, Willi, I understand that the overprint of the margin can be managed by changing the default layout. The left margin box displayed by \showframe using the default layout clearly shows the margin extending past the edge of the page. I would think that the default layout should be usable as is, which for this purpose means that the defined text areas are contained within the page boundary. If the default layout is not intended to be usable, it should be so documented. I will gladly update the wiki if this is the case, but first I would like authoritative confirmation that this is the case. it's all on purpose (and explained several times in mail irr) Indeed, the extra line before the text occurs only when inter-paragraph whitespace is set and start/stop is used. This does indeed appear to be something that can be repaired. to some extend ... i added some hack in the upcoming beta btu keep in mind that a section head carries some information so there's always something (invisible) there that can generate whitespace (of course one can always jump back) Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] (bug?) itlc removes liga
On 7/29/2017 5:40 PM, Jean-Pierre Delange wrote: Hello Pablo, I am very sad to inform you, dear Pablo, that there is the same bug with ligatures on (OS Linux x64) CTX current version: 2016.11.22 aswell as on mtx-context | current version: 2017.07.28 22:51 ...;-) it's indeed an older issue Hans - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with heads using margintext alternative
On 2017-07-29 14:18, Pablo Rodriguez wrote: On 07/29/2017 07:34 PM, Rik wrote: Pablo, The \inmargin commands do suffer from the same problem; you need simply change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height. This is different from \chapter. Pablo Ahh, yes. That is correct. -- Rik ___ 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] Problems with heads using margintext alternative
On 07/29/2017 07:34 PM, Rik wrote: > Pablo, > > The \inmargin commands do suffer from the same problem; you need simply > change marg to marg marg marg to see it. I simply meant that both margin and paragraph start at the same page height. This is different from \chapter. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with heads using margintext alternative
Willi, Pablo, and list, Willi, I understand that the overprint of the margin can be managed by changing the default layout. The left margin box displayed by \showframe using the default layout clearly shows the margin extending past the edge of the page. I would think that the default layout should be usable as is, which for this purpose means that the defined text areas are contained within the page boundary. If the default layout is not intended to be usable, it should be so documented. I will gladly update the wiki if this is the case, but first I would like authoritative confirmation that this is the case. Indeed, the extra line before the text occurs only when inter-paragraph whitespace is set and start/stop is used. This does indeed appear to be something that can be repaired. Pablo, The \inmargin commands do suffer from the same problem; you need simply change marg to marg marg marg to see it. The problem is not that text is set outside the margin. It is all set in the margin. The problem is that the left margin is laid out over the page edge, and text set in the part of the margin that is off the page is lost. -- Rik On 2017-07-29 13:10, Pablo Rodriguez wrote: On 07/23/2017 09:48 PM, Rik Kabel wrote: The following example demonstrates two problems with alternative=margintext in \setuphead: 1. When used with start/stop sectioning, text following the title may be set on the wrong line. Hi Rik, the issue comes with \startparagraph and sectioning commands (other margindata are fine): \setuphead [chapter] [alternative=margintext] \starttext \chapter{Chapter} \startparagraph\input jojomayer\stopparagraph \blank \inleft{marg}\startparagraph\input jojomayer\stopparagraph \blank \inright{marg}\startparagraph\input jojomayer\stopparagraph \blank \inouter{marg}\startparagraph\input jojomayer\stopparagraph \ininner{marg}\startparagraph\input jojomayer\stopparagraph \blank \inmargin{marg}\startparagraph\input jojomayer\stopparagraph \blank \inother{marg}\startparagraph\input jojomayer\stopparagraph \stoptext But \inmargin has no problem with margin 2. Without regard to the type of sectioning, margintext titles may spill over the left edge of the margin and beyond the page frame. I cannot align them either. I don’t know what we may be missing here. Pablo ___ 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] Problems with heads using margintext alternative
On 07/23/2017 09:48 PM, Rik Kabel wrote: > The following example demonstrates two problems with > alternative=margintext in \setuphead: > > 1. When used with start/stop sectioning, text following the title may > be set on the wrong line. Hi Rik, the issue comes with \startparagraph and sectioning commands (other margindata are fine): \setuphead [chapter] [alternative=margintext] \starttext \chapter{Chapter} \startparagraph\input jojomayer\stopparagraph \blank \inleft{marg}\startparagraph\input jojomayer\stopparagraph \blank \inright{marg}\startparagraph\input jojomayer\stopparagraph \blank \inouter{marg}\startparagraph\input jojomayer\stopparagraph \ininner{marg}\startparagraph\input jojomayer\stopparagraph \blank \inmargin{marg}\startparagraph\input jojomayer\stopparagraph \blank \inother{marg}\startparagraph\input jojomayer\stopparagraph \stoptext But \inmargin has no problem with margin > 2. Without regard to the type of sectioning, margintext titles may > spill over the left edge of the margin and beyond the page frame. I cannot align them either. I don’t know what we may be missing here. 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with headers using margintext alternative
Hi, I am not a guru, but I think that you should setup your pagesize properly. For the calculation of the paper-width margin widths are not used. The elements for calculations are the backspace and makeupwidth and the rest to sum up to the paperwidth as given in the definition of the papersize. Margins are kind of virtual. If text spills out of the margin then the backspace and the margin have to be adjusted. e.g. \setuplayout [location=middle, topspace=1.5cm, backspace=2cm, margin=18mm, width=middle] Location=middle tells only, that the lettersized paper should placed centered onto the lettersized paper, oversized. When I comment the line with insidesection= I get a consistent result i.e. that the text of the sections with start\stop in the text body starts one line to low compared to the traditional way of coding. Otherwise with this insidesection={\blank[-line]} it appears, that the text next uneven section numbers is typeset at the expected place, where text next to even section numbers is not. — This might indeed be something which Hans should look at. Best Will > On 29 Jul 2017, at 16:52, Rik wrote: > > Bump. > > The problem persists two updates later. > > In the picture below, the green line represents the edge of the page. > > > > Does anyone else get the same result? > -- > Rik > > On 2017-07-23 15:48, Rik Kabel wrote: >> The following example demonstrates two problems with alternative=margintext >> in \setuphead: >> • When used with start/stop sectioning, text following the title may be >> set on the wrong line. >> • Without regard to the type of sectioning, margintext titles may spill >> over the left edge of the margin and beyond the page frame. >> \setuppapersize >> [letter] >> [letter,oversized] >> \setuplayout >> [location={middle,middle}] >> \showframe >> \setuphead >> [chapter] >> [number=no, >> alternative=inmargin] >> \setuphead >> [section] >> [ >> alternative=margintext, >> insidesection={\blank[-line]}, >> ] >> \starttext >> \starttitle >> [title={Problem description}] >> \bgroup >> \setupwhitespace[medium] >> \startparagraph >> This demonstrates two problems with >> \type{alternative=margintext} in \tex{setuphead}: >> \startitemize[packed,n] >> \startitem >> When used with start/stop sectioning, text following the >> title may be set on the wrong line. >> \stopitem >> \startitem >> Without regard to the type of sectioning, \type{margintext} >> titles may spill over the left edge of the margin and beyond >> the page frame. (Oddly, \tex{paperwidth} is less than the >> sum of \tex{makeupwidth} and the margin widths and >> distances for both letter and A4 paper.) >> \stopitem >> \stopitemize >> \stopparagraph >> \startparagraph >> With start/stop sectioning, the text following the section >> title may begin one line below the start of the title. That >> can be remedied if there is no whitespace between paragraphs >> with \type{insidesection={\blank[-line]}}, but the remedy >> fails when there is whitespace, and increasing the correction >> has no effect. With traditional sectioning, the text appears >> baseline|-|aligned with the heading, as expected. The >> the correction has no effect in any case with traditional >> sectioning. >> \stopparagraph >> \startparagraph >> It makes no difference in any test how the paragraphs are >> delimited—blank lines, \tex{bpar}/\tex{epar}, >> \tex{startparagraph}/\tex{stopparagraph}, or \tex{par}. >> \stopparagraph >> \startparagraph >> Tested with standalone beta 2017.07.17 00:20. >> \stopparagraph >> \egroup >> \page >> \startchapter >> [title={Start/stop sectioning}] >> \startsection[title={Mis\-cel\-la\-neous quo\-ta\-tions}] >> \startparagraph >> \input jojomayer >> \stopparagraph >> \startparagraph >> \input carrol \wordright{No indent no whitespace.} >> \stopparagraph >> \stopsection >> \bgroup >> \setupwhitespace[medium] >> \startsection[title={Miscellaneous quotations}] >> \startparagraph >> \input jojomayer >> \stopparagraph >> \startparagraph >> \input carrol \wordright{No indent medium whitespace.} >> \stopparagraph >> \stopsection >> \egroup >> \bgroup >> \setupindenting[yes,small] >> \startsection[title={Miscellaneous quotations}] >> \startparagraph >> \input jojomayer >> \stopparagraph >> \startparagraph >> \input carrol \wordright{Small indent no whitespace.} >> \stopparagraph >> \stopsection >> \egroup >> \bgroup >> \setupwhitespace[medium] >> \setupindenting[yes,small] >> \startsection[title={Miscellaneous quotations}] >> \startparagraph >> \input jojomayer >> \stopparagraph >> \startparagraph >>
Re: [NTG-context] (bug?) itlc removes liga
Hello Pablo, I am very sad to inform you, dear Pablo, that there is the same bug with ligatures on (OS Linux x64) CTX current version: 2016.11.22 aswell as on mtx-context | current version: 2017.07.28 22:51 ...;-) JP - Mail original - De: "Pablo Rodriguez" À: "mailing list for ConTeXt users" Envoyé: Vendredi 28 Juillet 2017 19:25:03 Objet: [NTG-context] (bug?) itlc removes liga Dear list, using latest beta (2017.07.28 14:24), I have the following sample: \definefontfeature [default] [default] [script=latn, itlc=yes] \setupitaliccorrection [global, always] \definefontfamily [mainfont] [rm] [EB Garamond] \startbuffer[words] office final floor affliction \stopbuffer \startbuffer[ligatures] {\em \getbuffer[words]}\\ {\bi \getbuffer[words]}\\ {\getbuffer[words]}\\ {\bf \getbuffer[words]}\\ \stopbuffer \starttext \startTEXpage[offset=1em] \getbuffer[ligatures] \setupbodyfont[pagella] \getbuffer[ligatures] \setupbodyfont[mainfont] \getbuffer[ligatures] \stopTEXpage \stoptext In Latin Modern italics (and TeX Gyre typefaces), the “ffi” ligature isn’t added. With EB Garamond, italics don’t get the “ffl” ligature. The previous beta from 2017.07.27 16:17 doesn’t have the issue that I describe. Could anyone be so kind to confirm the bug with latest beta? 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Problems with headers using margintext alternative
Bump. The problem persists two updates later. In the picture below, the green line represents the edge of the page. Does anyone else get the same result? -- Rik On 2017-07-23 15:48, Rik Kabel wrote: The following example demonstrates two problems with alternative=margintext in \setuphead: 1. When used with start/stop sectioning, text following the title may be set on the wrong line. 2. Without regard to the type of sectioning, margintext titles may spill over the left edge of the margin and beyond the page frame. \setuppapersize [letter] [letter,oversized] \setuplayout [location={middle,middle}] \showframe \setuphead [chapter] [number=no, alternative=inmargin] \setuphead [section] [ alternative=margintext, insidesection={\blank[-line]}, ] \starttext \starttitle [title={Problem description}] \bgroup \setupwhitespace[medium] \startparagraph This demonstrates two problems with \type{alternative=margintext} in \tex{setuphead}: \startitemize[packed,n] \startitem When used with start/stop sectioning, text following the title may be set on the wrong line. \stopitem \startitem Without regard to the type of sectioning, \type{margintext} titles may spill over the left edge of the margin and beyond the page frame. (Oddly, \tex{paperwidth} is less than the sum of \tex{makeupwidth} and the margin widths and distances for both letter and A4 paper.) \stopitem \stopitemize \stopparagraph \startparagraph With start/stop sectioning, the text following the section title may begin one line below the start of the title. That can be remedied if there is no whitespace between paragraphs with \type{insidesection={\blank[-line]}}, but the remedy fails when there is whitespace, and increasing the correction has no effect. With traditional sectioning, the text appears baseline|-|aligned with the heading, as expected. The the correction has no effect in any case with traditional sectioning. \stopparagraph \startparagraph It makes no difference in any test how the paragraphs are delimited—blank lines, \tex{bpar}/\tex{epar}, \tex{startparagraph}/\tex{stopparagraph}, or \tex{par}. \stopparagraph \startparagraph Tested with standalone beta 2017.07.17 00:20. \stopparagraph \egroup \page \startchapter [title={Start/stop sectioning}] \startsection[title={Mis\-cel\-la\-neous quo\-ta\-tions}] \startparagraph \input jojomayer \stopparagraph \startparagraph \input carrol \wordright{No indent no whitespace.} \stopparagraph \stopsection \bgroup \setupwhitespace[medium] \startsection[title={Miscellaneous quotations}] \startparagraph \input jojomayer \stopparagraph \startparagraph \input carrol \wordright{No indent medium whitespace.} \stopparagraph \stopsection \egroup \bgroup \setupindenting[yes,small] \startsection[title={Miscellaneous quotations}] \startparagraph \input jojomayer \stopparagraph \startparagraph \input carrol \wordright{Small indent no whitespace.} \stopparagraph \stopsection \egroup \bgroup \setupwhitespace[medium] \setupindenting[yes,small] \startsection[title={Miscellaneous quotations}] \startparagraph \input jojomayer \stopparagraph \startparagraph \input carrol \wordright{Small indent medium whitespace.} \stopparagraph \stopsection \egroup \stopchapter \chapter{Traditional sectioning} \section{Mis\-cel\-la\-neous quo\-ta\-tions} \input jojomayer \par \input carrol \wordright{No indent no whitespace.} \par No indent no whitespace. \par \bgroup \setupwhitespace[medium] \section{Miscellaneous quotations} \input jojomayer \par \input carrol \wordright{No indent medium whitespace.} \par \egroup \bgroup \setupindenting[yes,small] \section{Miscellaneous quotations} \input jojomayer \par \input carrol \wordright{Small indent no whitespace.} \par \egroup \bgroup \setupwhitespace[medium] \setupindenting[yes,small] \section{Miscellaneous quotations} \input jojomayer \par \input carrol \wordright{Small indent medium whitespace.} \par \egroup \showlayout \stoptext -- Rik
Re: [NTG-context] (bug?) itlc removes liga
Am 28.07.2017 um 19:25 schrieb Pablo Rodriguez: > Could anyone be so kind to confirm the bug with latest beta? I can confirm it. juh ___ 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] About Layout
On 07/29/2017 12:07 PM, Fabrice Couvreur wrote: > Hello, > With Latex, for my layout, I used this : > > \documentclass[a4paper,11pt]{article} > \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} > > With Context, I did this : > > \setuppapersize[A4][A4] > \setuplayout > [ topspace=2cm, > header=0pt, > footer=1.5cm, > bottomspace=0pt, > backspace=2cm, > cutspace=0pt, > width=middle] > > Is it correct ? Hi Fabrice, the \setuplayout values are fine. Do they contain the same dimensions as in the LaTeX geometry options? Let me see ;-). You remove header in ConTeXt, but it seems not to be removed in LaTeX. This may make a different point to start placing text in the page (if you have header space defined in LaTeX [whether you use it or not]). You set the footer in ConTeXt. I don’t remember where LaTeX places the page number and how LaTeX handles the footer. You might end having a different point to end placing text in the page. Paper size in ConTeXt defaults to A4, so you may remove that line. BTW, you forgot to mention \setupbodyfont[11pt]. Body font size defaults to 12pt in ConTeXt. A way to check this is the following sample: \setuplayout [topspace=2cm, height=middle, header=0pt, footer=1.5cm, backspace=2cm, width=middle] \showframe \starttext \showlayout \input zapf \stoptext You don’t have to set bottomspace or cutspace with height or width set to middle. Just in case 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] source code and result side by side
On 07/29/2017 10:58 AM, Pablo Rodriguez wrote: > On 07/29/2017 12:57 AM, Aditya Mahajan wrote: >> [...] >> \placesidebyside >> {\typebuffer[example-1]} >> {\getbuffer[setups, example-1]} > [...] > Is there now hay to avoid the forced horizontal mode on both sides? Replying to my own question, a fast fix (although far from perfect) would be using xtables: \def\replacesidebyside#1{% \blank\startembeddedxtable[frame=off, option=stretch] \startxrow \startxcell\typebuffer[#1][option=TEX]\stopxcell \startxcell\getbuffer[setups, #1]\stopxcell \stopxrow \stopembeddedxtable\blank} \def\replaceontopofeachother#1{% \blank\startembeddedxtable[frame=off, option=stretch] \startxrow \startxcell\typebuffer[#1][option=TEX]\stopxcell \stopxrow \startxrow[toffset=1em, split=yes] \startxcell\getbuffer[setups, #1]\stopxcell \stopxrow \stopembeddedxtable\blank} \starttext \startbuffer[example-1] \setupexternalfigures[location=default] \starttext \ConTeXt\ is awesome! \externalfigure[cow.pdf][scale=250] \stoptext \stopbuffer Frames won’t be split accross pages. There may be other issues, but none tham I’m aware of ;-). Just in case 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
[NTG-context] About Layout
Hello, With Latex, for my layout, I used this : \documentclass[a4paper,11pt]{article} \usepackage[left=2cm,right=2cm,top=2cm,bottom=2cm]{geometry} With Context, I did this : \setuppapersize[A4][A4] \setuplayout [ topspace=2cm, header=0pt, footer=1.5cm, bottomspace=0pt, backspace=2cm, cutspace=0pt, width=middle] Is it correct ? Thank you Fabrice ___ 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] Extensible arrows in ConTeXT
> Am 27.07.2017 um 18:33 schrieb Hans Hagen : > > On 7/27/2017 6:02 PM, Mathias Schickel wrote: > >> I am not a lua programmer and I have no idea what that code does. So maybe >> Hans can tell me if I changed the code as he intended. > i uploaded a beta I can confirm that everything is working as intended! Thank you very much, Hans! > > - > Hans Hagen | PRAGMA ADE > Ridderstraat 27 | 8061 GH Hasselt | The Netherlands > tel: 038 477 53 69 | www.pragma-ade.nl | 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] Couple of questions
On 07/29/2017 04:45 AM, Gerion Entrup wrote: > Was not that simple, but I found the problem, that causes it: > subsubsections without numbers. > [...] > Is there a way to fix this? I would say this may be a bug. I don’t know how it is implemented, but prefixsegments (or prefixes) for captions only work when number is enabled. This makes sense if the section is part of the prefixsegments, but not if it isn’t. Another sample that shows the problem: \mainlanguage[de] \setupexternalfigures[location=default] \setuphead[subsection][number=no] \setupcaptions[prefixsegments=chapter] \setuphead[subsubsection][number=yes] \starttext \chapter[title=Kapitel] \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]} \section[title=Abschnitt] \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]} \subsection[title=Hier gibt’s ein Problem] \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]} \subsection[title=Und hier gibt’s ein Problem auch] \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]} \subsubsection[title=Aber hier gibt’s kein Problem] \placefigure{Eine Kuh}{\externalfigure[cow.pdf][scale=250]} \stoptext If this isn’t a bug, the code to avoid the problem is too tricky for me (and simply far beyond my knowledge). Excuse my ignorance, 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___
Re: [NTG-context] source code and result side by side
On 07/29/2017 12:57 AM, Aditya Mahajan wrote: > [...] > \startbuffer[example-1] > > \stopbuffer > > > \placesidebyside > {\typebuffer[example-1]} > {\getbuffer[setups, example-1]} Many thanks for your suggestion, Aditya. I’m afraid everything is forced to be in horizontal mode: \starttext \startbuffer[example-1] \setupexternalfigures[location=default] \starttext \ConTeXt\ is awesome! \externalfigure[cow.pdf][scale=250] \stoptext \stopbuffer \placesidebyside {\typebuffer[example-1]} {\getbuffer[setups, example-1]} \stoptext \placeontopofeachother has the same feature. This causes that \placefigure cannot be used. Is there now hay to avoid the forced horizontal mode on both sides? 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://context.aanhet.net archive : https://bitbucket.org/phg/context-mirror/commits/ wiki : http://contextgarden.net ___