[NTG-context] rotation weirdness

2023-09-16 Thread Hans van der Meer via ntg-context
I encountered something weird, that I cannot explain. It could be an error, but I was not able to pinpoint this.It seems as if the \rotate macro plays havoc with the macro definitions used to set the color of the frame and an outside title.Placing the outside title before the rotate proves

[NTG-context] Scaling characters without font switching in CLD

2023-08-12 Thread Hamid,Idris
tal stops --, and add commands to scale and/or rotate a character without triggering a font switch. Again, writing this from scratch is beyond my current skill set - although I've recently started to study CLD. Something like this -- some of the semantics is almost certainly wrong and/or clu

[NTG-context] \defineactivecharacter in LMTX + composing characters

2023-08-01 Thread Hamid,Idris
we still need something like \defineactivecharacter ʿ {\high{c}} \defineactivecharacter ʾ {\kern.07 em \high{\rotate[rotation=180,location=high]{c}}} or better \definecharacter ʿ {\high{c}} \definecharacter ʾ {\kern.07 em \high{\rotate[rotation=180,location=high]{c}}} The upshot is that we need

Re: [NTG-context] Tabulate: Change cell orienation for individual cells?

2023-06-27 Thread Bruce Horrocks via ntg-context
> On 27 Jun 2023, at 09:56, Denis Maier via ntg-context > wrote: > > Hi, > is it possible to override the defined orienatation for a given cell ? \starttext \starttabulate[|l|c|r|] \NC this and that \NC left and right \NC here and there \NC \NR \NC such and so \NC \rotate[

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
ct is a table which does not fit the width of the page. Hence I >> need to rotate it. Rotating the table is ok, but the caption is not rotated. >> My question is how can I instruct ConTeXt to rotate the caption and place it >> on the right side? >> My attempt: >&

Re: [NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Henning Hraban Ramm via ntg-context
Am 25.03.23 um 21:39 schrieb Willi Egger via ntg-context: Hello everybody, in my project is a table which does not fit the width of the page. Hence I need to rotate it. Rotating the table is ok, but the caption is not rotated. My question is how can I instruct ConTeXt to rotate the caption

[NTG-context] How to rotate the caption of a table...

2023-03-25 Thread Willi Egger via ntg-context
Hello everybody, in my project is a table which does not fit the width of the page. Hence I need to rotate it. Rotating the table is ok, but the caption is not rotated. My question is how can I instruct ConTeXt to rotate the caption and place it on the right side? My attempt: test.pdf

Re: [NTG-context] rotated headers in natural tables

2023-03-20 Thread Henning Hraban Ramm via ntg-context
Am 15.03.23 um 23:27 schrieb fv leung via ntg-context: How about using \vfill ? \define[1]{\RtH}{\vfill\rotate{#1}} This is actually the only version that works flawlessly. But thanks for all answers! (I was busy over the weekend.) Hraban

Re: [NTG-context] rotated headers in natural tables

2023-03-17 Thread Wolfgang Schuster via ntg-context
[1]{\RtH}{\rotate{#1}} \starttext \setupTABLE[offset=3pt] \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom] \bTABLE \bTABLEhead \bTR \bTH\RtH{animal}\eTH \bTH\RtH{size}\eTH \bTH\RtH{weight}\eTH \bTH\RtH{average speed}\eTH \eTR You can change the vertical alignment

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
]{{\startcombination[nx=3,ny=1,distance=15mm] {\externalfigure[cow][width=15mm]}{} \rotate[rotation=90]{\externalfigure[cow][width=15mm]}{} {\externalfigure[cow][width=15mm]}{} \stopcombination}} \null \stoptext BTW, A4 portrait is the default page size

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-17 Thread Keith McKay via ntg-context
]}{} \rotate[rotation=90]{\externalfigure[dummy]}{} {\externalfigure[dummy][]}{} \stopcombination} } \flushlayer[test3] \page %%% Wolfgang %%% \centerbox {\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}] \bTR \bTD \externalfigure[dummy] \eTD \bTD \rotate[rotation=90]{\externalfigure[dummy

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
gt; > > > > [backspace=2.5cm, > > > > > > topspace=1cm, > > > > > > height=28cm, > > > > > > width=17cm, > > > > > > header=0cm, > > > > > > footer=0.75cm, > > > > > > ] &

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Alan Braslau via ntg-context
> > [backspace=2.5cm, > > > > topspace=1cm, > > > > height=28cm, > > > > width=17cm, > > > > header=0cm, > > > > footer=0.75cm, > > > > ] > > > > \useMPlibrary [dum] > > > > \start

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Pablo Rodriguez via ntg-context
grounds[page] \setupbackgrounds[text] [background=test3] \starttext \setlayer[test3][location={middle}] \framed[offset=overlay]{{\startcombination[nx=3,ny=1,distance=15mm] {\externalfigure[cow][width=15mm]}{} \rotate[rotation=90]{\externalfigure[cow

Re: [NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Wolfgang Schuster via ntg-context
, height=28cm, width=17cm, header=0cm, footer=0.75cm, ] \useMPlibrary [dum] \starttext \definelayer[test3] \setlayer[test3][x=2cm,y=15cm] {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy]}{} \rotate[rotation=90]{\externalfigure[dummy

[NTG-context] Absolute positioning of \startcombination... \stopcombination

2023-03-16 Thread Keith McKay via ntg-context
, ] \useMPlibrary [dum] \starttext \definelayer[test3] \setlayer[test3][x=2cm,y=15cm] {\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle] {\externalfigure[dummy]}{} \rotate[rotation=90]{\externalfigure[dummy]}{} {\externalfigure[dummy][]}{} \stopcombination} \flushlayer[test3

Re: [NTG-context] rotated headers in natural tables

2023-03-15 Thread Bruce Horrocks via ntg-context
find an option to do that. > Tried \dontleavehmode or \hfill in my \RtH macro to no avail. > Is it possible? > > > \define[1]{\RtH}{\rotate{#1}} > > \starttext > > \setupTABLE[offset=3pt] > \setupTABLE[header][background=color,backgroundcolor=yellow,align=bottom] >

Re: [NTG-context] rotated headers in natural tables

2023-03-15 Thread fv leung via ntg-context
How about using \vfill ? \define[1]{\RtH}{\vfill\rotate{#1}} Henning Hraban Ramm via ntg-context 於 2023年3月16日 週四 上午2:16寫道: > Hi! > > In my table, I want the header texts to be 90˚ rotated and aligned to > the bottom of their cell. I couldn’t find an option to do that. > Tried

[NTG-context] rotated headers in natural tables

2023-03-15 Thread Henning Hraban Ramm via ntg-context
Hi! In my table, I want the header texts to be 90˚ rotated and aligned to the bottom of their cell. I couldn’t find an option to do that. Tried \dontleavehmode or \hfill in my \RtH macro to no avail. Is it possible? \define[1]{\RtH}{\rotate{#1}} \starttext \setupTABLE[offset=3pt

[NTG-context] Graded Transparency in MetaFun

2022-06-30 Thread Keith McKay via ntg-context
[10] = "LemonYellow"; p[15] = "MiddleGreen"; p[20] = "CadetBlue"; p[25] = "white"; maxTransp := 1; opHeight := 2.5; %centimeters opHeightpt := (opHeight /2.54)*72.27; draw lmt_text [     text = "\rotate{opaque}",     color = "black&q

Re: [NTG-context] SVG text alignment issue

2022-06-29 Thread Thangalin via ntg-context
Here's the formal rule: https://www.w3.org/TR/SVG11/coords.html#TransformAttribute rotate( [ ]), which specifies a rotation by degrees about a given point. If optional parameters and are not supplied, the rotation is about the origin of the current user coordinate system. The operation

Re: [NTG-context] SVG text alignment issue

2022-06-28 Thread Aditya Mahajan via ntg-context
ot; > style="fill:none;fill-opacity:1;stroke:#00;stroke-opacity:1" /> > x="-48.831322" > y="15.60547" > id="text4933-8-6" > transform="rotate(-90)" > > > style="font-style:normal

Re: [NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Denis Maier via ntg-context
s an embedded EXIF "Orientation" > tag and you're using a buggy viewer. Really old versions of Firefox/pdf.js had > this bug. If this is the case, you should be able to reproduce it with the > following bash commands: > > convert -size 64x256 canvas:grey -fill black -d

Re: [NTG-context] Rotating jpeg image gives weird output

2022-06-14 Thread Max Chernoff via ntg-context
" tag and you're using a buggy viewer. Really old versions of Firefox/pdf.js had this bug. If this is the case, you should be able to reproduce it with the following bash commands: convert -size 64x256 canvas:grey -fill black -draw "circle 32,128 16,112" demo1.jpg exiftool

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Bruce Horrocks via ntg-context
Thank-you Adam, Hraban and Richard for your suggestions. In the end it was remarkably simple: \starttext \definecollector[example] \setcollector [example] {\externalfigure[cow][width=6cm,frame=off]} \setcollector [example] [corner={right,bottom},location={right,top}] {\rotate[rotation=90

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Richard Mahoney via ntg-context
cefigure you can have different caption texts, like for titles. > Option 2: some magazines print the copyright credit running up the > side of the image, independently of the caption. I'd quite like to > do this and wondered if anyone had already written something they > could share?

Re: [NTG-context] Crediting copyright on photographs

2022-05-05 Thread Henning Hraban Ramm via ntg-context
already written something they could share? I often use \ininner{\rotate[location=fit]{Copyright notice}}, but it’s a hassle to get the placement right, don’t use it within the caption. Using \setlayer is most reliable. Hraban

[NTG-context] recursion in a table

2022-05-01 Thread Henning Hraban Ramm via ntg-context
[pic]} \starttabulate[|l|l|l|l|l|l|] \NC\NC normal\NC depth\NC fit\NC broad\NC high\NC\NR \HL \dostepwiserecurse{0}{359}{45}{% %\expanded{\setuprotate[rotation=\recurselevel]} \NC{\expanded{\recurselevel}˚}% \NC{\ruledhbox{X\rotate[location=normal,rotation=\recurselevel]{\TXT}X

Re: [NTG-context] Regular Online meeting

2022-02-07 Thread Hans Hagen via ntg-context
On 2/7/2022 10:12 PM, Gerhard Schramm via ntg-context wrote: Dear Hraban, Dear Hans I'm looking for a way to automatically rotate a graphic (DIN_A4_PDF_Pages). I try to manage technical manuals with Context. (Which is really great!) To do this, I have to import always new PDF-pages

[NTG-context] Regular Online meeting

2022-02-07 Thread Gerhard Schramm via ntg-context
Dear Hraban, Dear Hans I'm looking for a way to automatically rotate a graphic (DIN_A4_PDF_Pages). I try to manage technical manuals with Context. (Which is really great!) To do this, I have to import always new PDF-pages (technical sketches) , which can be in landscape or portrait format

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jan-Erik Hägglöf via ntg-context
olerant\protected\def\usepgflibrary[#1]#;#2% somehow both variants are used >> {\starttikzinput >> \normalusepgflibrary[#1#2]% >> \stoptikzinput} >> >> \usepgfmodule[shapes] >> \usepgfmodule[plot] >> \usepgfmodule[matrix] >> \usepgfmodule[decoration

Re: [NTG-context] how to setup path of ConTeXtLMTX for MacVim?

2021-12-14 Thread Jeong Dal via ntg-context
itikz] > > \def\pgfcircversion {1.4.4} > \def\pgfcircversiondate {2021/10/31} > > \usetikzlibrary[calc] > \usetikzlibrary[arrows.meta] > \usetikzlibrary[bending] > \usetikzlibrary[fpu] % may be needed for use fpu reciprocal (v1.0.1) > > \tikzi

Re: [NTG-context] circuitikz module seems broken

2021-12-13 Thread Hans Hagen via ntg-context
et{ current=american}] \processaction [\currentmoduleparameter{label}] [straight=>\ctikzset{label/align = straight}, align=>\ctikzset{label/align = rotate}, smart=>\ctikzset{label/align = smart}] \processaction [\currentmoduleparameter{resistor}] [european=>\ctikzset{

[NTG-context] All Equations

2021-12-10 Thread Henning Hraban Ramm via ntg-context
Gauge Theory: \startformula S_g = \frac{-I}{2\bar{\epsilon}} i \delta \left( \xi_{\delta_0} \mathring{+} \rho_\epsilon \rho_v^{abc}\cdot\eta_0 \right) f_a^0 a\lambda(\rotate[rotation=180,location=high]{\xi})\Psi(O_a) \stopformula % ? I guess the first \delta should be crossed somehow? % ? Is it possib

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-06 Thread Hans Hagen via ntg-context
an}] \processaction [\currentmoduleparameter{current}] [european=>\ctikzset{ current=european}, american=>\ctikzset{ current=american}] \processaction [\currentmoduleparameter{label}] [straight=>\ctikzset{label/align = straight}, align=>\ctikzset{label/align = rotate}, smart=>\ctikzset{la

Re: [NTG-context] [DKIM] Re: [DKIM] circuitikz module seems broken

2021-12-03 Thread Hans Hagen via ntg-context
ean=>\ctikzset{ current=european}, american=>\ctikzset{ current=american}] \processaction [\currentmoduleparameter{label}] [straight=>\ctikzset{label/align = straight}, align=>\ctikzset{label/align = rotate}, smart=>\ctikzset{label/align = smart}] \processaction [\current

Re: [NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-22 Thread Pablo Rodriguez via ntg-context
kip4cm \dostepwiserecurse{0}{360}{10}{ \doloopoverlist{normal,default,depth,fit,broad,high,middle}{ \ruledhbox{\rotate[rotation=\recurselevel, location=\recursestring]{% \framed [width=\textheight, height=\textwidth, rulethickness=5pt, depth=0cm, foregroundstyle=\bfd] {\recurse

Re: [NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-22 Thread Hans Hagen via ntg-context
}] \starttext \doiffile{A3page.pdf} {\def\Doc{A3page.pdf} \getfiguredimensions[\Doc] \dorecurse{\noffigurepages} {\ifodd\recurselevel \rotate[rotation=90] {\externalfigure[\Doc][page=\recurselevel, width=\textheight]} \else\rotate[rotation=270

Re: [NTG-context] upload

2021-10-22 Thread Hans Hagen via ntg-context
-context/2021/103909.html)? .. it was not really a minimal example ... \showframe \starttext \topskip4cm \rotate[rotation=90] {\externalfigure[A3page.pdf][page=1,width=\textheight]}\page \rotate[rotation=270]{\externalfigure[A3page.pdf][page=2,width=\textheight]}\page \rotate[rotation

[NTG-context] \rotate[rotation=270] adds extra vertical space

2021-10-21 Thread Pablo Rodriguez via ntg-context
] \dorecurse{\noffigurepages} {\ifodd\recurselevel \rotate[rotation=90] {\externalfigure[\Doc][page=\recurselevel, width=\textheight]} \else\rotate[rotation=270] {\externalfigure[\Doc][page=\recurselevel, width=\textheight]} \fi}} \stoptext I’m afraid

Re: [NTG-context] metafun: circular arc

2021-10-05 Thread Thomas A. Schmitz via ntg-context
Thank you so much, Hans, that's a neat solution! I was banging my head against the wall, but this makes sense. On 10/5/21 6:38 PM, Hans Hagen wrote: Because you know how to rotate and scale: \startuseMPgraphic{empedocless} path p, q, r ; pair a ; p := fullcircle scaled 10cm ; drawarrow p

Re: [NTG-context] metafun: circular arc

2021-10-05 Thread Hans Hagen via ntg-context
y further explanation. I hope you all had a wonderful meeting last week. I was sad I couldn't come, I was in Paris for a conference, the first after 18 months, so I couldn't skip this one. Because you know how to rotate and scale: \startuseMPgraphic{empedocless} path p, q, r ; pair a ; p :=

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Hans Hagen via ntg-context
.5 1.5` echo $OUTPUT ${ROTATION}˚ # downscale, add a white border and a shadow, rotate, move down, add a piece of tape (tesa1.png), grayscale convert "$INPUT" \ -auto-orient \ -resize 800x800 \ -bordercolor white -border 10 \ \( +clone -background black -shadow 80x3+2+2 \) +swap \ -backgrou

Re: [NTG-context] Use MetaPost to distort images?

2021-09-05 Thread Henning Hraban Ramm via ntg-context
uldn’t be a problem. BTW, here’s my script: #!/bin/bash #INPUT=$1 OUTPUT=${INPUT/.JPG/.png} OUTPUT=${OUTPUT/.jpg/.png} OUTPUT=${OUTPUT/in\//out\/} # random rotation ±1.5˚ ROTATION=`jot -r 1 -1.5 1.5` echo $OUTPUT ${ROTATION}˚ # downscale, add a white border and a shadow, rotate, move down, add

Re: [NTG-context] numbered exercises

2021-08-24 Thread Henning Hraban Ramm via ntg-context
Here’s what I have now (result attached): \define[1]\ÜbungNrCmd{\inmargin{\offset[y=3em]{\rotate[rotation=90]{\SectionFont #1 \defineenumeration[Übung][ text=Übung, title=yes, titleleft=, titleright=, titledistance=-1em, titlestyle=\SectionFont, %numberstyle=\SectionFont

[NTG-context] Natural tables framecolor=white regression

2021-06-20 Thread Christoph Reller
\eTD \bTD A \eTD \eTR \bTR \bTD \rotate[rotation=90]{Two} \eTD \bTD B \eTD \eTR \eTABLE \stoptext Attached is the result for ConTeXt LMTX version 2021.04.09 (and earlier) and for version 2021.06.18. In the latter case, the white frame is missing in the first column between row 1

[NTG-context] [Solved] Fwd: lmtx-20210118 | Corruption with rotated floats

2021-02-01 Thread Richard Mahoney
and figure floats using rotation. Lmtx-20210118 with for example: \placetable[here,90] results in the trashing of all subsequent body text in the PDF. This can be corrected with something such as: \placetable[here] ... \framed[orientation=90] (although one looses the ability to rotate

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Hans Hagen
releases of LMTX, it is essential that I should be able to rotate tables and images. Does anyone know of a fix? Richard, a minimal sample with images would read: \setupexternalfigures[location=default] \starttext \placefigure[90, here]{Rotated sample}{\externalfigure[hacker.jpg

[NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Richard Mahoney
] ... \framed[orientation=90] (although one looses the ability to rotate the title of the table). The last really stable version of LMTX, which I'm finding that I'm constantly returning to as my default, is lmtx-20200920. This error has been occurring for some time now, and unfortunately, while

Re: [NTG-context] lmtx-20210118 | Corruption with rotated floats

2021-01-23 Thread Pablo Rodriguez
TX, it is > essential that I should be able to rotate tables and images. Does > anyone know of a fix? Richard, a minimal sample with images would read: \setupexternalfigures[location=default] \starttext \placefigure[90, here]{Rotated sample}{\externalfigure[hacker.jpg]} \input zap

Re: [NTG-context] Bug in matrices/alignment (LMTX)

2020-11-14 Thread Jairo A. del Rio
am 14.11.2020 um 20:10: > > Hi everyone. > > The following example works in ConTeXt MkIV but fails in ConTeXt LMTX: > > > > \def\rgeq{\vcenter{\rotate[rotation=270]{$>$}}} > > > > \definemathmatrix[void][left=,right=,simplecommand=voidmatrix] > > >

Re: [NTG-context] Bug in matrices/alignment (LMTX)

2020-11-14 Thread Wolfgang Schuster
Jairo A. del Rio schrieb am 14.11.2020 um 20:10: Hi everyone. The following example works in ConTeXt MkIV but fails in ConTeXt LMTX: \def\rgeq{\vcenter{\rotate[rotation=270]{$>$}}} \definemathmatrix[void][left=,right=,simplecommand=voidmatrix] \starttext \startformula \voidmatrix{% G_{

[NTG-context] Bug in matrices/alignment (LMTX)

2020-11-14 Thread Jairo A. del Rio
Hi everyone. The following example works in ConTeXt MkIV but fails in ConTeXt LMTX: \def\rgeq{\vcenter{\rotate[rotation=270]{$>$}}} \definemathmatrix[void][left=,right=,simplecommand=voidmatrix] \starttext \startformula \voidmatrix{% G_{1,1}, >, G_{1,2}, >, G_{1,3}, >, G_{1,4},

Re: [NTG-context] Full page image and caption in another page?

2020-09-23 Thread Taco Hoekwater
Hi, This sounds quite complicated, really. I am not at all sure how this page rotation should work but I assume you plan a pdf-only document then? Otherwise, I would expect rotating the figure instead of the whole page. Also, rotating the paper does not rotate the layout, at least

[NTG-context] Full page image and caption in another page?

2020-09-22 Thread José de Mattos Neto
=27.3cm, footer=0cm, backspace=4.2cm, width=13.6cm] \setuppapersize[default] \setuplayout[default] \setuppagenumbering[alternative=doublesided, location={header}] \setupexternalfigures[location={default}] \definepapersize[rotate][A4, landscape] \definefloat[bigfigure

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Jairo A. del Rio
ᠳᠯᠡᠭᠰᠡᠨ ᠶᠡᠯ᠎ᠡ ᠪᠡᠷ ᠭᠣᠷᠪᠠᠨ ᠵᠢᠯ ᠦᠨ ᠬᠣᠭᠣᠴᠠᠭ᠎ᠠ ᠲᠠᠢ ᠬᠣᠷᠢᠬᠣ ᠡᠷᠡᠭᠦᠦ ᠪᠡᠷ > ᠰᠢᠳᠬᠡᠭᠰᠡᠨ ᠪᠠᠢᠨ᠎ᠠ᠃ > \stopframed > > I realized that I already added the anchoring features long ago ... > > Hans > > > hm, only for testing, not for use > > > >> I can rotate boxes in ConTeXt using other

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Hans Hagen
On 8/4/2020 10:32 AM, Jairo A. del Rio wrote: http://www.mongolfont.com/en/font/mnglwhiteotf.html hm, only for testing, not for use I can rotate boxes in ConTeXt using other methods than those used in LaTeX. However, my main concern is about "translating" the Lua(La)TeX piece

Re: [NTG-context] About vertical typesetting in ConTeXt

2020-08-04 Thread Jairo A. del Rio
ᠨᠢᠭᠡᠨ ᠬᠦᠴᠦᠷᠬᠡᠭᠯᠡᠨ ᠨᠦᠵᠢᠳᠯᠡᠭᠰᠡᠨ ᠶᠠᠯᠠᠲᠣ ᠬᠡᠷᠡᠭ ᠲᠦ ᠰᠢᠭᠦᠯᠲᠡ ᠬᠢᠪᠡ᠃ ᠰᠢᠭᠦᠨ ᠲᠠᠰᠣᠯᠣᠯᠳᠠ ᠪᠠᠷ᠂ ᠵᠠᠭᠠᠯᠳᠣᠭᠳᠠᠭᠴᠢ ᠡᠷᠬᠢᠮᠲᠦ ᠵᠢ ᠬᠦᠴᠦᠷᠭᠡᠭᠯᠡᠨ᠂ ᠨᠦᠵᠢᠳᠯᠡᠭᠰᠡᠨ ᠶᠡᠯ᠎ᠡ ᠪᠡᠷ ᠭᠣᠷᠪᠠᠨ ᠵᠢᠯ ᠦᠨ ᠬᠣᠭᠣᠴᠠᠭ᠎ᠠ ᠲᠠᠢ ᠬᠣᠷᠢᠬᠣ ᠡᠷᠡᠭᠦᠦ ᠪᠡᠷ ᠰᠢᠳᠬᠡᠭᠰᠡᠨ ᠪᠠᠢᠨ᠎ᠠ᠃ \end{flushleft} \stopmongolian } } \end{document} I can rotate boxes in ConTeXt using other

Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Wolfgang Schuster
[{\framed [frame=off, orientation=20, foregroundcolor=gray] {\scale[width=\textwidth]{Draft}}}] Also, if you set \rotate[rotation=0.0]{Draft} it will disappear... I see, there are still problems with decimal values for rotation.

Re: [NTG-context] Draft Watermark of Garden gives unexpected results

2020-06-11 Thread Floris van Manen
On 11/06/2020 22:31, Jairo A. del Rio wrote: > The watermark is partially outside the page, whereas the Wiki result is > more "centered". Is that an intended behaviour? > Also, if you set \rotate[rotation=0.0]{Draft} it will disappear... pEpkey.asc Description: a

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
imension now >>> In which way? Did you get the desired result or was there just no >>> error message. >>>> \starttext >>>> \rotate[rotation=-0.2]{Rotation} >>>> \stoptext >>>> >>>> No such problems with integer rotati

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
Hans Hagen schrieb am 27.05.2020 um 17:39: On 5/27/2020 5:30 PM, Wolfgang Schuster wrote: Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Hans Hagen
On 5/27/2020 5:30 PM, Wolfgang Schuster wrote: Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems

Re: [NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Wolfgang Schuster
Peter Rolf schrieb am 27.05.2020 um 16:38: Hi, this used to work, but wants a dimension now In which way? Did you get the desired result or was there just no error message. \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. ConTeXt expects

[NTG-context] lmtx: rotation problem with float numbers

2020-05-27 Thread Peter Rolf
Hi, this used to work, but wants a dimension now \starttext \rotate[rotation=-0.2]{Rotation} \stoptext No such problems with integer rotation numbers. Peter T:\tmp>context --version mtx-context | ConTeXt Process Management 1.03 mtx-context | mtx-context | main context file

[NTG-context] [rotate question]

2020-05-01 Thread Floris van Manen
I try to introduce a per character rotation using lua. But a negative rotation angle seems to introduce a vertical offset to the base line. It might be intended, but how to get it gone? Any hints? .Floris \def\streepA{% \rotate[rotation=\ctxlua{context(math.random(1,15))}]{\|}% } \def\streepB

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Fabrice Couvreur
ibility, performance ...), this is only possible with > \startframed. > >> > >> 3. ConTeXt uses different mechanism to draw rectangular (unless you > draw a > >> closed frame) and rounded frame and the mechanism for rounded frames > doesn't > >> work with o

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
a) use MetaPost to draw the complete card (letter plus frame) or b) use only TeX to put the letter in a frame and rotate it. begin tex example \usecolors[svg] \defineframed [frameletter] [width=1.25em, height=1.75em, foregroundstyle=\ssbfc, corner=round, radius=0.1

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Rudolf Bahr
t; work with outlinetext. > > 4. To achieve the desired result you can now a) use MetaPost to draw the > complete card (letter plus frame) or b) use only TeX to put the letter in a > frame and rotate it. > > begin tex example > \usecolors[svg] > > \defineframed &

Re: [NTG-context] Passing the parameters of a frame in an environment \startMPcode ... \stopMPcode

2020-04-20 Thread Wolfgang Schuster
in a frame and rotate it. begin tex example \usecolors[svg] \defineframed [frameletter] [width=1.25em, height=1.75em, foregroundstyle=\ssbfc, corner=round, radius=0.1\bodyfontsize, rulethickness=1pt] \starttext \startTEXpage[offset=\linewidth] \dontleavehmode \rotate

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-13 Thread Fabrice Couvreur
> >>>> ymajorgrids=true, > >>>> grid style={cyan!30}, > >>>> ymin=0, > >>>> ymax=22, > >>>> xmin=0, > >>>> xmax=14, > >>>> x=1cm, > >>>> y=0.3cm, &

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Aditya Mahajan
dth=0.12cm, tick style=very thick, xtick={\empty}, ytick={0,2,...,18,20}, extra x ticks={2,5,7,9,11,13}, extra x tick labels={octobre,novembre,janvier,mars,avril, juin}, extra x tick style={tick label style={rotate=45}}, extra tick style={tick style={draw=none}}, xlabel={D

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Aditya Mahajan
ide, tickwidth=0.12cm, tick style=very thick, xtick={\empty}, ytick={0,2,...,18,20}, extra x ticks={2,5,7,9,11,13}, extra x tick labels={octobre,novembre,janvier,mars,avril, juin}, extra x tick style={tick label style={rotate=45}}, extra tick style={tick style={draw=n

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Fabrice Couvreur
x line =bottom, > > axis y line =left, > > axis on top=true, > > axis line style =very thick, > > tick align=outside, > > tickwidth=0.12cm, > > tick style=very thick, > > xtick={\empty}, > > ytick={0,2,...,18,20}, > >

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Henri Menke
t, > axis on top=true, > axis line style =very thick, > tick align=outside, > tickwidth=0.12cm, > tick style=very thick, > xtick={\empty}, > ytick={0,2,...,18,20}, > extra x ticks={2,5,7,9,11,13}, > extra x tick labels={octobre,novembre,janvier,

Re: [NTG-context] Lmtx + pgfplots compilation error

2020-04-08 Thread Fabrice Couvreur
={2,5,7,9,11,13}, extra x tick labels={octobre,novembre,janvier,mars,avril, juin}, extra x tick style={tick label style={rotate=45}}, extra tick style={tick style={draw=none}}, xlabel={Date},ylabel={Note}, xlabel={Date},ylabel={Effectif}, every axis x label/.style

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-15 Thread Hans Hagen
On 2/15/2020 12:25 PM, Fabrice Couvreur wrote: Hi Henri, Why does the blue path not rotate 90 with the draw command but rotate with the fill command? compare draw origin -- (0,0.2cm) -- (4cm,0.2cm) -- (4cm,0) -- (4.1cm,-0.05cm) -- (0.1cm,-0.05cm) -- cycle rotated alpha withcolor red

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-15 Thread Floris van Manen
On 15-02-2020 12:25, Fabrice Couvreur wrote: > Hi Henri, > Why does the blue path not rotate 90 with the draw command but rotate > with the fill command? > Why not draw the match as a picture first, then rotate and shift that picture? Also, if you use a local scale unit, it wi

Re: [NTG-context] Metapost and TikZ color code equivalent

2020-02-15 Thread Fabrice Couvreur
Hi Henri, Why does the blue path not rotate 90 with the draw command but rotate with the fill command ? \startMPcode def match (expr alpha, pos) = fill unitsquare xscaled 4cm yscaled 0.2cm rotated alpha shifted pos withcolor yellow ; fill origin -- (4cm,0) -- (4.1cm,-0.05cm

Re: [NTG-context] Tent style cards

2019-12-21 Thread Pablo Rodriguez
\stopframedtext \stopbuffer \starttext %~ \showframe \rotate[rotation=180]{\getbuffer[tblcard]} \page \getbuffer[tblcard] \stoptext I hope it goes on time ;-), Pablo -- http://www.ousia.tk _

Re: [NTG-context] Moving horizontally a whole ensemble of layers in the same run?

2019-12-18 Thread Rudolf Bahr
} } \setlayer[LAY][x=210pt,y=0pt]% {% \definedfont[Serif at 82pt] \rotate[rotation=90,frame=on,offset=2pt]{\hbox{JOURNEY}} } \setlayer[LAY][x=360pt,y=50pt]% {% \vbox {% \hsize=200pt \input ward \vskip\lineheight \externalfigure[hacker]

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Otared Kavian
height] >> % \setlayerframed[WatermarkOverlay] >> %[preset=center] >> %[foregroundcolor=red,frame=off] >> %{\scale[factor=max]{\rotate[rotation=60.0]{~Oops!~}}} >> >> \defineoverl

Re: [NTG-context] LMTX Tagging and overlay

2019-12-15 Thread Rik Kabel
=center] %    [foregroundcolor=red,frame=off] % {\scale[factor=max]{\rotate[rotation=60.0]{~Oops!~}}} \defineoverlay   [WatermarkOverlay] [{\framed[frame=off,    foregroundcolor=red

[NTG-context] LMTXL Tagging and overlay

2019-12-10 Thread Rik Kabel
, % width=\paperwidth, % height=\paperheight] % \setlayerframed    [WatermarkOverlay] %    [preset=center] %    [foregroundcolor=red,frame=off] % {\scale[factor=max]{\rotate[rotation=60.0]{~Oops!~}}} \defineoverlay

Re: [NTG-context] \numexpr in \rotate error

2019-10-16 Thread Hans Hagen
On 10/16/2019 5:02 PM, cont...@vivaldi.net wrote: Hello, the following code stopped working after today's Ctx update: \setupexternalfigures[location=default] \starttext   %\externalfigure[hacker]   \getrandomnumber\t{0}{20}   \rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy

[NTG-context] \numexpr in \rotate error

2019-10-16 Thread context
Hello, the following code stopped working after today's Ctx update: \setupexternalfigures[location=default] \starttext %\externalfigure[hacker] \getrandomnumber\t{0}{20} \rotate[rotation=\numexpr\t-10\relax]{\externalfigure[dummy]} \stoptext with: " tex error

Re: [NTG-context] PDF viewer poll

2019-10-13 Thread Henning Hraban Ramm
> don't care. > Then it's good to have "xpdf" which is simpler than "okular" but works > especially in > this case. And before sending pdf-data to a printing-house I use "qpdf" not > to view, > but to transform my pdf files as rotate them to get th

Re: [NTG-context] PDF viewer poll

2019-10-13 Thread Rudolf Bahr
the moment it doesn't work with my context-pdfs, I don't know why, but I don't care. Then it's good to have "xpdf" which is simpler than "okular" but works especially in this case. And before sending pdf-data to a printing-house I use "qpdf" not to view, but to transform

Re: [NTG-context] metafun 2

2019-08-19 Thread Jorge Manuel
uot;, xlabels = "yes", ylabels = "yes", ycaption = "\strut\tfd \rotate[rotation=90]{vertical}", xcaption = "\strut\tfd horizontal", pointsymbol = "dot", pointsize = 4, pointcolor = "orange", sx = 2mm, sy = 4mm, li

Re: [NTG-context] metafun 2

2019-08-14 Thread Aditya Mahajan
yticks = "left", ysmall = 40, ylarge = 4, code = "1.5 * math.sin(2*x^2)", xlabels = "yes", ylabels = "yes", ycaption = "\strut\tfd \rotate[rotation=90]{vertical}", xcaption = "\strut\tfd horizontal&q

Re: [NTG-context] metafun 2

2019-08-14 Thread Hans Hagen
all = 40, ylarge = 4, code = "1.5 * math.sin(2*x^2)", xlabels = "yes", ylabels = "yes", ycaption = "\strut\tfd \rotate[rotation=90]{vertical}", xcaption = "\strut\tfd horizontal", pointsymbol = "dot&qu

Re: [NTG-context] metafun 2

2019-08-14 Thread Otared Kavian
ge = 4, code = "1.5 * math.sin(2*x^2)", xlabels = "yes", ylabels = "yes", ycaption = "\strut\tfd \rotate[rotation=90]{vertical}", xcaption = "\strut\tfd horizontal", pointsymbol = "dot", poin

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Martin Althoff
][2,3][width=30mm] \setupTABLE[r][1][height= 50mm,align={lohi}] \bTABLE \bTR \bTD \dontleavehmode{\rotate{1. a bit more text again, entering the age of long sentences}} \eTD \bTD \hbox to \dimexpr(.5\lineheight+.5\hsize){\hss{\rotate{2. a bit more text again, and see if linebreaking works}}} \eTD \bTD

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Wolfgang Schuster
-context | current version: 2019.05.18 10:42 PDF of my output is attached. MWE: \starttext \setupTABLE[c][1][width=7mm] \setupTABLE[c][2][width=30mm] \setupTABLE[r][each][align={lohi,middle},height= 50mm] \bTABLE \bTR \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD \bTD

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Martin Althoff
Hi Willi, thanks for the quick reply. I have the [align=lohi] as part of the setupTABLE statement. Now I tried adding it into the particular cell -- again no effect even if I add "middle". \bTD[align=lohi] \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD I suspect the rotate

Re: [NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Willi Egger
gt; \setupTABLE[r][each][align={lohi,middle},height= 50mm] > > \bTABLE > \bTR > \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD > \bTD blah \eTD > \eTR > > \eTABLE > \stoptext > _

[NTG-context] aligning rotated text in a natural table

2019-06-12 Thread Martin Althoff
of my output is attached. MWE: \starttext \setupTABLE[c][1][width=7mm] \setupTABLE[c][2][width=30mm] \setupTABLE[r][each][align={lohi,middle},height= 50mm] \bTABLE \bTR \bTD \rotate[270]{\switchtobodyfont[8pt]a bit more text} \eTD \bTD blah \eTD \eTR \eTABLE \stoptext rotate-test.pdf

Re: [NTG-context] issues with rotated paper size

2019-05-15 Thread Pablo Rodriguez
rotation, maybe there is a better > solution for this? I want to avoid enabling auto rotate in the screens where these documents are viewed. In any case, as long as I use "\setupinteractionscreen[option={none, max}]", everything works as expected. May thank

Re: [NTG-context] issues with rotated paper size

2019-05-15 Thread Wolfgang Schuster
includes calculations for the different box types. Part of these calculations are the width and height of the document and paper but when you rotate one of them you get unexpected values for them. Many thanks for your reply, Wolfgang. I see that a more complex method is deployed to get the box sizes

Re: [NTG-context] issues with rotated paper size

2019-05-14 Thread Pablo Rodriguez
ions > for the different box types. Part of these calculations are the width > and height of the document and paper but when you rotate one of them you > get unexpected values for them. Many thanks for your reply, Wolfgang. I see that a more complex method is deployed to get

  1   2   3   4   >