[NTG-context] [***SPAM***] No letter in math mode with \bold and dejavu font

2013-05-23 Thread Romain Diss
Hi,

With this minimal exemple :
%%% MWE
\setupbodyfont[dejavu]
\starttext
  1. \m{E = m c^2} \par
  2. \m{\bf E = m c^2} \par
  3. {\bf \m{E = m c^2}} \par
  4. \bold{\m{E = m c^2}} \par
\stoptext
%%%

The letters disappear in the case 4. I had a look into the font manual and it 
seems to be related to the bold/mathbold difference but I do not understand 
these subtilities enough to understand what goes wrong.

Anyway it seems that there is a bug here with dejavu because with lm the case 
4. works (with the same rendering as 3.).

Any ideas?

-- 
Romain Diss
romain.d...@yahoo.fr
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Tabulate: vertical distance between rows

2013-05-23 Thread Procházka Lukáš Ing . - Pontex s . r . o .

... Great, thank you!

I added some info to wiki (http://wiki.contextgarden.net/Tabulate).

Best regards,

Lukas



You can use the \TB which accepts the same keywords as \blank.

\starttext

\starttabulate
\NC one  \NC two   \NC\NR
\NC two  \NC three \NC\NR
\TB[line]
\NC four \NC five  \NC\NR
\TB[1cm]
\NC six  \NC seven \NC\NR
\stoptabulate

\stoptext

Wolfgang


--
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 244 062 238
Fax: +420 244 461 038

___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Faux font

2013-05-23 Thread Sietse Brouwer
Sietse wrote:
 NB: I also have some recollection of dummy text composed of hollow
 rectangles rather than solid black ones, but like you I cannot
 remember where I saw that. Maybe the document also showed kerns, in
 pretty colors? I can't remember.

Wolfgang wrote:
 One of these examples can be found in the TeXbook on page 65.

Found it; screenshot attached. And now I remember where I saw the
hollow rectangles --- it wasn't in a document, but on the GUST
website.

http://www.gust.org.pl/

@John: we have now found

* \fakewords: uniform black slabs with a thin line underneath to
suggest descenders
* Code to convert letters to filled rectangles
* An example of letters-to-outlined-rectangles in the TeXbook
* Outlined rectangles on the GUST homepage.

Was any of these the fake text you were remembering, or do you think
there is still something else? This seems a nice occasion to complete
the wiki's [[Dummy text]] article. (Which also mentions the ipsum
module for lorem ipsum text, by the way.)

http://wiki.contextgarden.net/Dummy_text

Cheers,
Sietse
attachment: boxes-texbook.png___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] Two-language environment and page breaking

2013-05-23 Thread Eslamica
Just to try another attempt for getting hints from you: You can see in 
the examples, the the middle vertical line (which is just the right 
frame of the left cell) is not exactly as high as the text needs. It is 
a bit higher and stick a little bit out, at the beginning (top) and at 
the end (bottom) of the natural table. How to fix this, so that the 
vertical line (right border frame) exactly ends and begins with the 
textline? That would help to get an exact connection to the next block.


Of course the alternative would be to set frame=off for the tables and 
to place an vertical line as overlay on every single page (as 
background). But for that I would have to use the length of the text on 
a page, to adjust the line as long, as needed, not longer, not over the 
complete page every time.


Thanks!
Huseyin



--

*Hüseyin Özoguz
**
Verlag Eslamica -- www.eslamica.de http://www.eslamica.de**
**m-haditec * GmbH Co. KG
Georg-Wulf-Str. 15
D-28199 Bremen
Telefon+49 (0) 421 1611 2763
Fax+49 (0) 421 3331667
e-Mail: h.oezo...@m-haditec.de
www.mhaditec.de http://www.m-haditec.de/


Sitz der Gesellschaft Bremen
Amtsgericht Bremen, HRA 23526
Ust-IdNr.: 237875374

Persönlich haftende Gesellschafterin
m-haditec GmbH
Sitz der Gesellschaft Bremen
Amtsgericht Bremen, HRA 22270
Geschäftsführer:
Dr.-Ing. Yavuz Özoguz
Dr.-Ing. Gürhan Özoguz

Raiffeisen-Volksbank
BLZ: 280 671 70, Kto. Nr.: 711 894 500
IBAN: DE70 2806 7170 0711 8945 00
BIC: GENODEF1GSC

___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

[NTG-context] [***SPAM***] Re: Two-language environment and page breaking

2013-05-23 Thread H. Özoguz
Just to try another attempt for getting hints from you: You can see in 
the examples, the the middle vertical line (which is just the right 
frame of the left cell) is not exactly as high as the text needs. It is 
a bit higher and stick a little bit out, at the beginning (top) and at 
the end (bottom) of the natural table. How to fix this, so that the 
vertical line (right border frame) exactly ends and begins with the 
textline? That would help to get an exact connection to the next block.


Of course the alternative would be to set frame=off for the tables and 
to place an vertical line as overlay on every single page (as 
background). But for that I would have to use the length of the text on 
a page, to adjust the line as long, as needed, not longer, not over the 
complete page every time.


Thanks!
Huseyin
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] GLIBC 2.7 requirement for Standalone ConTeXt

2013-05-23 Thread Andreas Schneider
Hello,

I'm  running  a  build  server on an older box with CentOS 5. I didn't
update  ConTeXt  Standalone  in quite some time. Now I did since I had
some  problems  with  the  dated  version  in  use, and now I face the
following problem:

texlua: /lib/libc.so.6: version `GLIBC_2.7' not found (required by texlua)
texlua: /lib/libc.so.6: version `GLIBC_2.11' not found (required by texlua)

CentOS 5 still ships GLIBC 2.5. What can I do from here? Any chance on
running ConTeXt without upgrading the whole system?

-- 
Best Regards,
Andreas

pgpdxJb6d1fXM.pgp
Description: PGP signature
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] GLIBC 2.7 requirement for Standalone ConTeXt

2013-05-23 Thread luigi scarso
On Thu, May 23, 2013 at 1:46 PM, Andreas Schneider ak...@gmx.de wrote:

 Hello,

 I'm  running  a  build  server on an older box with CentOS 5. I didn't
 update  ConTeXt  Standalone  in quite some time. Now I did since I had
 some  problems  with  the  dated  version  in  use, and now I face the
 following problem:

 texlua: /lib/libc.so.6: version `GLIBC_2.7' not found (required by texlua)
 texlua: /lib/libc.so.6: version `GLIBC_2.11' not found (required by texlua)

 CentOS 5 still ships GLIBC 2.5. What can I do from here? Any chance on
 running ConTeXt without upgrading the whole system?

  can  you build luatex on CentOS 5 ?

--
luigi
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] GLIBC 2.7 requirement for Standalone ConTeXt

2013-05-23 Thread Mojca Miklavec
On Thu, May 23, 2013 at 1:46 PM, Andreas Schneider wrote:
 Hello,

 I'm  running  a  build  server on an older box with CentOS 5. I didn't
 update  ConTeXt  Standalone  in quite some time. Now I did since I had
 some  problems  with  the  dated  version  in  use, and now I face the
 following problem:

 texlua: /lib/libc.so.6: version `GLIBC_2.7' not found (required by texlua)
 texlua: /lib/libc.so.6: version `GLIBC_2.11' not found (required by texlua)

 CentOS 5 still ships GLIBC 2.5. What can I do from here? Any chance on
 running ConTeXt without upgrading the whole system?

Yes.

We need to make sure that someone with an older glibc builds the
binaries. Is this about the 32-bit or 64-bit linux?

Mojca
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] Installing Scribuntu, for Lua on the wiki

2013-05-23 Thread Sietse Brouwer
Hi Taco,

I'd like to propose thse three extensions for the wiki:

* Scribunto [1], which allows writing wikicode extensions in Lua. I
ran into a limitation of the template expansion system the other day.
Also, this may come in useful for the command reference. [2]
[1] http://www.mediawiki.org/wiki/Extension:Scribunto
[2] http://www.mail-archive.com/ntg-context@ntg.nl/msg68550.html

* BacktickCode, which allows writing `...` instead of code.../code
— rather pleasant when writing about commands. The code needs a slight
modification so as to ignore backticks inside texcode and context
tags, too; see bottom of this e-mail.
http://www.mediawiki.org/wiki/Extension:BacktickCode

* Semantic Forms (which requirs Semantic Mediawiki), which allows
presenting people with a form when creating certain types of pages.
http://www.mediawiki.org/wiki/Extension:Semantic_Forms

How does that sound to you?
Thank you very much,

Sietse

Here's the modification to BacktickCode:

function backtickCodeParse( $parser, $text, $stripState ) {
// We replace '`...`' by 'code.../code' and '\`' by '`'.
// Text between pre tags is not modified.
$text = preg_replace_callback('/pre(.*?)\/pre/s', function
($match) {
return 'pre' . preg_replace('/`/', '\`', $match[1]) . '/pre';
}, $text);
+$text = preg_replace_callback('/texcode(.*?)\/texcode/s',
function ($match) {
+return 'texcode' . preg_replace('/`/', '\`', $match[1])
. '/texcode';
+}, $text);
+$text = preg_replace_callback('/context(.*?)\/context/s',
function ($match) {
+return 'context' . preg_replace('/`/', '\`', $match[1])
. '/context';
+}, $text);
$text = preg_replace('/([^]|^)`([^`]*)`/',
'$1code$2/code', $text);
$text = preg_replace('/\`/', '`', $text);

return true;
}
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] GLIBC 2.7 requirement for Standalone ConTeXt

2013-05-23 Thread Andreas Schneider
On Thursday, May 23, 2013, at 14:43 Mojca Miklavec wrote:
 On Thu, May 23, 2013 at 1:46 PM, Andreas Schneider wrote:
 Hello,

 I'm  running  a  build  server on an older box with CentOS 5. I didn't
 update  ConTeXt  Standalone  in quite some time. Now I did since I had
 some  problems  with  the  dated  version  in  use, and now I face the
 following problem:

 texlua: /lib/libc.so.6: version `GLIBC_2.7' not found (required by texlua)
 texlua: /lib/libc.so.6: version `GLIBC_2.11' not found (required by texlua)

 CentOS 5 still ships GLIBC 2.5. What can I do from here? Any chance on
 running ConTeXt without upgrading the whole system?

 Yes.

 We need to make sure that someone with an older glibc builds the
 binaries. Is this about the 32-bit or 64-bit linux?

 Mojca

32bit.

As  per  Luigi's  hint/question  I  built  Luatex from SVN (apparently
./build.sh  was  all  there was to it :-)) and used that binary. As it
seems, that already did the trick. I haven't done extensive tests yet,
but that will follow.

If you tell me what the needed steps are to get you the binaries build
in  a  way that could be distributed, I would be willing to do that as
long as my/our CentOS 5 installation is still up and running :-)

(Depending on how often that needs to be done, since it's a machine on
my workplace, so I can't access it anytime I like ...)

-- 
Best Regards,
Andreas

pgpP8xLhDKhM7.pgp
Description: PGP signature
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] GLIBC 2.7 requirement for Standalone ConTeXt

2013-05-23 Thread Mojca Miklavec
On Thu, May 23, 2013 at 3:22 PM, Andreas Schneider wrote:
 On Thursday, May 23, 2013, at 14:43 Mojca Miklavec wrote:
 On Thu, May 23, 2013 at 1:46 PM, Andreas Schneider wrote:

 texlua: /lib/libc.so.6: version `GLIBC_2.7' not found (required by texlua)
 texlua: /lib/libc.so.6: version `GLIBC_2.11' not found (required by texlua)

 Is this about the 32-bit or 64-bit linux?

 32bit.

Thank you. Feel free to blame Alan then.

I kept compiling LuaTeX binaries on an old SuSE virtual machine
(version 8.x) until recently. Then the need came for a newer compiler
(to be able to compile cairo) and Luigi installed a new compiler to
the box. Then we started compiling XeTeX which needed a newer
fontconfig at which point I gave up with maintenance (I felt that
installing fontconfig was relatively non-trivial, even though it
should be doable) and outsourced the task to Alan who compiled the
first luatex binary on 5th April and this was the first complaint
since then.

 As  per  Luigi's  hint/question  I  built  Luatex from SVN (apparently
 ./build.sh  was  all  there was to it :-))

True.

 If you tell me what the needed steps are to get you the binaries build
 in  a  way that could be distributed, I would be willing to do that as
 long as my/our CentOS 5 installation is still up and running :-)

svn co http://svn.contextgarden.net/suite/build-binaries
./do_all.sh

(you also need the credentials to be able to submit binaries).

 (Depending on how often that needs to be done, since it's a machine on
 my workplace, so I can't access it anytime I like ...)

This needs to be done for every new release of LuaTeX. It's not that
often, but when it gets released, it's nice if the binaries are
committed soon(ish), particularly for the most common platforms
(i386-linux, x86_64-linux, *-darwin).

Mojca
___
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 / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___