Re: [NTG-context] [fontloader/old] mixed substitution / ligatures feature

2015-12-18 Thread Hans Hagen
somefont] [file:cmunrm.otf*myfeat] \starttext \somefont foo bar " baz \stoptext This crashes in font-otn on account of a number being indexed. This used to work -- anything that can be done about it? i'll see if i can fix it but don't expect all u

[NTG-context] [fontloader/old] mixed substitution / ligatures feature

2015-12-17 Thread Philipp Gesang
ures.register { name= "dunno", description = "bug demo", } \stopluacode \definefontfeature [myfeat] [default] [dunno=yes,liga=yes,mode=node] \definefont [somefont] [file:cmunrm.otf*myfeat] \starttext \somefont foo bar " ba

[NTG-context] question about the \starteffect[hidden]

2015-11-22 Thread Jeong Dal
something. Below, the same sentence is hiding. \StartHide Here is the test file for hiding something. Below, the same sentence is hiding. Here is the test file for hiding something. Below, the same sentence is hiding. \StopHide But the horizontal bar in the fraction mode still appears. \startformula

Re: [NTG-context] Bug with ConTeXt and pgfplot library fillbetween

2015-10-24 Thread Aditya Mahajan
ed. The fillbetween library changes the catcode of the bar character. \starttext \the\catcode`| \usemodule[pgfplots] \usepgfplotslibrary[fillbetween] \the\catcode`| \stoptext Thanks! What is the easiest way to fix this (without patching tikz)? I thought that \pushcatcodetable \usemodule

Re: [NTG-context] Bug with ConTeXt and pgfplot library fillbetween

2015-10-23 Thread Wolfgang Schuster
de of the bar character. \starttext \the\catcode`| \usemodule[pgfplots] \usepgfplotslibrary[fillbetween] \the\catcode`| \stoptext You get the same error when you use \asciimode in your document. \asciimode \starttext \startformula \left. a \right| \stopformula \stoptext

Re: [NTG-context] put titles in toc

2015-09-09 Thread John Culleton
, > > I think this might do what you want: > > \definehead[titleintoc][chapter][number=no] > \starttext > \noheaderandfooterlines > \title{Contents} > \placelist[chapter,titleintoc] > \chapter{foo} > \input knuth.tex > \titleinto

Re: [NTG-context] put titles in toc

2015-09-08 Thread Pablo Rodriguez
\starttext \noheaderandfooterlines \title{Contents} \placelist[chapter,titleintoc] \chapter{foo} \input knuth.tex \titleintoc{bar} \input knuth.tex \stoptext I hope it helps, Pablo -- http://

[NTG-context] put titles in toc

2015-09-08 Thread John Culleton
] \definelist[chapter] \setuplist[chapter][style=bold] \setuplist[title][style=bold] \setupcombinedlist[content][chapter,title][level=title,alternative d,aligntitle=yes] \starttext \noheaderandfooterlines \title{Contents} \placecontent \page[yes] \chapter{foo} \input knuth.tex \page[yes] \title{bar

Re: [NTG-context] The `\somewhere`-macro

2015-08-27 Thread Norbert Melzer
es similar functionality using \somewhere > > Some more searching around made me find > http://wiki.contextgarden.net/Command/somewhere > > There I can see, that I have to provide 2 text-arguments in curly braces > and the references name in squarebrackets. > > So I did exactl

Re: [NTG-context] Refering to parent in XML

2015-08-27 Thread Hans Hagen
\stopexercici \stopxmlsetups gives me nothing in the label of startitem: \startitem[] contents \stopexercici when I run \Presentacio{foo}{bar} and it *should* give me \startitem[foo] \xmlflushcontext{#1} \stopexercici It seems like when I descend to activitat/presen

Re: [NTG-context] Refering to parent in XML

2015-08-27 Thread Xan
nothing in the label of startitem: \startitem[] contents \stopexercici when I run \Presentacio{foo}{bar} and it *should* give me \startitem[foo] \xmlflushcontext{#1} \stopexercici It seems like when I descend to activit

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread tala...@fastmail.fm
ect]} >> {\getmarking[chapter]} >> — >> …but that caused the subject and the chapter to both be printed in the >> header. >> >> Many thanks for a

Re: [NTG-context] Can \getmarking take more than one argument?

2015-08-09 Thread Hans Hagen
the subject and the chapter to both be printed in the header. Many thanks for any help. \setupheadertexts[{\getmarking[section]}] \definehead[suction][section][number=no] \starttext \placelist[section] \page \section{foo} \page \suction{bar} \page \stoptext

[NTG-context] The `\somewhere`-macro

2015-08-08 Thread Norbert Melzer
d http://wiki.contextgarden.net/Command/somewhere There I can see, that I have to provide 2 text-arguments in curly braces and the references name in squarebrackets. So I did exactly that in an experiment. \somewhere{Foo}{Bar}[foo:bar] This does create a clickable “Foo” when the reference exists somewhere

Re: [NTG-context] How not to print the chapter number

2015-08-07 Thread Eric Détrez
Le 07-08-2015 15:04, Eric Détrez a écrit : I wish to print my texte as I Foo 1 Bar one 1.1 barbar one 1.2 barbar two 2 Bar two 2.1 foofoo one 2.2 foofoo two I don't want the Roman I printed in the numbering. With contextmark II I just added \setupsection[section-3][previousnumb

Re: [NTG-context] How not to print the chapter number

2015-08-07 Thread Tomas Hala
Hello Eric, try the following: \definehead[mysect][section] \setuphead[mysect][number=no] \starttext \mysect{Foo} \subsection{Bar one} \subsubsection{Barbar one} \subsubsection{Barbar two} \stoptext Best wishes, Tomas Fri, Aug 07, 2015 ve 03:04:04PM +0200 Eric Détrez napsal(a): # I wish to

[NTG-context] How not to print the chapter number

2015-08-07 Thread Eric Détrez
I wish to print my texte as I Foo 1 Bar one 1.1 barbar one 1.2 barbar two 2 Bar two 2.1 foofoo one 2.2 foofoo two I don't want the Roman I printed in the numbering. With contextmark II I just added \setupsection[section-3][previousnumber=no] but it doesn't seem to work in ma

Re: [NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
\startbodymatter \dorecurse{5}{\chapter{Chapter}\recurselevel\index{bar}} \stopbodymatter \startappendices \dorecurse{5}{\chapter{Appendix}\recurselevel\index{foo}} \title{Index} \placeindex \stopappendices \stoptext Just in case it helps, Pablo On 08

[NTG-context] Solved, was Re: Register customization for backmatter page numbers

2015-08-01 Thread Rik Kabel
}{\chapter{Chapter}\recurselevel\index{bar}} \stopbodymatter \startappendices \dorecurse{5}{\chapter{Appendix}\recurselevel\index{foo}} \title{Index} \placeindex \stopappendices \stoptext Just in case it helps, Pablo On 08/01/2015 04:20 AM, Rik wrote: List, I

Re: [NTG-context] Register customization for backmatter page numbers

2015-08-01 Thread Pablo Rodriguez
] \setuppagenumber[number=1] \stopsectionblockenvironment \startsectionblockenvironment[appendix] \setuppagenumber[number=1] \stopsectionblockenvironment \starttext \completecontent \startbodymatter \dorecurse{5}{\chapter{Chapter}\recurselevel\index{bar

Re: [NTG-context] Math literal colon

2015-07-24 Thread Hans Hagen
"foo", parents= { "bar" }, characters = { [0x3A] = { char = 0x2236, class = "inner" } } } \stopluacode \startTEXpage $a: b$\par \setupmathematics[domain=foo]$a: b$\par

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-13 Thread Jaroslav Hajtmar
ttext \startluacode interfaces.setmacro("foo","bar") \stopluacode \foo \start \startluacode interfaces.setmacro("foo","foo","global") \stopluacode \stop \foo \stoptext -

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-10 Thread Jaroslav Hajtmar
ttext \startluacode interfaces.setmacro("foo","bar") \stopluacode \foo \start \startluacode interfaces.setmacro("foo","foo","global") \stopluacode \stop \foo \stoptext -

Re: [NTG-context] Using lua to define a macro with one optional parameter in brackets

2015-07-09 Thread Hans Hagen
Hajtmar \starttext \startluacode interfaces.setmacro("foo","bar") \stopluacode \foo \start \startluacode interfaces.setmacro("foo","foo","global") \stopluacode \stop \foo \stoptext

[NTG-context] Problem with rfc4180splitter in last beta (sticking point was found... maybe)

2015-06-15 Thread Jaroslav Hajtmar
for any advice Jaroslav Hajtmar Here is my minimal version of problematic example: % csvfile.txt content: % first,second,third,fourth % 1,"2","3","4" % "a","b","c","d" % "foo","bar""baz",&q

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
first,second,third,fourth % 1,"2","3","4" % "a","b","c","d" % "foo","bar""baz","boogie","xyzzy" % \startluacode local mycsvsplitter = utilities.parsers.rfc4180splitter() local

Re: [NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
After I read my e-mail the I cut more my source code and I am sending now more minimalized version of minimal example Sorry, Jaroslav Hajtmar Here is another minimal version: % csvfile.txt content: % first,second,third,fourth % 1,"2","3","4" % "a"

[NTG-context] Problem with rfc4180splitter in last beta?

2015-06-15 Thread Jaroslav Hajtmar
Jaroslav Hajtmar Here is my minimal version of problematic example: % csvfile.txt content: % first,second,third,fourth % 1,"2","3","4" % "a","b","c","d" % "foo","bar""baz","boogie",&q

Re: [NTG-context] \math or $ doesn't work.

2015-06-02 Thread Otared Kavian
> On 02 Jun 2015, at 21:08, John Culleton wrote: > […] > Everything works. But there is > something wrong with my math code. There is no > horizontal bar between the 1 and the 2. I guess > I will study "The TEXbook" some more. Hi John, It is a good idea to read aga

Re: [NTG-context] \math or $ doesn't work.

2015-06-02 Thread John Culleton
r > replacing character encoding in file with ISO > 8859-15. > > BTW, your file is in /usr/local. I thought that > in Unix there was no place like /home :-). > > I hope it helps, > > > Pablo We are on the home stretch now. I added \enableregime [utf-8] as the fir

Re: [NTG-context] before= and after= for \setuphighlight

2015-05-15 Thread Aditya Mahajan
p[foo][style=bold,left=(,right=)] \definestartstop[bar][style=italic,left=(,right=)] test \foo{test \bar{x} test} test \stoptext Aditya ___ If your question is of interest to others as well, please add an entry to the

Re: [NTG-context] before= and after= for \setuphighlight

2015-05-15 Thread Hans Hagen
ed \startstopparameter\c!right \dostoptagged \startstopparameter\c!inbetween}} \protect \starttext \definestartstop[foo][style=bold,left=(,right=)] \definestartstop[bar][style=italic,left=(,right=)] test \foo{test

Re: [NTG-context] Changing font for math function

2015-05-12 Thread Hans Hagen
f one wants to call its function or subscript 'efficiency' for instance). 5. It avoids the user having to add \kern\zeropoint to prevent vertical alignment to the middle of the fraction bar when used inside \mathop for one-character function names (if one wants to call its function 'd

[NTG-context] Changing font for math function

2015-05-12 Thread Maggyero
bscript 'efficiency' for instance). 5. It avoids the user having to add \kern\zeropoint to prevent vertical alignment to the middle of the fraction bar when used inside \mathop for one-character function names (if one wants to call its function 'd' for instance). That \mathlabel shou

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-12 Thread Hans Hagen
On 5/12/2015 8:12 AM, Otared Kavian wrote: Hi Hans, While you are at the delimiters, could you please add also \| as an alias for \Vert? The command \| exists in plain TeX (and in many other TeX packages used by mathematicians) as an alias for the double bar norm, \Vert, or ||, while

Re: [NTG-context] \big\lfloor and \big\lceil do not work

2015-05-11 Thread Otared Kavian
Hi Hans, While you are at the delimiters, could you please add also \| as an alias for \Vert? The command \| exists in plain TeX (and in many other TeX packages used by mathematicians) as an alias for the double bar norm, \Vert, or ||, while as of now in ConTeXt it is an alias for the

[NTG-context] next beta

2015-04-15 Thread Hans Hagen
in next beta \starttext \pushpath[foo] \pushpath[foo/bar] \input test % . wins over /foo wins over foo/bar \poppath \poppath \stoptext -- - Hans Hagen

Re: [NTG-context] # in file name

2015-03-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .
erbatim catcodes but another solution is: foo\\letterhash bar great, it works, thank you! Lukas How to "code" the file name? -- Ing. Lukáš Procházka | mailto:l...@pontex.cz Pontex s. r. o. | mailto:pon...@pontex.cz | http://www.pontex.cz Bezová 1658 147 14 Praha 4 Tel: +420

Re: [NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Norbert Melzer
12:05 PM, Norbert Melzer wrote: > >> Hi! >> >> I have trouble to define macros which are only visible inside a block >> defined using `\definestartstop`: >> >> ```tex >> \setuppapersize[A6] >> \definestartstop[Foo][before={Foo}] >> \def

Re: [NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Hans Hagen
On 3/20/2015 12:05 PM, Norbert Melzer wrote: Hi! I have trouble to define macros which are only visible inside a block defined using `\definestartstop`: ```tex \setuppapersize[A6] \definestartstop[Foo][before={Foo}] \definestartstop[Bar][before={\bgroup\define\Foo{Foo}},after={\egroup

Re: [NTG-context] # in file name

2015-03-20 Thread Hans Hagen
A2.pdf"}, {scale=500}) context.pagefigure({PrehlSit\#A2.pdf"}, {scale=500}) context.pagefigure({PrehlSit##A2.pdf"}, {scale=500}) \stopluacode But nothing works. one can flush with verbatim catcodes but another solution is: foo\\letterhash bar How to "code" th

[NTG-context] define macros only visible in a definestartstop-block that have arguments?

2015-03-20 Thread Norbert Melzer
Hi! I have trouble to define macros which are only visible inside a block defined using `\definestartstop`: ```tex \setuppapersize[A6] \definestartstop[Foo][before={Foo}] \definestartstop[Bar][before={\bgroup\define\Foo{Foo}},after={\egroup}] %\definestartstop[Baz][before={\bgroup\define[1]\Foo

Re: [NTG-context] Problem with MkIV and TikZ picture remembering

2015-03-03 Thread Hans Hagen
ame % nesting hack \stoptexdefinition \setuppapersize[A6] \setupbackgrounds[page][background=highlight] \starttext \fromword[foo]{this} belongs to \toword[foo]{that} \fromword[bar]{this} belongs to \toword[bar]{that} \fromword[foo]{this} belongs to \toword[foo]{that} \fromword[bar]{t

Re: [NTG-context] CSV scanners built in ConTeXt - feature or bug?

2015-02-26 Thread Hans Hagen
ore by you) \starttext \startluacode local crap = [[ 1,"2","3","4" "a","b","c","d" "foo","bar""baz","boogie","xyzzy" "","","","

[NTG-context] CSV scanners built in ConTeXt - feature or bug?

2015-02-25 Thread Jaroslav Hajtmar
t(tablerows) for i=1,#tablerows do local l = tablerows[i] for j=1,#l do context(l[j]..", ") end context('\\crlf') end \stopluacode \stoptext % <-- here start data.txt file --> first,second,third,fourth 1

Re: [NTG-context] Different versions of Lua and error in the same versions of ConTeXt (Fedora vs Win7)

2015-02-24 Thread Jaroslav Hajtmar
Hi Hans. One more I ask You about this thing. When I have other separator - for example ";" then c.txt data file is: first,second,third,fourth "1";"2";"3";"4" "a";"b";"c";"d" "foo";"bar&qu

Re: [NTG-context] Different versions of Lua and error in the same versions of ConTeXt (Fedora vs Win7)

2015-02-23 Thread Jaroslav Hajtmar
t;2","3","4" "a","b","c","d" "foo","bar""baz","boogie","xyzzy" the code is in util-prs.lua (where all kind of parsing code lives) if you want to use that kind of code outside c

Re: [NTG-context] Different versions of Lua and error in the same versions of ConTeXt (Fedora vs Win7)

2015-02-23 Thread Hans Hagen
1","2","3","4" "a","b","c","d" "foo","bar""baz","boogie","xyzzy" the code is in util-prs.lua (where all kind of parsing code lives) if you want to use that kind of code

Re: [NTG-context] bibliography again: “von” and “van”

2015-01-31 Thread Hans Hagen
pends on the amount of snippets. In principle you can have of them, including the initials if they are kind of special.) Keep in mind that there is nothing like a bibtex standard (and it's still beta anyway awaiting version 1). Here is a test: \startbuffer[mybib] @book{something

Re: [NTG-context] What happened to the ePub script?

2015-01-20 Thread Hans Hagen
? no, because \hbox{foo\smallcaps bar\kern10pt gnu} and such have no real string representation * Can I influence the directory/file names of the export from within the source? E.g. if I compile „minimal.tex“, I get minimal-export and minimal-epub The —result switch doesn’t change anything. hm

Re: [NTG-context] problem with \processaction

2014-12-17 Thread Pablo Rodriguez
ue{SomeName:foo}{one} > \setvalue{SomeName:bar}{two} > > % and another 50 names > > \def\SomeName{foo} > % \def\SomeName{bar} > > \doifelse{\getvalue{SomeName:\SomeName}}{two} >{YES} >{NOP} Many thanks for your reply, Hans. I didn’t know of this alternative

Re: [NTG-context] problem with \processaction

2014-12-16 Thread Hans Hagen
two} % and another 50 names \def\SomeName{foo} % \def\SomeName{bar} \doifelse{\getvalue{SomeName:\SomeName}}{two} {YES} {NOP} - Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061

Re: [NTG-context] xtables in setups

2014-12-15 Thread Wolfgang Schuster
27;t seem to work when within a setup/xmlsetup. > > Small example (without XML, for the sake of simplicity): > > ~~ > \starttext > > \startsetups test > \startxtable > \startxrow >\startxcell Foo \stopxc

[NTG-context] xtables in setups

2014-12-15 Thread Andreas Schneider
of simplicity): ~~ \starttext \startsetups test \startxtable \startxrow \startxcell Foo \stopxcell \startxcell Bar \stopxcell \stopxrow \stopxtable \stopsetups \setups[test] \stoptext ~~ Causes

Re: [NTG-context] equivalent to \newcommand{...}{\ensuremath{...}}

2014-12-09 Thread j. van den hoff
ng...), i.e. mkae it behave like `\ensuremath' in latex? 1 + 2: \define\Foo{\mathematics{f(x)}} \define\Bar{\mathortext {f(x)}{\m{g(x)}}} \starttext a \Foo\ \Bar\ b \startformula \Foo\ \Bar \stopformula \stoptext feeling silly: now it works (so there was no real problem in the first

Re: [NTG-context] equivalent to \newcommand{...}{\ensuremath{...}}

2014-12-09 Thread Wolfgang Schuster
the math expression with `ensuremath'). so my real question(s) are: > > 1. is there any way to achieve the same functionality in `context' (expansion > of math-containing defintion/macro/abbreviation in text _and_ math >

Re: [NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
line] > \switchtobodyfont[16pt]\bf > \leftaligned{Foo}% > \blank[line] > \leftaligned{bar bar bar bar}% > \blank[line] > \leftaligned{Foo}% > \stop > \hairline \blank[line] > \leftaligned{Foo bar foo bar bar bar bar}% > \hairline \blank[line]\rightaligned{Gerben Wierda}% &

[NTG-context] Trying to force a particular page sequence

2014-11-26 Thread Gerben Wierda
\start \blank[line] \switchtobodyfont[16pt]\bf \leftaligned{Foo}% \blank[line] \leftaligned{bar bar bar bar}% \blank[line] \leftaligned{Foo}% \stop \hairline \blank[line] \leftaligned{Foo bar foo bar bar bar bar}% \hairline \blank[line]\rightaligned{Gerben Wierda}% \blank[6cm]\start\leftskip=10cm

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Pierre-François Bonnefoi
gt; updated. > > \starttext > > \definebuffer[Slide] > > foo > > \startSlide > bla bla bla > \starttyping > language C code > \stoptyping > bla bla bla > \stopSlide > > bar > > \getbuffer[\thedefinedbuffer{Slide}] > > \getSlide >

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Hans Hagen
d. \starttext \definebuffer[Slide] foo \startSlide bla bla bla \starttyping language C code \stoptyping bla bla bla \stopSlide bar \getbuffer[\thedefinedbuffer{Slide}] \getSlide \stoptext Does a buffer work only for verbatim content ? no, for everything best regards, Pierre-François.

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Pierre-François Bonnefoi
regards, Pierre-François. On 07 Nov 2014, at 12:38, Hans Hagen wrote: > > \starttext > > \definebuffer[Slide] > > foo > > % \skipSlide > \startSlide > bla bla bla > \startyping > language C code > \stoptyping > bla bla bla > \stopSlide

Re: [NTG-context] ConTeXt gobble my mind

2014-11-07 Thread Hans Hagen
Perhaps Modes ? http://wiki.contextgarden.net/Modes \starttext \definebuffer[Slide] foo % \skipSlide \startSlide bla bla bla \startyping language C code \stoptyping bla bla bla \stopSlide bar \stoptext - H

Re: [NTG-context] pgfplots broken?

2014-11-05 Thread Hans Hagen
= true io.savedata("foo.bar.lua",[[print("hello")]]) require ("foo.bar") \stopluacode \stoptext so, if you want to require("foo.bar.whatever" it should be e.g.: tex/generic/foo/bar/whatever.lua when kpse is plugged into the package lo

Re: [NTG-context] pgfplots broken?

2014-11-04 Thread Hans Hagen
fplots/lua/pgfplotsoldpgfsupp_pgfluamath.parser.lua ./tex/texmf-modules/tex/generic/pgfplots/lua/pgfplotsoldpgfsupp_pgfluamath.functions.lua require("foo.bar") means: look for file [configured paths]/foo/bar.[so|dll|lua] so, those filenames looks weird. I have no clue how e.g. latex or plain

[NTG-context] \placetable whitespace problem in columnset

2014-11-02 Thread Bryor Snefjella
{1}{1}\One \startbuffer \placetable[lrtb][tab:mytable]{My Table}{ \bTABLE[option=stretch,textwidth=\One,align=middle] \bTR\bTH Foo \eTH\bTH Bar \eTH\eTR \bTR\bTD Bar \eTD\bTD Foo \eTD\eTR \bTR\bTD Foo \eTD\bTD Bar \eTD\eTR \eTABLE} \stopbuffer \My[Q]{\input knuth\getbuffer} \My[R]{\input knu

[NTG-context] beta

2014-10-14 Thread Hans Hagen
Hi, new in next beta: \setuphead[alternative=reverse] \starttext \chapter{Foo} \section{One} \section{Two} \section{Three} \chapter{Bar} \section{One} \section{Two} \section{Three} \stoptext renders Foo 1 One 1.1 etc

Re: [NTG-context] Referencing existing endnotes

2014-09-13 Thread Wolfgang Schuster
Am 13.09.2014 um 14:49 schrieb Gerben Wierda : > Suppose, in a footnote, I want to reference an existing endnote. > > text text text text.\endnote{Bladibladibla ends up at end of document, > numbered in an appendix} Text text text text > > Text text\footno

[NTG-context] Referencing existing endnotes

2014-09-13 Thread Gerben Wierda
Suppose, in a footnote, I want to reference an existing endnote. text text text text.\endnote{Bladibladibla ends up at end of document, numbered in an appendix} Text text text text Text text\footnote{Foo bar bar bar\referencetoexistingendnotedefinedabove} text text Can I do that in some way

Re: [NTG-context] Two issues with character alignment

2014-09-04 Thread Hans Hagen
, alignmentcharacter=., align=middle] \subject{Reference} \startTABLE \NC Foo\crlf bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Double backslash issue} \startTABLE \NC Foo\\bar\NC \NR \NC 1.1 \NC \NR

[NTG-context] Two issues with character alignment

2014-09-04 Thread Maggyero
] \subject{Reference} \startTABLE \NC Foo\crlf bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject{Double backslash issue} \startTABLE \NC Foo\\bar\NC \NR \NC 1.1 \NC \NR \NC 11.1\NC \NR \stopTABLE \subject

Re: [NTG-context] E-books and XML.

2014-08-29 Thread Hans Hagen
it’s no solution to just subtract 1, as I do at the moment to create my ToC. new beta \setupbackend [export=yes, xhtml=yes, css=export-example.css] \starttext \index{foo}foo \page \index{bar}bar \page \index{foo}foo \page \index{bar}bar \page \index{foo+test}foo

Re: [NTG-context] E-books and XML.

2014-08-28 Thread Henning Hraban Ramm
and >> registerpages, the locations don’t match. >> If there are several index entries pointing to the same point (page), as >> here, they’re continuously numbered, so that it’s no solution to just >> subtract 1, as I do at the moment to create my ToC. > > new beta

Re: [NTG-context] E-books and XML.

2014-08-28 Thread Hans Hagen
entries pointing to the same point (page), as here, they’re continuously numbered, so that it’s no solution to just subtract 1, as I do at the moment to create my ToC. new beta \setupbackend [export=yes, xhtml=yes, css=export-example.css] \starttext \index{foo}foo \page \index

Re: [NTG-context] Rotate does not work on externalfigure

2014-08-20 Thread Gerben Wierda
On 20 Aug 2014, at 17:47, Wolfgang Schuster wrote: > > Am 20.08.2014 um 17:39 schrieb Gerben Wierda : > >> >> On 20 Aug 2014, at 17:26, Wolfgang Schuster >> wrote: >> >>> >>> Am 20.08.2014 um 17:09 schrieb Gerben Wierda : >>>

Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-20 Thread Gerben Wierda
%202014-08-20%20at%2020%20August%2017.30.37.png > > Make a *working* minimal example. Having that part in a smaller bodyfont is what triggers it: \starttext \setupbodyfont[12pt] \setupindenting[small] \indenting[yes] \setupitemize[each][margin=standard] \start \switchtobodyfont[8pt] Bar fo

Re: [NTG-context] Rotate does not work on externalfigure

2014-08-20 Thread Wolfgang Schuster
Am 20.08.2014 um 17:39 schrieb Gerben Wierda : > > On 20 Aug 2014, at 17:26, Wolfgang Schuster > wrote: > >> >> Am 20.08.2014 um 17:09 schrieb Gerben Wierda : >> >>> \placefigure [] [foo] {Bar} >>> {\externalfigure[foo.pdf][rotation=

Re: [NTG-context] Rotate does not work on externalfigure

2014-08-20 Thread Gerben Wierda
On 20 Aug 2014, at 17:26, Wolfgang Schuster wrote: > > Am 20.08.2014 um 17:09 schrieb Gerben Wierda : > >> \placefigure [] [foo] {Bar} >> {\externalfigure[foo.pdf][rotation=90]} >> >> Does not rotate my figure. It just remains as is. Am I forgetting

Re: [NTG-context] Rotate does not work on externalfigure

2014-08-20 Thread Wolfgang Schuster
Am 20.08.2014 um 17:09 schrieb Gerben Wierda : > \placefigure [] [foo] {Bar} > {\externalfigure[foo.pdf][rotation=90]} > > Does not rotate my figure. It just remains as is. Am I forgetting something? You’re using the wrong key. \setupexternalfigures[location=default]

Re: [NTG-context] Heading followed by itemize: how to keep them together?

2014-08-20 Thread Wolfgang Schuster
Am 20.08.2014 um 16:01 schrieb Gerben Wierda : > When I have: > > \subsubsection{Foo} > \startitemize[joinedup,packed] > \item Bar > \item Bar > \item Bar > \stopitemize > > TeX may put a page break between the heading and the paragraph. Is there a

[NTG-context] Rotate does not work on externalfigure

2014-08-20 Thread Gerben Wierda
\placefigure [] [foo] {Bar} {\externalfigure[foo.pdf][rotation=90]} Does not rotate my figure. It just remains as is. Am I forgetting something? G___ If your question is of interest to others as well, please

Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-20 Thread Gerben Wierda
>> >>> \starttext >>> >>> \input knuth >>> >>> \startitemize[margin=standard] >> >> Does the margin thing, but incapacitates packed and joinedup, which are >> ignored if the margin statement is there. So, I get indented items, b

[NTG-context] Heading followed by itemize: how to keep them together?

2014-08-20 Thread Gerben Wierda
When I have: \subsubsection{Foo} \startitemize[joinedup,packed] \item Bar \item Bar \item Bar \stopitemize TeX may put a page break between the heading and the paragraph. Is there a way to prevent this? I tried \subsubsection{Foo}\page[no] \startitemize[joinedup,packed] \item Bar \item Bar

Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-19 Thread Aditya Mahajan
losing joinedup and packed. \setupindenting[yes,medium] \starttext Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. \startitemize[joinedup,packed] \item Foo bar \item Foo bar \stopitemize Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. Foo bar bar foo

Re: [NTG-context] itemize: how to get the first level items indented?

2014-08-19 Thread Gerben Wierda
ndented items, but at the price of losing joinedup and packed. \setupindenting[yes,medium] \starttext Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. \startitemize[joinedup,packed] \item Foo bar \item Foo bar \stopitemize Foo bar bar foo. Foo bar bar foo. Foo bar bar foo. Foo bar bar fo

Re: [NTG-context] \startitemize "Step 1:" "Step 2:"

2014-07-28 Thread Wolfgang Schuster
me). How do I create a list that is numbered like this: >>> >>> Step 1: foo foo foo foo foo foo foo foo foo >>> foo foo foo foo foo >>> Step 2: bar bar bar bar bar bar bar bar bar >>> bar bar bar bar bar >>> >>> etc. (Inden

Re: [NTG-context] \startitemize "Step 1:" "Step 2:"

2014-07-28 Thread luigi scarso
st that is numbered like this: > > Step 1: foo foo foo foo foo foo foo foo foo > foo foo foo foo foo > Step 2: bar bar bar bar bar bar bar bar bar > bar bar bar bar bar > > etc. (Indenting each item after the first line of course) > > > \defineenumeration[Step][a

Re: [NTG-context] \startitemize "Step 1:" "Step 2:"

2014-07-28 Thread Gerben Wierda
o foo foo foo foo foo foo foo foo >> foo foo foo foo foo >> Step 2: bar bar bar bar bar bar bar bar bar >> bar bar bar bar bar >> >> etc. (Indenting each item after the first line of course) > > \defineenumeration[Step][alternative=hanging,width=fi

Re: [NTG-context] \textreference

2014-07-26 Thread Hans Hagen
On 7/13/2014 7:59 PM, Herbert Voss wrote: 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

Re: [NTG-context] \startitemize "Step 1:" "Step 2:"

2014-07-25 Thread Wolfgang Schuster
Am 25.07.2014 um 18:53 schrieb Gerben Wierda : > Here is something simple that cannot be found in the manual (at least not by > me). How do I create a list that is numbered like this: > > Step 1: foo foo foo foo foo foo foo foo foo > foo foo foo foo foo > Step 2: bar b

[NTG-context] \startitemize "Step 1:" "Step 2:"

2014-07-25 Thread Gerben Wierda
Here is something simple that cannot be found in the manual (at least not by me). How do I create a list that is numbered like this: Step 1: foo foo foo foo foo foo foo foo foo foo foo foo foo foo Step 2: bar bar bar bar bar bar bar bar bar bar bar bar bar bar etc. (Indenting

Re: [NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Hans Hagen
On 7/15/2014 1:59 PM, Maggyero wrote: I have finally found a not perfect solution: setting manually the height of the bar cell shrinks the foo cell (setting height=fit for the foo cell does not work). \starttext \startTABLE \NC foo \NC[nr=2] \input knuth \NC \NR \NC

[NTG-context] Height fitting with row spanning in a table

2014-07-15 Thread Maggyero
I have finally found a not perfect solution: setting manually the height of the bar cell shrinks the foo cell (setting height=fit for the foo cell does not work). \starttext \startTABLE \NC foo \NC[nr=2] \input knuth \NC \NR \NC[height=28ex] bar\NC

[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] Height fitting with row spanning in a table

2014-07-11 Thread Maggyero
How can I stretch the height of the foo cell to fit its content? \starttext \startTABLE \NC foo \NC[nr=2]\input knuth \NC \NR \NC bar \NC \NR \stopTABLE \stoptext ___ If your

Re: [NTG-context] grid + description + superscript

2014-06-05 Thread Hans Hagen
]}, before={\blank[none]}, after={\blank[none]}, margin=no, ] \starttext \desc{foo} bar baz \desc{foo} bar baz \desc{foo} bar $x_j$ baz \desc{foo} bar baz \desc{foo} bar baz \par \stoptext ___ If your question is of

[NTG-context] grid + description + superscript

2014-06-05 Thread Trond Thorbjørnsen
} bar baz \desc{foo} bar baz \desc{foo} bar $x_j$ baz \desc{foo} bar baz \desc{foo} bar baz \par \stoptext ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] \type gives different results in footnotes

2014-05-26 Thread Pablo Rodriguez
te \em has an extra unrequired space. >> >> I don’t have no idea about how TeX works here. As I wrote in a previous >> message, this is far beyond my understanding. > > It has to do with catcodes and tex adding a space after a stringified > \cs so passing as argument is frag

Re: [NTG-context] LuaTeX/ConTeXt connect to SQL Server

2014-05-26 Thread Hans Hagen
base = "test", username = "root", password = "none", host = "localhost", port = 3306, } You should use lowercase keys. Spaces in keys are impossible anyway unless you use ["foo bar"] = "xxx". It's Lua, so some

Re: [NTG-context] \type gives different results in footnotes

2014-05-26 Thread Hans Hagen
works here. As I wrote in a previous message, this is far beyond my understanding. It has to do with catcodes and tex adding a space after a stringified \cs so passing as argument is fragile. There is already some magic in place for \foo{bar} cases so I've added a (less tested) aggressive o

Re: [NTG-context] workaround for another too-low symbol in Pagella?

2014-05-09 Thread Otared Kavian
Hi Sanjoy, I think that this a font related problem since in Plain TeX and mkii the following $${\rm P}(H\, | \, E)$$ gives the same result as in mkiv when using the default LM fonts, and the top (resp. the bottom) of the bar | is aligned with the top (resp. the bottom) of the

<    1   2   3   4   5   6   7   8   9   10   >