An almost identical solution is given on the wiki
(http://wiki.contextgarden.net/Cropping_text)
Bostjan
\starttext
\def\breakeverywhere#1{\if#1\normalspace\space\else#1\allowbreak\fi}
\framed
[width=4cm,align=normal]
{\handletokens i want a framed where the text flushes to the next line
Hi Hans
Thanks for the code so that we can use fonts in Plain and LaTeX.
I just had two questions
1- I got the code from Khaled. How can I get the beta myself from your
repository? I just joined ConTeXt mailing list.
2- Your code works fine but if in LaTeX, I compile a document like
Am 08.04.2009 um 01:10 schrieb Jos van Gisbergen:
Hi,
I'm experimenting with context for a few weeks now and am impressed
by its possibilities and clean results. However, everything I want
to try
out seems to take a lot of trial and error to get right.
Especially creating a titlepage for a
وفا خلیقی wrote:
Hi Hans
Thanks for the code so that we can use fonts in Plain and LaTeX.
I just had two questions
1- I got the code from Khaled. How can I get the beta myself from your
repository? I just joined ConTeXt mailing list.
in most cases it's the same as on the website (the ftp is
Thanks. So to use font-dum.lua, Should I have
\directlua {
dofile(kpse.find_file(fonts-dum.lua,tex))
}
?
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist :
وفا خلیقی wrote:
Thanks. So to use font-dum.lua, Should I have
\directlua {
dofile(kpse.find_file(fonts-dum.lua,tex))
no, just put that file in tex/context/base as it is already loaded
-
Thanks. But it still gives error and that is
(/home/vafa/texmf/tex/luabidi/luabidi.sty) luatex-fonts.lua loaded in
0.023 se
conds ) (test.aux)
! Font \OT1/cmr/m/n/17.28=cmr17 at 17.28pt not loadable: metric data not
found
or bad.
to be read again
relax
l.10 \section{مقدمه}
?
The error
Thanks heaps Hans.
It is working.
___
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 :
Am 08.04.2009 um 02:26 schrieb Design Department:
I need a multi-line header in the right page corner, with content
right-aligned.
\setupheadertexts[nothing on left][line 1 \par line 2] doesn't work.
Is using a \vbox the correct method of handling this?
If so, how?
In ConTeXt, How do you make page numbers Arabic/Persian? Do you do that by
some mappings?
Thanks
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl
وفا خلیقی wrote:
In ConTeXt, How do you make page numbers Arabic/Persian? Do you do that by
some mappings?
there are numerous converters that you can hook into the numbering
mechanisms but i leave it to the arabic experts to tell which one is
best suited
ُThanks
___
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 /
Tested with luaTeX, Version snapshot-0.38.0-2009040820
___
If your question is of interest to others as well, please add an entry to the
Wiki!
maillist : ntg-context@ntg.nl /
وفا خلیقی wrote:
Hi again.
This is a sample Plain document. with Iran Nastaliq font Arabic alphabets
are isolated. but in XB Zar font, we obtain the desired results.
this works ok
Hi again.
This is a sample Plain document. with Iran Nastaliq font Arabic alphabets
are isolated. but in XB Zar font, we obtain the desired results.
test.tex
Description: TeX document
test.pdf
Description: Adobe PDF document
Thanks. What I did that. But still that does not get the desired output.
(pdf attached.). Maybe it is my fault. Do you get the correct output?
test.pdf
Description: Adobe PDF document
___
If your question is of
Hi,
especially for mojca (gnuplot) ... multiple isolated mp intances ...
predefined are:
\defineMPformat[metafun]
[\s!format=metafun,\s!extensions=\v!yes,\s!initializations=\v!yes]
\defineMPformat[extrafun][\s!format=metafun,\s!extensions=\v!yes,\s!initializations=\v!yes]
On Tue, Apr 7, 2009 at 20:13, Renaud Aubin wrote:
Hi folks,
\usetypescript[helvetica][texnansi]
\setupbodyfont[helvetica,12pt]
Unrelated: MKIV is not supposed to use texnansi, but MKII returns
! Font \*helvetica7ptmmmrss*:=Helvetica-MathRoman at 7.0pt not loadable: Metric
(TFM) file not
وفا خلیقی wrote:
Thanks. But it still gives error and that is
(/home/vafa/texmf/tex/luabidi/luabidi.sty) luatex-fonts.lua loaded in
0.023 se
conds ) (test.aux)
! Font \OT1/cmr/m/n/17.28=cmr17 at 17.28pt not loadable: metric data not
found
or bad.
to be read again
relax
l.10
On Wed, Apr 8, 2009 at 13:49, au...@nibua-r.org wrote:
Considering
\enableregime[utf8]
\useencoding[ffr]
\mainlanguage[fr]
\usetypescript[helvetica][ec]
\setupbodyfont[helvetica,12pt]
\setupcolors[state=start]
\usemodule[tikz]
\usetikzlibrary[mindmap]
\starttext
\input knuth
Am 08.04.2009 um 13:59 schrieb Mojca Miklavec:
On Tue, Apr 7, 2009 at 20:13, Renaud Aubin wrote:
Hi folks,
\usetypescript[helvetica][texnansi]
\setupbodyfont[helvetica,12pt]
Unrelated: MKIV is not supposed to use texnansi, but MKII returns
I'll remove the math part from the helvetica
وفا خلیقی wrote:
Thanks. What I did that. But still that does not get the desired output.
(pdf attached.). Maybe it is my fault. Do you get the correct output?
i don't read arabic so maybe others can comment ... i'll upload a new
zip later this afternoon
(does ik work ok in context?)
Hans
hmm, on Wed, Apr 08, 2009 at 03:25:32PM +0200, frantisek holop said that
hi there,
this is a quickie for the gurus:
i would like to get an inverted identation,
where the first line is not inverted but all
indented of course...
-f
--
the cow is a
hi there,
this is a quickie for the gurus:
i would like to get an inverted identation,
where the first line is not inverted but all
the others are:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque
nibh ipsum, consectetur sit amet, pellentesque eget, egestas ac,
Thanks
Can you also if you can prepare a short document explaining the syntaxt of
the font command and options in the font argument? I thought ConTeXt
reference should be a starting point.
Can you also once you upload it, announce it so that I know? and the link
will be
On Wed, Apr 08, 2009 at 09:39:22PM +1000, وفا خلیقی wrote:
Thanks. What I did that. But still that does not get the desired output. (pdf
attached.). Maybe it is my fault. Do you get the correct output?
You need '+curs' as well, since the font relays on cursive attachments
extensively.
Regards,
On Wed, 8 Apr 2009, frantisek holop wrote:
hi there,
this is a quickie for the gurus:
i would like to get an inverted identation,
where the first line is not inverted but all
the others are:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque
nibh ipsum, consectetur
You need '+curs' as well, since the font relays on cursive attachments
extensively.
Regards,
Khaled
Yes. That works. Thanks
___
If your question is of interest to others as well, please add an entry to the
On Wed, Apr 8, 2009 at 2:42 AM, Wolfgang Schuster
schuster.wolfg...@googlemail.com wrote:
\setupheadertexts[nothing on
left][{\framed[frame=off,width=fit,align=right]{line1\\line2}}]
Wolfgang
Thanks Wolfgang.
Not quite correct yet, though.
The individual lines in your example are aligned
Am 08.04.2009 um 16:19 schrieb Design Department:
On Wed, Apr 8, 2009 at 2:42 AM, Wolfgang Schuster schuster.wolfg...@googlemail.com
wrote:
\setupheadertexts[nothing on left]
[{\framed[frame=off,width=fit,align=right]{line1\\line2}}]
The individual lines in your example are aligned
hi there,
what would be the equivalent of the following
\startnarrower[2*left,0*right]
\stopnarrower
using
\setupnarrower ?
my problem is that \setupnarrower takes dimensions, while
\startnarrower takes... i am not sure what actually...
\startnarrower[..,...,..] ... \stopnarrower
...
hmm, on Wed, Apr 08, 2009 at 10:11:36AM -0400, Aditya Mahajan said that
There may be better ways to do this, but you can always fake it by
negative indentation.
\setupindenting[-2cm,yes]
\starttext
\input knuth
\stoptext
the problem is, that this messes with the margin...
the first lines
\setupheadertexts[][{\framed[frame=off,width=fit,align=flushright]{line1\\line
2.}}]
Thks. Works now.
A further minor question:
One of the lines sometimes ends with a period and it would be nice to
have it optically aligned. Is this possible?
The document is a tabular report, so this is a minor
On Wed, 8 Apr 2009, Design Department wrote:
\setupheadertexts[][{\framed[frame=off,width=fit,align=flushright]{line1\\line
2.}}]
Thks. Works now.
A further minor question:
One of the lines sometimes ends with a period and it would be nice to
have it optically aligned. Is this possible?
The
Am 08.04.2009 um 16:57 schrieb Design Department:
\setupheadertexts[][{\framed[frame=off,width=fit,align=flushright]
{line1\\line
2.}}]
Thks. Works now.
A further minor question:
One of the lines sometimes ends with a period and it would be nice to
have it optically aligned. Is this
Am 08.04.2009 um 16:11 schrieb Aditya Mahajan:
On Wed, 8 Apr 2009, frantisek holop wrote:
hi there,
this is a quickie for the gurus:
i would like to get an inverted identation,
where the first line is not inverted but all
the others are:
Lorem ipsum dolor sit amet, consectetur adipiscing
Hi Wolfgang,
I tried many ways, but could not make the following effect:
Title Head: Here is text, blur blur blur blur blur blur
---
blur blur blur blur
---
I tried
hmm, on Wed, Apr 08, 2009 at 05:12:26PM +0200, Wolfgang Schuster said that
There may be better ways to do this, but you can always fake it by
negative indentation.
Tricky, it's possible with \hangindent/after but ...
heh, i must admit i really thought this will be a quickie :]
this is when
Am 08.04.2009 um 17:30 schrieb Wei-Wei Guo:
Hi Wolfgang,
I tried many ways, but could not make the following effect:
Title Head: Here is text, blur blur blur blur blur blur
---
blur blur blur blur
Am 08.04.2009 um 17:23 schrieb frantisek holop:
hmm, on Wed, Apr 08, 2009 at 05:12:26PM +0200, Wolfgang Schuster
said that
There may be better ways to do this, but you can always fake it by
negative indentation.
Tricky, it's possible with \hangindent/after but ...
heh, i must admit i
Am Mon, 06 Apr 2009 19:16:52 +0200 schrieb Hans Hagen:
I'm not using the minimals or texlive but miktex. To use luatex I
have made a small texmf tree and a texmf.cnf which includes my
miktex texmf-trees. This works fine with normal files like tfm, sty
etc. But my system seems not to find
Ulrike Fischer wrote:
Am Mon, 06 Apr 2009 19:16:52 +0200 schrieb Hans Hagen:
I'm not using the minimals or texlive but miktex. To use luatex I
have made a small texmf tree and a texmf.cnf which includes my
miktex texmf-trees. This works fine with normal files like tfm, sty
etc. But my system
I have a need for multiple repeating page backgrounds: an imported PDF
document and one or more dynamically generated items that are layered
on top.
I've found a discussion in the archives from January 2006, but it hasn't helped.
Ulrike Fischer wrote:
Am Wed, 08 Apr 2009 18:54:08 +0200 schrieb Hans Hagen:
It works partly: After I called luatools --generate mtxrun now finds
also fonts in my various texmf-trees (and not only the one in the
system folder), but mtxrun works only if I move first font-syn.lua
in the folder
Mojca Miklavec a écrit :
I don't know about helvetica since it's broken at the moment, but with
\usetypescript[palatino]
\setupbodyfont[palatino,12pt]
the labels inside the mindmap are already typeset in gyre palatino
here. What version of ConTeXt/LuaTeX/TikZ do you use?
In MKII the
Am 08.04.2009 um 20:25 schrieb Renaud Aubin:
I have processed the test file with
\startMPenvironment[global]
\usetypescript[postscript]
\setupbodyfont[postscript,ss,12pt]
\stopMPenvironment
what happens with
\definetypeface[helvetica][ss][sans][heros][default]
\setupbodyfont[helvetica]
Am Wed, 08 Apr 2009 19:58:19 +0200 schrieb Hans Hagen:
Ulrike Fischer wrote:
Am Wed, 08 Apr 2009 18:54:08 +0200 schrieb Hans Hagen:
It works partly: After I called luatools --generate mtxrun now finds
also fonts in my various texmf-trees (and not only the one in the
system folder), but
Am 08.04.2009 um 20:25 schrieb Renaud Aubin:
I have processed the test file with
\startMPenvironment[global]
\usetypescript[postscript]
\setupbodyfont[postscript,ss,12pt]
\stopMPenvironment
and the mindmap labels are in Termes... Any idea about a workaround
to obtain my labels in Heros ?
hi all,
on that tangent, is it possible to get command line completion for the
rest of the options for example something like
mtxrun tabscripts --tabfonts --tabreload
etc.
Hans Hagen wrote:
Ulrike Fischer wrote:
Am Wed, 08 Apr 2009 19:58:19 +0200 schrieb Hans Hagen:
Ulrike Fischer
Hi all, Hans,
I get no hyphenation for ancient Greek with the latest beta (and, as I
have seen, a couple of betas before that). Test file (I hope this
doesn't get butchered in the mail):
\usetypescriptfile[type-gentium]
\usetypescript[gentium]
\setupbodyfont[gentium,12pt]
\starttext
On Wed, 8 Apr 2009, Mohamed Bana wrote:
hi all,
on that tangent, is it possible to get command line completion for the rest
of the options for example something like
mtxrun tabscripts --tabfonts --tabreload
This usually depends on tab-completion of the shell and has nothing to do
with
Thomas A. Schmitz wrote:
Hi all, Hans,
I get no hyphenation for ancient Greek with the latest beta (and, as I
have seen, a couple of betas before that). Test file (I hope this
doesn't get butchered in the mail):
\usetypescriptfile[type-gentium]
\usetypescript[gentium]
Thanks! The p solves my problem.
Wei-Wei
Wolfgang Schuster 写道:
You can need a p column in table/tabulate.
The wrong position of the line is a bug, make a bug report and use Li
Yanruis
fix for the moment.
\definetextbackground
[underline]
[location=paragraph,
alternative=1,
Dear all,
I need to use many rules with different lengths. Is there any way to implement
function like below:
\startuniqueMPgraphic{ARule}{length}
draw origin -- (\MPvar{length},0) ;
\stopuniqueMPgraphic
\uniqueMPgraphic[length=5mm]{ARule}
The example cannot be run. I only use it to
54 matches
Mail list logo