Re: [NTG-context] externalfigure vs. draw externalfigure in metafun

2011-09-17 Thread Nicola
xyscaled (5cm,8cm); \stopMPpage \stoptext Does the following workaround work for you? def mydraw text t = def f = begingroup t endgroup enddef; if picture f : draw f ; fi enddef; mydraw externalfigure abc.png xyscaled (5cm,8cm); Nicola

Re: [NTG-context] externalfigure vs. draw externalfigure in metafun

2011-09-17 Thread Nicola
In article nvitacolonna-9462e1.4817092...@news.gmane.org, Nicola nvitacolo...@gmail.com wrote: Does the following workaround work for you? def mydraw text t = def f = begingroup t endgroup enddef; if picture f : draw f ; fi enddef; mydraw externalfigure abc.png xyscaled (5cm

Re: [NTG-context] externalfigure vs. draw externalfigure in metafun

2011-09-17 Thread Nicola
as a wild guess of mine. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http

[NTG-context] ANN: Metappeal 0.1.0

2011-10-17 Thread Nicola
/content/metappeal and feedback is welcome. Happy MetaPost development! Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] metapost question

2011-10-21 Thread Nicola
when you invoke mydef. I'd be glad to hear about other solutions: this question has bugged me for some time… Regards, Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Style file for iPad?

2012-03-07 Thread Nicola
with mathematical notation… Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma

[NTG-context] XeConTeXt and Euler

2007-03-18 Thread nicola
fonts), but I know that Euler works in XeTeX: is it possible to make it work in XeConTeXt? Below you find my sample code. Nicola %!TEX TS-program = XeConTeXt %!TEX encoding = UTF-8 Unicode \definetypeface[Charis][rm][Xserif][Charis SIL][default][encoding=uc] \definetypeface[Doulos][rm][Xserif

Re: [NTG-context] XeConTeXt and Euler

2007-03-18 Thread nicola
In article [EMAIL PROTECTED], Aditya Mahajan [EMAIL PROTECTED] wrote: On Sun, 18 Mar 2007, nicola wrote: My goal is to use an arbitrary text font together with the Euler math font. I am able to use a few combinations in ConTeXt, e.g. Palatino with Euler, without problems. But when I

Re: [NTG-context] ! Unable to make mpx file.

2007-03-24 Thread nicola
=330 Nicola ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman/listinfo/ntg-context

[NTG-context] Relationship among mptopdf, mpost and latex

2007-03-25 Thread nicola
x_1 etex So, I kindly ask someone to help me tidy things up. In particular: a) Is it possible to include the MetaFun macros when using mpost? b) Is it possible to use the %latex syntax with mptopdf? Nicola ___ ntg-context mailing list ntg-context

Re: [NTG-context] Relationship among mptopdf, mpost and latex

2007-03-31 Thread nicola
-tool; input mp-spec;' at the beginning of my original example results in no errors, but the output has a blank figure. Or is this a question for the metapost mailing list? Nicola ___ ntg-context mailing list ntg-context@ntg.nl http://www.ntg.nl/mailman

Re: [NTG-context] unicode in metafun?

2007-04-07 Thread nicola
In article [EMAIL PROTECTED], Andrea Valle [EMAIL PROTECTED] wrote: Hi to all, I'm plotting a phonetic formant chart with metapost inside context. I know I can't use TIPA, but I would be happy with utf8. I did something similar with XeTeX and ConTeXt using the \sometxt macro, e.g.:

[NTG-context] \loadcurrentMPgraphic from metafun manual

2007-06-08 Thread nicola
{width=8cm,height=1cm}\placeMPgraphic \egroup but nothing is drawn unless I remove the setups in curly braces (in which case a rectangle 5cm x 1cm is drawn). Is there a different way to pass options to the figure inclusion macro? Nicola

[NTG-context] drawoptions in \startMPinclusions

2007-06-14 Thread nicola
. Is this a bug? Or do I misunderstand the purpose of \startMPinclusions (I have assumed that it inserts the text verbatim inside each figure definition)? I am using ConTeXt ver: 2007.01.12 15:56 MKII fmt: 2007.6.8 int: english/english Nicola

[NTG-context] Several environments in a project?

2007-06-18 Thread nicola
this: \startproduct OneProduct \project MyProject \environment OneProductDir/LocalEnvironment ... The problem is that the local environment is not read when I typeset a particular component, but only when I typeset the whole product. How can I fix that? Nicola

Re: [NTG-context] Several environments in a project?

2007-06-19 Thread nicola
In article [EMAIL PROTECTED], Aditya Mahajan [EMAIL PROTECTED] wrote: On Mon, 18 Jun 2007, fiëé visuëlle wrote: Am 2007-06-18 um 12:50 schrieb nicola: I have a project with a few products sharing the same layout, which is specified in a global environment file. Each product

[NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
; string s; s = ; for i = 0 upto n-1: s := s label(\sometxt{test},( decimal(i) *cm,0));; endfor; s enddef; scantokens(prepare(10)); Nicola ___ If your question is of interest to others as well, please

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
In article [EMAIL PROTECTED], Aditya Mahajan [EMAIL PROTECTED] wrote: On Sat, 23 Jun 2007, nicola wrote: Hi, given the following XeConTeXt document (I use ConTeXt ver: 2007.01.12): \definetypeface[MyMainFace][rm][Xserif][Charis SIL][default][encoding=uc] \definetypeface[MyMainFace

[NTG-context] Macro with suffix

2007-06-23 Thread nicola
\handleuseMPgraphic ...MPgraphic #3\stopMPgraphic \ifMPrun \else \loadMPgrap... ... Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-23 Thread nicola
{\recurselevel}{$x_{\recurselevel}$} should work. Thank you very much! Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] Label loops within a XeConTeXt document

2007-06-24 Thread nicola
\TeXtext{0}{$x_0$} \dorecurse{30}{\TeXtext{\recurselevel}{$x_{\recurselevel}$}} \stopTeXtexts Thanks again! Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg

[NTG-context] Labels in figures with wrong bounding box

2007-06-28 Thread nicola
is fine. My environment file is quite long and I cannot find a short example showing the problem. The deformed labels seem to be always among those written by \sometxt (but not all of them are wrong!), while those written using sometxt() seem always ok. What may it depend upon? Nicola PS: I am

Re: [NTG-context] Labels in figures with wrong bounding box

2007-06-29 Thread nicola
In article [EMAIL PROTECTED], nicola [EMAIL PROTECTED] wrote: Hi, I am typesetting a document with XeConTeXt, containing many MetaPost figures. All the labels in the figures are typeset using \sometxt{} and sometxt(). For some reasons, in the final document some of them appear horribly

[NTG-context] [OT] Spacing research

2012-11-07 Thread Nicola
Hi, people in this list may be interested in reading this: http://aldusleaf.org/rhea.php Nicola ___ 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] OOP in Metafun.

2012-12-10 Thread Nicola
the file metappeal.mp (and the files that it includes) and include it in your source. Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] OOP in Metafun.

2012-12-11 Thread Nicola
://users.dimi.uniud.it/~nicola.vitacolonna/home/content/metappeal Looks nice! I didn't find any license explaining the licensing terms. In the documentation there is a Disclaimer. In short, do what you want with the code, but do not blame me ;) Nicola

[NTG-context] mptopdf does not work with filenametemplate

2009-05-16 Thread Nicola
of 'outputtemplate': will mptopdf be compatible with that command? Or is mptopdf also going to be replaced by something else (sorry, I'm not following the recent developments very closely)? Nicola ___ If your question

Re: [NTG-context] How to unfill a picture?

2009-06-24 Thread Nicola
The METAFONTbook for details and examples. Regards, Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

[NTG-context] ConTeXt Minimals and TEXMFCACHE

2010-08-26 Thread Nicola
TeX Live in the same cache folder. Is there any reason why exporting TEXMFCACHE is commented out in setuptex? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

Re: [NTG-context] ConTeXt Minimals and TEXMFCACHE

2010-08-27 Thread Nicola
serve many trees. Ah, I hadn't realized that! That simplifies things a lot! Thanks, Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] ConTeXt Minimals and TEXMFCACHE

2010-08-27 Thread Nicola
know that luatex-cache can be shared, for me this is perfectly fine. I just had to adjust the TeXShop engines (I am on Mac OS X) by explicitly setting TEXMFCACHE for XeTeX and MKII, besides MKIV. So, if I get it right, the value in texmfcnf.lua is used unless TEXMFCACHE is set. Nicola

Re: [NTG-context] ConTeXt Minimals and TEXMFCACHE

2010-08-27 Thread Nicola
set TEXMFCACHE). And sourcing setuptex doesn't change anything. Maybe some other environment variable should be set in those engines? Nicola ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] ConTeXt Minimals and TEXMFCACHE

2010-08-28 Thread Nicola
In article 4c782d26.6040...@wxs.nl, Hans Hagen pra...@wxs.nl wrote: On 27-8-2010 8:17, Nicola wrote: In article aanlktimbrxn-yhfa9bqyrejmcfuyehqxr-+ix6ne5...@mail.gmail.com, Mojca Miklavecmojca.miklavec.li...@gmail.com wrote: TEXMFCACHE is not used by MKII (neither in pdfTeX nor

[NTG-context] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread Nicola
) footnote symbol: * I use \setupnote[footnote][numberconversion=set 3] but I get stars instead of asterisks. Can you please help me with these? Nicola ___ If your question is of interest to others as well, please add

Re: [NTG-context] Font sizes, vertical spacing, footnote symbols

2010-12-06 Thread Nicola
In article e4503573-6803-4484-baed-7a816726e...@gmail.com, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 06.12.2010 um 13:46 schrieb Nicola: Hi, I have a set of specifications for a document and I am having some problems implementing it. I am using MKIV from TeX Live

[NTG-context] Help: tweaking bibliography style

2010-12-14 Thread Nicola
the warning “module bibltx not found”. It seems that omitting that module has no consequences. Is it needed at all? If so, for what? Nicola ___ If your question is of interest to others as well, please add an entry

Re: [NTG-context] Help: tweaking bibliography style

2010-12-15 Thread Nicola
In article nvitacolonna-f968f4.10292114122...@news.gmane.org, Nicola nvitacolo...@gmail.com wrote: Hi, currently, in my document, an article reference looks like this: [1] Thor, A. U. (2010). ConTeXt is great. My Own Publishing, 2(4), 23-34. with the title in italics. How to make

[NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
, but I cannot do the above. Besides, is the used font Times New Roman (sorry for the question, but I do not have Acrobat installed right now, and I do not know how to check the font in the pdf file)? If not, how can I use Times New Roman with mkiv? Thanks in advance, Nicola

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
Roman, or a “quasi”-Times? I ask because my publisher seems to have strict font requirements, and has asked me to check that my paper be entirely in Times New Roman… Nicola ___ If your question is of interest to others

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
In article ec21325a-9931-40ed-ac3c-3bab8...@googlemail.com, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 25.03.2011 um 12:51 schrieb Nicola: Hi, a document of mine (compiled with the latest mkiv beta) contains the following setup: \usetypescript[times][ec

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-25 Thread Nicola
In article nvitacolonna-165382.17254325032...@news.gmane.org, Nicola nvitacolo...@gmail.com wrote: ps: for aligning footnote symbols, I have no clue yet. Never mind, just stumbled upon \setupnotedefinition in the wiki. Nicola

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-26 Thread Nicola
In article 113278bd-de8c-4f2a-9311-2c972d0f4...@googlemail.com, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Mac: \usetypescriptfile[type-mac] \setupbodyfont[timesnewroman] All: \usemodule[simplefonts] \setmainfont[Times New Roman] That's was I had tried in the

Re: [NTG-context] Help with Times font, footnote symbols and captions

2011-03-26 Thread Nicola
In article 76d2e755-4b9c-44c0-9a78-45ab357bf...@googlemail.com, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote: Am 26.03.2011 um 12:13 schrieb Nicola: In article 113278bd-de8c-4f2a-9311-2c972d0f4...@googlemail.com, Wolfgang Schuster schuster.wolfg...@googlemail.com wrote

[NTG-context] mptopdf overwrites and deletes pdf file?

2010-02-02 Thread Nicola
. Is it true? Is there a workaround (something like -jobname), other than using different names? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context

Re: [NTG-context] METAPOST -- specifying an unknown point coordinate by giving the angle from another known point

2010-02-26 Thread Nicola
(87); Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl

[NTG-context] Custom verb-c inside my working directory

2010-04-13 Thread Nicola
my working directory (and I have also renamed). How to reconcile the use of \definetyping with a local file? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist

[NTG-context] List of all bibliography items is empty in mkiv

2010-07-02 Thread Nicola
in the .bib file, as expected. Is it a bug or is MKIV different in some respect? If it is a bug, is there a workaround? What I use: ConTeXt ver: 2010.05.24 13:05 MKII ConTeXt ver: 2010.05.24 13:05 MKIV LuaTeX, Version beta-0.60.1-2010042810 Below you find the log file. Nicola (/Users/nicola

Re: [NTG-context] List of all bibliography items is empty in mkiv

2010-07-02 Thread Nicola
In article 4c2dc522.9040...@elvenkind.com, Taco Hoekwater t...@elvenkind.com wrote: On 07/02/2010 12:37 PM, Nicola wrote: Hi, the following code results in an empty output when typeset by MKIV on my system: \usemodule[bib] \setuppublications[criterium=all] \setupbibtex[database

Re: [NTG-context] List of all bibliography items is empty in mkiv

2010-07-05 Thread Nicola
In article 4c2dceb2.90...@elvenkind.com, Taco Hoekwater t...@elvenkind.com wrote: On 07/02/2010 01:26 PM, Nicola wrote: \usemodule[bib] \setupbibtex[database=mypublications] \starttext \placepublications[criterium=all] \stoptext \end What can I check next? You could try

[NTG-context] No bibliography in the output, depends on file name

2014-01-15 Thread Nicola
the problem (there is no need to rename the .bib file). Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

[NTG-context] Citations and links

2016-06-13 Thread Nicola
When I use \cite[Author:2016], the (Author, 2016) in the output is hyperlinked to the reference. But when I use \cite[Author1:2016,Author2:2015], the resulting (Author1, 2016 and Author2, 2015) is not hyperlinked. Is it possible to get hyperlinks in the latter case, too? Nicola

Re: [NTG-context] Citations and links

2016-06-13 Thread Nicola
On 2016-06-13 14:29:37 +, Alan BRASLAU said: On Mon, 13 Jun 2016 12:38:39 +0200 Nicola <nvitacolo...@gmail.com> wrote: When I use \cite[Author:2016], the (Author, 2016) in the output is hyperlinked to the reference. But when I use \cite[Author1:2016,Author2:2015], the resulting (A

[NTG-context] Error: attempt to perform arithmetic on global 'ex' (a nil value)

2016-05-30 Thread Nicola
I have started to get the error in the subject when typesetting the following document with recent betas: \starttext $P\/$) \stoptext Removing \/ (or the parenthesis) fixes the error. Is this a regression? Nicola

[NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
\NC \bot \NC \AR \NC 1 \NC \AR \stoptable \stoptext No red background, though. What am I missing? The next step would be how to use a hatched pattern, but for now I'd be happy with a flat color. Nicola

Re: [NTG-context] Set default background color or pattern for tables

2016-05-30 Thread Nicola
On 2016-05-30 16:45:37 +, Wolfgang Schuster said: Nicola 30. Mai 2016 um 17:45 I'd like to set a default background color for all the tables in my document. This is what I have tried (using the latest beta): \setuptables[background=color,backgroundcolor=red] \starttext \starttable[|cm

[NTG-context] Execute ConTeXt script from outside a project's directory

2016-06-19 Thread Nicola
Is there a way to specify a project's directory? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola
On 2016-02-10 12:48:32 +, Hans Hagen said: On 2/10/2016 12:36 PM, Nicola wrote: (1) I conclude that .dfont fonts are not dealt properly by ConTeXt, or that I am missing some configuration step. indeed the latest mkiv does not support dfonts any longer Ok, good to know. Any suggestion

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola
, if someone using OS X could tell me how to, say, use Avenir Light or Avenir Next Ultra Light (both are .ttc), that would be much appreciated :) Nicola ___ If your question is of interest to others as well, please

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola
On 2016-02-10 15:49:37 +, Taco Hoekwater said: It seems the ttc extractor fails in the current beta, at least on osx. After a —reload of the fonts, I get similar results to Nicola: only one indexed font is found for each of the .ttc files (always the last index). I have exactly the same

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola
post). Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma-ade.nl

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-11 Thread Nicola
On 2016-02-11 08:36:12 +, Taco Hoekwater said: On 10 Feb 2016, at 21:04, Hans Hagen <pra...@wxs.nl> wrote: On 2/10/2016 5:44 PM, Nicola wrote: On 2016-02-10 15:19:01 +, Pablo Rodriguez said: I’m not OS user, but the following works with Junction

[NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-09 Thread Nicola
helveticaneuedeskinterfaceregular helveticaneuedeskinterfaceregular /System/Library/Fonts/HelveticaNeueDeskInterface.ttc index: 9 How do I specify the font's weight? Nicola ___ If your question is of interest to others as well

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-10 Thread Nicola
On 2016-02-09 22:15:47 +, Nicola said: I want to use OS X's Helvetica Neue Light in a document. How may I do that? I have investigated the issue a bit more and it seems that I have a more fundamental problem with fonts. More specifically, I have tested the latest beta (ConTeXt 0.63

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-11 Thread Nicola
, bf=name:Avenir Next Condensed Bold, bi=name:Avenir Next Condensed Bold Italic, it=name:Avenir Next Condensed Italic] Thanks, this works (after a --force --reload, even in beta)! Nicola

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-11 Thread Nicola
On 2016-02-11 10:32:14 +, Wolfgang Schuster said: Besides the \definefontfamily you can also write the required typescripts yourself, below is a example for the normal Avenir Next fonts. Thanks! The typescript works for me, at least with the beta. Nicola

Re: [NTG-context] How to use Helvetica Neue Light (OS X)?

2016-02-11 Thread Nicola
On 2016-02-11 11:03:41 +, Wolfgang Schuster said: Nicola 11. Februar 2016 um 11:49 On 2016-02-11 10:32:14 +, Wolfgang Schuster said: Thanks! The typescript works for me, at least with the beta. This is no surprise because typescripts are contexts native way to load fonts and even

[NTG-context] Disappearing \rrbracket

2016-02-24 Thread Nicola
2015, \rrbracket is rendered only in the first case (current beta is ok). Can you reproduce this? Is there a workaround? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki

[NTG-context] Stacking math symbols

2016-02-23 Thread Nicola
? (Before you point it out: I know that I should use \stackrel…) Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman

Re: [NTG-context] Stacking math symbols

2016-02-23 Thread Nicola
On 2016-02-23 21:11:11 +, Hans Hagen said: On 2/23/2016 7:31 PM, Nicola wrote: I find it a bit surprising that ConTeXt gives 'missing } inserted' with: \starttext\startformula \mathop=^{\rm def} \stopformula\stoptext (\mathop{=}^... is fine, though). The above formula is correct

Re: [NTG-context] Vim snippets

2016-02-29 Thread Nicola
snippet it "Individual item" b \item $0 endsnippet IMHO, it takes less to write your own snippets perfectly suited to your writing style (e.g., I like a newline after each \item) than trying to understand (sometimes overl

Re: [NTG-context] Disappearing \rrbracket

2016-02-24 Thread Nicola
On 2016-02-24 19:19:19 +, Hans Hagen said: On 2/24/2016 5:48 PM, Nicola wrote: I have a problem with the symbol in the subject. This is a minimal document: \starttext $\llbracket x\rrbracket$ $\bigl\llbracket x\bigr\rrbracket$ $\Bigl\llbracket x\Bigr\rrbracket$ $\biggl\llbracket x\biggr

[NTG-context] Deprecated $…$ for inline math?

2016-02-16 Thread Nicola
I read in the wiki (http://wiki.contextgarden.net/Math) that $…$ for inline math is deprecated in favor of \m{…} and more verbose variants. Is that really the case? If so, what is the reason and what are the differences? Nicola

[NTG-context] Vertically centered text in each page

2016-02-19 Thread Nicola
mbinations in \setuphead, but I cannot obtain the desired effect. Related to the code above, I have another question: if I remove the comma after page=yes, slides are not split into different pages. Is it normal that a comma is required at the end of an argument lis

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Nicola
On 2016-02-19 11:23:18 +, Marco Patzer said: On Fri, 19 Feb 2016 11:54:12 +0100 Nicola <nvitacolo...@gmail.com> wrote: How do I setup the slide command to do that by default? I have tried putting {before,after,beforesection,aftersection}=\vfill in various combinations in \setuphead,

Re: [NTG-context] Vertically centered text in each page

2016-02-19 Thread Nicola
On 2016-02-19 14:17:02 +, Hans Hagen said: On 2/19/2016 1:36 PM, Marco Patzer wrote: On Fri, 19 Feb 2016 12:51:14 +0100 Nicola <nvitacolo...@gmail.com> wrote: On 2016-02-19 11:23:18 +, Marco Patzer said: On Fri, 19 Feb 2016 11:54:12 +0100 Nicola <nvitacolo...@gmail.c

[NTG-context] Diamond, and Unicode math symbols

2016-03-10 Thread Nicola
), and I don't want to bother searching TCSL above. May I use the Unicode code point to define a control sequence in ConTeXt that prints the symbol? If so, how? Nicola ___ If your question is of interest to others as well

Re: [NTG-context] Diamond, and Unicode math symbols

2016-03-12 Thread Nicola
handy, too. Thanks again, Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage :

Re: [NTG-context] Diamond, and Unicode math symbols

2016-03-11 Thread Nicola
On 2016-03-10 21:00:21 +, Nicola said: I'm looking for a symbol similar to \lozenge, but squarer […] Any idea how I may typeset it in ConTeXt (MKIV)? Unless I am overlooking something, there is no such symbol in TeX Gyre Pagella Math, so maybe this is not possible. 2) The list shows

[NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
] \definefallbackfamily[slidesfont][mono][Xits][range={"0222A}] \definevimtyping[pascal][syntax=pascal] \starttext \startpascal X := Y ∪ Z; \stoppascal \stoptext The ∪ symbol does not appear in the output. Am I completely off-track? N

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
On 2016-04-13 11:53:51 +, Hans Hagen said: On 4/13/2016 11:19 AM, Nicola wrote: Hi, I am using the Vim module to typeset code, and I've found a situation where I'd like to use some math symbols, but not in comments. I am not sure whether it can be done. This is what I have tried

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no SQL syntax coloring available for MKIV yet, but I'd be happy to be wrong :) You can use

[NTG-context] Tables vs tables (deprecation paranoia again)

2016-03-02 Thread Nicola
I read in the wiki that my beloved \starttable...\stoptable is deprecated. Tabulate seems their next of kin, but... does it support cells spanning more than one row? Nicola ___ If your question is of interest

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 14:45:54 +, Aditya Mahajan said: On Wed, 2 Mar 2016, Nicola wrote: On 2016-03-02 02:14:33 +, Aditya Mahajan said: I do not load the default vimrc, because that drastically slows down the module. That makes sense. So, Vim is run with something like `vim -u NONE`, I

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 20:11:56 +, Aditya Mahajan said: You can change the space before and after display environments using spacebefore and spaceafter keys (see the documentation of filter module[1], which is used by the vim module) Thanks, it works! Nicola

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
ur example and it doesn't get highlighted.) Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpa

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
the options together: \defienvimtyping[...]. What I mean is \definevimtyping[SQL][numbering=on], etc. Ops, dumb oversight on my part. Thanks for your help and your amazing module, Nicola ___ If your question

Re: [NTG-context] How to avoid overriding a control sequence?

2016-03-07 Thread Nicola
On 2016-03-07 18:47:20 +, luigi scarso said: On Mon, Mar 7, 2016 at 7:40 PM, Nicola <nvitacolo...@gmail.com> wrote: How do I check in ConTeXt whether a control sequence is already defined (to avoid redefining it by accident)? kind of  \ifdefined\writebanner \else \unexpand

[NTG-context] How to avoid overriding a control sequence?

2016-03-07 Thread Nicola
primitives? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context webpage : http://www.pragma

Re: [NTG-context] How to avoid overriding a control sequence?

2016-03-07 Thread Nicola
On 2016-03-07 20:16:45 +, Hans Hagen said: On 3/7/2016 7:40 PM, Nicola wrote: How do I check in ConTeXt whether a control sequence is already defined (to avoid redefining it by accident)? Marginally related to the above, I have tried to use \show, only to discover, to my surprise

Re: [NTG-context] Custom syntax highlighting

2016-03-01 Thread Nicola
On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki, there is no SQL syntax coloring available for MKIV yet, but I'd be happy to be wrong :) You can use

[NTG-context] Custom syntax highlighting

2016-03-01 Thread Nicola
any pret-* files in the beta, though. Should they be downloaded separately? Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 11:06:34 +, Nicola said: On 2016-03-02 02:14:33 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 02:14:33 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: On 2016-03-01 15:35:07 +, Aditya Mahajan said: On Tue, 1 Mar 2016, Nicola wrote: I'm using the latest beta, and I need syntax coloring for SQL (PostgreSQL variant). According to the wiki

Re: [NTG-context] Custom syntax highlighting

2016-03-02 Thread Nicola
On 2016-03-02 09:13:07 +, Hans Hagen said: On 3/2/2016 9:56 AM, Nicola wrote: On 2016-03-01 21:53:10 +, Hans Hagen said: - a relative new mechanism based on the scite lexers that i use (for not it is loaded by \usemodule[scite] ...which does require Scite? (I've tried your example

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
On 2016-04-13 13:33:27 +, Wolfgang Schuster said: Nicola 13. April 2016 um 15:28 On 2016-04-13 12:47:56 +, Wolfgang Schuster said: Nicola 13. April 2016 um 14:17 On 2016-04-13 11:53:51 +, Hans Hagen said: Thanks, that works. Unfortunately, DejaVu Sans Mono looks too heavy

Re: [NTG-context] Help with t-vim module and math

2016-04-13 Thread Nicola
On 2016-04-13 12:47:56 +, Wolfgang Schuster said: Nicola 13. April 2016 um 14:17 On 2016-04-13 11:53:51 +, Hans Hagen said: Thanks, that works. Unfortunately, DejaVu Sans Mono looks too heavy in my document: is there a light variant? Also, can't the fallback mechanism be used

[NTG-context] Questions about Scite lexers

2016-04-13 Thread Nicola
is fantastic and I already use it, but there are cases where I need a syntax not supported by Vim (and I'd rather avoid defining it on the Vim side) and/or need to embed TeX commands (anywhere, not only in comments). Nicola

Re: [NTG-context] Questions about Scite lexers

2016-04-13 Thread Nicola
\stopC \startCPP int main() { return 0; } // Comment \stopCPP \stoptext Nicola ___ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / http://www.ntg.nl

Re: [NTG-context] Questions about Scite lexers

2016-04-14 Thread Nicola
On 2016-04-14 05:10:18 +, Christoph Reller said: On Wed, Apr 13, 2016 at 10:39 PM Christoph Reller <christoph.rel...@gmail.com> wrote: Nicola <nvitacolo...@gmail.com> wrote on Wed., 13. Apr. 2016 19:36: I have found an old document of mine, which uses a (slightly customized

[NTG-context] Equivalent of extras option in new bibliography system?

2016-07-01 Thread Nicola
In the past (MKII) I used citations of the form: \cite[extras={, p.~24}][Author:2016] The extras option seems to be ignored by MKIV's bibliography system. What is the equivalent of the above? Nicola ___ If your

  1   2   3   >