Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
On 2013–04–20 Tim Li wrote: Hi, many context users are also luatex user, and the context standalone also contains luatex binary (windows). I input the 'luatex' in the cmd, but it can't work. The message is as follows: d:\luatex luatex This is LuaTeX, Version beta-0.77.0-2013041621 (rev

Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
On 2013–04–20 Tim Li wrote: Marco, many thanks. By the way, how can I load the `luatex-plain.fmt` by default when typing luatex somefile.tex? TeX checks for a format which is named the same as the binary. You can create a link: ln -s /path/to/binary/luatex luatex-plain and then call

Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-20 Thread Marco Patzer
On 2013–04–20 Hans Hagen wrote: 1) Create a file “luatex-plain.tex” with the following context: \input plain \directlua {tex.enableprimitives('', tex.extraprimitives())} \pdfoutput=1 \everyjob \expandafter {% \the\everyjob \input luatex-basics\relax \input

Re: [NTG-context] use plain LuaTeX in ConTeXt standalone

2013-04-27 Thread Marco Patzer
On 2013–04–20 Hans Hagen wrote: On 4/20/2013 12:43 PM, Tim Li wrote: Yeah, I found that just now, so I changed luatex-plain.fmt to luatex.fmt. I try to move the new luatex.fmt to some directory in the ConTeXt standalone, but it seems that the kpathsea can't find my luatex.fmt. I'll add

Re: [NTG-context] setuppagenumber--start at page xy

2013-04-27 Thread Marco Patzer
On 2013–04–21 Jörg Hagmann wrote: Has the code for starting pagenumbering at a given number changed? I'm using last year's template for an annual report, but can't get it to work. Minimal example: \setuppagenumber[number=3] \setcounter[userpage][3] Marco signature.asc Description:

Re: [NTG-context] Hyphenation documentation

2013-04-27 Thread Marco Patzer
On 2013–04–20 Sietse Brouwer wrote: 1. how do I protect a single instance of a word against hyphenation? Does ConTeXt, like LaTeX, use \hbox{myfragileword}, or something different? You can enclose it in vertical bars: |thiswordwillnotbehyphenated| However, I'd prefer the new \unhyphenated

[NTG-context] Offset MP text with font change

2013-04-28 Thread Marco Patzer
Hi, why is the second line right-aligned in the following example? \definetextext [foo] [#1]#2{\switchtobodyfont[#1]#2} \starttext \dorecurse{5}{ \startMPcode draw \sometxt[foo][sans]{FooBar}; \stopMPcode \startMPcode draw \sometxt[foo][iwona]{FooBar};

Re: [NTG-context] Offset MP text with font change

2013-04-28 Thread Marco Patzer
On 2013–04–28 Wolfgang Schuster wrote: Am 28.04.2013 um 19:56 schrieb Marco Patzer home...@lavabit.com: Hi, why is the second line right-aligned in the following example? The first you use the iwona font in your document context has to load the typescript for it from a external

Re: [NTG-context] Offset MP text with font change

2013-04-28 Thread Marco Patzer
On 2013–04–28 Keith J. Schultz wrote: can someone explain to me why loading a file/typescript is producing spaces The typescripts themselves are full of spaces and new lines. And you really want those spaces for readability. TeX usually squashes multiple spaces into one, but spaces still

Re: [NTG-context] extra line after switchtobodyfont

2013-05-02 Thread Marco Patzer
On 2013–05–02 Meer, H. van der wrote: A call to \switchtobodyfont introduces extra vertical spacing as can be seen in the example. Is this intentional or is it something like a % missing somewhere in a macro? Loading the typescript in the setup area should get rid of the space. See

[NTG-context] Different width of marginblocks and margindata

2013-05-03 Thread Marco Patzer
Hi, in the following example, why do marginblocks and margindata produce a different width when both are set to the same value? \setupmarginblocks [width=\rightmarginwidth] \setupmargindata [inright] [style=normal, width=\rightmarginwidth] \showframe \starttext \startmarginblock

Re: [NTG-context] [***SPAM***] heading in margin - strange extra vertical spaces

2013-05-04 Thread Marco Patzer
On 2013–05–04 Zenlima wrote: I want to display the lowest heading in the outer margin. But as soon the simple text becomes a heading, a strange extra line appears on top of the margin. In my minimum example below the first paragraph shows how it should look like in the pdf-file; the

Re: [NTG-context] fontsize drawing in metapost

2013-05-07 Thread Marco Patzer
On 2013–05–07 Meer, H. van der wrote: Perhaps a better and possibly more elegant way seems the following route. When I turn Metapost figures into external pdf-files, these can be placed with \useexternalfigure and the scaled as a whole, drawing and text alike. My question is: can this be done

Re: [NTG-context] command for a MP graphic

2013-05-07 Thread Marco Patzer
On 2013–05–07 Roland Thiers wrote: Hi, I did this code to get a regular polygon with metafun, it works but I would like to have an user command like \define or \def to be able to choose the number of sides, n. I don't know how to do that ... Here's one way to do it:

Re: [NTG-context] LuaJitTeX, \texenginename, and \texengineversion

2013-05-08 Thread Marco Patzer
On 2013–05–07 Kip Warner wrote: I find the \texenginename and \texengineversion useful for retrieving the backend name and version. They work fine when using the vanilla LuaTeX backend. However, when using LuaJitTeX, the aforementioned macros still seem to retrieve LuaTeX specific information

Re: [NTG-context] mpgraphics confusion

2013-05-09 Thread Marco Patzer
On 2013–05–09 Meer, H. van der wrote: I am a bit confused about the metafum graphis. In the manual (2012) I read (screen version after page 203 section 3.3) the following. \startuseMPgraphic-\useMPgraphic this graphic is calculated each time it is placed.

[NTG-context] Obtaining the current font

2013-05-09 Thread Marco Patzer
Hi, in the gnuplot module the following macro is used for the TikZ terminal: \def\calculateGNUPLOTcharsize{% \global\GNUPLOThcharsize=1.05\fontcharwd\font`0% \global\GNUPLOTvcharsize=1.05\fontcharht\font`0% \global\advance\GNUPLOTvcharsize by 1.05\fontchardp\font`g% } What are

Re: [NTG-context] Obtaining the current font

2013-05-09 Thread Marco Patzer
On 2013–05–10 Mojca Miklavec wrote: What are \font`0 and font`g? AFAIK the backtick converts the character to the character code, which means it yields \font48 and \font103. The goal is to get the current font, right? I believe it gives you width/height/depth of character 48/103 in

Re: [NTG-context] Rotating vector graphics.

2013-05-13 Thread Marco Patzer
In context can I use a pdf graphic but rotate it 90 degrees? \setupexternalfigures [location=default] \starttext \externalfigure [cow] [orientation=90] \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] bold in math-mode

2013-05-20 Thread Marco Patzer
On 2013–05–20 Wim W. Wilhelm wrote: How can I get boldface characters and symbols (\bf) in mathmode. I'm using mkiv from TexLive 2012. The following works with the current beta: \starttypescript [palatino] \definetypeface [palatino] [rm] [serif] [palatino] [default] \definetypeface

Re: [NTG-context] Percent symbol inside \type{}?

2013-05-20 Thread Marco Patzer
On 2013–05–20 Sander Maijers wrote: What is the most straightforward way to print a percent symbol inside the argument to \type{} (or, if necessary, more generally: monospace type) I'd say the most straightforward way is using \asciimode: \starttext \startlines \mono{foo \% bar}

Re: [NTG-context] Including a large SVG image

2013-06-03 Thread Marco Patzer
On 2013–06–03 Sander Maijers wrote: I have a few SVG graphics of multiple megabytes. They contain a lot of objects (text/shapes). All graphics except for one gets properly included in my ConTeXt document. In place of the failed one there the gray placeholder box with 'status unknown'. Maybe

[NTG-context] Indentation in floats

2013-06-03 Thread Marco Patzer
Hi, how to disable indentation inside floats without using \noindenting each time? \setupindenting [yes, medium] \starttext \input ward \startplacefigure foo\par bar \stopplacefigure \startplacefigure alpha\par beta \stopplacefigure \startplacefigure \noindenting a

Re: [NTG-context] Indentation in floats

2013-06-03 Thread Marco Patzer
On 2013–06–03 Wolfgang Schuster wrote: how to disable indentation inside floats without using \noindenting each time? […] There is no key for \setupfloat the disable the indentation because floats are only a container for other objects, e.g. figures or tables. For text objects like

Re: [NTG-context] Centered title with numeration on the same line

2013-06-03 Thread Marco Patzer
On 2013–06–03 honyk wrote: How can I keep numeration and title together? You can create a custom head alternative. The following code is copied from the source, I only replace the \par with \kern\headnumberdistance. Have a look at strc-ren.mkiv for other layouts. \setuphead [section]

Re: [NTG-context] ToC - right-alignment of roman numerals

2013-06-03 Thread Marco Patzer
On 2013–06–03 honyk wrote: in fresh MkIV I use the following commands for building ToC, but I have no idea how to align the label (roman numeral) to the right. \setuphead[chapter][conversion=Romannumerals] \setupheadnumber[chapter][48] \setupcombinedlist [content] [alternative=c]

Re: [NTG-context] \at and \in woes with \startcomponent….\stopcomponent

2013-06-04 Thread Marco Patzer
On 2013–06–04 Hans Hagen wrote: On 6/4/2013 2:06 PM, Alan Bowen wrote: In my component files, the tools for cross-references work except for \at and \in. These commands produce links that display properly but go to a null page, i.e., nowhere. it's more an side effect of duplicate flushing

Re: [NTG-context] Pagenumbering

2013-06-05 Thread Marco Patzer
On 2013–06–05 Tim Steenvoorden wrote: I doing something wrong is this a bug? \starttext \setupcounter[userpage][10] \setcounter [userpage] [10] Marco signature.asc Description: Digital signature ___ If your

Re: [NTG-context] Side-by-side framed text blocks

2013-06-06 Thread Marco Patzer
On 2013–06–06 honyk wrote: I'd like to type two blocks of text with different 'align' settings side by side. Here's one way to do it: \setupframed [offset=1ex, width=8cm, frame=off] \starttext \placesidebyside {\startframed[align={normal,left}] \input knuth\par\stopframed}

Re: [NTG-context] Side-by-side framed text blocks

2013-06-06 Thread Marco Patzer
On 2013–06–07 honyk wrote: thanks for this. I removed that framed=off option and it turned out to be sligthly different from what I'd like to achieve. My goal is to have two blocks with a vertical gap between them and to have these blocks framed (or with the colored background) at the

Re: [NTG-context] Including a large SVG image

2013-06-10 Thread Marco Patzer
On 2013–06–10 Sander Maijers wrote: Is anybody still interested to look into this issue? I need the graph for my thesis, which is due soon. It works here. \starttext \externalfigure [scatterplot_of_WER_vs_PPL] [width=\textwidth] \stoptext context version: 2013.06.07 12:25 Inkscape

[NTG-context] Some issues with \unit

2013-06-11 Thread Marco Patzer
Hi, most of these issues already have been discussed last year¹, but they don't seem to be solved, yet. 1) \unit{10^3} does display as 10✕10³. This is confusing and wrong. 2) Expressions like \unit{e3} result in ✕10³ instead of 10³. The multiplication sign should be dropped in this case. 3)

[NTG-context] Wrong markings

2013-07-07 Thread Marco Patzer
Hi, in the following example the markings are wrong. \setupheadertexts [{\getmarking[section][both]}] [{\getmarking[section][first]\space\emdash\space \getmarking[section][last]}] \starttext \def\aa#1{\section{#1}\input knuth} \processcommacommand [A, B, C, D, E] \aa \stoptext I

Re: [NTG-context] Wrong markings

2013-07-08 Thread Marco Patzer
On 2013–07–08 Hans Hagen wrote: I expect the markings on the left and right to be the same and show A–C on the first page and D–E on the second one. Looks like a bug to me. use top and bottom This works. Thanks. -- previous : last before sync -- next : first after sync -- top

[NTG-context] First and last section of current chapter

2013-07-08 Thread Marco Patzer
Hi, how to display the first and last section name at the beginning of each chapter? I'm a little clueless which mechanism to use. A local table of contents displays all sections. Marks maybe? Although I have no idea how to achieve that with marks. Sure, I could manually reference the sections

Re: [NTG-context] underbraces slightly too narrow (with MkIV 2013.05.28)

2013-07-10 Thread Marco Patzer
On 2013–07–10 Sanjoy Mahajan wrote: In certain cases, display-mathunderbraces are not quite wide enough. Here's a minimal example: === \starttext \placeformula\startformula \underbrace{15\,\tf cm}_{L} \stopformula \stoptext === \starttext

[NTG-context] Overlays as background in textbackground

2013-07-14 Thread Marco Patzer
Hi, overlays are not displayed when used as a background for textbackground. Is this a bug or are overlays not supported? \defineoverlay [myoverlay] [\ssd Foo] \definetextbackground [mybackgroundColour] [background=color, backgroundcolor=gray] \definetextbackground [mybackgroundOverlay]

Re: [NTG-context] Overlays as background in textbackground

2013-07-14 Thread Marco Patzer
On 2013–07–14 Wolfgang Schuster wrote: Overlays are a framed feature (the page background is a frame too) and textbackgrounds are images which are drawn on the page like overlays. MetaPost graphics can be hooked into the textbackground using the mp and method keys. So apparently there is a

Re: [NTG-context] Overlays as background in textbackground

2013-07-15 Thread Marco Patzer
On 2013–07–15 Hans Hagen wrote: On 7/14/2013 8:54 PM, Marco Patzer wrote: Hi, overlays are not displayed when used as a background for textbackground. Is this a bug or are overlays not supported? in principle we can make it pluggable (given that there is some sensible way to pass info

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Marco Patzer
On 2013–07–15 H. Özoguz wrote: \setupheader[text][after=\hrule] \setupheader[text][after=\blue\hrule] Marco signature.asc Description: Digital signature ___ If your question is of interest to others as well,

Re: [NTG-context] Colored horizontal line

2013-07-15 Thread Marco Patzer
On 2013–07–15 H. Özoguz wrote: \color[r=0.4,g=0.4,b=0.4]{\hrule} fails. This syntax is wrong. You want \colored[r=0.4,g=0.4,b=0.4], \color expects a previously defined colour. Marco signature.asc Description: Digital signature

Re: [NTG-context] PDF-Toc text is wrong for new \start… commands

2013-07-16 Thread Marco Patzer
On 2013–07–16 Steffen Kram wrote: A similar problem occurs, when using references: It might be a parser issue. ConTeXt uses different parsers for different commands. Most commands happily accept values without trailing comma. The commands using a different parser require a trailing comma. I

Re: [NTG-context] INstalling the context version of TeX distro.

2013-07-17 Thread Marco Patzer
On 2013–07–17 john Culleton wrote: I downloaded the zip file and unzipped it. Now what? Unzip it and run first-setup.bat If you don't mind about a few MiB of space, run first-setup.bat --modules=all --fonts=all Again I need install directions. If there is an up-to-date guide to this

Re: [NTG-context] bug with beta 2013.07.12 19:10

2013-07-17 Thread Marco Patzer
On 2013–07–17 Steffen Kram wrote: Or is there a way to use the first_setup script with your server? Get the latest code from Hans http://pragma-ade.com/context/beta/cont-tmf.zip and replace the directory tex/texmf-context with its contents. Then regenerate the formats context --generate

Re: [NTG-context] A very simple macro that does not work...

2013-07-18 Thread Marco Patzer
On 2013–07–18 Alan Bowen wrote: Should the definition not be \define[1]\anios{{\tfx \inmagin{#1}}} ……\inmargin….? \inmagin would do the job with Knuth's new iTeX¹ system² but it's not yet available in ConTeXt, which still uses legacy TeX. In the near future it's unlikely that iTeX

Re: [NTG-context] Linecorrection and distances

2013-07-18 Thread Marco Patzer
On 2013–07–18 H. Özoguz wrote: And to which testsuite do you refer to? Probably http://pragma-ade.com/context/latest/cont-tst.7z I could not find any options, parameters, for startlinecorrection grep -Hnr startlinecorrection * cld/cld-001.cld:28: context.startlinecorrection( { blank

Re: [NTG-context] [***SPAM***] Joining two paragraphs

2013-07-22 Thread Marco Patzer
On 2013–07–22 H. Özoguz wrote: how to join to paragraphs /lines, such that they are not broken on to pages? \starttext \dorecurse{30}{First line.\\ Second line.\\} \dorecurse{30}{First line.\blank[samepage] Second line.\\} Marco signature.asc Description: Digital signature

Re: [NTG-context] About Hyphenation

2013-07-23 Thread Marco Patzer
On 2013–07–23 Andres Conrado Montoya wrote: \setupalign[verytolerant,stretch,lesshyphenation,hz,hanging] From my experience, stretch often leads to rather terrible spacing. I avoid it if wherever I can. 1. Is there any definitive way of avoiding […] hyphens at the end of a page? The penalty

Re: [NTG-context] footnotes on wrong page

2013-07-24 Thread Marco Patzer
On 2013–07–24 Alan BRASLAU wrote: From what I understand, footnotes can be handled using different mechanisms, and this is why it gets confusing for users. http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote Marco

Re: [NTG-context] About Hyphenation

2013-07-24 Thread Marco Patzer
On 2013–07–24 Wolfgang Schuster wrote: How about a example for us! \starttext %% \brokenpenalty1\relax \setpenalties\brokenpenalties{1}{1} \dorecurse{4}{\input knuth} Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore

Re: [NTG-context] About Hyphenation

2013-07-24 Thread Marco Patzer
On 2013–07–24 Wolfgang Schuster wrote: Apparently \brokenpenalty is not supposed to be used with \setpenalties, see spac-ver.mkiv : \setpenalties\widowpenalties\plustwo\maxdimen \setpenalties\clubpenalties \plustwo\maxdimen \brokenpenalty \maxdimen

Re: [NTG-context] [***SPAM***] Section without numbering

2013-07-25 Thread Marco Patzer
On 2013–07–25 H. Özoguz wrote: Thanks Wolfgang, but that does not work here. My minexample: \setupcombinedlist [content] [alternative=b, list={chapter, section, subject list={chapter, section, subject, Marco signature.asc Description: Digital signature

Re: [NTG-context] Opening quotes problem with context.

2013-07-27 Thread Marco Patzer
On 2013–07–27 john Culleton wrote: I think I will encapsulate the \quotation method in a macro like \def\qq{\\quotation\{} or similar. Two keystrokes are better than nine. I'd suggest to use the auto complete feature of your editor. When reading the source after six months “\qq” makes you

Re: [NTG-context] Using backslash in chapter title.

2013-07-28 Thread Marco Patzer
On 2013–07–28 john Culleton wrote: \chapter{Can You type \backslash bye?} The slash appears but a bit low and much too thin. Use \textbackslash. Marco signature.asc Description: Digital signature ___ If your

Re: [NTG-context] wrong \setupinteraction[focus=standard]?

2013-07-31 Thread Marco Patzer
On 2013–07–31 Pablo Rodríguez wrote: I’m trying to get internal links to footnotes without having the focus changed. […] Is this a bug? Yes, it's a known issue since quite a while. Hans confirmed it on 2013-03-28: This is a long term one ... I'm not going to mess with footnotes etc

[NTG-context] new beta luatex error

2013-07-31 Thread Marco Patzer
\starttext foo \stoptext ! LuaTeX error [string \directlua ]:1: attempt to call field 'resetprevdepth' (a nil value) stack traceback: [string \directlua ]:1: in main chunk. Marco signature.asc Description: Digital signature

Re: [NTG-context] Math accents set too close to capital

2013-07-31 Thread Marco Patzer
On 2013–07–31 Sietse Brouwer wrote: Tangential to your issue, but nota bene: instead of $...$ for inline math, ConTeXt lets you use \math{...} or \m{...}. Indeed. And when you use \asciimode, you have no other choice (and that's a good thing): \asciimode \starttext My #1 is $5

Re: [NTG-context] Path problems w/ MkIV on Arch Linux

2013-07-31 Thread Marco Patzer
On 2013–07–31 Matt Gushee wrote: Once again I'm returning to ConTeXt after a long absence [maybe if I just kept using it I wouldn't have these problems?]. I'm trying to get started with MkIV; I don't feel a strong need to have the very latest code, so unless there are serious bugs, I want to

Re: [NTG-context] new beta luatex error

2013-07-31 Thread Marco Patzer
On 2013–07–31 Hans Hagen wrote: On 7/31/2013 10:56 PM, Marco Patzer wrote: \starttext foo \stoptext ! LuaTeX error [string \directlua ]:1: attempt to call field 'resetprevdepth' (a nil value) stack traceback: [string \directlua ]:1: in main chunk. not here ... maybe spac

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Marco Patzer
On 2013–08–01 Jannik Voges wrote: I found a bug in the current ConTeXt Beta with externalfigure. The following minimal example will show you what happens \starttext \externalfigure[cow] \externalfigure[cow][width=10cm] \page \externalfigure[test] This reads in the file

Re: [NTG-context] bug in \externalfigure

2013-08-01 Thread Marco Patzer
On 2013–08–01 Aditya Mahajan wrote: I think that the advice of omitting the file extension given in most LaTeX introductions is more trouble than it is worth in ConTeXt. Omitting file extensions is important if you are generating both dvi and pdf outputs. In ConTeXt, one never uses the DVI

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-01 Thread Marco Patzer
On 2013–08–01 Philipp Gesang wrote: copypaste from PDF is broken: \setupbodyfont [iwona] \starttext \feature[+][just-os,smallcaps] 0123456789 abcdefghijklmnopqrstuvwxyz \stoptext Result:  Expected: 0123456789abcdefghijklmnopqrstuvwxyz

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-01 Thread Marco Patzer
On 2013–08–01 Philipp Gesang wrote: ···date: 2013-08-01, Thursday···from: Otared Kavian··· I tested your example: no problem here on Mac OS X 10.8.4, with either TeXShop, Adobe Redaer or Preview, with the latest beta (ConTeXt ver: 2013.08.01 01:31 MKIV beta fmt: 2013.8.1 int:

Re: [NTG-context] copypaste from pdf bug (smallcaps, text figures)

2013-08-02 Thread Marco Patzer
On 2013–08–02 Philipp Gesang wrote: https://phi-gamma.net/pdf/copypasta.pdf https://phi-gamma.net/files/copypasta.txt I definitely get   from this one. Indeed. When I copy from your file I get those private Unicode slots. When I run the example

Re: [NTG-context] Updating modules with a ppa:reviczky/context-daily installation

2013-08-03 Thread Marco Patzer
On 2013–08–03 Michael Ash wrote: I would like to bump my question back into the queue. Thank you for your consideration. I would also like to add: where can I put files that I would like context to see. For example if I have a file env_letter.tex which I include with \environment

Re: [NTG-context] How to update context modules; thank you, write-up, and a couple of questions

2013-08-04 Thread Marco Patzer
On 2013–08–04 Michael Ash wrote: (1) Is it possible to tell which version of a module is installed, i.e., that I am using the 2013.07.31 version of letter? (The version of context appears in the log file but not the version of the module.) Often modules contain a line like

Re: [NTG-context] Placefigure inner/outer

2013-08-04 Thread Marco Patzer
On 2013–08–04 Tim Steenvoorden wrote: \starttext \input knuth \placefigure[left]{}{\externalfigure[figurename]} \input knuth \placefigure[inner]{}{\externalfigure[figurename]} What do you want to do? Place it in the margin? \placefigure[inleft]{}{\externalfigure[figurename]} Marco

Re: [NTG-context] Locating pdf files in the texmf directory structure

2013-08-05 Thread Marco Patzer
On 2013–08–04 Michael Ash wrote: But env_letter.tex calls two pdf files with \externalfigure (see below). These two pdf files are also in the directory pointed to by TEXMFHOME but they show up in the finished document as gray state: unknown boxes This works here. \setupexternalfigure

[NTG-context] \completepublications in component creates wrong hyperlinks

2013-08-05 Thread Marco Patzer
Hi, if a \completepublications call is used in a component, the hyperlink, which is supposed to link to the bibliography, instead links to a (probably non-existing) pdf file named after the component. \startbuffer [sample] @BOOK{Eijkhout1991, title = {\TeX\ by Topic. A \TeX nician's

Re: [NTG-context] Hiding \part completely except for in the ToC

2013-08-06 Thread Marco Patzer
On 2013–08–06 Alexander van Ratingen wrote: I'm having a little problem and I'm hoping you can help. For my table of contents, I need to group my sections, but I don't want any heads for this in the text. Now, I've been using \part for this but unfortunately I cannot get rid of the empty

Re: [NTG-context] \completepublications in component creates wrong hyperlinks

2013-08-06 Thread Marco Patzer
On 2013–08–06 Hans Hagen wrote: it's a bit more general ... i changed something in the beta and the next seems to work now It's fixed, indeed. thanks Marco signature.asc Description: Digital signature ___ If

Re: [NTG-context] Persian digits in math formulas

2013-08-15 Thread Marco Patzer
On 2013–08–15 Mingranina Gingranina wrote: By the way, I couldn't find bidi-001.tex on ConTeXt Site, would you please let me know where can I get it? It's here: http://pragma-ade.com/context/latest/cont-tst.7z Marco

Re: [NTG-context] [***SPAM***] trouble with kerncharacters

2013-08-16 Thread Marco Patzer
On 2013–08–17 Dmitriy Tokarev wrote: I noticed that after the command \kerncharacters, I can not use the normal sequence --- for em-dash. Is there any work around of this effect? This is expected, since \kerncharacters breaks ligatures and the --- → — transformation is implemented using the

Re: [NTG-context] Em dash using Hoefler

2013-08-20 Thread Marco Patzer
On 2013–08–19 Martin Moncrieffe wrote: Hopefully, this is the correct list for this question. I'm trying to typeset documents using the font Hoefler on MacOSX (10.8.4) with ConTeXt 2013.05.28 from the TeXlive 2013 distribution. All works, but unfortunately, em dashes are not typeset

Re: [NTG-context] Em dash using Hoefler

2013-08-20 Thread Marco Patzer
On 2013–08–20 Marco Patzer wrote: On 2013–08–19 Martin Moncrieffe wrote: Hopefully, this is the correct list for this question. I'm trying to typeset documents using the font Hoefler on MacOSX (10.8.4) with ConTeXt 2013.05.28 from the TeXlive 2013 distribution. All works

Re: [NTG-context] Em dash using Hoefler

2013-08-20 Thread Marco Patzer
On 2013–08–20 Martin Moncrieffe wrote: Finder reports that my version of Hoefler is 8.0d2e1. This means we already have three different Hoefler versions in this thread. […] shows the the em dash is present in the font. When I use a version with em dash, your example works here. Someone using

Re: [NTG-context] Feature Request: define colour in relation to existing colour

2013-08-21 Thread Marco Patzer
On 2013–08–21 Hans Hagen wrote: On 8/21/2013 2:25 AM, Thangalin wrote: Hi, What would it take to extend \definecolor so that: \definecolor[ColourA][ColourB][t=0.5, a=1] defines a new colour (ColourB) based on an existing colour (ColourA)? I know that

Re: [NTG-context] Feature Request: showframe debugging

2013-08-21 Thread Marco Patzer
On 2013–08–20 Thangalin wrote: \showframe [ labels=on, measurements=on, color=red, ] Would produce an image similar to the attached, but with the black lines drawn in the specified colour. Using labels=on would show the names of the items that can be changed with \setuplayout.

Re: [NTG-context] Systems of equations in ConTeXt?

2013-08-22 Thread Marco Patzer
On 2013–08–22 Xan wrote: Simple question: what is the equivalent of: \begin{equation*} \left\{ \begin{aligned} 2x - 2y = 0\\ 4x - 2y = 2 \end{aligned} \right. \end{equation*} in ConTeXt? \starttext \startformula \startcases \NC 2x - 2y = 0 \NR \NC 4x - 2y = 2 \NR

[NTG-context] MetaPost label direction prefix

2013-08-23 Thread Marco Patzer
Hi, what is the reason the label direction prefix variables (rt, bot, llft, etc.) are prefixed with mpfun_ in MkIV (mp-mlib.mpiv)? When new directional prefixes are being defined it fails when mplib is used unless the mpfun_ prefix is added. And likewise, code using the mpfun_ prefix fails on

Re: [NTG-context] Cyrillic replacement for TeX Gyre Schola?

2013-08-23 Thread Marco Patzer
On 2013–08–20 Henning Hraban Ramm wrote: Seems like I didn’t need Russian lyrics since the removal of Cyrillic glyphs from TeX Gyre. But now I do. What would you do? Is there an illegal complete version around, Many commercial fonts cover the Cyrillic range. Pick whichever you like. or can

Re: [NTG-context] MetaPost label direction prefix

2013-08-23 Thread Marco Patzer
On 2013–08–23 Hans Hagen wrote: Is this prefix required? It breaks old code and required a branch in every new project. And I don't really see a reason for this incompatibility. Here is an example defining a new direction “foo”: The MpIV code has namespace protection. Why run traditional in

Re: [NTG-context] Cyrillic replacement for TeX Gyre Schola?

2013-08-23 Thread Marco Patzer
On 2013–08–23 Henning Hraban Ramm wrote: This should get you started: \usemodule [simplefonts] \setmainfont [schola] \setmainfontfallback [dejavuserif] [range=cyrillic] Thank you, that is what I was looking for. How would I write the last line without the

Re: [NTG-context] Cyrillic replacement for TeX Gyre Schola?

2013-08-23 Thread Marco Patzer
On 2013–08–23 Marco Patzer wrote: On 2013–08–23 Henning Hraban Ramm wrote: This should get you started: \usemodule [simplefonts] \setmainfont [schola] \setmainfontfallback [dejavuserif] [range=cyrillic] Thank you, that is what I was looking for. How

[NTG-context] LuajitTeX fails to load font

2013-08-23 Thread Marco Patzer
Hi, the following example compiles fine with LuaTeX, but LuajitTeX fails to find the font. \setupalign[r2l] \definefont[Sheherazade][name:scheherazade*arabic at 18pt] \starttext \Sheherazade أهلا بالعالم! \stoptext fontsdefining font with asked name 'scheherazade' is not found

Re: [NTG-context] beta

2013-08-23 Thread Marco Patzer
On 2013–08–24 Hans Hagen wrote: On 8/23/2013 2:41 PM, Otared Kavian wrote: Hi Hans, This is a very nice feature indeed. Out of curiosity, I wondered whether it is possible to to have \placeinitial to work with \definefirstline, or a variant of it: that is not only have the first

Re: [NTG-context] LuajitTeX fails to load font

2013-08-23 Thread Marco Patzer
On 2013–08–24 Hans Hagen wrote: Hard to say what is the issue but it is not a luajittex issue. We don't do anything special, for instance jit is turned off because there is no gain at all (actually with jit enabled, the run is slower). I can confirm that. I did not find a real-world document

Re: [NTG-context] beta

2013-08-24 Thread Marco Patzer
On 2013–08–24 Hans Hagen wrote: On 8/24/2013 2:08 AM, Marco Patzer wrote: On 2013–08–24 Hans Hagen wrote: On 8/23/2013 2:41 PM, Otared Kavian wrote: Hi Hans, This is a very nice feature indeed. Out of curiosity, I wondered whether it is possible to to have \placeinitial to work

Re: [NTG-context] Cyrillic replacement for TeX Gyre Schola?

2013-08-24 Thread Marco Patzer
On 2013–08–24 Wolfgang Schuster wrote: You missed in the typescript the features setting for the main and also the fallback font. I did, indeed. However, I'm unsure how to do it (I never needed to typeset Cyrillic and I can't even tell if it typesets correctly). The default features should be

Re: [NTG-context] MetaPost label direction prefix

2013-08-24 Thread Marco Patzer
On 2013–08–24 Hans Hagen wrote: startplaincompatibity ; label(first, origin); pair laboff.foo ; laboff.foo := (.5,-1) ; labxf.foo := labyf.foo := 1 ; label.foo(second, origin); stopplaincompatibity ; Brilliant! Thanks a lot. A few things: 1)

Re: [NTG-context] section headings on a grid: less space above?

2013-08-24 Thread Marco Patzer
On 2013–08–23 Lars Huttar wrote: \setuphead[subsection][number=no,style=it,grid=top] Add before={\blank[line]} Marco signature.asc Description: Digital signature ___ If your question is of interest to others

Re: [NTG-context] Cyrillic replacement for TeX Gyre Schola?

2013-08-24 Thread Marco Patzer
On 2013–08–24 Wolfgang Schuster wrote: I can’t reproduce your problem with the features key. I was surprised that your example was running here, and I noticed that a space makes all the difference: %% fails \definefontsynonym [Serif] [file:texgyrescholaregular] [features=default,

[NTG-context] Unexpanded texdefinition produces “Undefined control sequence”

2013-08-25 Thread Marco Patzer
Hi, the following example produces an “Undefined control sequence” error. If \def is used instead of \starttexdefinition then there is no error. Why? \starttexcode \installcommandhandler{foo}{foo}{foo} \appendtoks \setuevalue{start\currentfoo}{\foo@start[\currentfoo]}%%

Re: [NTG-context] Unexpanded texdefinition produces “Undefined control sequence”

2013-08-25 Thread Marco Patzer
On 2013–08–25 Wolfgang Schuster wrote: The \starttexdefintion command looks for the “unexpanded” keyword only when you apply also a argument but not when the arguments are missing, i.e. Thanks for the explanation. Is that a bug or expected behaviour? I think it's odd that

Re: [NTG-context] Typesetting Classical Arabic Poetry

2013-08-26 Thread Marco Patzer
On 2013–08–26 J. R. Schmid wrote: I've played around with your module and ran into some problems which may have been due to my inexperiencedness with ConTeXt (rupturing of ligatures, at least with Scheherazade and inconsistent line height). Marco has been helping me though, and it looks like

Re: [NTG-context] Minimal word-distance?

2013-08-26 Thread Marco Patzer
On 2013–08–26 H. Özoguz wrote: is it possible to declare explicit the minimal allowed word-distance? \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext Marco signature.asc Description: Digital signature

Re: [NTG-context] [***SPAM***] Re: Minimal word-distance?

2013-08-26 Thread Marco Patzer
On 2013–08–26 H. Özoguz wrote: \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext Marco That simply overrides protrusion and justification, The following text has protrusion and is justified. \setuplayout [width=6cm] \definefontfeature [default] [default]

Re: [NTG-context] Minimal word-distance?

2013-08-26 Thread Marco Patzer
On 2013–08–26 H. Özoguz wrote: The following text has protrusion and is justified. \setuplayout [width=6cm] \definefontfeature [default] [default] [protrusion=pure] \setupalign [hanging] \showframe \starttext \spaceskip=1ex plus 1ex minus .2ex \input knuth \stoptext / forcing

Re: [NTG-context] Unexpanded texdefinition produces “Undefined control sequence”

2013-08-26 Thread Marco Patzer
On 2013–08–26 Hans Hagen wrote: not a bug ... just not implemented (as it's pretty complex to do that case efficiently at the tex end) anyhow, as it seems to be needed, i redid the code and now we have: […] so, three optional qualifiers (also in that order), so you'd better wikify it

Re: [NTG-context] [***SPAM***] Continuous preview

2013-08-27 Thread Marco Patzer
On 2013–08–27 H. Özoguz wrote: For LaTex there exists a tool, named latexmk, which allows a preview continuous mode, that is to update the compiled pdf automatically. It is really very helpful! I don't know latexmk, but updating the pdf is a feature of the pdf reader, not of context. If you

<    1   2   3   4   5   6   7   8   >