[NTG-context] Set two symbols in relative coordinates
Hi, because of some lacks of my font, I have to use some ugly font-hacks (bad, I know, but have no choice, because there is still really no good arabic font for setting quran, seems to be to hard for the world). One of these hacks is to define a new letter by setting to symbols in relative coordinates/position to each other. E.g. I have here an alif (just like a vertical line) together with a dot above it: \define\dotalif{{ا \hskip-0.2em{\arial ۟}\hskip0.2em}} with \hskip I can control the relative position horizontally. How to control the vertical position, without effecting or switching the line - like \vskip would do. Is there a method to bring it in position (relatively, using em as unit), without affecting the normal text? Maybe as overlay or something like that? Thanks. Huseyin ___ 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] Tabulate: how to center tabulate horizontally?
Hello, I'm trying to center horizontally a tabulate, but the tabulate is still placed on the left side of the page. How to center it? Here is my code: \starttext \startalignment[center] \dontleavehmode \externalfigure[cow] \stopalignment \startalignment[center] \dontleavehmode \starttabulate[|rw(1in)|rw(1in)|rw(1in)|] \HL \NC BBCCDD \NC $y_{JTSK}$ \NC $x_{JTSK}$ \NC\NR \HL[3] \NC 00 \NC 123456.479 \NC 123456.479 \NC\NR \HL \stoptabulate% \stopalignment \stoptext 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 241 096 751 Fax: +420 244 461 038 t.mkiv Description: Binary data t.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] Bug in ligature lookup
Hi, used font: http://fonts.qurancomplex.gov.sa/wp-content/uploads/2012/06/UthmanTN1-Ver10.zip Minexample: \definefont[uthm][file:UthmanTN1Ver10*arabic at 20pt] \starttext \uthm \setupalign[r2l] \stoptext You see, that the letters are not connected, it should be look like the attached image with this ligature. In the image you see the same font and the same above unicode-text, but rendered with CorelDraw instead. So it may or may not be a font-issue, but solvable in ConText? Thanks. Huseyin ___ 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] Tabulate: how to center tabulate horizontally?
I'm trying to center horizontally a tabulate, but the tabulate is still placed on the left side of the page. How to center it? You could use the tabularframe and align in the middle: \defineframedcontent [tabularframe] [frame=off, align=middle] \starttext \placetable[here]{Framesolution}{ \starttabulate[|rw(1in)|rw(1in)|rw(1in)|] \HL \NC BBCCDD \NC $y_{JTSK}$ \NC $x_{JTSK}$ \NC\NR \HL[3] \NC 00 \NC 123456.479 \NC 123456.479 \NC\NR \HL \stoptabulate } \stoptext Huseyin ___ 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] Tabulate: how to center tabulate horizontally?
Hello, it works, thanks! Lukas On Wed, 02 Apr 2014 11:26:39 +0200, H. Özoguz h.oezo...@mmnetz.de wrote: I'm trying to center horizontally a tabulate, but the tabulate is still placed on the left side of the page. How to center it? You could use the tabularframe and align in the middle: \defineframedcontent [tabularframe] [frame=off, align=middle] \starttext \placetable[here]{Framesolution}{ \starttabulate[|rw(1in)|rw(1in)|rw(1in)|] \HL \NC BBCCDD \NC $y_{JTSK}$ \NC $x_{JTSK}$ \NC\NR \HL[3] \NC 00 \NC 123456.479 \NC 123456.479 \NC\NR \HL \stoptabulate } \stoptext Huseyin -- 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 241 096 751 Fax: +420 244 461 038 ___ 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] Bugs in linenumbering ?
Hello, Here is an example that highlights a few problems I have with linenumbering. When the line numbers are located in the margin, everything is fine. But when the number is located in the text: 1) Text overflows in the right margin. 2) Paragraph indenting does not work. We can even see a kind of right indentation appear. 1+2 = First line of the paragraph is too short, netx ones are too long. 3) linenumbering does not work within footnotes (neither with line numbers in margin nor in text). Perhaps (3) is not implemented, but I suppose (1) and (2) are not the expected behaviour. == \setuppapersize[A4] \setupindenting[yes,first,medium] \definelinenumbering[lnbasic] \definelinenumbering[lntext] \definelinenumbering[lntextandnullwidth] \definelinenumbering[lntextandwidth] \setuplinenumbering[lnbasic][] \setuplinenumbering[lntext][location=text] \setuplinenumbering[lntextandnullwidth][location=text,width=0pt] \setuplinenumbering[lntextandwidth][location=text,width=.75em] \starttext {\bf A normal paragraph for reference}. \input tufte \startlinenumbering[lnbasic] {\bf Numbers in margin : correct right margin, paragraph indentation.} \input tufte \stoplinenumbering \startlinenumbering[lntext] {\bf Numbers in text, default width : overflow, no indentation of the first line but some kind of right indentation!} \input tufte \stoplinenumbering \startlinenumbering[lntextandnullwidth] {\bf Numbers in text, 0 width : no overflow but overtype on numbers, same problem with indentation.} \input tufte \stoplinenumbering \startlinenumbering[lntextandwidth] {\bf Numbers in text, average width : average overflow, same problem with indentation.} \input tufte \stoplinenumbering It also affects the previous lines when {em line numbering} starts from the middle of the line and not on a new paragraph. \startlinenumbering[lntext] {\bf Numbers in text, default width : overflow, no indentation of the first line but some kind of right indentation!} \input tufte \stoplinenumbering Line numbering does not work in footnotes\footnote{ \startlinenumbering[lnbasic] {\bf Numbers in margins.} \input tufte \stoplinenumbering } \footnote{ \startlinenumbering[lntext] {\bf Numbers in text.} \input tufte \stoplinenumbering }. \stoptext == Goodbye, Stéphane. ___ 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] lmmath and \cong
Dear list, There might be something obviously wrong with the following minimal example, but it doesn't show the \cong symbol. \enablemode[lmmath] \starttext \math{{\cal B} \cong {\cal C}} \stoptext I use lmmath to have the same output on calligraphic characters as with latex. My context version is beta, less than a fortnight old. Regards, Chris ___ 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] links to external documents
I am exploring the feasibility of presenting two interacting PDF files side by side. Thus far my experiments with \usereferences have managed only to produce a lua error: .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1394: attempt to call field 'reference' (a nil value) stack traceback: .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1394: in function 'identify_outer' .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1620: in function 'identify' .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1645: in function 'valid' .../ConTeXt/tex/texmf-context/tex/context/base/strc-ref.lua:1667: in function 'doifelsereference' [\directlua]:1: in main chunk The setup-- %testA.tex \starttext text text.\reference[firstpage]{} text text.\footnote[fnote]{A note.} \stoptext %LinkTest.tex \setupinteraction[state=start] \useexternaldocument[testA.tex] \usereferences[testA.tex] \starttext \at{page}[testA.tex::firstpage] \in{note}[testA.tex::fnote] \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl / http://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___
[NTG-context] Undefined control sequence: setupresume
I am unable to compile anything using the resume module from Wolfgang's t-letter package. I had to put a symlink from t-cor-03.tex - t-resume.tex Here's the source: \usemodule[resume][interface=moderncv,style=classic] \starttext Hello World! \stoptext Excerpts from the log file: ConTeXt ver: 2014.01.03 00:40 MKIV current system 'cont-new.mkiv' loaded (/home/bart/context/20140314-stable/tex/texmf-context/tex/context/base/cont-new.mkiv) system files jobname 'test', input './test', result 'test' fontslatin modern fonts are not preloaded languageslanguage 'en' is active (/home/bart/tmp/test.tex resolversmodules 'resume' is loaded (/home/bart/texmf/tex/context/t-cor-03.tex loading Context User Module / Framework for Resumes resolversmodules 'correspondence' is loaded (/home/bart/texmf/tex/context/third/letter/base/t-correspondence.mkiv loading Context User Module / Correspondence ) correspondence loading 'resume' 'interface' 'moderncv.nri' (/home/bart/texmf/tex/context/third/letter/interface/moderncv.nri colors 'rgb' color space is supported colors 'cmyk' color space is supported correspondence loading 'resume' 'style' 'classic.nrs' (/home/bart/texmf/tex/context/third/letter/style/classic.nrs ! Undefined control sequence. system tex error on line 191 in file /home/bart/texmf/tex/context/third/letter/style/classic.nrs: Undefined control sequence ... 181 \setupresumestyle 182 [\v!nextfoot] 183 [\v!layer] 184 [\c!preset=\v!left\v!bottom, 185\c!hoffset=\backspace, 186\c!voffset=2cm] 187 188 %D Default style for the user information 189 190 \setupresume[\v!quote] [\c!style=\v!italic,\c!color=resume:4] 191 \setupresume[\v!firstname] [\c!style=\c!tf\c!d,\c!color=resume:1] I'm stumped. I'm not sure which module setupresume is defined, unless it's the t-resume.xml file. What am I doing wrong? Thanks, Bart ___ 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] URL oddity
Below are two MWEs. The only difference is with \setupinteraction. When the resulting link is copied from the pdf and pasted into a browser, one can see that there is a trailing / added to the interactive version, but not to the non-interactive version. For this url (and many others), that causes a 404 failure. Additional experimentation shows that a second / is not added when a trailing slash has been provided. This is not the case with TL2013. It is the case with 2014.03.28 15:04 MKIV beta. Why has the trailing slash added? Is this an intentional change? If so, is there a method to invoke the older behavior. \starttext \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf] \from[aurl] \stoptext \setupinteraction[state=start] \starttext \useURL[aurl][http://www.mieleusa.com/manuals_pdf/Residential/Ovens/H387-2_us.pdf] \from[aurl] \stoptext -- 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://tex.aanhet.net archive : http://foundry.supelec.fr/projects/contextrev/ wiki : http://contextgarden.net ___