Re: [NTG-context] Using mycrotypography features with simplefont module and OTF/TTF

2011-07-23 Thread stdin

Thanks a lot, it works!

btw could you tell me how to achieve the same with typescripts for 
future works?


Alex

Le ven. 22 juil. 2011 16:07:24 CEST, Wolfgang Schuster a écrit :

Am 22.07.2011 um 15:56 schrieb Alexandre Leray:


Dear all,

I'm trying to enable protrusion on a text composed with a ttf font (tried otf 
converted from ttf as well)
and using the simplefont module. We have tried different things but did not see 
any difference in the results.

Our context version is 2011.07.20 14:10

The full context code is visible here: http://dpaste.com/574351/

The relevant chunk is this:

% USING SIMPLEFONT: FAILS %
%\usemodule[simplefonts][protrusion=quality,expansion=quality]
%\setmainfont[umepmincho]


For all fonts: \setupsimplefonts[protrusion=...,expansion=…]

For only one font: \set(main|sans|…)font[...][expansion=...,protrusion=...]

Wolfgang

___
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
___


--
stdin
Alexandre Leray  Stéphanie Vilayphiou
http://stdin.fr/
+32 (0)4 89 00 88 59
___
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] context doens't work in cli mode on ubuntu 11.04?

2011-07-23 Thread Van Belle Jonathan
2011/7/21 Mojca Miklavec mojca.miklavec.li...@gmail.com

 On Thu, Jul 21, 2011 at 11:20, Grummfy wrote:
  Hello everybody,
  I'm on Ubuntu 11.04 64bits, and try to generate a pdf without success. On
  ubuntu 10.10 64bit, it works perfectly, but after the upgrade, no ... So
 I
  ask you if you have any idea.

 What version of TeX Live is being used?

 Can you please post the exact location of texmfcnf.lua and its contents?


the version of texlive is : 2009-11
the location of texmfcnf.lua : was not found or antithing like 'texmf*.lua'



-- 
Van Belle Jonathan
___
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] context doens't work in cli mode on ubuntu 11.04?

2011-07-23 Thread Van Belle Jonathan
oki doki. No problem.

But why it has working on ubuntu 10.04, it's strange 

thanks for the help

2011/7/22 Mojca Miklavec mojca.miklavec.li...@gmail.com

 On Fri, Jul 22, 2011 at 14:07, Grummfy wrote:
  the version of texlive is : 2009-11
  the location of texmfcnf.lua : was not found or antithing like
 'texmf*.lua'

 If you have TeX Live 2009 installed, you can forget about running
 ConTeXt MKIV on it.

 Install TeX Live 2011 or ConTeXt minimals or use ConTeXt MKII (using
 texexec instead of context).

 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

 ___




-- 
Van Belle Jonathan
___
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] Can ConTeXt generate QR-codes

2011-07-23 Thread Cecil Westerhof
I would like to integrate qr-codes into documents. (
http://en.wikipedia.org/wiki/QR_code) Is this possible with ConTeXt?

-- 
Cecil Westerhof
___
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] Can ConTeXt generate QR-codes

2011-07-23 Thread Wolfgang Schuster

Am 23.07.2011 um 11:28 schrieb Cecil Westerhof:

 I would like to integrate qr-codes into documents. 
 (http://en.wikipedia.org/wiki/QR_code) Is this possible with ConTeXt?

\usemodule[zint]

There is a example at the end of the module.

Wolfgang

___
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] [solved] math: using bold charaters for number sets

2011-07-23 Thread Paul Menzel
Am Dienstag, den 24.05.2011, 22:52 +0200 schrieb Hans Hagen:
 On 24-5-2011 9:46, Aditya Mahajan wrote:
 
  I will prefer something more verbose than rendering=1. Perhaps,
  numbersets=blackboard and numbersets=bold.
 
 Sure, but I needed a quick test -)

Just to close this topic. The current syntax(?)/command is the
following.

\setupmathematics
   [symbolset=blackboard-to-bold]

  A bit tricky. Is \reals == ℝ? That is, what if I type ℝ should the
  output be bold R, or should ℝ always map to the corresponding slot in
  the unicode math font?
 
 - the export is the original (but \reals becomes ℝ)
 - the rendering becomes ℝ or bold-R

I prefer that ℝ is rendered as bold-R.

[…]


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part
___
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] Can ConTeXt generate QR-codes

2011-07-23 Thread Cecil Westerhof
2011/7/23 Wolfgang Schuster schuster.wolfg...@googlemail.com


 Am 23.07.2011 um 11:28 schrieb Cecil Westerhof:

 I would like to integrate qr-codes into documents. (
 http://en.wikipedia.org/wiki/QR_code) Is this possible with ConTeXt?


 \usemodule[zint]

 There is a example at the end of the module.


Works thanks. I had to install zint, but now I can generate them. (And I
have to delve into the matter of-course.)

One strange thing. Sometimes I get:
dummy.texerror: No data received, no symbol generated

The generated PDF looks okay to me and when I generate him again, I do not
get the error and the generated PDF looks the same to me.

-- 
Cecil Westerhof
___
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] context doens't work in cli mode on ubuntu 11.04?

2011-07-23 Thread Mojca Miklavec
On Fri, Jul 22, 2011 at 14:17, Van Belle Jonathan wrote:
 oki doki. No problem.

 But why it has working on ubuntu 10.04, it's strange 

One possibility (but I am not sure) is that Norbert kept updating both
ConTeXt and LuaTeX for Debian independent from official TeX Live
release numbers.

If my memory serves ... ConTeXt was completely broken in one of TeX
Live distributions due to version mismatch with LuaTeX. I think this
was back in 2009 (but it could also have been in 2008). I could try to
install Ubuntu 10.04 and check what is happening, but I'm not sure if
that would solve anything for anyone. If nothing else, you can be sure
that no patches will be included if you will ever need one.

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
___


Re: [NTG-context] Can ConTeXt generate QR-codes

2011-07-23 Thread Marcin Borkowski
Dnia 2011-07-23, o godz. 12:19:52
Wolfgang Schuster schuster.wolfg...@googlemail.com napisał(a):

 
 Am 23.07.2011 um 11:28 schrieb Cecil Westerhof:
 
  I would like to integrate qr-codes into documents.
  (http://en.wikipedia.org/wiki/QR_code) Is this possible with
  ConTeXt?
 
 \usemodule[zint]

Out of curiosity: how do I install zint?

 
 There is a example at the end of the module.
 
 Wolfgang
 

Best,

-- 
Marcin Borkowski
___
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] [OT] Research into Generative Typesetting

2011-07-23 Thread John Haltiwanger
Hi everyone,

As some of you may know, in 2010 I attained a masters degree in New Media
from the University of Amsterdam. The title of my thesis is Grammars of
Process: Agency, Collective Becoming, and the Organization of Software.

* [PDF](http://drippingdigital.com/gop/grammars_of_process.pdf)
* [TeX](http://drippingdigital.com/gop/grammars_of_process.tex)
* [HTML](http://drippingdigital.com/gop)
* [thesis-groomer.rb](
https://github.com/ab5tract/new_media/blob/master/thesis/infrastructure/thesis-groomer.rb),
in case you are interested in the glue.

Linked above are the PDF and HTML versions of the thesis, which attempts to
examine generative typesetting (ie, going from one input into multiple
outputs with various properties) through the lens of new media theory and
the 'transductive' cybernetics of Gilbert Simondon. The introduction is
particularly heavy with new media theory, but as the chapters progress I
think it becomes more readable for those unfamiliar with this discourse. The
'Operating Systems' chapter was quite fun to write and hopefully contains
some interesting history and reflections.

One of the things this list might be excited about is the typography itself.
I use many of Robert Bringhurst's suggestions, and I think the output is
much the better for his advice.[^1] The HTML version was never totally
finished (I'd prefer it to have JavaScript interaction and more Web-specific
functionality). In fact, I had quite some plans for it, but as the deadline
of the thesis approached, I necessarily poured my efforts more into content
than presentation, and where presentation was concerned I was much more
preoccupied with the Context version. All in all, I am happy with the thesis
but I also know that it could use some work. If you have any feedback,
please let me know.

[^1]: If anyone is interested, I'm thinking I might make a module that sets
up the environment according to these conventions.

Because I was concerned with both PDF and HTML output, I chose to work in
Markdown with Pandoc as my input format. Through the course of trying to
manage a generative workflow, I had to make some unfortunate concessions: on
the one hand, I had to process some of the input in order to get some basic
things I needed, such as a blockquote environment for Context, handling the
title page layout and abstract, among other things; and on the other hand I
was forced to avoid bibliographic automation and instead had to be very
careful to manually cite all my references. (This was because, at the time,
Pandoc did not have the any capacity to do citation management that would
work within HTML; with its new CiteProc support it seems that this is now
feasible). Tagged PDF support is out of the question due to Pandoc generally
only having MkII support, including lacking newer stuff like
\startchapter..\stopchapter and \hyphenatedURL.

The main conclusion I had about generative typesetting is that we are
missing a crucial glue layer. I have written some on a system which I call
Subtext, a mutable translation layer where one is in control of both the
syntax and the translation effects from a configuration file. Pandoc is
great, but Subtext approaches the edge cases of generative typesetting
differently by encouraging output-specificities without requiring anyone to
learn Haskell to gain a little more control. Looking over Hans' new
`m-markdown` code, I am beginning to see a clearer vision of how to go about
implementing this.

I've done some presentations on generative typesetting:

* [Generative Typesetting @ Libre Graphics Meeting 2011](
http://river-valley.tv/generative-typesetting-with-context/)
* [Textual Liberation @ The Unbound Book Conference](
http://e-boekenstad.nl/unbound/index.php/john-haltiwanger-generative-typesetting/
)
* [Sozi notes](
http://drippingdigital.com/conf/unbound-book/textual-liberation.svg)

Anyway, I thought that perhaps someone here might find some bit of this
interesting. Have a great weekend!

Sincerely,
John
___
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] Can ConTeXt generate QR-codes

2011-07-23 Thread Cecil Westerhof
2011/7/23 Marcin Borkowski mb...@wmi.amu.edu.pl

  \usemodule[zint]

 
 Out of curiosity: how do I install zint?


That is depending on your operating system. I am using (openSUSE) Linux. I
installed libzint2_4-2.4.0-1.2.i586.rpm and zint-2.4.0-1.2.i586.rpm with rpm
-i.

Different Linuxen can have different methods (for example Debian/Ubuntu uses
apt-get) and for Windows I suppose you have to download an installer.

-- 
Cecil Westerhof
___
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] [OT] Research into Generative Typesetting

2011-07-23 Thread Christian
First of all, congratulations on your work!

 Hi everyone,
 
 As some of you may know, in 2010 I attained a masters degree in New Media
 from the University of Amsterdam. The title of my thesis is Grammars of
 Process: Agency, Collective Becoming, and the Organization of Software.
 
 * [PDF](http://drippingdigital.com/gop/grammars_of_process.pdf)
 * [TeX](http://drippingdigital.com/gop/grammars_of_process.tex)
 * [HTML](http://drippingdigital.com/gop)
 * [thesis-

It's always interesting to see what others do and especially how they do it 
with context.
Really great that you are also linking to the source.

 One of the things this list might be excited about is the typography itself. I
 use many of Robert Bringhurst's suggestions, and I think the output is much
 the better for his advice.[^1] The HTML version was never totally finished 
 (I'd
 prefer it to have JavaScript interaction and more Web-specific functionality).
 In fact, I had quite some plans for it, but as the deadline of the thesis
 approached, I necessarily poured my efforts more into content than
 presentation, and where presentation was concerned I was much more
 preoccupied with the Context version. All in all, I am happy with the thesis
 but I also know that it could use some work. If you have any feedback, please
 let me know.
 
 [^1]: If anyone is interested, I'm thinking I might make a module that sets up
 the environment according to these conventions.

I like the idea of pre-made styles. I'm not shure if a module would provide the 
necessary flexibility, though. Maybe a style collection (with commented code 
and linked sample output PDFs) in the wiki would do the job. Like there is for 
the biochemistry textbook. From there users could just use it as a whole or 
adapt it to their needs.

From scrolling through the pages I must say that your design is very 
appealing. I would change some minor details, though (But I'm sure you've had 
your reasons :)
-Structure level 2 and 3 are not visually distinct (only by the numbers) see 
e.g. page 65. Maybe using italics for the 3rd level (like Bringhurst does it) 
would help to distinguish the titles.
-No spacing after paragraphs if you already use indent. (Afaik the consensus is 
indent or space, not both)
-Indenting after a picture or line of code looks odd to me and can cause 
strange results. (See e.g. page 65. After rm -rf /* there is an indent in the 
middle of the sentence.
-There are some issues with the links in the bibliography (e.g. page 99). Also, 
bibliographies should be set flushleft imho, due to their brief nature they 
don't really provide enough words to allow automated paragraph construction. 
The result is a somewhat uneven feel due to big word spacing.

But who am I to grouch? My thesis currently consists of 5 pages xD so I should 
really not be pointing fingers here^^
Again, congratulations on your thesis.

All the best
Christian

___
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] Citing online sources

2011-07-23 Thread Christian
Good evening,
what is the recommended approach to citing online sources?
BibTeX does not understand the @ONLINE type, as opposed
to BibLaTeX.

Internet sources have other important information than book. For
example here I want to show the URL in the bibliography, whereas 
for don't want it to be shown for books etc. Also the date of the last
access is needed.
This would be a nice format (first book, than online source):

John, D. (2011). Johnny's big Adventure. 2nd ed. Made-Up-Publisher.
Some Place else.
Times Online (2011), Title of article. .times-online.com/323/title-
of-article.com (last access: 01.01.2011)

Note also that the author field is not automatically abbreviated.
Is there an approach to this or do I have to cheat in the bbl file in order
to get the desired output?

Regards,
Christian

___
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
___