Re: [NTG-context] Galleries with photos from ConTeXt meetings: any ideas?

2011-10-27 Thread Henning Hraban Ramm

Am 2011-10-26 um 23:11 schrieb Mojca Miklavec:


you could use jAlbum (album-only app)

Thank you. I have not dealt with gallery software for ages, so this is
the first time that I hear about it.


It’s nice, provides lots of templates and is generally very  
customizable (even if you often lose your settings with a new release,  
since the templates change), but single-user.

see jalbum.net


iPhoto and Picasa are somewhat limited with OS and the person
uploading photos.


Of course; single-user, too.


Or you use an album module of some CMS.
Or you install a standalone album webapp (then chose a PHP or Ruby  
or Python

or whatever based one...)


I mostly asked because I bet that there are many people who tested
many solutions and know why one solution is worse than the other.


I guess Menalto gallery would be a good choice, never used it myself,  
but when I worked with Zikula CMS, its Menalto integration was the  
most popular gallery module (I used a simpler one that was better  
integrated into the CMS, because I merely needed a media manager for  
article pictures).


Comparing with Menalto’s list of features:


Requirements that come to my mind:most popular
- ability to make protected albums (probably a strict requirement)


permissions ✓


- ability to easily download a bunch of photos (it is not a strict
requirement, but I would like to let participants download photos in
full resolution without having to right-click hundred times)


plugin DownloadAlbum ✓


- nice user interface for end user (pretty important)


main feature ;) ✓


- not too difficult to upload photos (less important since it only has
to be done once)


main feature, via Flash ✓


- ability to export in some way if we decide to change gallery
software at some point (not strict requirement)


no function, just files in a directory ✗

- ability to manage permissions (to let just a few people upload  
photos)


several users ✓


- not too commercial/limiting licence (I don't care if it is
commercial software as long as it doesn't require me to pay a lot of
money if more than three people browse through album)


GPL ✓

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] accessibility of PDF (inter word space

2011-10-27 Thread Stefan Goßrau
thanks for your answer Hans.
Now i found some examples. Bot for me it doesnt work. I tried the documents in 
http://minimals.contextgarden.net/current/context/test/doc/context/tests/mkiv/tags/
but there are  no spaces between words in reflow-mode.
I am using adobe reader 9 for Linux and 
ConTeXt  version: 2011.10.14

LG stefan


 Original-Nachricht 
 Datum: Sat, 22 Oct 2011 09:46:30 +0200
 Von: Hans Hagen pra...@wxs.nl
 An: mailing list for ConTeXt users ntg-context@ntg.nl
 CC: Stefan Goßrau redst...@gmx.net
 Betreff: Re: [NTG-context] accessibility of PDF (inter word space

 On 21-10-2011 12:44, Stefan Goßrau wrote:
  Hello,
 
  I am very new in Context and have my first Problems. I read a lot, but
 can't find the solution. I try to produce accessible PDF. One Point is, that
 they have to be reflowed in a PDF-Viewer. But if I reflow my documents,
 there are no interwordspaces. I know that there is no space-character in Tex.
 I found an work-around for pdftex with an patch.
 
  \pdfmapline{+dummy-spacedummy-space.pfb}
  \pdfgeninterwordspace
 
 \setupstructure[state=start]
 
 
 -
Hans Hagen | PRAGMA ADE
Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
  tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
   | www.pragma-pod.nl
 -

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

-- 
NEU: FreePhone - 0ct/min Handyspartarif mit Geld-zurück-Garantie!   
Jetzt informieren: http://www.gmx.net/de/go/freephone
attachment: Bildschirmfoto.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] xml and lua again

2011-10-27 Thread Thomas A. Schmitz

On 10/25/2011 12:27 PM, Thomas A. Schmitz wrote:

Wolfgang, Hans,

thanks a lot, this works now. Will now try and move the code to a
ctxluafile and see if I can make it work again. If not, I'll be back; no
good deed goes unpunished...

Thomas


OK, I'm slowly making progress processing xml in lua. One naive question 
now: how can I have access to and manipulate the textwidth dimension? In 
other words, given


0.4\textwidth

what would be the equivalent in lua code? I tried

0.4 * tex.dimen.textwidth

or

0.4 * tex.dimen[textwidth]

but couldn't make that work. Also tried grepping the 
tex/context/base/*.lua files for width, but couldn't find anything 
immediately obvious.


Thanks!

Thomas
___
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] `\usemodule[graph]` causes error `! Unable to make mpx file.` with ConTeXt ver: 2011.10.14 22:47 MKIV

2011-10-27 Thread Alan Braslau
Hans,

The use of the graph module is indeed currently broken,
both in mkiv and in mkii.

Alan


On Tue, Oct 18, 2011 at 03:00:33PM +0200, Alan Braslau wrote:
 Confirmed here.
 
 OK ConTeXt  ver: 2011.09.27 20:05 MKIV  fmt: 2011.9.30
 not OK ConTeXt  ver: 2011.10.17 10:36 MKIV  fmt: 2011.10.18
 
 Alan
 
 
 On Tue, Oct 18, 2011 at 02:41:45PM +0200, Paul Menzel wrote:
  Dear ConTeXt folks,
  
  
  using the following minimal example
  
  \usemodule[graph]
  
  \starttext
  \startMPcode
  draw unitsquare scaled 1cm;
  \stopMPcode
  \stoptext
  
  causes the following error.
  
  $ context graph
  
  ConTeXt  ver: 2011.10.14 22:47 MKIV  fmt: 2011.10.15  int: 
  english/english
  
  […]
  
  metapost initializing instance 'metafun' using format
  'metafun'
  metapost loading
  'metafun': 
  /context/tex/texmf-context/metapost/context/base/metafun.mpiv
  ! terminal:
  (/context/tex/texmf-context/metapost/context/base/mp-spec.mpii)
  (/context/tex/texmf/metapost/base/graph.mp
  (/context/tex/texmf/metapost/base/marith.mp
  (/context/tex/texmf/metapost/base/string.mp))
  (/context/tex/texmf/metapost/base/format.mp
  (/context/tex/texmf/metapost/base/string.mp)
  (/context/tex/texmf/metapost/base/troffnum.mp
   troffnum.mp
   troffnum.mpx
  ! Unable to make mpx file.
  l.7 init_numbers(btex
   $-$etex, btex$1$etex, btex$ times 10$etex,
  […]
  
  Removing `\usemodule[graph]` make the example work. The used terminal(?)
  and use of `mp-spec.mpii` looks suspicious.
  
  Using the ConTeXt version in Debian Sid/unstable the example works.
  
  $ context graph
  
  […]
  
  ConTeXt  ver: 2011.05.18 18:04 MKIV  fmt: 2011.7.24  int: 
  english/english
  
  […]
  
  structuresectioning  section @ level 3 : 0.0.1 - Test
  metapost initializing instance 'metafun' using format 
  'metafun'
  metapost loading 'metafun.mp' (experimental metapost 
  version two)
  backend  xmp  using file 
  '/usr/share/texmf/tex/context/base/lpdf-pdx.xml'
  
  
  Thanks,
  
  Paul
 
  \usemodule[graph]
  
  \starttext
  \startMPcode
  draw unitsquare scaled 1cm;
  \stopMPcode
  \stoptext
 

-- 
Alan Braslau
CEA DSM-IRAMIS-SPEC
CNRS URA 2464
Orme des Merisiers
91191 Gif-sur-Yvette cedex FRANCE
tel: +33 1 69 08 73 15
fax: +33 1 69 08 87 86
mailto:alan.bras...@cea.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] xml and lua again

2011-10-27 Thread Wolfgang Schuster

Am 27.10.2011 um 11:23 schrieb Thomas A. Schmitz:

 On 10/25/2011 12:27 PM, Thomas A. Schmitz wrote:
 Wolfgang, Hans,
 
 thanks a lot, this works now. Will now try and move the code to a
 ctxluafile and see if I can make it work again. If not, I'll be back; no
 good deed goes unpunished...
 
 Thomas
 
 OK, I'm slowly making progress processing xml in lua. One naive question now: 
 how can I have access to and manipulate the textwidth dimension? In other 
 words, given
 
 0.4\textwidth
 
 what would be the equivalent in lua code? I tried
 
 0.4 * tex.dimen.textwidth
 
 or
 
 0.4 * tex.dimen[textwidth]
 
 but couldn't make that work. Also tried grepping the tex/context/base/*.lua 
 files for width, but couldn't find anything immediately obvious.


With “tex.dimen[…]” you get the value in scaled points but util-dim.lua 
provides some functions to convert the value in points, centimeter etc.

\starttext
\startluacode
context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) }
\stopluacode
\stoptext

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] xml and lua again

2011-10-27 Thread Thomas A. Schmitz

On 10/27/2011 11:53 AM, Wolfgang Schuster wrote:

With “tex.dimen[…]” you get the value in scaled points but util-dim.lua 
provides some functions to convert the value in points, centimeter etc.

\starttext
\startluacode
context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) }
\stopluacode
\stoptext


Thank you Wolfgang, that's exactly what I was looking for!

All best

Thomas
___
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] xml and lua again

2011-10-27 Thread Hans Hagen

On 27-10-2011 12:32, Thomas A. Schmitz wrote:

On 10/27/2011 11:53 AM, Wolfgang Schuster wrote:

With “tex.dimen[…]” you get the value in scaled points but
util-dim.lua provides some functions to convert the value in points,
centimeter etc.

\starttext
\startluacode
context.blackrule{ width = number.topoints(tex.dimen[textwidth]/2) }
\stopluacode
\stoptext


Thank you Wolfgang, that's exactly what I was looking for!


or just tex.dimen[textwidth]/2 .. sp


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Mojca Miklavec
Is there any volunteer to create an image with add for
contextgarden.net, 220x250 pixels big?

See

http://meta.tex.stackexchange.com/questions/1184/community-promotion-ads-1h-2011
for examples.

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] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Henning Hraban Ramm


Am 2011-10-27 um 15:06 schrieb Mojca Miklavec:


Is there any volunteer to create an image with add for
contextgarden.net, 220x250 pixels big?

See
  http://meta.tex.stackexchange.com/questions/1184/community-promotion-ads-1h-2011 


for examples.


Grrr, I’d like to smash/downvote/flame that horrible uppercase-gothic  
CTAN ad, but I don’t have the privileges...

Some others are really bad, too.

Ok, here are my own designs, you may find them no better. I don’t have  
upload permissions.
The photo of the first one is by Dieter Schütz (pixelio.de), my  
request for the necessary permissions is still open.


Since the pics are some bytes too big, I uploaded them to the garden:
http://wiki.contextgarden.net/File:garden1.png
http://wiki.contextgarden.net/File:garden2.png


Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net/texnique/
http://wiki.contextgarden.net
https://www.cacert.org (I'm an assurer)

___
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] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Aditya Mahajan

On Thu, 27 Oct 2011, Henning Hraban Ramm wrote:



Am 2011-10-27 um 15:06 schrieb Mojca Miklavec:


Is there any volunteer to create an image with add for
contextgarden.net, 220x250 pixels big?

See
 
http://meta.tex.stackexchange.com/questions/1184/community-promotion-ads-1h-2011
for examples.


Grrr, I’d like to smash/downvote/flame that horrible uppercase-gothic CTAN 
ad, but I don’t have the privileges...

Some others are really bad, too.

Ok, here are my own designs, you may find them no better. I don’t have upload 
permissions.
The photo of the first one is by Dieter Schütz (pixelio.de), my request for 
the necessary permissions is still open.


Since the pics are some bytes too big, I uploaded them to the garden:
http://wiki.contextgarden.net/File:garden1.png
http://wiki.contextgarden.net/File:garden2.png


Personally, I am not a big fan of garden based analogy. I think that the 
advertisement should be of ConTeXt (with link to context garden) rather 
than of Contextgarden.


My vote is for something alone the lines of this year's graphic for the 
context meeting.


Aditya___
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] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Hans Hagen

On 27-10-2011 18:31, Aditya Mahajan wrote:


My vote is for something alone the lines of this year's graphic for the
context meeting.


Attached. Maybe I should commission Duane for a couple of small context 
lions so that we have some variation. Or we could build a collection 
(each conference an extra one).


Hans


-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
attachment: context-2011.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] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Aditya Mahajan


On Thu, 27 Oct 2011, Hans Hagen wrote:


On 27-10-2011 18:31, Aditya Mahajan wrote:


My vote is for something alone the lines of this year's graphic for the
context meeting.


Attached.


I meant this one: http://meeting.contextgarden.net/2011/website.png

Maybe I should commission Duane for a couple of small context lions 
so that we have some variation. Or we could build a collection (each 
conference an extra one).


That will be great.

Aditya
___
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] looking for volunteer to create a ConTeXt ad (220x250 px)

2011-10-27 Thread Mojca Miklavec
On Thu, Oct 27, 2011 at 19:40, Aditya Mahajan wrote:

 On Thu, 27 Oct 2011, Hans Hagen wrote:

 On 27-10-2011 18:31, Aditya Mahajan wrote:

 My vote is for something alone the lines of this year's graphic for the
 context meeting.

 Attached.

 I meant this one: http://meeting.contextgarden.net/2011/website.png

Looking and comparing all the different proposals ...

I like the design by Hraban a lot, but the problem is that when a
LaTeX user comes to the site and sees an advertisment for a garden,
with a photo of garden and CTOETNT title, he has absolutely no idea
what the advertisment is about. My first association would be some
gardening tools. Even though it is visually nice, I would probably not
click on it unless I was interested in flowers.

The attachment by Hans is very nice, but doesn't tell anything, while
the picture of a castle is really nice and does tell some story even
to someone unfamiliar with ConTeXt: MathML, Metapost, XML, Lua, ...

The only remaining problem is photoshoping the image to remove 2011
and Belgium if we want to create a generic add.

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
___