[NTG-context] Double chapter titles

2009-07-24 Thread Marcin Borkowski
Hi all,

I'd like to have double chapter titles (i.e., a title and a subtitle
of each chapter).  Is that possible using the standard ConTeXt head
mechanism?

Regards

-- 
Marcin Borkowski (http://mbork.pl)

Wstawać.  Chodzić.  Słodzić.  Wozić.  Ruszać się.
Lubić.  Słodzić.  Mówić.  Grozić.  Wzruszać się.
Czy to jest wieczne?
(40i30na70)
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Problems with @incollection

2009-07-24 Thread Taco Hoekwater

Xan wrote:


I suspect that

/usr/share/texmf/tex/context/bib/bibl-ams.tex has an error. Taco can you 
confirm it.



Yes, there is a problem on line 300 (or close to it). I can see it is
wrong now, but I do not know what it should be. Can you please change
that one line from

  \insertpublisher{}%{, }%{}%

to

  \insertpublisher{}{, }{}%

that will make the error go away, and your output correct. But what I
do not know now is how an incollection entry should look if there
actually is a publisher, so I would be glad if you try whether the
entry below comes out ok after that change.


@incollection{millerIIIa2,
title = Decision problems for groups: survey and reflections,
author = Charles F. {{Miller III}},
booktitle = Algorithms and Classification in Combinatorial Group Theory,
year = 1992,
publisher = Lilis Books,
city = Zile,
country = Santhenar
}


Best wishes,
Taco

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


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread luigi scarso
On Thu, Jul 23, 2009 at 5:24 AM, Aditya Mahajan adit...@umich.edu wrote:

 On Thu, 23 Jul 2009, luigi scarso wrote:

  http://ccxvii.net/mupdf/
 It seems a valid alternative to xpdf


 Minimal and fast... but file reload does not seem possible, so not useful
 in a normal TeX workflow.

C code looks clear --
shoud be not difficult to extend it to  mimic xpdf
Eventually for a sprint at meeting

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


Re: [NTG-context] Hyphenation pattern exceptions (was: I can't change ...)

2009-07-24 Thread Xan

En/na Javier Bezos ha escrit:

Mojca Miklavec escribió:


So - Javier, I'm sorry, you should ignore my email.


Don't worry :-). Anyway, if I can help, just let me know. Spanish
is a lot more regular than, say, English, and therefore exceptions
(which are more or less systematic) are handled with patterns, too.

Cheers
Javier

Hola Javier,

I don't know if you can help. Mojca surely know that. ;-)
I don't know what the hyphens really know. I just detect some wrong 
hyphens in catalan.



The Catalan maintainer is Gonçal Badenes:
% Source: cahyph.tex (2003-09-08)
% Author: Gonçal Badenes g.badenes at ieee.org
%

Anyone knows how to submit my hyphens? I just have a few of that:

\hyphenation{do-cu-ment}
\hyphenation{pro-ble-ma}
\hyphenation{es-crip-tu-ra}
\hyphenation{cor-res-po-nents}
\hyphenation{pa-rells}
\hyphenation{ge-ne-rat}
\hyphenation{re-so-lu-ble}

Regards,
Xan.

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


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Taco Hoekwater


luigi scarso wrote:
 
 
 On Thu, Jul 23, 2009 at 5:24 AM, Aditya Mahajan adit...@umich.edu
 mailto:adit...@umich.edu wrote:
 
 On Thu, 23 Jul 2009, luigi scarso wrote:
 
 http://ccxvii.net/mupdf/
 It seems a valid alternative to xpdf
 
 
 Minimal and fast... but file reload does not seem possible, so not
 useful in a normal TeX workflow.
 
 C code looks clear --
 shoud be not difficult to extend it to  mimic xpdf
 Eventually for a sprint at meeting

The more serious problem is that it does not interaction objects
at all, not even bookmarks or hyperlinks.

Best wishes,
Taco


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


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Taco Hoekwater


Taco Hoekwater wrote:
 
 The more serious problem is that it does not interaction objects
 at all, not even bookmarks or hyperlinks.

Oops sorry, it does indeed do in-document hyperlinks.




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


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread luigi scarso
On Fri, Jul 24, 2009 at 11:53 AM, Taco Hoekwater t...@elvenkind.com wrote:



 Taco Hoekwater wrote:
 
  The more serious problem is that it does not interaction objects
  at all, not even bookmarks or hyperlinks.

 Oops sorry, it does indeed do in-document hyperlinks.


==
 ABOUT

MuPDF is a lightweight PDF viewer and toolkit written in portable C.

The renderer in MuPDF is tailored for high quality anti-aliased graphics.
MuPDF renders text with metrics and spacing accurate to within fractions of
a pixel for the highest fidelity in reproducing the look of a printed page
on screen.

MuPDF has a small footprint. A binary that includes the standard Roman fonts
is only one megabyte. A build with full CJK support (including an Asian
font) is approximately five megabytes.

MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit
provides a simple API for accessing the internal structures of the PDF
document. Example code for navigating interactive links and bookmarks,
encrypting PDF files, extracting fonts, images, and searchable text, and
rendering pages to image files is provided.


I haven't  find an example for bookmarks .


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


[NTG-context] Re-start figure numbers

2009-07-24 Thread snelting
Hello,

I placed 150+ tiny images (distributed over several chapters) and want
continuous figure numbering for the whole publication, so I have set up
numbering like this:

\setupnumbering[satus=start,way=bytext]

At the end of the document, I repeated the same images but now in larger
format, with captions added etc. I would like to restart their numbering,
so the figure-numbers of the large images match the small ones but
\startnumbering[state=stop] does not have any effect.

Is there any other way of stopping/restarting figure numbering?

Thanks a lot,


Femke

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


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Yue Wang
well, so maybe there can be a luatex binding to replace original xpdf?
and  we can remove cpp code completely in LuaTeX...
(and that enable the plan 9 guys to compile luatex on those exotic systems.)
On Fri, Jul 24, 2009 at 6:08 PM, luigi scarsoluigi.sca...@gmail.com wrote:


 On Fri, Jul 24, 2009 at 11:53 AM, Taco Hoekwater t...@elvenkind.com wrote:


 Taco Hoekwater wrote:
 
  The more serious problem is that it does not interaction objects
  at all, not even bookmarks or hyperlinks.

 Oops sorry, it does indeed do in-document hyperlinks.

 ==
  ABOUT

 MuPDF is a lightweight PDF viewer and toolkit written in portable C.

 The renderer in MuPDF is tailored for high quality anti-aliased graphics.
 MuPDF renders text with metrics and spacing accurate to within fractions of
 a pixel for the highest fidelity in reproducing the look of a printed page
 on screen.

 MuPDF has a small footprint. A binary that includes the standard Roman fonts
 is only one megabyte. A build with full CJK support (including an Asian
 font) is approximately five megabytes.

 MuPDF has support for all non-interactive PDF 1.7 features, and the toolkit
 provides a simple API for accessing the internal structures of the PDF
 document. Example code for navigating interactive links and bookmarks,
 encrypting PDF files, extracting fonts, images, and searchable text, and
 rendering pages to image files is provided.
 

 I haven't  find an example for bookmarks .

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


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


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread luigi scarso
On Fri, Jul 24, 2009 at 1:47 PM, Yue Wang yuleo...@gmail.com wrote:

 well, so maybe there can be a luatex binding to replace original xpdf?
 and  we can remove cpp code completely in LuaTeX...
 (and that enable the plan 9 guys to compile luatex on those exotic
 systems.)

until know, the most attractive  thing is
$ pdfdraw -x a.pdf
-xxml dump of display tree

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


Re: [NTG-context] mupdf

2009-07-24 Thread Patrick Gundlach

 http://ccxvii.net/mupdf/
 It seems a valid alternative to xpdf

anybody got a mac binary?


Patrick
-- 
ConTeXt wiki and more: http://contextgarden.net
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Double chapter titles

2009-07-24 Thread Wolfgang Schuster


Am 24.07.2009 um 09:14 schrieb Marcin Borkowski:


Hi all,

I'd like to have double chapter titles (i.e., a title and a subtitle
of each chapter).  Is that possible using the standard ConTeXt head
mechanism?



With a user defined command: http://wiki.contextgarden.net/Proceedings_style

In MkII you can use \startsectionworld[title=,subtitle=] ...  
\stopsectionworld

and in MkIV \startchapter[title=,subtitle=] ... \stopchapter.

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


Re: [NTG-context] Double chapter titles

2009-07-24 Thread Marcin Borkowski
Dnia Fri, Jul 24, 2009 at 02:17:16PM +0200, Wolfgang Schuster napisa#322;(a):
 
 Am 24.07.2009 um 09:14 schrieb Marcin Borkowski:
 
 Hi all,
 
 I'd like to have double chapter titles (i.e., a title and a subtitle
 of each chapter).  Is that possible using the standard ConTeXt head
 mechanism?
 
 
 With a user defined command: http://wiki.contextgarden.net/Proceedings_style
 
 In MkII you can use \startsectionworld[title=,subtitle=] ...  
 \stopsectionworld
 and in MkIV \startchapter[title=,subtitle=] ... \stopchapter.

Thanks!

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

-- 
Marcin Borkowski (http://mbork.pl)

Jezus żyje NAPRAWDĘ.
A Ty?
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[NTG-context] How to frame a float together with the caption?

2009-07-24 Thread Marcin Borkowski
As in the subject.  When I do
\setupcaption[intermezzo][
  location=top,
  number=no,
  style=italic,
]
\setupfloat[intermezzo][
  frame=on,
]
only the content gets framed; I'd like to have a frame (or background,
for that matter) around all the float _and_ the caption.

Any ideas?

-- 
Marcin Borkowski (http://mbork.pl)

Well, I admit that I quite like the Emacs operating system.  The only
problem with it is that it lacks a good ASCII editor.
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] mupdf

2009-07-24 Thread Yue Wang
I am able to compile one for Mac OS X 10.5 half an year ago.
Works flawlessly.

On Fri, Jul 24, 2009 at 8:15 PM, Patrick Gundlachpatr...@gundla.ch wrote:

 http://ccxvii.net/mupdf/
 It seems a valid alternative to xpdf

 anybody got a mac binary?


 Patrick
 --
 ConTeXt wiki and more: http://contextgarden.net
 ___
 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  : https://foundry.supelec.fr/projects/contextrev/
 wiki     : http://contextgarden.net
 ___

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


Re: [NTG-context] mupdf

2009-07-24 Thread luigi scarso
On Fri, Jul 24, 2009 at 2:15 PM, Patrick Gundlach patr...@gundla.ch wrote:


  http://ccxvii.net/mupdf/
  It seems a valid alternative to xpdf

 anybody got a mac binary?




try to  compile changing  Jamrules from

   CCFLAGS = -Wall -std=gnu99 ;
   LINKFLAGS = -L/usr/X11R6/lib ;

to

   CCFLAGS = -Wall -std=gnu99 -I/usr/X11/include
-I/usr/X11/include/freetype2 ;
   LINKFLAGS = -L/usr/X11R6/lib -L/sw/lib ;

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


Re: [NTG-context] [OT] mupdf

2009-07-24 Thread Martin Schröder
2009/7/24 Yue Wang yuleo...@gmail.com:
 well, so maybe there can be a luatex binding to replace original xpdf?

Not yet. And mupdf isn't what I'm looking at. GNUPF...

Best
   Martin
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] New to TeX, ConTeXt - How to conditionally include document sections?

2009-07-24 Thread Stephen Gadsby
 From: Hans Hagen

 \doifelse{stringa}{stringb}{...}{...}

 From: Aditya Mahajan

 For what you want, modes should be sufficient. If for
 something else you really want to do string comparisons,
 ConTeXt provides a bunch of \doifelse commands
 http://wiki.contextgarden.net/System_Macros/Branches_and_Decisions

Thank you both. I feel quite foolish for somehow overlooking \doifelse. I 
appreciate how kindly you've pointed out what should have been obvious to me.

I'll also look more closely at modes. I'll admit I did briefly look at 
information on them, but I didn't immediately see their usefulness. I'll now 
spend some time reading up on them.

Thank you.

   -Stephen J. Gadsby, Multimedia Specialist
Web  Multimedia Services, Information Technology
Millersville University of Pennsylvania, USA
___
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  : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___