Hi all,
Is it possible to set a fallback font from which glyphs will be taken
if the current font doesn't have it? For example, I'd want to use
fancy miscellaneous symbols from the Symbola font using their unicode
codepoint without any extra font-changing command (and obviously, I
don't want to
2011/6/17 Hans Hagen pra...@wxs.nl:
% \definefontfeature[zh][mode=node,script=hang,lang=zhs]
% \definefontfallback[serifwhatever] [lmroman10-regular]
[0x-0x0400][force=yes]
% \definefontfallback[serifboldwhatever] [lmroman10-bold]
[0x-0x0400][force=yes]
%
Hi,
The latest beta seems to have broken the \rotate command.
\starttext
\rotate{Test}
\stoptext
gives the following error
! Missing { inserted.
system tex error on line 2 in file test.tex: Missing { inserted ...
1 \starttext
2 \rotate{Test}
3 \stoptext
4
to be read
2012/1/5 Hans Hagen pra...@wxs.nl:
indeed, i already fixed it yesterday but didn't upload yet
Hans
Always nice to hear. I'll patiently wait for the Wise Men then :o).
Thanks,
Vianney
___
If your question is of
Hello,
If I type
Blabla. \startitemize[a,text] \item one \item two \stopitemize Blabla.
I get a linebreak before and after the itemize. Is this the intended
behaviour? How can I get a fully inline enumeration?
Thanks,
Vianney
On Fri, Jan 6, 2012 at 00:25, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
No, this is a bug because with the “text” keyword you can create a inline
item which doesn’t start a new paragraph.
Wolfgang
Thanks for the confirmation. I hope it will be fixed soon.
Vianney
Hi,
I think I've found another bug. When asking to number footnotes by
page, context says the \checkpagechange macro is undefined.
Minimal example:
\setupnote[footnote][way=bypage]
\starttext
\input{tufte}\footnote{Note}
\stoptext
Vianney
On Sun, Jan 8, 2012 at 18:40, Hans Hagen pra...@wxs.nl wrote:
I uploaded a new beta. Apart from some fixes the core font/type modules have
been cleaned up so there might be temporary font side effects.
Seems like those cleanups have broken the simplefonts module.
\usemodule[simplefonts]
2012/1/9 Wolfgang Schuster schuster.wolfg...@googlemail.com:
Fixed.
Wolfgang
Thanks Wolfgang, it works with today's minimals.
@Hans: in the latest beta, the textdistance parameter for inline
itemize does not work anymore. But it's not a showstopper for me as
I'm happy with the new default
Hello,
Protrusion and expansion seem to be not working anymore when using the
simplefonts module in the latest betas. I used to write something like
\usemodule[simplefonts][protrusion=quality,expansion=quality]
\setupalign[hanging,hz]
\setmainfont[Tex Gyre Bonum]
but that doesn't
On Tue, Aug 17, 2010 at 20:23, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
\setmainfont[Tex Gyre Bonum][protrusion=quality,expansion=quality]
Thanks, that does the trick. Any reason why we cannot set these
settings as module parameters anymore?
2010/8/17 Hans Hagen pra...@wxs.nl:
Hello,
What is the best way to pass verbatim text to lua for processing? I
would like to write a lua parser for non-TeX text with a custom syntax
(could be something like Markdown for instance). The interface would
be
\startMyFormat
% custom syntax %
\stopMyFormat
On Tue, Aug 31, 2010 at 11:05, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Take a look at this module: http://github.com/adityam/filter
You can find examples here: http://randomdeterminism.wordpress.com/
Wolfgang
Thanks Wolfgang, that module does indeed seem very interesting
Hello,
When using 2UP arranging, the pages are clipped to their bounding box,
loosing any bleeding.
Example:
\setuppapersize[A6][A4,landscape]
\setuparranging[2UP]
\setuplayout[location=middle]
\setuppagenumbering[alternative=doublesided]
\showframe
\startreusableMPgraphic{background}
Hi,
I'm trying to get the last section number using
\structureheadnumber[section][last]. This works fine inside a section,
but expands to nothing when used at the beginning of the document.
Here is a minimal example:
\starttext
Last: \structureheadnumber[section][last]
\dorecurse{4}
Hi,
In order for some projects (mkiv) to be self-contained, I want to
put the used fonts inside the project directory. Putting them next to
the .tex files works fine, but I would like to put them in a
subdirectory, e.g., to have the following kind of structure:
project/
fonts/
Could there also be a bug in the \setup command definition:
\unexpanded\def\doinstallsetuphandler#1#2#3#4#5%
{\unexpanded\def#2{\dodoubleempty#4}%
\newtoks#5%
\def#4[##1][##2]%
{\ifsecondargument
\def\docommand1% we will have a simple one as well
{\edef#3{##1}%
On Sun, Nov 21, 2010 at 22:48, Horacio Suarez horaciosua...@hotmail.com wrote:
A\index[arbol+\pagenumber]{arbol+rojo}\page
B\index[araña+\pagenumber]{araña+linda}\page
C\index[arbol+\pagenumber]{arbol+verde}\page
D\index[araña+\pagenumber]{araña+grande}\page
On Sat, Nov 27, 2010 at 10:13, Alan BRASLAU alan.bras...@cea.fr wrote:
Are the manuals available with the minimals?
If not, could they be, perhaps via an optional switch?
Second that. It would be awesome.
Vianney
Hello,
There has been some discussion about this lately, but I have some
questions about the sort order in registers. Consider this example:
\starttext
\index{42 numbers}
\index{'apostrophe}
\index{‘apostrophe}
\index{’apostrophe}
\index{quote}
\index{“quote}
\index{”quote}
\index{Oo}
\index{ob}
On Thu, Dec 30, 2010 at 01:32, Sam Qasbah samqas...@gmail.com wrote:
I'm working on a document that must have a layout for the first page and a
different layout for all the other pages.
This works for me:
\setuplayout[...=...] % global layout
\definelayout[first][...=...] % layout for the
Sorry Vianney, I don't understand how it works your code. Please can you
type
some lines more? Something with
Even simpler than before, using your example:
\setuplayout[% default layout for all the pages
backspace=1cm,
width=middle]
\definelayout[1][% set this layout on the first page
On Thu, Dec 30, 2010 at 16:05, Hans Hagen pra...@wxs.nl wrote:
maybe good to put this on the wiki
Done: http://wiki.contextgarden.net/Layout#Multiple_layouts
___
If your question is of interest to others as well,
\def\Title{\dodoubleempty\doTitle}
\def\doTitle[#1][#2]{
\ifsecondargument
\testpage[#2]
\else
\testpage[10]
\fi
\startalignment[center]
{
\blank[2*big]
\switchtobodyfont[1.5em]
\bf\em#1
}
\blank
\stopalignment
}
Vianney
On Mon, Jan 3, 2011 at 10:46, Cecil
On Wed, Jan 5, 2011 at 19:57, luigi scarso luigi.sca...@gmail.com wrote:
http://www.pro-linux.de/news/1/16560/freie-schrift-pt-serif-veroeffentlicht.html
http://www.paratype.com/public/
What do you think ?
I've already used PT Sans for some documents. It's a really nice font
in my amateur
Hello,
I have some troubles using the Symbola font mentioned some time ago on
the mailing list (http://users.teilar.gr/~g1951d/Symbola602.zip). It
seems like the font metrics are loaded correctly, but the glyphs in
the pdf appear approximately half the size, leaving white space above
and next to
On Sat, Feb 12, 2011 at 21:09, Taco Hoekwater t...@elvenkind.com wrote:
How old is your luatex and context combination? It sounds like a bug we fixed
a while ago (the font is probably a postscript font with an abnormal units
per em setting)
Thanks for your answer. I'm using the latest
On Sun, Feb 13, 2011 at 08:03, luigi scarso luigi.sca...@gmail.com wrote:
No, it's a truetype font with 2048 UnitsPerEm.
This font has not kerning at all: it is only usable as .. symbol ! :-)
It is indeed what I want: use it as a symbol font. But even when
trying to access symbols like this:
2011/2/13 Taco Hoekwater t...@elvenkind.com:
It is an error in the context font loader, apparently. It seems it
assumes that .otf == postscript. Something for Hans to look at.
Renaming the font to Symbola602.ttf is a usable workaround (but you
have to clear the font cache).
Best wishes,
On Sun, Feb 13, 2011 at 09:56, luigi scarso luigi.sca...@gmail.com wrote:
\definedfont[file:Symbola602.otf sa 2]
seems ok.
Try
\setupbodyfont[18pt]
\starttext
Gg {\definedfont[file:Symbola602.otf sa 2]Gg} Gg
M{\definedfont[file:Symbola602.otf sa 2 ]\char1F3AD}M
and change
\setupbodyfont
Hello,
Yet another new ConTeXt user here. To briefly introduce myself, I am a
computer scientist interested in typography as a hobby. Up to now, I
did most things in LaTeX (sometimes resorting to ugly TeX hacking).
Recently I gave ConTeXt MkIV a try and am quite happy with it.
Now my question: I
Hello again,
Section 10.3 of the manual says that one can disable numbering for one
item of an enumeration by putting [-]. However, this seems to affect
the following item instead of the current one. For example,
\defineenumeration[MyEnum][location=left]
\starttext
\MyEnum First\par
\MyEnum[-]
\setupinterlinespace without changing offset does the trick.
Many thanks,
Vianney
On Mon, Apr 5, 2010 at 14:13, Peter Münster pmli...@free.fr wrote:
On Mon, Apr 05 2010, Vianney le Clément wrote:
\setupframed
[frame=none,
offset=0pt,
location=top]
Hello,
I cannot explain why
Thanks for the patch.
Vianney
On Mon, Apr 5, 2010 at 14:33, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
Am 05.04.10 14:04, schrieb Vianney le Clément:
Hello again,
Section 10.3 of the manual says that one can disable numbering for one
item of an enumeration by putting
The patch seems to break \footnote:
\unprotect % workaround
\def\@@makedescription[#1]#2%
{\postponenotes % new, assumes grouping
\doenumerationcheckconditions{#1}%
\dodescriptioncomponent[\c!reference=#1,\c!label={\descriptionparameter\c!text},\c!title={#2},\c!bookmark=,\c!list=][]%
I'm trying to find a French equivalent for back/cutspace... any idea?
Marge intérieure / marge extérieure?
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
retourarriere is a litteral translation (to my opinion) and is not
reflecting what the keyword backspace really means. In fact, I find it
quite exotic in a definition of a page layout...
I agree on that one. Maybe we can try some literal translation of the
dutch terms:
backspace - rugwit -
Hello,
The subject says it all.
\mainlanguage[fr]
\starttext
\index{Item}Item
\placeindex
\stoptext
There is no indicator i in the index. It appears when you comment
out the first line or change it to another language. Adding
\setupregister[index][indicator=yes] does not help.
Another,
Can you add
\startluacode
sorters.entries ['fr'] = sorters.entries ['en']
sorters.mappings['fr'] = sorters.mappings['en']
\stopluacode
at the begin of your file. Sorting for diacritics won't be perfect but you
get now a index.
Thanks. Works perfectly.
Vianney
use textbackgrounds ... instead of drawing lines you then do a textext that
does a \left{ in math alongside a vbox that has the height of the lefgt
boundary etc etc
That would be really interesting for a project I'm working on (a
songbook). I thought textbackgrounds could only put a color
Hello,
There seems to be a bug in the database module when using the
quotechar and command option at the same time. Here is a minimal
example.
\usemodule[database]
\defineseparatedlist
[CSV]
[separator=comma,
quotechar={},
command=\Whatever]
\def\Whatever#1#2{[#1][#2]\par}
\starttext
Hello,
I'm having some trouble with a macro using \processaction inside a
metapost graphic. Here is a minimal example.
\def\Shape#1%
{\processaction[#1]
[square=unitsquare,
circle=unitcircle]}
\starttext
\startuseMPgraphic{test}
fill \Shape{square} scaled 1cm;
\stopuseMPgraphic
On Thu, May 13, 2010 at 09:30, Taco Hoekwater t...@elvenkind.com wrote:
Like many of the more complex commands, \processaction does not
expand totally. If you are using mkiv, you could define \Shape
like this:
\def\Shape#1%
{\directlua{
local known = {square = 'unitsquare', circle =
\getparameters[Shape][square={unitsquare },
circle={unitcircle }]
\starttext
\startuseMPgraphic{test}
fill \Shapesquare scaled 1cm;
\stopuseMPgraphic
\useMPgraphic{test}
\stoptext
This one's very nice. Thanks.
Vianney
becareful at the spaces at the end, ie
\getparameters[Shape][square={unitsquare},
circle={unitcircle}]
doesn't work.
That's logical, because \Shapesquare eats the spaces following it. In
my case, I define my macros like
\getparameters[Shape:]
[square=unitsquare,
You may want to try localfootnotes. Have a look at the first example
of http://wiki.contextgarden.net/Footnotes
Regards,
Vianney
___
If your question is of interest to others as well, please add an entry to the
Wiki!
Hello,
\vskip-\baselineskip behaves strangely when put after a section
header. Here is a minimal example.
\setuphead[subject][after=]
\starttext
\subject{Header}
\vskip-\baselineskip
Text
\stoptext
One would expect to have Header overprinted by Text. This is the
case in mkII, but not in mkIV
47 matches
Mail list logo