> On 10. Jan 2019, at 01:08, Hans Hagen wrote:
>
> it all depends on use ... if you can be more specific ...
Hans, Luigi,
thanks for your hints on list sorting - they are appreciated, but I’ve been
there many many times: it’s impossible to be more specific because numbering
can be unexpecte
> On 30. Sep 2018, at 20:56, Geert Verhaag wrote:
>
> I'd like to use the Advent Pro font, so I downloaded the font and have 7 ttf
> files available.
>
> After looking around for some manual I found: "Integrating TrueType Fonts
> into ConTEXt" by Thomas A. Schmitz.
>
> Immediately I run int
> On 23. Feb 2018, at 22:00, Hans Hagen wrote:
>
> maybe you mean
>
> \startluacode
>
> context.setupdocument {
>gitversion = string.strip(
>os.resultof("git --no-pager log --pretty='%h of %aD' -1 " ..
> environment.jobfilefullname) or "")
> }
>
> \stopluacode
>
> \setupfootert
Hi,
I like to add a sort of watermark with info about the git revision at the
bottom of some files that I typeset. I’m using Lua, so I have:
context(os.resultof("git --no-pager log --pretty='%h of %aD' -1 foo.xml”))
which gives something like "git revision b085c92a of Wed, 14 Feb 2018 12:49:35
> On 23. Feb 2018, at 12:04, Gerard wrote:
>
> Why does not work "rulecolor" in my example below ? it keeps the color of
> textcolor...
>
> The other options of setcolumns (background...) work well but I fail on that
> one. Have I understood everything?
>
If you look into the source (page-
> On 5. Feb 2018, at 16:51, Hans Hagen wrote:
>
> here i get
>
> loaded fonts: 4 files: xits-math.otf, dejavusans.ttf, dejavusansmono.ttf,
> dejavuserif.ttf
You’re right: after deleting and remaking the cache, it works here too. Sorry
for the noise!
Thomas
The following test file runs without errors in the texlive version (2017.05.15
21:48) but fails with the current beta (2018.01.24 10:47); several errors "font
with asked name 'xits-math' is not found":
\definefontfamily [test] [serif] [DejaVu Serif]
\definefontfamily [test] [sans] [DejaVu Sans
> \usebtxdefinitions[aps]
Here you’re loading the *aps* definitions.
>
> \setupbtx
> [apa:list:author]
> [separator:3={\btxnobreakspace\textampersand\space}] % last of a list
>
And here you’re modifying the *apa* setups. That won’t work. This works:
\startbuffer[references]
@misc{test,
auth
> On 6. Nov 2017, at 21:44, Weber, Matthias wrote:
>
> It looks like Metapost is a good way of doing this.
> If anybody knows a better way, please let me know.
Not “better,” but maybe simpler: you can just scale the cdot; if you want to be
fancy, you can make a macro and center it vertically,
> On 5. Nov 2017, at 10:14, Javier M Mora wrote:
>
> Questions:
>
> * what is the way for implement a title in the frame?
There are examples for titles in frames at
http://wiki.contextgarden.net/Titles#Chapter_titles_in_new_line
>
> * Could you write a minimal example witch allows me to co
> On 25. Oct 2017, at 15:47, N. Raghavendra wrote:
>
> Based on what I have learnt from the replies to my queries in the last
> few days, I have added the following Wiki pages on Unicode blocks in
> ConTeXt:
Very good articles, nice introduction and instructive overview. Very useful to
have o
> On 21. Aug 2017, at 16:25, Roger Mason wrote:
>
>
> Is there a switch to enable lines to be numbered in the output pdf
> document? I have seen the garden entries on numbering for sections of
> verbatim text but I would like the whole document to have line numbers.
http://wiki.contextgarden.
> On 10. Aug 2017, at 14:18, Hans Hagen wrote:
>
> p intersection_point q
>
> (also sets intersection_found)
Boy, impressive and wonderful, thanks a lot!!! It also made me see why I the
error stopped the compilation: I had a naming conflict between the slide
background and one of included me
Hi all,
this one is for all the metapos/metafun experts out there (Alan, are you
there?). For a counter in one of my slide backgrounds, I have to calculate an
intersectionpoint, given in percentage of the difference between current page
and last page. I have always had some difficulties on the
> On 8. Aug 2017, at 23:26, Pablo Rodriguez wrote:
>
> Thomas,
>
> \xmlprettyprint seems an easier approach.
Thank you, I did’n know about \xmlprettyprint. But I want to define my own
prettyprinters, so it’s not suitable for my purpose. And it doesn’t solve the
issue I was asking about.
Tho
Hi all,
excellent excuse to pester the list with a program: it’s for my presentation at
the ConTeXt meeting (have YOU registered yet?)… So: I want to show verbatim
xml, and I’m writing in xml. This solution:
http://wiki.contextgarden.net/Verbatim_XML mostly works (for Lua and TeX code),
except
> On 1. Aug 2017, at 12:15, r.erm...@hccnet.nl wrote:
>
> While understanding what it means, I guess this might imply that it is
> difficult (?) or impossible (?) to correctly process files such as the knuth
> text and for that matter any other letter text that contains regular Context
> comma
> However, the color and style instructions (\ss\tfa) have no effect. I tried
> to solve that, as a first step, by putting \ss before the \xmlall instruction:
>
> \startxmlsetups xlm:contact
> \setlayer[AddressBg] {\framed[width=55mm,height=30mm,
> align=right,background=color,
> backgroundco
> On 31. Jul 2017, at 18:58, r.erm...@hccnet.nl wrote:
>
> Would it be wise to perhaps follow the path set out by Thomas? In that case
> there should be a way to shift the address.
What efforts have you made to “shift the address”? Here is one way:
\startbuffer[participants]
Hendriks
> On 30. Jul 2017, at 14:15, r.erm...@hccnet.nl wrote:
>
> Let me as a turcologist compare my problem to learning Kazakh: I am prepared
> to give you a manual with the grammatical rules, provide you with lists of
> nouns, verbs, adjectives and postpositions, explain the application of
> phonol
> On 29. Apr 2017, at 16:51, Pablo Rodriguez wrote:
>
> An index with classical Greek words (or names) that follows the same
> principle as in German, English or Dutch: word sorting is the same as in
> most important dictionaries.
>
> This is the main reason of having it as a default.
Sorry, b
> On 29. Apr 2017, at 13:10, Pablo Rodriguez wrote:
>
> I don‘t know why "α" isn’t the first in sorting, but it is clear that
> letters with different diacritical marks are considered as different
> letters for word sorting.
>
> Could you confirm that the right word order is the second list in
> On 10 Aug 2016, at 05:36, Jose Luis Arellano wrote:
>
> Hi guys, am trying to install ConTeXt on this distribution, but when try to
> install it i get this:
>
> /usr/bin/env: 'texlua': No such file or directory
>
> Suggestions?
>
Hi,
fancy telling us how you’re installing? We have absol
> On 30 Jul 2016, at 23:46, Lukas Prochazka wrote:
>
> Hello Thomas,
>
> here is my "dump()" I've been using for several years:
Arthur, Lukas,
these are both great and very helpful, thanks a lot! I feel bad for not knowing
table.serialize (which can even be used with the context() function t
Thank you, but this is not what I’m looking for. I know how to sort a table,
and I know the Lua table tutorial (the Lua wiki is, IMHO, really terrible and
disorganized). I have to construct deeply nested tables and sometimes lose
track of what is at what level of my table, so I was wondering if
Hi all (especially the gardeners),
have you seen this post?
https://lars.ingebrigtsen.no/2016/07/28/the-end-of-gmane/
Long story short: the sole maintainer of gmane is getting fed up with ddos
attacks and is thinking about terminating the service. If I’m not mistaken, for
the time being, gmane
This is less a specific question about ConTeXt than a hope for good advice: I’m
maltreating my xml files with a mixture of TeX and Lua. I want to extract and
typeset information in different forms, so I first collect everything in lua
tables, rearrange and order these tables and typeset the resu
> On 23 Jul 2016, at 09:24, Bou Salim wrote:
>
> Hi
> I have this problem to show colors properly. I have defined color "myred",
> but after \showcolor command colors inside metapost can't be displayed.
Your example shows the correct colors here. Which version are you using? mkii
or mkiv?
> On 31 Mar 2016, at 22:17, Jan Tosovsky wrote:
>
> In time of producing the result image it was sufficient to set the tolerance
> to 'strict'.
>
> (1) How can this be fixed efficiently?
> (2) What has changed internally?
>
> Thanks for any hints,
The example is missing the language setup:
> On 21 Mar 2016, at 15:28, Hans Hagen wrote:
>
> when playign with some new feature i commented too much
>
> around line 722, uncomment:
>
> \setuplistalternative
> [\c!command=\strictlistparameter\c!command,
> \c!symbol=.]
>
>
Done, and it works again! Thanks Hans!
Thomas
Hi all,
example attached with output from latest beta and an older one. The \placelist
command appears to have changed recently; the older beta I tested is from
November, but this used to work in February as well, the change must be recent.
Thanks a lot
Thomas
\definelist[MyTopics][criterium=
> On 06 Mar 2016, at 15:56, Hans Hagen wrote:
>
> \setupdelimitedtext
> [method=font]
Excellent - thanks Hans!
Thomas
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maill
Hi all,
short example in extra big size to make the effect visible:
\setupbodyfont [termes,48pt]
\mainlanguage [de]
\starttext
„Vater“
\quotation{Vater}
\stoptext
In the first line, the character „ has a bit of kerning with the following V
(could be even more, to my taste). With \quotation
> On 16 Jan 2016, at 12:24, Jan U. Hasecke wrote:
>
> Both solutions work fine if I use them in a simple context file, but I
> can't use neither solution in my xml processing.
>
> I use a customized version of the from-pandoc-to-context solution of Pablo.
>
> When I place the replacement comma
> On 16 Jan 2016, at 00:32, Hans Hagen wrote:
>
> you're the only one with this issue (or the only one who reports it) so i
> have no clue what to do
>
> does a fresh install work ?
Everything works normally here after updating an existing minimal tree is all I
can say. And I’m really glad a
> On 19 Nov 2015, at 22:45, Pablo Rodriguez wrote:
>
> I have just updated and compilation from XML sources works fine again
> (at least with the file I tested ;-)).
The problem with xml entities persists. They are not processed, but printed as
is. I sent an example on Oct. 13.
Thomas
___
> On 13 Oct 2015, at 11:56, Thomas A. Schmitz
> wrote:
>
> I thought something like this had been asked on the list recently, but a
> search came up empty: how to get footnotes to titles typeset?
>
> \automigrateinserts
>
> \starttext
>
> \startchapter [title={Silly title\footnote{With a si
> On 13 Oct 2015, at 13:41, Hans Hagen wrote:
>
> if you have a small example ... this whole entity stuff is a mess ..
> officially entities are replaced at load time but tex code is delayed .. so
> maybe i need to invent some other trick (there was an issue with & ;
> sequences being replace
> On 08 Aug 2015, at 15:32, Otared Kavian wrote:
>
> Hi Thomas,
>
> Your file gives the expected result here, with
> ConTeXt ver: 2015.08.05 16:35 MKIV beta fmt: 2015.8.7 int:
> english/english
>
> Please see the attached output.
> Best regards: OK
Hi Otared,
and right you are! Mus
>
> I see. Impressive (I think I have to learn lua, too)
You don’t have to, but you’ll see that it’s actually fun.
>
> But for now I am better off with the coontains statement.
>
> \xmlsetsetup{#1}{hi[contains(@rendition, 'in')]}{xml:hi:in}
>
> It matches
>
> S
>
> without problems
>
> But
> On 17 Jul 2015, at 19:26, juh wrote:
>
> Hi all,
>
> I am totally new to ConTeXt. I am a long time LaTeX user and I got
> interested in ConTeXt by a posting from Pablo in the Pandoc mailing
> list. So he is to blame if you have to read silly questions from me in
> the future. ;-)
>
> To lear
On 27 Aug 2014, at 16:38, john Culleton wrote:
> Some questions:
> What tool do you recommend for entering text etc.
> in XML format? I have the Bluefish Editor but
> usually code html in a plain editor (Gvim).
“Recommend” is too strong, because everything depends on the type of document
you’r
On 07 Jun 2014, at 19:09, Hans Hagen wrote:
> s-simpleslides
>
> would have been a better choice
I have uploaded a new version with these changes, it appears to work. I don’t
have time right now to look at all the styles (most work, some have small
defects) and do the documentation, so this
On 07 Apr 2014, at 23:24, Otared Kavian wrote:
> Maybe not, since Roman numerals i, ii, iii, iv, etc correspond really to the
> way Romans used to write numbers, while Greek numerals \alpha, \beta, \gamma,
> \delta, etc are rather our modern way of numbering items, analogous to the
> case one
Hi,
this is pretty shallow, but maybe someone knows a way: for one of my
presentation, every slide has a (different) picture as background. The title is
typeset within a narrow colored frame which extends across the entire slide. Is
there any way to make the background picture show through the
On 19 Feb 2014, at 12:16, Wolfgang Schuster wrote:
> http://www.ntg.nl/pipermail/ntg-context/2012/065815.html
>
> Wolfgang
Not only I’m bad at math, I don’t even remember the answers to my own questions
- thanks Wolfgang for reminding me! I’m getting old and senile, should look
into early re
On 19 Feb 2014, at 11:37, Alan BRASLAU wrote:
> uniformdeviate returns a random number between zero and the value of
> the argument. So you do not want (uniformdeviate i).
Ah, that explains it. Thanks a lot Alan!
Otared Kavian wrote:
> One way is to increase the « degree of randomness » by sa
Hi all,
I would like to have mp choose a (transparent) color randomly from a predefined
list. My naive approach was (let’s restrict it to three colors):
\startuniqueMPgraphic{colortest}
save mycolor ; color mycolor[] ;
mycolor[1] := (0.07, 0.21, 0.65) ;
mycolor[2] := (0.6, 0.6, 0.4) ;
mycolor[3]
On 24 Oct 2013, at 16:44, Aditya Mahajan wrote:
> You need to set it to a dummy directory! See:
> http://tex.stackexchange.com/a/136073/323
No, even that doesn’t help:
echo $OSFONTDIR
/tmp/dummy
and then on a first run (after regnerating the format with this variable set),
I get lines such
On 24 Oct 2013, at 16:17, Hans Hagen wrote:
> Hm. The problem is that we get some oscillation (with a few year cycle)
> between the 'demand' for os fonts support vs tree only (as far as remember os
> font support was mostly requested by osx users). Anyhow, we can make it an
> option, but then
On 24 Oct 2013, at 10:00, Wolfgang Schuster wrote:
> Can you remove the Skia.ttf (copy it to another directory) font from
> /Library/Fonts,
> this helped on my system to get rid of the error message.
>
> Wolfgang
Yes, that helped, and I can at least compile my documents again. (How did you
f
On 24 Oct 2013, at 09:04, Wolfgang Schuster wrote:
> There are no problems for me with the last version of the context suite and
> OS 10.9.
>
> This is LuaTeX, Version beta-0.76.0-2013040508 (TeX Live 2013/dev)(rev 4627)
>
> Wolfgang
not on my system. I have this version and the latest suit
On 24 Oct 2013, at 09:01, Schmitz Thomas A. wrote:
> But so far, I have not been able to unset OSFONTDIR and make context ignore
> this directory. (Unlike some people in a recent discussion, my preference
> would be to NOT include any system fonts by default: it slows rebui
On 24 Oct 2013, at 07:41, Pierre Bovet wrote:
> Hi all!
>
> It seems that Luatex (0.76 2013/04/05) don't works with Mavericks?
>
> Thank's in advanced for your help and testimonies
>
> Best wishes
I’m afraid you’re right! I installed Mavericks yesterday; trying to build the
format, I get th
On 24 Oct 2013, at 07:41, Pierre Bovet wrote:
> Hi all!
>
> It seems that Luatex (0.76 2013/04/05) don't works with Mavericks?
>
> Thank's in advanced for your help and testimonies
>
> Best wishes
I’m afraid you’re right! I installed Mavericks yesterday; trying to build the
format, I get th
On Oct 3, 2013, at 8:57 PM, Pablo Rodríguez wrote:
>
> Installing zsh gives the same error, but I don’t have zsh installed (I
> removed after installing it to test this).
I play around with quite a few linux distributions and use them on a regular
basis. The error only crops up on fedora. It
On Aug 15, 2013, at 1:43 PM, Hans Hagen wrote:
> as you know lua ... just look at those lines and a few lines above ... you
> need to add
>
>local unic = unicode + offset - start
>
> (new beta later, in the middle of something)
Ah, you're right, I could have seen that myself
Hi Hans,
I get this error running 2013.08.14 15:25:
! LuaTeX error .../context/tex/texmf-context/tex/context/base/font-col.lua:180:
table index is nil
stack traceback:
.../context/tex/texmf-context/tex/context/base/font-col.lua:180: in
function 'fontcollectionclone'
[string "\di
On Jul 24, 2013, at 11:57 AM, Marco Patzer wrote:
> http://wiki.contextgarden.net/Unexpected_behavior#Footnotes:_The_Difference_between_.5Csetupnotation_and_.5Csetupnote
I wasn't aware of this page - thanks a lot, this is VERY useful!
Thomas
___
On Jun 15, 2013, at 4:47 PM, Sander Maijers wrote:
> I did not visit the page from the main XML page, but via Google. In the page
> itself there is no mention of MkII. By the way, the dead link to the old
> module shouldn't be there in any case.
OK, then thanks for fixing this!
Thomas
__
On Jun 15, 2013, at 4:34 PM, Sander Maijers wrote:
> I use a very recent version of ConTeXt MKIV, and I was following the
> instructions on this Wiki
> page:http://wiki.contextgarden.net/Mixing_XML_and_ConTeXt . However the
> "contml" module cannot be found and the hyperlink to it on the Wiki
On Apr 27, 2013, at 12:16 AM, Hans Hagen wrote:
>> Someone had to show me the first ligature years ago and when he did
>> that, I had to check every single book and document I had at hand to
>> check if ligatures were really commonly used. I simply couldn't
>> believe my eyes and the fact that i
On Feb 26, 2013, at 1:54 PM, Hans Hagen wrote:
> you go up to the parent of sections which to far up, try:
>
> section = xml.attribute(r, "..", "label", "X")
>
> or
>
> section = xml.filter(r, "../attribute(label)")
>
>
Mojca, Hans,
thanks, that is exactly right! I wasn't too sure about
Hi all,
one of my favorite topics… Here is a minimal example which shows something that
I don't understand: when I process the subsection with the lua code, I want to
get the value of the current section's "label" attribute in xml.attribute(r,
"../../section", "label", "X"). So i was expecting
On Jan 14, 2013, at 2:54 PM, Andreas Mang wrote:
> Hi there,
>
> I got a question considering the registers. I'd like to distinguish between
> the definition of some term and its appearance/use somewhere else (boldface
> vs. normal font of page number for instance). The garden provides a solu
On Dec 16, 2012, at 11:08 PM, Sietse Brouwer wrote:
> http://wiki.contextgarden.net/Command/xmlinclude
>
> Wikified, but sans example for now. Thomas, could I leave that to you?
> Writing about things I don't understand is one thing, but producing
> working code that I don't understand is somet
On Dec 16, 2012, at 2:46 PM, Hans Hagen wrote:
> Using xml sounds ok to me (esp as you know how to do it) ... with xinclude
> you mean combining multiple files into one? It's what we do in all xml
> related projects here. There is actually an \xmlinclude command
>
>\xmlinclude{main}{inclu
On Nov 19, 2012, at 9:47 AM, Wolfgang Schuster
wrote:
> No there isn’t.
>
>
> @Hans: With with \includeonly and \excludeonly command you can specify which
> external files should be included in the document by the \inlcude{…} (a
> special version of \input{…}) command.
>
> When you add \in
Dear John,
unfortunately, this is not, as I had hoped, a mail sending my completed article
for the proceeding, but a request for an extension of the deadline. I will be
in China next week; I had hoped I could finish before leaving, but that turned
out to not work quite as I expected. So, I will
On Sep 18, 2012, at 2:25 PM, Marco Patzer wrote:
>
> This doesn't work, either:
>
> \setupbibtex [database=sample]
> \setuppublications [alternative=apa, criterium=cite, sorttype=author]
> \starttext
> \cite[hh2010a]
> \cite[Eijkhout1991]
> \placepublications
> \stoptext
>
This works
On Sep 18, 2012, at 12:28 PM, Marco Patzer wrote:
> Hi,
>
> I have some questions regarding the bibliography.
>
> 1)
> The style files bibl-ams.tex, bibl-ssa.tex, etc contain strings like
> ``, ~. This does not make sense to me. The `` ends up like that in
> the output and the tilde might inte
71 matches
Mail list logo