Re: [NTG-context] \definemeasure / \dimexpr

2022-11-04 Thread Herbert Voss via ntg-context
Am 04.11.22 um 11:37 schrieb Henning Hraban Ramm via ntg-context: Am 03.11.22 um 22:43 schrieb Henning Hraban Ramm via ntg-context: Am 03.11.22 um 21:51 schrieb Hans Hagen via ntg-context: On 11/3/2022 9:32 PM, Henning Hraban Ramm via ntg-context wrote: I’m constantly struggling with

Re: [NTG-context] font features

2022-11-03 Thread Herbert Voss via ntg-context
Am 03.11.22 um 12:37 schrieb Thomas A. Schmitz via ntg-context: Hi, is there an easy way to get a list of all features that a font has and typeset a sample text to see the result of every single feature? There probably is, but I couldn't find anything... You'll get only the features with

Re: [NTG-context] Example from Practex Journal

2022-10-08 Thread Herbert Voss via ntg-context
Am 08.10.22 um 13:17 schrieb Jeroen via ntg-context: Could anybody help me out with the setup and a MWE to get a document exactly as the one from Steve Peter in the Practex Journal in 2005 as in https://tug.org/pracjourn/2005-1/peter/peter.pdf I find this one hard to replicate. What is

[NTG-context] using variable font

2021-07-01 Thread Herbert Voss
Hello all, this worked years ago with another variable font. But it fails with FiraCode. I get always the same weight: \definefontfeature[w300][default][axis={weight:300}] \definefontfeature[w400][default][axis={weight:400}] \definefontfeature[w500][default][axis={weight:500}]

Re: [NTG-context] text surrounding graphic in columns

2020-10-15 Thread Herbert Voss
Am 15.10.20 um 09:15 schrieb Hans Hagen: experimental (already there for a while but i need top pickup on it): \starttext \setupbodyfont[plex,10pt] \setupalign[tolerant,stretch] \useMPlibrary[dum] \startpagecolumns[n=2]     \dorecurse {10} {     \startplacefigure[location={left,none}]  

Re: [NTG-context] Dangerous bend metafont/post code?

2020-05-27 Thread Herbert Voss
Am 27.05.20 um 21:19 schrieb Gerben Wierda: To honour Donald Knuth, I’ve use his ‘dangerous bend’ (with attribution of course) in one of my publications. But I only had a low res image. Is the code of this symbol available somewhere so I can do it proper justice in a next edition? Knuth

[NTG-context] Fontloader

2019-05-25 Thread Herbert Voss
I had a problem with the fontloader and luatex. I tried to run my test document with context (latest minimal) to compare the output, but I failed. The font LibertinusKeyboard-Regular.otf https://ctan.org/tex-archive/fonts/libertinus-fonts/ uses ligatures especially for the keys above 0x

Re: [NTG-context] luaotfload

2019-04-12 Thread Herbert Voss
Am 12.04.19 um 17:34 schrieb Hans Hagen: The font files are here: http://tug.org/~hvoss/Sparks-Bar-Medium.otf http://tug.org/~hvoss/Sparks-Dotline-Medium.otf i hacked a faster solution for such fonts (now I need some 25 sec for the initial caching so probably less on your machine and < 0.1

[NTG-context] luaotfload

2019-04-12 Thread Herbert Voss
Hello all, If I run the following document on a 8 GByte RAM Linux machine. It takes more than 30 minutes until luaotfload has build the cache for Sparks-Dotline-Medium.otf. If I run another Program in the background that it never ends (too less memory). On my Mac the first run with context

Re: [NTG-context] index "compress" option / collapsing of page numbers

2019-04-03 Thread Herbert Voss
Am 03.04.19 um 11:41 schrieb Thomas A. Schmitz: On 3. Apr 2019, at 10:56, Henning Hraban Ramm wrote: Thank you – it’s not only a German habit, even if we pronounce it “folgende”, “f.” stems from Latin “folio”, and “ff.” is a duplicated abbreviation, as was usual in mediaeval Latin. So,

Re: [NTG-context] \framed regression

2018-10-29 Thread Herbert Voss
Am 29.10.18 um 16:13 schrieb Henning Hraban Ramm: But it doesn’t help with my labels. you have a \setupinterlinespace[2ex] so \offinterlinespace has no real meaning here. Try it without and \setupinterlinespace[0.1pt] And why did it work without \offinterlineskip before? No idea ...

Re: [NTG-context] \framed regression

2018-10-28 Thread Herbert Voss
Am 28.10.18 um 20:37 schrieb Henning Hraban Ramm: If I just typeset frames, they get 1pt of space inbetween: \starttext \offinterlineskip \dorecurse{20}{% %\vskip-1pt% to avoid space \framed[width=10cm,height=1cm]{\ConTeXt}% } \stoptext Herbert I’m not quite sure if that shows

Re: [NTG-context] Where can I find swiglib?

2018-06-03 Thread Herbert Voss
Am 03.06.2018 um 03:06 schrieb Henri Menke: On 06/02/2018 11:41 PM, luigi scarso wrote: https://serveur-svn.lri.fr/svn/modhel/swiglib/trunk/ https://serveur-svn.lri.fr/svn/modhel/swiglib/branches/ Doesn't work. $ svn co --username anonymous --password anonymous

Re: [NTG-context] ligature exceptions

2017-09-28 Thread Herbert Voss
Am 28.09.2017 um 08:40 schrieb Pablo Rodriguez: using latest beta (from 2017.09.25 19:19), the following sample works: \starttext \blockligatures[fi,ff] \blockligatures[fl] \blockligatures[u:fl:age, u:fl:eg] \definefontfeature[default:b][default][blockligatures=yes]

Re: [NTG-context] ligature exceptions

2017-09-27 Thread Herbert Voss
Am 27.09.2017 um 22:25 schrieb Henning Hraban Ramm: Am 2017-09-27 um 15:39 schrieb Thomas A. Schmitz : On 09/27/2017 02:16 PM, Thomas Widmann wrote: That's a nice idea. If something like that existed, it could be used to change 's' to 'ſ' in relevant places, too.

Re: [NTG-context] ligature exceptions

2017-09-27 Thread Herbert Voss
Am 27.09.2017 um 14:09 schrieb Henning Hraban Ramm: I know I can break ligatures with \/, like Auf\/lage, but is there a general dictionary approach, like \hyphenation{} ? https://ctan.org/tex-archive/macros/luatex/latex/selnolig is a selnolig.lua which could be used for a solution with

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Herbert Voss
Am 10.09.2017 um 09:13 schrieb Henning Hraban Ramm: My current code actually looks like % split in #1 page size parts \def\clipfigure{\dodoubleempty\doClipFigure} \def\doClipFigure[#1][#2]{ \ifsecondargument \dorecurse{#1}{% \tooltip{\clip[ height=\textheight,

Re: [NTG-context] automatically splitting big images (calculation problem)

2017-09-10 Thread Herbert Voss
Am 10.09.2017 um 09:13 schrieb Henning Hraban Ramm: \def\ausschnitt{\dodoubleempty\doAusschnitt} \def\doAusschnitt#1#2{\clip[height=\textheight,voffset=#1]{\externalfigure[#2][width=\textwidth]}\par} This also doesn’t work; there I’m trying to set the y coordinate for the start like

Re: [NTG-context] Font DejaVu with a font for Mathematics

2017-09-06 Thread Herbert Voss
Fabrice Couvreur schrieb: > I use for the documents of my students the font DejaVu because I find that > it is very readable on paper. Unfortunately, this is not a font for > writing > Mathematics. I would like to use DejaVu font for text and a font to write > mathematical formulas. What do you

Re: [NTG-context] show bounding boxes

2017-08-24 Thread Herbert Voss
Am 24.08.2017 um 15:46 schrieb Hans Hagen: you can enable some tracers: \starttext \bgroup \showglyphs \showfontkerns \showmakeup[hbox] »Tee for Two« shows negative kerning. \input sapolsky \par \egroup \stoptext thanks, works fine! Herbert (I will add a

Re: [NTG-context] show bounding boxes

2017-08-24 Thread Herbert Voss
Am 24.08.2017 um 15:23 schrieb Idris Samawi Hamid ادريس سماوي حامد: \definefontfeature[default][default][boundingbox=frame] \starttext »Tee for Two« shows negative kerning. \input sapolsky \stoptext Curious: What kind of applications are you interested in, particularly for the

[NTG-context] show bounding boxes

2017-08-23 Thread Herbert Voss
Hello all, is it possible to get additional frames around words and the whole line? \definefontfeature[default][default][boundingbox=frame] \starttext »Tee for Two« shows negative kerning. \input sapolsky \stoptext Herbert

Re: [NTG-context] Spurious vertical space above figure

2017-05-18 Thread Herbert Voss
Am 18.05.2017 um 01:18 schrieb Henri Menke: Motivated by this question on TeX.SX https://tex.stackexchange.com/questions/370292 I found out that in a full-page figure there is a spurious vertical space of .5\baselineskip above the figure. I was not able to find out where it comes from. Is

Re: [NTG-context] Real number with Lua

2017-04-19 Thread Herbert Voss
Am 19.04.2017 um 15:25 schrieb Fabrice Couvreur: I do not know Lua but I'll learn later. How to display only 3 digits after the decimal point ? The default is 3 digits \startluacode function round(a,dec) local dec = dec or 3 local b = math.pow(10,dec) return math.floor(a*b)/b end

Re: [NTG-context] \itemize unpacked?

2016-12-19 Thread Herbert Voss
Am 19.12.2016 um 13:26 schrieb Procházka Lukáš Ing.: Hello, I have code that setups \itemize packed. Is it possible to force "unpacked" option back (mentioned here: http://wiki.contextgarden.net/Command/setupitemgroup)? \starttext \startitemize[][] \item 1a \item 1b

[NTG-context] \setnostrut

2016-12-15 Thread Herbert Voss
Shouldn't the last frame not be the same as the one with strut=no?? \starttext X\framed{ag}X\framed[strut=no]{ag}X\framed{\setnostrut ag} \stoptext Herbert ___ If your question is of interest to others as

[NTG-context] twoside layout

2016-12-13 Thread Herbert Voss
Is it possible to set only the textwidth and the inner margin for a twosided layout? As far as I can see, backspace sets only the _left_ margin of odd _and_ even pages. \definepapersize[new][height=240mm,width=165mm] \setuppapersize[new] \definelayout[odd][ topspace=14pt, header=14pt,

Re: [NTG-context] Strange behaviour of itemize inside tabulate

2016-11-20 Thread Herbert Voss
Am 20.11.2016 um 20:25 schrieb Willi Egger: I have the following minimal example % \setupitemgroup % [itemize] % [each] % [autointro,packed] % [symbol=2] Use \setupitemgroup [itemize] [each] [packed] [symbol=2] Herbert \starttext

Re: [NTG-context] Strange behavior with context standalone (pgfplots)

2016-08-16 Thread Herbert Voss
Am 16.08.2016 um 16:52 schrieb Fabrice Couvreur: \usemodule[pgfplots] \pgfplotsset{compat=1.13} \usetikzlibrary[intersections] \usepgfplotslibrary[fillbetween] \starttext \starttikzpicture[/pgf/declare function={f(\x)=(1/8)*(\x^3-2.5*\x^2-3*\x+4.5);},] \switchtobodyfont[8pt] \startaxis

Re: [NTG-context] Hyphenation errors (again or still) in recent mkiv

2016-08-01 Thread Herbert Voss
Am 01.08.2016 um 09:45 schrieb Hans Hagen: On 8/1/2016 9:22 AM, Jan Willem Flamma wrote: Hi Pablo, I wasn’t aware of the \hyphenatedword feature. Thanks for sharing. mtxrun --script patterns --hyphenate schematic Can I change the language or do I have to choose a specific pattern file?

Re: [NTG-context] convert old dvi files

2016-04-20 Thread Herbert Voss
Am 19.04.2016 um 23:18 schrieb Aditya Mahajan: On Tue, 19 Apr 2016, Hans Hagen wrote: On 4/19/2016 10:32 PM, Meer, Hans van der wrote: it makes not much sense to add very old dvps stuff to the distribution Some of these dvips support files are needed to use the pstricks module. If you

Re: [NTG-context] fontname

2016-01-14 Thread Herbert Voss
Am 14.01.2016 um 12:15 schrieb dr. Hans van der Meer: I want to display the name of the current (body)font. \fontname{#1} should do the trick but what parameter to use? \currentfont \bodyfont \currentbodyfont are all wrong. \starttext \truefontname{Regular} \stoptext Herbert

Re: [NTG-context] PSTricks in Context

2014-12-16 Thread Herbert Voss
Am 16.12.2014 um 11:35 schrieb luigi scarso: On Tue, Dec 16, 2014 at 11:04 AM, Akira Kakuto kak...@fuk.kindai.ac.jp mailto:kak...@fuk.kindai.ac.jp wrote: Hi Luigi, The example works if one copies colo-rgb.mkii as colo-rgb.tex in the same folder of the example ...

Re: [NTG-context] PSTricks in Context

2014-12-15 Thread Herbert Voss
Am 15.12.2014 um 09:13 schrieb Mojca Miklavec: (and maybe then it won't work anyway) and for MkIV it currently fails to work as well: (/usr/local/texlive/2014/texmf-dist/tex/generic/pst-tools/pst-tools.tex `PST-tools' v0.05, 2014/05/12 (hv)) v1.63, 2014/06/24 (tvz,hv)) pstricks:

Re: [NTG-context] PSTricks in Context

2014-12-15 Thread Herbert Voss
Am 15.12.2014 um 09:55 schrieb Mojca Miklavec: Anyway, the version in TeX Live now runs, but creates wrong results (it prints out (0,0)(3,3) instead of drawing the line for example). (And I'm not too eager to add support for PSTricks to the distribution. It's a can of worms with zillion of

Re: [NTG-context] PSTricks in Context

2014-12-15 Thread Herbert Voss
Am 15.12.2014 um 15:27 schrieb Mojca Miklavec: First of all I had to use Kakuto-san's example, adding something like \pspicture(0mm,0mm)(30mm,30mm) ... \endpspicture in front and at the back (which is extremely ugly to see in ConTeXt). I see, \tikzpicture .. \endtikzpicture looks nicer

Re: [NTG-context] PSTricks in Context

2014-12-15 Thread Herbert Voss
Am 15.12.2014 um 14:06 schrieb luigi scarso: If we have a postscript interpreter, Is it possible to avoid dvi2ps at all, using only a context mkiv ? Yes, that could be possible. Herbert ___ If your question is

Re: [NTG-context] [fontloader] positioning of diacritics

2014-12-15 Thread Herbert Voss
Am 15.12.2014 um 21:43 schrieb Philipp Gesang: \enabletrackers[otf.bugs] Thanks for the reply and for the pointer. That tracker is indeed pretty handy! I attempted to open a bug report on the Libertine tracker but Sourceforge refuses to cooperate :/ Maybe next time. As far as I know there

Re: [NTG-context] Pass a lua table to metapost

2014-12-08 Thread Herbert Voss
Am 08.12.2014 um 19:24 schrieb DesdeChaves: After the update to new ConTeXT minimals -- luatex beta-0.79.2 (rev 5084) -- the code runs perfectly. hm, after updating (Linux) I have still 79.1: voss@shania:~/Links/opt/context/tex/texmf-linux-64/bin ./luatex -v This is LuaTeX, Version

Re: [NTG-context] Primes again in math

2014-12-02 Thread Herbert Voss
Mikael P. Sundqvist schrieb: A possible bug in latest standalone: \starttext $u''(t)$ \stoptext yields u'(t) (one prime!). Is there a quick fix? I have a lot of '' in my file, so it would be nice not to have to change all of them... use $u{''}(t)$ Herbert

Re: [NTG-context] Primes again in math

2014-12-02 Thread Herbert Voss
Am 02.12.2014 um 18:57 schrieb Mikael P. Sundqvist: On Tue, Dec 2, 2014 at 6:52 PM, Herbert Voss herbert.v...@fu-berlin.de wrote: use $u{''}(t)$ Thanks, that works! Before adapting this in all places I'd like to know if this is the way it should be done from now on? If not, I'd like

Re: [NTG-context] ConTeXt gobble my mind

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 13:36 schrieb Pierre-François Bonnefoi: thank you for proposing a solution, but it's not suitable to my needs as it modifies the content of the typing region : the backlash is displayed I want to be able to gobble or not the typing region by using a macro without modifying

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 15:51 schrieb Xan: That is not a useful error description ... Herbert More clear than this? Neither this: \directlua{ require lualibs-os tex.sprint(os.resultof(sha256sum \jobname.tex | cut -c -5)) } Blank. Nothing displayed. \directlua{

Re: [NTG-context] Strange behavior with the command \color[]{}

2014-11-06 Thread Herbert Voss
Am 06.11.2014 um 21:16 schrieb luigi scarso: \definecolor[H1prime][c=0.50, m=0.00, y=1.00, k=0.00] [...] \setupTABLE[column][1][width=4cm,align={right,lohi},frame=on]%,framecolor=H1prime] The problem seems to be %,framecolor=H1prime] I have no problem with framecolor=H1prime setting. I

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-04 Thread Herbert Voss
Am 04.11.2014 um 08:55 schrieb Xan: Xan dxpubl...@telefonica.net ha escrit: It does not work: That is not a useful error description ... Herbert \documentclass{article} \begin{document} \directlua{ local handle = io.popen(sha256sum \jobname.tex | cut -c -5,r) if handle then

Re: [NTG-context] Equivalent of os.resultof(...) in LaTeX

2014-11-03 Thread Herbert Voss
Am 03.11.2014 um 12:42 schrieb Xan: Just short question: what's the equivalent in latex of \ctxlua{context(os.resultof(sha256sum \jobname.conTeXt | cut -c -5))} \documentclass{article} \begin{document} \directlua{ local handle = io.popen(sha256sum \jobname.tex | cut -c -5,r) if handle then

[NTG-context] Using PSTricks

2014-09-28 Thread Herbert Voss
This example from m-pstricks.mkiv doesn't work, there is a missing file extension in m-pstricks.mkii: line 46 (macro \doifelse)is: \loadpstrickscolors{colo-rgb}} should be \loadpstrickscolors{colo-rgb.mkii}} otherwise it searches for colo-rgb.mkiv which doesn't exist. I do not understand

Re: [NTG-context] Linetables

2014-09-23 Thread Herbert Voss
Am 23.09.2014 um 10:59 schrieb Willi Egger: I would like to use the line table environment. - In order to get started I copied the code from the wiki. After it did not work with the dorecurse commands I simplified the code to \starttext \setuplinetable[n=6,lines=40]

Re: [NTG-context] Bug with the integration with tikz

2014-08-03 Thread Herbert Voss
Am 03.08.2014 22:22, schrieb Günter Kolousek: I just updated to 2014.07.30 10:31 MKIV beta fmt: 2014.8.3 int: english/english but I get the same error message as before. It worked in the spring this year. Do you have a hint where can I search for? Maybe I should be a little bit

Re: [NTG-context] Date format problems

2014-07-29 Thread Herbert Voss
Am 29.07.2014 10:02, schrieb A.J. Bonnema: I started using ConteXt a while ago, on the side line I still use LaTeX (old habits die hard). When converting my CV to ConTeXt I have a weird date problem. I hope one of you can point me in the right direction. I copy the start of the document from

Re: [NTG-context] setuphead interlinespace

2014-07-27 Thread Herbert Voss
Am 27.07.2014 04:06, schrieb Yuri Teixeira: Hello, From command/setuphead http://wiki.contextgarden.net/Command/setuphead I inferred this should work to set linespace to 1.5 within the chapter/section but it doesn't. Should it? I read on \setupinterlinespace and it's resetting mechanic but

Re: [NTG-context] \startframed spurious whitespace

2014-07-23 Thread Herbert Voss
Am 23.07.2014 03:20, schrieb Rik Kabel: There appears to be a bug with \startframed. In the following example, the instance with no optional argument sets correctly, while with the use of an optional argument (even empty []) a whitespace is introduced before the text. \starttext

[NTG-context] \framed versus \inframed

2014-07-22 Thread Herbert Voss
I'd expect a double frame for a nested \inframed, too. And also fog in the last row always on the baseline fort \inframed. \starttext foo\framed{\framed{foo}} \inframed{\inframed{foo}} foo fog\framed{\framed{fog}} \inframed{\inframed{fog}} fog \setupframed[strut=no] fog\framed{\framed{fog}}

Re: [NTG-context] framedtext and itemize

2014-07-22 Thread Herbert Voss
Am 22.07.2014 16:12, schrieb Otared Kavian: Maybe you want something like this: \starttext \startitemize[n] \setlocalhsize \item \framed[width=\localhsize,align=right]{Some text.} \item \startframed[width=\localhsize,align=right] Some text. \stopframed \stopitemize \stoptext or \item

[NTG-context] \underbar

2014-07-21 Thread Herbert Voss
From the contextref.pdf, p 262 \underbar A disadvantage of this command is that words can no longer be hyphenated. This is a nasty side--effect. But we do support nested underlining. This commant is wrong, right? Hyphenation is supported. Herbert

[NTG-context] macros names

2014-07-16 Thread Herbert Voss
There are \fillinline \fillinrules but \setupfillinlines \setupfillinrules Is it intended?? Herbert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist :

[NTG-context] setups

2014-07-14 Thread Herbert Voss
Do I get the up-to-date setups of commands when running for example: \starttext \usemodule[set-11] \loadsetups \setup{setupfillinrules} \stoptext Herbert ___ If your question is of interest to others as well,

[NTG-context] \textreference

2014-07-13 Thread Herbert Voss
I thought that \textreference will print its text (Foo) in difference to \reference. With current minimal I can see no difference between both. \starttext \textreference[foo]{Foo} \reference[bar]{Bar} \about[foo] and \about[bar] \atpage[bar] \stoptext Herbert

[NTG-context] \definelabel -- location

2014-04-03 Thread Herbert Voss
The documentation has an example for placing a label in the margin, but it doesn't work, it is still in the text: \definelabel[video][text=Video,location=inmargin] \starttext The label\video\ (Video 1) is not in the margin \stoptext or did I misunderstand the meaning of location? current

[NTG-context] \showlayout

2014-04-01 Thread Herbert Voss
\starttext \showlayout \stoptext Is it the intended behaviour that I get the layout setting four times?? Herbert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] \definelabel

2014-03-31 Thread Herbert Voss
Hi all, this worked some time ago: \definelabel[video][text=Video,location=inmargin] \starttext \video foo \nextvideo bar \currentvideo[video1] baz \page see \at[video1]. \incrementvideo \video foobar \resetvideo \video foobarbaz \stoptext now \currentvideo and \incrementvideo are undefined

Re: [NTG-context] font handling

2014-03-03 Thread Herbert Voss
Can someone at least confirm this behaviour? Herbert Am 26.02.2014 14:31, schrieb Herbert Voss: I used uo-to-date minimal: \starttext test \stoptext voss@shania:/opt/context pdffonts torus.pdf name typeencodingemb sub uni object ID

[NTG-context] font handling

2014-02-26 Thread Herbert Voss
I used uo-to-date minimal: \starttext test \stoptext voss@shania:/opt/context pdffonts torus.pdf name typeencodingemb sub uni object ID --- --- --- --- --- - WGBVOX+LMRoman12-Regular CID Type 0C Identity-H yes yes

Re: [NTG-context] pstrics module again

2013-11-26 Thread Herbert Voss
Am 26.11.2013 00:08, schrieb DesdeChaves: I d'ont know how to fix the picture size. No errors at all, but the figure size isn't correct. did you used ps2pdf -dAutoRotatePages=/None file ?? Herbert \usemodule[pstric] \starttext Hydrogen spectrum \startPSTRICKS \input pst-spectra.tex

Re: [NTG-context] pstrics module again

2013-11-25 Thread Herbert Voss
Am 25.11.2013 19:55, schrieb Aditya Mahajan: This is what I did. 1. Compile the file. You get an error that some pstrick file is missing. Locate that file in the texlive directory and copy it to the current directory. 2. Repeat until you get an error that \ifx! is not a valid control

Re: [NTG-context] pstrics module again

2013-11-25 Thread Herbert Voss
Am 25.11.2013 21:25, schrieb Aditya Mahajan: \unprotect \input pstricks \protect and therefore when ConTeXt sees \ifx!#1 it thinks that \ifx! is a csname. Adding a space after \ifx avoids that. As I said in my previous message, this is easy to fix at ConTeXt end defining an appropriate

Re: [NTG-context] simplefonts and math

2013-02-16 Thread Herbert Voss
On 16.02.2013 09:23, Wolfgang Schuster wrote: Am 15.02.2013 um 22:08 schrieb Pablo Rodríguez oi...@web.de: the following sample seems not to select the right math font: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] \setmathfont[TeX Gyre Pagella] \setmathfont[pagella] that

Re: [NTG-context] Standalone current

2012-11-29 Thread Herbert Voss
Am 29.11.2012 19:19, schrieb Hans Hagen: On 11/29/2012 7:09 PM, Bill Meahan wrote: What, if anything, is the difference between the version of ConTeXt in the TeXLive distribution and the version one gets when running first-setup.sh --context=current --modules=all the texmfcnf.lua file and

Re: [NTG-context] Equivalent of Includeonly?

2012-11-20 Thread Herbert Voss
Am 20.11.2012 09:20, schrieb H. Özoguz: Sorry, I did not get you. I was asking about Context, not Latex?! sure, I only explained the difference of \input and \include respectively \includeonly and explained only the existing behaviour in LaTeX. The same should be possible in ConTeXt. Herbert

Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Herbert Voss
Am 19.11.2012 10:47, schrieb H. Özoguz: \startproduct mydocument \component one \component two \component three \component four \stopproduct Wolfgang I always use \input for the chapters of books - what is the difference to component? I looked into the wiki, but didn't get the

Re: [NTG-context] Equivalent of Includeonly?

2012-11-19 Thread Herbert Voss
Wolfgang Schuster schrieb: \startproduct mysmalldocument \component one \component three \stopproduct This doesn’t the same because with \includeonly the chapter/figure/page/etc. counters from the skipped files are honored like they do with single component files from Thomas request.

Re: [NTG-context] \startitemize[columns] once again...

2012-11-14 Thread Herbert Voss
Am 14.11.2012 11:38, schrieb Philipp Gesang: ···date: 2012-11-14, Wednesday···from: Marcin Borkowski··· Dnia 2012-11-10, o godz. 03:23:11 Marcin Borkowski mb...@wmi.amu.edu.pl napisał(a): This minimal example behaves in a strange way: \starttext Some text

Re: [NTG-context] no footnote printed

2012-11-14 Thread Herbert Voss
Am 14.11.2012 12:18, schrieb Bernd Militzer: Am 13.11.12 13:36, schrieb Hans Hagen: On 11/13/2012 11:05 AM, Bernd Militzer wrote: Hello, using midaligned no footnote is printed. \starttext % \midaligned{§. 180.\footnote{Franz Joseph Schopf I.: a.a.O., S. 123}} \crlf Text bla bla bla % \blank

Re: [NTG-context] Lua conditionals fail inside \starttexdefinition

2012-09-04 Thread Herbert Voss
Am 04.09.2012 20:44, schrieb Marco Patzer: On 2012-09-04 Wolfgang Schuster wolfgang.schus...@gmail.com wrote: Why does adding semicolon not work? Do you have a example? \starttext \startluacode if true then; context(true) else; context(false) end \stopluacode \stoptext

Re: [NTG-context] Lua conditionals fail inside \starttexdefinition

2012-09-04 Thread Herbert Voss
Am 04.09.2012 21:05, schrieb Marco Patzer: if true then; print(true) else; print(false) end This snippet fed into a standalone Lua interpreter prints “true” on the terminal. I admit, I did not look up the syntax in the manual, but I have in mind that semicolons can be used to separate

Re: [NTG-context] Lua conditionals fail inside \starttexdefinition

2012-09-04 Thread Herbert Voss
Am 04.09.2012 21:22, schrieb luigi scarso: http://www.lua.org/manual/5.1/manual.html#2.4.4 The unit of execution of Lua is called a chunk. A chunk is simply a sequence of statements, which are executed sequentially. Each statement can be optionally followed by a semicolon: : : 2.4.4 - Control

Re: [NTG-context] Lua conditionals fail inside \starttexdefinition

2012-09-04 Thread Herbert Voss
Am 04.09.2012 21:35, schrieb Marco Patzer: On 2012-09-04 Herbert Voss herbert.v...@fu-berlin.de wrote: voss@shania:~/ConTeXt lua zzz.lua lua: zzz.lua:1: unexpected symbol near ';' marco@homerow:/tmp$ lua t.lua true voss@shania:~/ConTeXt lua -v Lua 5.1.4 Copyright (C) 1994-2008 Lua.org

Re: [NTG-context] TeXlive 2012 released

2012-07-08 Thread Herbert Voss
Am 08.07.2012 10:59, schrieb luigi scarso: http://tug.org/texlive/ but it will take some time until it is available on all mirrors. Herbert ___ If your question is of interest to others as well, please add an

Re: [NTG-context] Small integral signes with Palatino

2012-05-29 Thread Herbert Voss
Steve Peter schrieb: On May 27, 2012, at 7:27 PM, Aditya Mahajan wrote: BTW, what is the status of Pagella Math? Nearly complete from what I hear. it is available from CTAN: http://CTAN.ORG/tex-archive/fonts/tex-gyre-math Herbert

Re: [NTG-context] how can I use framewidth in calculations

2012-03-24 Thread Herbert Voss
Am 24.03.2012 08:30, schrieb Thomas A. Schmitz: On 03/24/12 03:27, Rogers, Michael K wrote: Try \framed[width=7cm]{\externalfigure[cow][width=\dimexpr\framedparameter{width}*9/10]} [I don't understand \dimexpr. For instance 7cm = ~198pt, 0.9 * 7 cm = ~179pt, but

[NTG-context] lang-ini.mkiv

2011-12-31 Thread Herbert Voss
minimal from today. \complexlanguage is used in lang-ini.mkiv but not defined \language[en] \starttext \quotation{He answered: \fr\quotation{% Je ne parle pas fran\cc ais}.}\\ \quotation{He answered: \quotation{\fr% Je ne parle pas fran\cc ais}.}\\ \quotation{\fr Il r\'epondait:

[NTG-context] itemize with conversion

2011-12-29 Thread Herbert Voss
This worked some weeks ago: \defineconversion[ordinal][\enordinaldaynumber] \starttext \startitemize[ordinal] \item Test \item Test \item Test \item Test \item Test \stopitemize \stoptext current beta from today Herbert ! Undefined control sequence. system tex error on

[NTG-context] itemize and \its

2011-12-29 Thread Herbert Voss
this one also worked some weeks ago: \mainlanguage[de] \starttext \startitemize[8,packed] [width=8em,distance=2em,items=5] \ran {no\hss yes} \its I can not do it without \TeX. \mar{+} I use \TeX\ with other packages. \its I hardly use \TeX. \ran{\hss The future\hss} \its I

[NTG-context] paragraph numbering

2011-12-29 Thread Herbert Voss
current beta: \starttext Some text. \setupparagraphnumbering[state=start] first numbered paragraph. This is another numbered paragraph. It's long enough to wrap around onto more than one line, so as to show that these are paragraph numbers and not line numbers.\par A third numbered

[NTG-context] setup indentation

2011-12-29 Thread Herbert Voss
this worked some weeks ago: \setupindentations[sample={Sprecher A},separator={:},distance=.5em] \defineindenting[ra][text=Sprecher A] \defineindenting[rb][text=Sprecher B] \defineindenting[rc][text=Sprecher C] \starttext \startpacked \ra Wie geht es dir?\par \ra Ich fragte, wie es dir geht?\par

Re: [NTG-context] Again Cambria after updating to latest beta

2011-06-09 Thread Herbert Voss
Am 09.06.2011 10:38, schrieb Willi Egger: Thanks for testing. It is a bit wired indeed. The difference between your and my installation is, that I have the font in the texmf-fonts/data directory. But I do not expect that this should make a difference. with the same location and latest

Re: [NTG-context] section headings

2011-04-18 Thread Herbert Voss
no one has an idea? Am 09.04.2011 20:55, schrieb Herbert Voss: With the following code I get 1. Teil foo § 1 1 bar i baz but I need 1. Teil foo § 1 A. bar I. baz I cannot get the needed information from the wiki and the documentation. \def\PartNo#1{#1.\,Teil} \def\ChapterNo#1{§ \headnumber

[NTG-context] section headings

2011-04-09 Thread Herbert Voss
With the following code I get 1. Teil foo § 1 1 bar i baz but I need 1. Teil foo § 1 A. bar I. baz I cannot get the needed information from the wiki and the documentation. \def\PartNo#1{#1.\,Teil} \def\ChapterNo#1{§ \headnumber[part]

[NTG-context] \obeyspaces

2011-04-08 Thread Herbert Voss
The spaces in front of the lines are not taken into account for the two defined macros. What to do that \obeyspaces is also valid for these ones? \def\TextWithSpaces{\bgroup\obeyspaces\doTextWithSpaces} \def\FramedTextWithSpaces{\framed\bgroup\obeyspaces\doTextWithSpaces}

[NTG-context] Error with \section

2011-04-08 Thread Herbert Voss
I have no idea what's going wrong ... When I uncomment the last line I'll get the following error. Latest minimal \setuparranging[doublesided] \setuppagenumbering [alternative=doublesided] \setupheads[alternative=margin,align=outer] \setupnumbering[alternative=doublesided] \starttext

[NTG-context] \blank[...]

2011-04-07 Thread Herbert Voss
From the source of the manual: \starttext bar\par \blank[2\bodyfontsize] bar \stoptext with latest minimal I get: [...] system tex error on line 8 in file zz.tex: Illegal unit of measure (pt inserted) ... 1 \starttext 2 bar\par 3 \blank[2\bodyfontsize] 4 bar 5

[NTG-context] tabulate

2011-03-23 Thread Herbert Voss
this worked some time ago. Current minimal mkiv \def\tabulateuse#1{% \dorecurse{\numexpr2*#1-1\relax} {\span\omit}} \appendtoks \let\use\tabulateuse \defineTABLEshorthands \to \everytabulate \starttext \starttabulate[|l|Bc|c|c|c|r|] \NC a\NC b\NC c \NC d\NC e\NC f\NC\NR \NC

[NTG-context] MTXrun

2011-01-23 Thread Herbert Voss
What is the meaning of MTX in the name of the script? Herbert ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl /

Re: [NTG-context] [OT] Public Fonts for Minority Languages of Russia

2011-01-05 Thread Herbert Voss
Am 05.01.2011 19:57, schrieb luigi scarso: http://www.pro-linux.de/news/1/16560/freie-schrift-pt-serif-veroeffentlicht.html http://www.paratype.com/public/ What do you think ? her is a list of the glyphs created by Volker http://texnik.dante.de/misc/PTSerif.pdf Herbert

Re: [NTG-context] [OT] Public Fonts for Minority Languages of Russia

2011-01-05 Thread Herbert Voss
Am 05.01.2011 21:43, schrieb Arthur Reutenauer: her is a list of the glyphs created by Volker http://texnik.dante.de/misc/PTSerif.pdf ERROR 403: Forbidden. Is it somehow intentional, or an oversight? sigh ... thanks, should go now Herbert

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-12-03 Thread Herbert Voss
Am 03.12.2010 12:21, schrieb Mojca Miklavec: IIRC, the original definitions are from plain.tex and amstex.tex. plain.tex says: \def\joinrel{\mathrel{\mkern-3mu}} So I guess that \joinrel indeed needs to be defined on per-font basis instead of being hardcoded into definitions. the

Re: [NTG-context] space in \longrightarrow in lucida (mkiv)

2010-11-30 Thread Herbert Voss
Am 30.11.2010 17:54, schrieb Mojca Miklavec: \setupbodyfont[lucida] \starttext $\longrightarrow$ \stoptext The arrow has white space in the middle. in mkii \joinrel is \mkern-4mu in mkiv only \mkern-3mu \setupbodyfont[lucida] \def\longrightarrow{\relbar\mkern-4mu\rightarrow}

[NTG-context] \HL[...] in mkiv

2010-11-25 Thread Herbert Voss
runs in mkii and mkiv, but the optional argument for \HL is only valid for mkii. For mkiv it is not taken into account. \starttext \starttable[|c|c|c|c|c|c|c|c|c|c|]\HL \VL 1 \VL 2 \VL 3 \VL 4 \VL 5 \VL 6 \VL 7 \VL 8 \VL 9 \VL 10 \VL\AR\HL[5] \stoptable \stoptext Herbert

[NTG-context] \starttable ... \stoptable

2010-11-24 Thread Herbert Voss
what is wrong with the \em? With \bf or {\em ...} it is fine ! Misplaced \omit. recently read \omit \normalTABLEquote -\unskip \!ttRightGlue \omit \tablepos l.5 \NC \em Spalte 1 \NC \em Spalte 2 \NC \FR \HL % didn't

[NTG-context] \starttable ... \stoptable part II

2010-11-24 Thread Herbert Voss
works with mkii, but not with mkiv example is from the documentation: \starttext \starttable[|l|c|c|] \DC\DL[2] \DR \NC\VL Mickey \VL Goofy \VL\SR \HL \VL Donald \VL $\star$ \VL \VL\SR \HL \VL Pluto \VL \VL $\star$ \VL\SR \HL \stoptable

  1   2   >