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 use

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}]  

[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}] \definefontfeature

[NTG-context] Re: Special charakter

2024-05-18 Thread Herbert Voss
Am 18.05.24 um 14:53 schrieb Thomas Meyer: Thanks to all of you for your hints and comments! I thought \l does work, why \L does not. To type \L is faster than changing the keyboard language when I write in German normally. try \def\L{\char"0141} but I have no real knowledge about ConTeXt

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? He

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] 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

[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, header

[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 well,

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 \stopitem

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 \stop

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 this

[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] 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 framing-the-wh

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 \show

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 r

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 \ausschnit

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, voffset=\dimexpr((\

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 con

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. This exists, see here: htt

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] 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 https://serveur-svn.lri.fr

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 sequence.

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 catcode

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 " ?? Herbert \usemodule[pstric] \starttext Hydrogen spectrum \startPSTRICKS \input pst-spectra.tex \inp

Re: [NTG-context] Pgfplots - passing point coordinates by Lua

2014-02-16 Thread Herbert Voss
Am 15.02.2014 20:38, schrieb Lukáš Procházka: ... fonts > fallback modern rm 12pt is loaded Crds= (5,15)(20,20)(24,-24) Package pgfplots: Error! Sorry, I could not read the plot coordinates near '(5,15)(20,20)(24,-24)'. Please check for format mistakes. ! Package pgfplots Warning: th

Re: [NTG-context] Pgfplots - passing point coordinates by Lua

2014-02-16 Thread Herbert Voss
Am 16.02.2014 21:39, schrieb Lukáš Procházka: \startluacode data = {{5, 15}, {20, 20}, {24, -24}} data2crds = function(data) local str for i, v in ipairs(data) do str = (str or "") .. "(" .. v[1] .. "," .. v[2] .. ")" end print("Crds=", str) return str end

[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] 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

[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 H

[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 -- 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 minima

[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] 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, please

[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@

[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] \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}} \in

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

Re: [NTG-context] \startframed spurious whitespace

2014-07-22 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 >

Re: [NTG-context] setuphead interlinespace

2014-07-26 Thread Herbert Voss
Am 27.07.2014 04:06, schrieb Yuri Teixeira: > Hello, From 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 >

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 fr

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

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] > > \setuplinet

[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] 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 hand

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 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 >>>local

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 modify

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 displa

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" sett

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 > 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 n

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 beta-0.79.

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: loadin

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 of

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 i

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 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 ... It is OK by chang

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] 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 want

[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 a\NC

[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] \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} \def\doTextWithSpaces#1{

[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 \chapter{

[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] \determineheadnumber[chapter]\currenthea

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

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 contex

Re: [NTG-context] ConTeXt Book: Request for help!

2011-08-14 Thread Herbert Voss
Am 15.08.2011 08:42, schrieb Martin Schröder: 2011/8/15 Kip Warner: On Sun, 2011-08-14 at 16:39 -0600, Idris Samawi Hamid ادريس سماوي حامد wrote: unicode, bidi is just a non-starter. TeXWorks has a long way to go, and although I'm a fan of Qt its open-type implementation is buggy; so some Arabi

[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 li

[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 will

[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 paragrap

[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 \

[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: \quotation{

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 \dimexpr0.9\framedparameter{wi

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] 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 entry

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 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 that is no Lua syntax

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 separat

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 - Contro

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 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, PUC-Rio

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

2012-11-14 Thread Herbert Voss
Am 14.11.2012 11:38, schrieb Philipp Gesang: · Dnia 2012-11-10, o godz. 03:23:11 Marcin Borkowski napisał(a): This minimal example behaves in a strange way: \starttext Some text \startitemize[columns,two,joinedup] \item abc% $\frac{x^2-x+3}{x^2+x-3}$; \item xyz% $\frac{x

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] 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 th

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 Tho

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] 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 t

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 : the following sample seems not to select the right math font: \usemodule[simplefonts] \setmainfont[TeX Gyre Pagella] \setmathfont[TeX Gyre Pagella] \setmathfont[pagella] that doesn't use the Op

[NTG-context] title settings

2010-10-17 Thread Herbert Voss
If I understand the documentations correct, then the first command should set _all_ titles to slanted except the subsection. When I run this example the titles are always upright. \setupheads[textstyle=slanted] \setuphead[part][placehead=yes,color=blue] \setuphead[subsection][numberstyle=bold,tex

Re: [NTG-context] title settings

2010-10-17 Thread Herbert Voss
Am 17.10.2010 13:20, schrieb Herbert Voss: > If I understand the documentations correct, then > the first command should set _all_ titles to > slanted except the subsection. When I run > this example the titles are always upright. forget it ... Just saw, that there are differ

Re: [NTG-context] title settings

2010-10-17 Thread Herbert Voss
Am 17.10.2010 14:44, schrieb luigi scarso: > 2010/10/17 Herbert Voss : >> running TeXLive2010 with mkiv > There is also minimals, which usually is an update (and most of the > time better) version of that one in TeXLive . I know, but I want to use T

[NTG-context] \setuphead

2010-10-18 Thread Herbert Voss
in http://wiki.contextgarden.net/Titles is an example for a wrong setting: \starttext \setuphead[section][textstyle=\em,textcommand=\WORD] \section{A not so long title} \stoptext the wiki sais, that this leads to \WORD{\EM A not so long title} which should give an error. However, the above works

Re: [NTG-context] \setuphead

2010-10-18 Thread Herbert Voss
Am 18.10.2010 09:52, schrieb luigi scarso: > 2010/10/18 Herbert Voss : >> in http://wiki.contextgarden.net/Titles >> is an example for a wrong setting: >> >> \starttext >> \setuphead[section][textstyle=\em,textcommand=\WORD] >> \section{A not so long title}

Re: [NTG-context] \setuphead

2010-10-18 Thread Herbert Voss
Am 18.10.2010 10:08, schrieb Thomas Schmitz: >> I want to know if the wiki text is outdated or not. >> However, I am looking for an example where deeptextcommand >> is really needed > I get an error when I compile your code in mkii; deeptextcommand is > needed. It's only in mkiv that your code wo

[NTG-context] itemize

2010-10-19 Thread Herbert Voss
An example from the documentation: \starttext \startitemize[1,packed] \head supported image formats in \PDFTEX \par \startitemize[a] \item png \item eps \item pdf \stopitemize \head non supported image formats in \PDFTEX \par \startitemize[continue] \item jpg \item g

Re: [NTG-context] itemize

2010-10-19 Thread Herbert Voss
Am 19.10.2010 11:27, schrieb Hans Hagen: >>> I get with mkIV (TeXLive2010) >>> [...] >>> systems : begin file .tex at line 3 >>> ! Math error: parameter \Umathquad\displaystyle is not set. >>> \mathematics ... #1\else \Ustartmath #1\Ustopmath >>>

Re: [NTG-context] itemize

2010-10-19 Thread Herbert Voss
Am 19.10.2010 11:40, schrieb Khaled Hosny: systems : begin file .tex at line 3 ! Math error: parameter \Umathquad\displaystyle is not set. \mathematics ... #1\else \Ustartmath #1\Ustopmath \fi \dodosymbol ...bol

Re: [NTG-context] itemize

2010-10-19 Thread Herbert Voss
Am 19.10.2010 11:27, schrieb Hans Hagen: > If I remember right this is a bug in the luatex version that ships with > texlive. I updated from http://tlcontrib.metatex.org/2010 and now it is ok Herbert ___ If your qu

Re: [NTG-context] itemize

2010-10-19 Thread Herbert Voss
Am 19.10.2010 13:00, schrieb luigi scarso: > 2010/10/19 Herbert Voss : >> Am 19.10.2010 11:27, schrieb Hans Hagen: >> >>> If I remember right this is a bug in the luatex version that ships with >>> texlive. >> >> I updated from http://tlcontrib.metat

Re: [NTG-context] itemize

2010-10-19 Thread Herbert Voss
Am 19.10.2010 12:50, schrieb Herbert Voss: > Am 19.10.2010 11:27, schrieb Hans Hagen: > >> If I remember right this is a bug in the luatex version that ships with >> texlive. > > I updated from http://tlcontrib.metatex.org/2010 > > and now it is ok But only f

[NTG-context] itemize

2010-10-20 Thread Herbert Voss
In the documentation I found \setupitemgroup, \setupitemize and in the list of all commands \setupitems. I didn't find any example for the \setupitems. However, I can set all parameters with the other two commands. So the question is: when do I need \setupitems and has someone a working example? H

  1   2   >