[NTG-context] figure library

2020-10-12 Thread Jörg Hagmann
I have used figure libraries in the mkII past. But my recent attempts with
mkIV, following the instructions on ConTeXt Wiki
(https://wiki.contextgarden.net/Image_Database), have failed. The following
happens:

1. When running the command "context --input=figure-lib.xml
   auto:x-res-01.mkiv --result=figure-lib" in an EMPTY directory, 2 pages
   with buttons and titles are created.
2. When providing an image and an xml file (copied from the website above
   and including the image name and the missing ">" at the end), these are
   ignored -- the same 2 empty pages are created.

Could somebody tell me what's wrong (with me, most likely)?

Details: mkiV and LMTX, MacOS and FreeBSD, recent ConTeXt installations.

The xml file on ConTeXt Wiki:




   
   Organisation
   ConTeXt Wiki
   product pictures
   pictures for ConTeXt Wiki
   

   
  filename
  reference
  owner
  comment
   
http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___


Re: [NTG-context] org-mode & ConTeXt

2017-11-16 Thread Jörg Hagmann
Hi Gour,

I'm using org-mode for almost everything. If I need a pdf-file of, e.g., a
subtree, I do the following:

1. Export the subtree as an org-file (the directory, title etc. of the
exported file are specified as :PROPERTIES:)

2. I process the exported file with a ruby-script I wrote myself. It does
what I need, i.e. very basic things. More complicated stuff can be included
in the original org-file, as context-commands, provided they don't bother
you. The result is a .tex file.

3. process the tex file with context.

I tried Pandoc, but concluded it was easier to concoct something myself.

Cheers, Jörg

- 
Prof. Jörg Hagmann-Zanolari MD
Luftmattstrasse 25
CH-4052 Basel
Switzerland
Phone (private) +41 (061) 312 6031
www.repetitorium-biochemie.ch

> Date: Tue, 14 Nov 2017 08:49:53 +
> From: Gour <g...@atmarama.com>
> To: "ntg-context@ntg.nl" <ntg-context@ntg.nl>
> Subject: [NTG-context] org-mode & ConTeXt
>
>
> Hello,
>
> I plan to start working on series lectures/presentations for educational
> purposes and I'm going to use ConTeXt for typesetting the whole
> material.
>
> Considering that for smaller articles (e.g. blog posts) I use Emacs'
> org-mode (with Hugo static-site-generator) and spend fair amount of
> time with org-mode, I wonder whether you in general can recommend using
> org-mode for collecting notes and then export to ConTeXt (via Pandoc)?
>
> Another concern - disclaimer: still haven't go through excellent
> Bibliographies manual - is whether it is possible to e.g. use org-ref
> (https://github.com/jkitchin/org-ref) - orgmode's support for RefTeX
> (https://www.gnu.org/software/auctex/reftex.html) which is mentioned in
> the wiki (http://wiki.contextgarden.net/Reftex) or is is better to
> excusively work within the scope of ConTeXt?
>
> I've also noticed that Bibliogrpahies manual does mention JabRef and
> Zotero for managing databases, so I'd appreciate if ConTeXt users can
> share their experience in regard?
>
>
> Sincerely,
> Gour
>
> -- 
> An intelligent person does not take part in the sources of misery,
> which are due to contact with the material senses. O son of Kuntī,
> such pleasures have a beginning and an end, and so the wise man does
> not delight in them.
>
>
> ___
> 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://context.aanhet.net archive  :
> https://bitbucket.org/phg/context-mirror/commits/ 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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki : http://contextgarden.net
___

[NTG-context] Avoid system fonts

2014-01-03 Thread Jörg Hagmann
Loading the fonts (?) takes too much time -- or maybe the programme is
stuck, I don't know because I interrupted after a very long time at:

fontsnames  globbing path '/System/Library/Fonts/**.ttf'

How can I avoid that, I don't use system fonts.

Sorry, searching the mail archive is not possible at the moment.

Mac 10.7.5
Context version 2013.11.05 09:50

Thanks, Jörg
___
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] Avoid system fonts

2014-01-03 Thread Jörg Hagmann
 On Fri, Jan 03 2014, Jörg Hagmann wrote:

 I created a directory ~/context/beta/empty
 I put into .profile OSFONTDIR=Users/bonasa/context/beta/empty

 Perhaps better: export OSFONTDIR=/Users/bonasa/context/beta/empty
 (I don't know Mac...)

Thank you, but I had tried that also. Context seems to override
variables.

Jörg
___
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] Avoid system fonts

2014-01-03 Thread Jörg Hagmann
Ok, I replaced line 12213 in tex/texmf-osx-64/bin/mtxrun with:

ossetenv(OSFONTDIR,$HOME/context/beta/empty//)

and that works.  But I hope that the mess will be repaired before I have
to update.

Cheers, Jörg

Jörg Hagmann writes:

 Thank you, Mojca, but I am afraid you have to be more specific.

 I created a directory ~/context/beta/empty
 I put into .profile OSFONTDIR=Users/bonasa/context/beta/empty
 Starting the shell gives:
 $echo $OSFONTDIR
 Users/bonasa/context/beta/empty

 but:

 context myfile.tex
 gives

 fontsnames  'OSFONTDIR' specifies path 
 '/Users/bonasa/Library/Fonts'
 fontsnames  'OSFONTDIR' specifies path '/Library/Fonts'
 fontsnames  'OSFONTDIR' specifies path '/System/Library/Fonts'

 ???

 Thanks, Jörg


 Mojca Miklavec writes:

 On Fri, Jan 3, 2014 at 1:21 PM, Jörg Hagmann wrote:
 Loading the fonts (?) takes too much time -- or maybe the programme is
 stuck, I don't know because I interrupted after a very long time at:

 fontsnames  globbing path '/System/Library/Fonts/**.ttf'

 How can I avoid that, I don't use system fonts.

 Sorry, searching the mail archive is not possible at the moment.

 Mac 10.7.5
 Context version 2013.11.05 09:50

 We just discussed that problem off-list. On my system it's the culprit
 of /System/Library/Fonts/LastResort.ttf (you can check that with
 Inspect - Open files and folders in Activity Monitor). Taco will
 probably modify LuaTeX a bit to avoid the problem.

 I managed to use
 export OSFONTDIR=/some/existing/empty/path
 but someone probably also needs to figure out why ConTeXt is loading
 that font in the first place.
___
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] outer floats on doublesided pages

2013-09-10 Thread Jörg Hagmann
Maybe what I did helps: see Figures III on
http://wiki.contextgarden.net/Biochemistry_textbook.  Although I used
mkII at the time.

Cheers, Jörg

R. Ermers writes:

 Hi Marco,

 Thank you very much indeed for your reply. This topic apparently does not 
 interest many people.

 In your suggestion the figures are put in the outer margin in a vertical row 
 below one another close to the top of the page, and not near the position in 
 the text.

 I want them positioned close to the place in the text which should flow 
 around them. I have seen examples of this made by Context. This can be 
 obtained by specifying default=left, or default=right, only I need the 
 figures to protrude into the (outer) margin. This for some reason does not 
 work under mkiv.

 I still have some time, but my deadline is approaching.

 Thanks again!

 Kind regards,

 Robert


 Op 10 sep. 2013, om 09:59 heeft Marco Patzer het volgende geschreven:

 On 2013–09–10 R. Ermers wrote:
 
 I have problems with the placement of floats. I need them to be
 placed in the outer edge of the text, but Context puts them in the
 middle of the page. The outer, inner, outeredge, inneredge,
 commands do not work. Right and left do work.
 
 You probably confused edge and margin. By default the edge has zero
 width and has to be enabled using \setuplayout.
 
 Preferably the criterium option should also work
 
 \setupexternalfigures
  [location=default]
 
 \setuppagenumbering
  [alternative=doublesided]
 
 \definefloat
  [marginfigure]
  [marginfigures]
  [figure]
 
 \setupfloat
  [marginfigure]
  [default=margin,
   criterium=\marginwidth]
 
 \setupcaption
  [marginfigure]
  [number=no]
 
 \showframe
 \starttext
  \dorecurse{9}{%%
\input knuth
\startplacemarginfigure
  \externalfigure [cow] [width=\recurselevel cm]
\stopplacemarginfigure}
 \stoptext
 
 Marco
___
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] Context group and faith

2013-06-18 Thread Jörg Hagmann
I got my monthly credit card statement which contains the following lines:

16.05.13 PAYPAL *CONTEXT . LUX
 Religious organisation

It's true, I believe in ConTEXt, but still...

Cheers, Jörg
___
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 group and faith

2013-06-18 Thread Jörg Hagmann

Mojca Miklavec writes:

 On Tue, Jun 18, 2013 at 10:56 AM, Jörg Hagmann wrote:
 I got my monthly credit card statement which contains the following lines:

 16.05.13 PAYPAL *CONTEXT . LUX
  Religious organisation

 It's true, I believe in ConTEXt, but still...

 I thought you were joking at first, but I see now that that's actually
 the date when you paid the membership fee.

Ah, now I understand some of the answers! I am surprised that so many
think a serious Swiss capable of making a joke.

Cheers, Jörg
___
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] setuppagenumber--start at page xy

2013-04-22 Thread Jörg Hagmann
Thank you, Huseyin.

Yes, that works; but the question remains:

Has \setuppagenumber[number=NUMBER] become obsolete?  After all, it's
all over contextgarden, both in example documents and in the Commands/
list.

Cheers, Jörg


H. Özoguz writes:

 Minimal example:

 \setuppagenumber[number=3]
 \starttext
 \input tufte
 \stoptext

 I'm using today's context version.

 Thanks, Jörg

 You could use

 \setcounter[userpage][2]
 \starttext
 \input tufte
 \stoptext

 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
___

Re: [NTG-context] setuppagenumber--start at page xy

2013-04-22 Thread Jörg Hagmann

Wolfgang Schuster writes:

 Yes, the number option for \setuppagenumber is gone and you have to use
 \setupcounter. Even though this breaks backward compatibility it’s now 
 constant
 with \setupheadnumber which is used to change the start value for sections.

Thank you, Wolfgang.  I added this information to 2 sites in the garden.

Cheers, Jörg
___
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] setuppagenumber--start at page xy

2013-04-21 Thread Jörg Hagmann
Has the code for starting pagenumbering at a given number changed? I'm
using last year's template for an annual report, but can't get it to
work.

Minimal example:

\setuppagenumber[number=3]
\starttext
\input tufte
\stoptext

I'm using today's context version.

Thanks, Jörg 

-- 
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565
___
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] mkiv only installation

2012-11-28 Thread Jörg Hagmann
I was under the impression that

sh ./first-setup.sh --modules=all engine=luatex

should install a minimal minimal context (without mkii). But that doesn't 
seem to be true. Has something changed, or am I mistaken?

Thanks, Jörg
___
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] Problem with *lettrine* module in Mk-iv

2012-09-10 Thread Jörg Hagmann
I had to switch to \placeinitial, e.g.

Instead of:
% \usemodule[lettrine]
% \setuplettrine[Raise=0.1,FontHook=\darkgrey,TextFont=\tf]

I used:

\setupinitial[color=darkgrey,n=2,voffset=-1.5ex]
and then:
\placeinitial My text …

See also 
http://archive.contextgarden.net/message/20120322.214713.ca22f882.en.html

Cheers, Jörg

On Sep 10, 2012, at 1:43 PM, Sietse Brouwer wrote:

 Hello Francisco,
 
 Welcome to ConTeXt! You are sure to enjoy it here.
 
 My conclusion is that *lettrine* does not work correctly with Mark-iv and
 there is somewhere a bug that has to be corrected. But I could be
 mistaken. Am I doing something wrongly?
 
 No, you are correct, there is a bug. It happens on my end, too; I have
 attached the resulting output.
 
 \usemodule[lettrine]
 \starttext
 \lettrine[Lines=3]{T}{he two} typeset arguments are the
 dropped capital. \input knuth
 \stoptext
 
 I had a look at the module code, but it's too low-level for me, so I'm
 CC-ing Taco Hoekwater who wrote the module. Depending on how trivial
 the bug is, and how busy Taco is, he might be able to help.
 
 Kind regards,
 Sietse
 Sietse Brouwer
 lettrine-bug.pdf___
 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
 ___


___
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] The effect of typefaces on credibility

2012-08-13 Thread Jörg Hagmann
 This is stuff is usually bogus, 

See http://www.plosmedicine.org/article/info:doi/10.1371/journal.pmed.0020124

Jörg

___
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] Integration of the ConTeXt-Wiki and the ConTeXt-Mailinglist

2012-03-28 Thread Jörg Hagmann
Excellent! This is really helpful.

Thanks, Jörg

On Mar 28, 2012, at 2:33 PM, Jan Heinen wrote:

 Hello,
 
 in the wiki I have built links for every command to the archiv of the 
 ConTeXt-Mailinglist: e.G. http://wiki.contextgarden.net/Command/pagereference
 See at the bottom.
 
 It's not perfekt jet - but it helps to get more information to each command 
 and to integrate the wiki and the mailinglist.
 What do you think about this and could it be improved?
 
 Maybe we should give ConTeXt-beginners this hint when they ask questions in 
 the mailinglist - what do you think?
 
 Best wishes
 Jannis
 --
 Better organization and integration of all ConTeXT-information:
 
 http://wiki.contextgarden.net/Category:ConTeXt   All information 
 arround ConTeXt
 
 http://wiki.contextgarden.net/Category:Commands  Commands
 
 !!! new: One-Click from every command in the wiki to the rich resources of 
 the ConTeXt-mailinglist
 
 ___
 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
 ___



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

2012-02-17 Thread Jörg Hagmann
I did use the stylesheets I found in texmf-context/tex/context/base. But it 
doesn't make any difference on an ereader (or in Calibre; there the file shows 
correctly in the side-panel, just as it does in a browser, but not when you 
open it for reading).

I would like to offer students a format they can read on all kinds of 
electronic devices (= an epub file), but if I interpret the discussion 
correctly, this can not (yet?) been done without much hassle in context.

Jörg

On Feb 17, 2012, at 11:04 AM, luigi scarso wrote:

 On Thu, Feb 16, 2012 at 4:19 PM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:
 This discussion was continued privately (my mistake). A summary:
 
 Thanks for the file, Luigi -- getting closer. Two problems left:
 
 1. I was using Calibre. Maybe I simply don't know how to use that programme. 
 Whereas a free epub book downloaded from the net opens as it should, the 
 files generated by myself and by you just show the unformatted text. With 
 Firefox it works.
 Copy and paste the css stylesheet shows the text in a more decent way,
 but still the images are missing --- probably the url(image) is wrong.
 
 
 -- 
 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
 ___

Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565



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

2012-02-17 Thread Jörg Hagmann

On Feb 17, 2012, at 12:44 PM, Hans Hagen wrote:

 the alternative is to use html tags and of course there is a limited set 
 which in turn means all kind of 'class' attributes and additional css which 
 might as well not be supported by an ereader device .. the same is true for 
 math ... not supported by most ereaders so one ends up with fake math via 
 css which looks horrible etc etc

Medical students hate formulae. They will be happy if I can't include them.
Jörg
___
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] epub

2012-02-16 Thread Jörg Hagmann
I would like to prepare some student material in epub format and tried the 
export-example.tex as follows:

- context export-example (by the way, gives an error with the latest beta, not 
with 2011.12.19 22:53,  but produces the output; shouldn't matter here).
- mtxrun --script epub --make export-example (tells me sh: 7z: command not 
found, but produces an epub file. Zipping manually doesn't make a difference).

In Calibre, only the text appears -- no paragraphs or anything else. The same 
happens when I try a minimal example with just paragraphs, bold, italic and 
sections.

Most likely I misunderstood something, or is epub support still too preliminary 
(see http://wiki.contextgarden.net/epub)?

I'm using current version: 2012.02.16 09:55 on a Mac (Lion).

Thanks, Jörg___
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] epub

2012-02-16 Thread Jörg Hagmann
Thanks, Luigi.
Is it not possible to run mtxrun --script epub --make export-example and then 
zip the files by

zip -X Filename.epub mimetype
zip -rg Filename.epub META-INF -x \*.DS_Store
zip -rg Filename.epub OPS -x \*.DS_Store

If 7z is the only way, I give up. I already spent about 30 minutes trying to 
find a mac version.

Ciao, Jörg

On Feb 16, 2012, at 12:13 PM, luigi scarso wrote:

 On Thu, Feb 16, 2012 at 11:51 AM, Jörg Hagmann joerg.hagm...@unibas.ch 
 wrote:
 I would like to prepare some student material in epub format and tried the
 export-example.tex as follows:
 
 - context export-example (by the way, gives an error with the latest beta,
 not with 2011.12.19 22:53,  but produces the output; shouldn't matter here).
 - mtxrun --script epub --make export-example (tells me sh: 7z: command not
 found, but produces an epub file. Zipping manually doesn't make a
 difference).
 
 In Calibre, only the text appears -- no paragraphs or anything else. The
 same happens when I try a minimal example with just paragraphs, bold, italic
 and sections.
 
 Most likely I misunderstood something, or is epub support still too
 preliminary (see http://wiki.contextgarden.net/epub)?
 
 I'm using current version: 2012.02.16 09:55 on a Mac (Lion).
 
 Thanks, Jörg
 
 Comment
 %\starttabulate[|l|r|p|]
 %\NC left \NC right \NC \input ward \NC \NR
 %\NC l\NC r \NC \input ward \NC \NR
 %\stoptabulate
 
 and be sure to have all the images in the same folder, to have 7z and
 inkscape --- otherwise comment
 
 %\placefigure
 %  {}
 %  {\externalfigure[cow.pdf]}
 
 
 I've just made the epub, if you want I can send you.
 
 -- 
 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
 ___

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

2012-02-16 Thread Jörg Hagmann
I see. Could you send me your export-example.epub file?
Thanks a lot, Jörg

On Feb 16, 2012, at 2:17 PM, luigi scarso wrote:

 On Thu, Feb 16, 2012 at 2:07 PM, Jörg Hagmann joerg.hagm...@unibas.ch wrote:
 Thanks, Luigi.
 Is it not possible to run mtxrun --script epub --make export-example and
 then zip the files by
 
 zip -X Filename.epub mimetype
 zip -rg Filename.epub META-INF -x \*.DS_Store
 zip -rg Filename.epub OPS -x \*.DS_Store
 This also works  for me (under linux)
 zip -r export-example.epub META-INF/ OPS/ mimetype
 
 
 
 -- 
 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
 ___



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

2012-02-16 Thread Jörg Hagmann
This discussion was continued privately (my mistake). A summary:

Thanks for the file, Luigi -- getting closer. Two problems left:

1. I was using Calibre. Maybe I simply don't know how to use that programme. 
Whereas a free epub book downloaded from the net opens as it should, the files 
generated by myself and by you just show the unformatted text. With Firefox it 
works.

2. In Firefox: My version lacks the images; in fact, the figures showing up in 
the OPS directory after the mtxrun have zero KB. But it is ok for me to copy 
them there manually.

Hraban: Thanks for the tip.

Jörg

---

yes here too. I've just installed calibre, I don't know it very well.
Maybe is possible to check the book too,
just to see if there are errors.

-- 
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] color conversion causes error with MPgraphic

2012-01-10 Thread Jörg Hagmann
On Jan 10, 2012, at 8:26 AM, rvhassel wrote:

 almost 10 euro for each key. I like it to give my lectures at a blackboard 
 with
 chalk. At the blackboard I  design my own keys, infinitely many,

Congratulations! I thought I was the only one left to do that. PPCHTeX is 
great, but drawing biochemical formula live, with a piece of chalk, is (even) 
more challenging, more fun -- and better for the students.

Cheers, Jörg
___
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] error updating beta WAS: beta

2011-02-02 Thread Jörg Hagmann
Confirmed - I got the same error yesterday evening on my linux system 
(after a successful installation in the afternoon on OS X).

Jörg

On 2/2/11 11:25 AM, luigi scarso wrote:

On Wed, Feb 2, 2011 at 11:18 AM, Hans van der Meerh.vanderm...@uva.nl  wrote:

Just uploaded latest beta and on context --make en got the error:

! I can't find file `catc-ini.mkiv'.
to be read again
   \relax
l.76 \loadmarkfile{catc-ini}

Are there still missing files?

Hans van der Meer

not here from  minimals

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

2011-02-01 Thread Jörg Hagmann

On 1/31/11 6:45 PM, Thomas Schmitz wrote:

and luatools --generate
gives the same result.



This has been deprecated for quite a while now; you have to run

mtxrun --generate
Does that mean that the instructions 
(http://wiki.contextgarden.net/ConTeXt_Minimals#Remaking_formats) have 
to be updated? There, both mtxrun --generate and luatools --generate 
are listed for making the mkiv format.


In any case, I haven't been able to install (update) the minimals in the 
last 3 months (on both OS X and ubuntu). MkII works, but context 
--version gives

MTXrun | main context file: unknown, 'context.mkiv' not found

And the log of running a test file contains:
-
MTXrun | warning: no format found, forcing remake (commandline driven)
...
MTXrun | resolvers: using given filetype 'tex'
MTXrun | resolvers: resolver: method=concatinators, how=tag, tag=file
MTXrun | resolvers: resolver: method=concatinators, how=tag, tag=file
MTXrun | resolvers: using given filetype 'tex'
MTXrun | no tex source file with name: cont-en (mkiv or tex)
MTXrun | error, no format found with name: cont-en, aborting
MTXrun | total runtime: 0.347
-

From the installation log:
--
MTXrun | forcing cache reload
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf-local/texmfcnf.lua'
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf-local/web2c/texmfcnf.lua'
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf/texmfcnf.lua'
MTXrun | resolvers: unknown configuration file 
'/Users/bonasia/texmf/web2c/texmfcnf.lua'

MTXrun | resolvers: unknown configuration file '/Users/bonasia/texmfcnf.lua'
MTXrun | resolvers
MTXrun | resolvers: warning: no lua configuration files found
MTXrun | resolvers
MTXrun | resolvers
MTXrun | the resolver databases are not present or outdated
MTXrun | state: loaded
MTXrun | update: start
---

Thanks and regards, Jörg

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

2011-02-01 Thread Jörg Hagmann



On 2/1/11 1:47 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 1:42 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

On 1/31/11 6:45 PM, Thomas Schmitz wrote:

and luatools --generate
gives the same result.


This has been deprecated for quite a while now; you have to run

mtxrun --generate

Does that mean that the instructions
(http://wiki.contextgarden.net/ConTeXt_Minimals#Remaking_formats) have to be
updated? There, both mtxrun --generate and luatools --generate are
listed for making the mkiv format.

In any case, I haven't been able to install (update) the minimals in the
last 3 months (on both OS X and ubuntu).

hm so much time for me.
At least on January update  was almost retgular for me (mkiv)


MTXrun | main context file: unknown, 'context.mkiv' not found

it can be a problem of cache corrupted; try to erase it and rebuild
with mtxrun --generate

Didn't help (provided I deleted the right thing).
Thanks and regards, Jörg
___
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] beta

2011-02-01 Thread Jörg Hagmann



On 2/1/11 2:26 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:22 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

Didn't help (provided I deleted the right thing).

Did you
$. setuptex

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


Re: [NTG-context] beta

2011-02-01 Thread Jörg Hagmann



On 2/1/11 2:42 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:36 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

Did you
$. setuptex

Sure. mkII is working.

and
$  kpsewhich context.mkiv
?

/Users/bonasia/.context-new/tex/texmf-context/tex/context/base/context.mkiv
___
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] beta

2011-02-01 Thread Jörg Hagmann



On 2/1/11 2:54 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:46 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:


On 2/1/11 2:42 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 2:36 PM, Jörg Hagmannjoerg.hagm...@unibas.ch
  wrote:

Did you
$. setuptex

Sure. mkII is working.

and
$kpsewhich context.mkiv
?

/Users/bonasia/.context-new/tex/texmf-context/tex/context/base/context.mkiv

^^^
this dot looks suspect... can you try without it, ie
  /Users/bonasia/context-new...
and then
$. setuptex
$mtxrun --generate
?
Ok - Thank you! I keep (kept) my contexts in hidden dirs (my current one 
from 3 months ago is in .context and it works, but I don't remember 
whether I changed the directory to hidden after I installed the 
minimals or whether I installed them into .context).


Conclusion: Installing the actual minimals in a hidden file doesn't 
work, in a visible one it does.


Thanks a lot for the help, Jörg
___
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] beta

2011-02-01 Thread Jörg Hagmann



On 2/1/11 3:46 PM, luigi scarso wrote:

On Tue, Feb 1, 2011 at 3:38 PM, Jörg Hagmannjoerg.hagm...@unibas.ch  wrote:

Conclusion: Installing the actual minimals in a hidden file doesn't work, in
a visible one it does.


Not sure if it's a bug or feature.
If I understand correctly, mkii works ok in hidden folders, but mkiv no.
I suspect then a bug in names resolver which  in this situation it's ok .
(perhaps  you can try  with
/Users/bonasia/a.context-new
)
Doesn't work either. Well - my context directory doesn't have to be 
hidden - why hide a pretty thing?


Regards, Jörg
___
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] TABLE

2010-12-06 Thread Jörg Hagmann

Trying to use TABLE instead of \starttables...

How does one place a TABLE, with a caption?

Thanks, Jörg
___
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] TABLE

2010-12-06 Thread Jörg Hagmann
Thank you, Aditya and Wolfgang. I put the information on the wiki where 
I would have expected it.

Jörg

On 12/6/10 3:24 PM, Wolfgang Schuster wrote:

Am 06.12.2010 um 15:19 schrieb Jörg Hagmann:


Trying to use TABLE instead of \starttables...

How does one place a TABLE, with a caption?

\placetable
{Caption}
{\bTABLE
 ...
 \eTABLE}

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
___



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

2010-12-06 Thread Jörg Hagmann

On 12/6/10 3:41 PM, barndog1...@gmail.com wrote:

search TABLE on the wiki, it is FULL of info

Now it is.
___
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] ppchtex, color and mkiv

2010-11-19 Thread Jörg Hagmann
From a thread on this list (May 2009: 
http://archive.contextgarden.net/message/20090512.132914.5c29b5f4.en.html) 
I gather that whereas colouring a whole molecule works fine, colouring 
groups within a chemical structure is not yet fully implemented in mkiv. 
 Is that still correct?


Putting colour on atoms works with {\blue C} etc. or \defineprocessor 
... etc. chemred-C etc.. However, I couldn't find a way to colour the 
bonds belonging to the group. Is there one?


ppchTEX does a superb job and I hope that the most useful features will 
be implemented in the near future in mkiv!


Jörg
___
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] ppchtex questions

2010-11-18 Thread Jörg Hagmann

Hi Alan,

Thanks for the explanations.


Try style=sans. We also have color= and rulecolor=.


syle=sans works, but not for aligned atoms, e.g. \SL{OH}; a bug? For the 
time being, I can use \SL{\ss OH}.



There are some problems still in mkiv, notably with CARBON, NEWMANSTAGGER,
NEWMANECLIPSE, and CHAIR. Hans (and I) intend to work on this but it is not
too high of a priority for the moment. Let me know if you have other problems
in using ppchtex.


I'm sure there will be more questions!

I'm using context version 2010.09.05 13.23, have there been any 
improvements since then?


Thanks, Jörg
___
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] ppchtex questions

2010-11-17 Thread Jörg Hagmann

Thanks, Alan.

On 11/17/10 2:13 PM, Alan BRASLAU wrote:

1. Is there a way to define a frame offset (there is fit and there are
dimensions, but an offset would be more convenient)?


[left=,top=]


This gives absolute values. I would prefer something giving me fit + 
dimension


I'll look into your other questions a little later today.


When playing with top, bottom etc again I discovered that increasing the 
bottom dimension also moves \bottext down.  So there only remains 
question number 3: I would like the atom labels (but not the bodyfont of 
the document) as \ss -- without including \ss for every single atom.



Are you using mkii (texexec) or mkiv (context) or LaTeX?


I am using mkiv (of course!)...

Thanks again, Jörg
___
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] ideas for ConTeXt meetings

2010-10-26 Thread Jörg Hagmann
Something else to consider is the date. Quite a few of us work in 
academia, and the fall term has recently been advanced, at least at many 
European universities, to just about when the ConTeXt meetings are being 
held.


Of course you can't please everybody -- just a suggestion.

Cheers, Jörg

On 10/26/10 11:46 AM, Alan BRASLAU wrote:

On Tuesday 26 October 2010 09:31:25 Henning Hraban Ramm wrote:


If we meet less far off than Brejlov or Porquerolles,


Far from where?
Canada or South Africa, just to name a few places from which participants
came...

In organizing an international meeting, it is always a delicate balance in
choosing a site that is reasonably accessible, reasonably affordable,
reasonably attractive and available at a reasonable date. A meeting also needs
to be organized which implies quite a lot of (volonteer) work from a small
group of people. This means that the locale also depends on the availablity of
such volonteers.

It is also sane that the meeting be held in different regions, and,
unfortunately, not all meetings will be practical (or possible) for everyone.
We need to work together to find ways to make the meetings work for a maximum
number of participants in the best way possible.


___
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] missing newline in when mtxrun exits with error

2010-10-12 Thread Jörg Hagmann

 +1

On 10/12/10 3:13 PM, robin.kirk...@csiro.au wrote:

Dear all,

This is a very minor gripe, but when mtxrun reports an error it doesn't seem to 
print a final newline. At least with my bash setup, this confuses the 
command-line editing feature, which I use a lot.

... some TeX error happened ...
? q
OK, entering \batchmode
MTXrun | fatal error: return code: 1%

Platform is Mac OS X 10.6, latest minimals.

Best,

Robin

___
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] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann

 Ok, I narrowed it down:

---First minimal example---
\setupcolors[state=start]

\starttext

\setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
\startbackground

\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize

\stopbackground

\stoptext
-end of first minimal example

This works in mk II, but not in mk IV.  It seems that 
start/stopbackground has been deprecated (?). And replaced with 
\definetextbackground ?


---Second minimal example-
\setupcolors[state=start]
\starttext

\setuptextbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]

\starttextbackground


\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize

\stoptextbackground

\stoptext
-end of second minimal example---

This works in both mk II and mk IV, but compare the background with 
the one in the first example.


Help appreciated, thanks
Jörg


On 9/10/10 9:28 AM, Jörg Hagmann wrote:
 Could somebody please tell me why this minimal example works in mk II 
but not in mk IV -- and what I have to change?

Thanks very much, Jörg

-minimal example
\definestartstop[Questions][before={\setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]\startbackground},after=\stopbackground] 



\starttext

\startQuestions
\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize
\stopQuestions


\stoptext
end minimal example--

PS: On 9/8/10 10:51 AM, luigi scarso wrote:

Did I misunderstand something?
$  context --purge
or
$context --purgeal

I'm embarrassed ...

___
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] background, mkii vs. mkiv

2010-09-10 Thread Jörg Hagmann
 Thank you, Wolfgang. I added the line 
\setnewconstant\backgroundsplit\zerocount to pack-rul.mkiv, AND IT WORKED!
This leaves the (not vital for me) question why minimal example 2 (using 
setuptextbackground) produces that funny background with the same 
commands as in setupbackground.


Thanks again, Jörg
On 9/10/10 4:06 PM, Wolfgang Schuster wrote:

Am 10.09.2010 um 16:01 schrieb Jörg Hagmann:


Ok, I narrowed it down:

---First minimal example---
\setupcolors[state=start]

\starttext

\setupbackground[background=color,backgroundcolor=lightgray,corner=round,frame=on,framecorner=round,framecolor=red,rulethickness=2pt,topoffset=0.25cm,bottomoffset=0.25cm,leftoffset=0.5cm,rightoffset=0.5cm,before={\blank[big]}]
\startbackground

\startitemize[packed]
\item First question
\item Second question
\item Third question
\stopitemize

\stopbackground

\stoptext
-end of first minimal example

This works in mk II, but not in mk IV.  It seems that start/stopbackground has 
been deprecated (?). And replaced with \definetextbackground ?

The reason is simpler, Hans replaced in MkIV many \newcounter and \chardef
definitions with real counters and forgot for the background macros to add

\setnewconstant\backgroundsplit\zerocount

to pack-rul.mkiv.

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
___



--
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

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

2010-09-08 Thread Jörg Hagmann

 Thanks, Wolfgang.
But context --purge(all) gives me:
-bash: syntax error near unexpected token `('
Did I misunderstand something?

Jörg

On 9/7/10 4:54 PM, Wolfgang Schuster wrote:

Am 07.09.2010 um 16:17 schrieb Jörg Hagmann:


I did use ctxtools for purging files. But now the command is not found any 
longer. I installed new minimals, but that didn't help.


context --purge(all)

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
___

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

2010-09-07 Thread Jörg Hagmann
 I did use ctxtools for purging files. But now the command is not found 
any longer. I installed new minimals, but that didn't help.


context version:
MTXrun | current version: 2010.09.05 13:23
platform: Mac OS X 10.6.4

Thanks, Jörg
___
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] startenumerate in romans a la LaTeX

2010-08-30 Thread Jörg Hagmann



On 08/28/2010 09:31 PM, Xan wrote:

- right indentation of items: in context items start at the same point.
In LaTeX is the item text itself who starts at the same point, not the
romans.


The Romans always start too late, try the Celts!

JH
___
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] underbar and \color

2010-05-10 Thread Jörg Hagmann

Hi,

I need an underbar of the length it takes to print, say, 25'000 and used 
to do this (see minimal example). I now get no (or a white?) underbar.


\starttext

\underbar{\color[white]{25'000}} %no (white?) underbar

\underbar{25'000} %underbar works
\stoptext



Context version 2010.05.08 13:33
Mark IV

Thanks, Jörg
___
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] underbar and \color

2010-05-10 Thread Jörg Hagmann

Thank you, Taco.

On 5/10/10 11:47 AM, Taco Hoekwater wrote:

Jörg Hagmann wrote:

Hi,

I need an underbar of the length it takes to print, say, 25'000 and 
used to do this (see minimal example). I now get no (or a white?) 
underbar.


\starttext

\underbar{\color[white]{25'000}} %no (white?) underbar


Yes, the underbar now gets the same color as the text.

Use
  \setupbars[color=black]

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


Re: [NTG-context] page-break

2010-04-23 Thread Jörg Hagmann
No reaction to this question so far. I realise that, without a minimal 
example, it is difficult to know what is happening. But I don't believe 
that the problem never occurs to others. Maybe you have some general 
suggestions as what to try? The page breaks as soon as the paragraph 
starting with S. 33 Zwergammer... contains more than one line.


An additional information:
\adaptlayout[43][lines=+1] (or height=+ something] gives an error (on 
any page in the document):


-snip
verfull \hbox (40.14098pt too wide) in paragraph at lines 345--345
[][]\*jhgentium10.5ptrmbf* Som-m-er-gold-hähn-chen 
\*jhgentium10.5ptrmtf* -- \*jhgentium10.5ptrmit* Roi-te-let à triple 
ban-deau \*jhgentium10.5ptrmtf* -- Regu-lus igni-ca-pilla: 
Januar/Februar-Beob-

!pages  : flushing realpage 38, userpage 40
!pages  : flushing realpage 39, userpage 41
!pages  : flushing realpage 40, userpage 42
!pages  : flushing realpage 41, userpage 43
!pages  : flushing realpage 42, userpage 44
layout  : textheight adapted with +2 lines at page 43
! Extra \else.
\handlestreamoutput ...aultstreamoutput \fi \else
  \the 
\normalstreamoutput \fi

\invokenormaloutputroutine ...\OTRcommand \output
  \fi
output ...e \everybeforeoutput \the \mainoutput
  \the \everyafteroutput }
\obeyedline -\par
   \futurelet \next \dobetweenthelines
l.399 ...htung eines Ind. am 20.9. bei Seltisberg.

?
---snip--

Please have a look at the pdf-files (http://www.ogbasel.ch/version-1.pdf 
and http://www.ogbasel.ch/version-page-no.pdf) and tell me what you think.

Thank you, Jörg

On 4/20/10 10:05 AM, Jörg Hagmann wrote:

Dear list members,

My biggest problem have always been seemingly arbitrary page breaks 
occuring every now and then in larger documents; and because I don't 
see a pattern, I can't create a minimal example.  But maybe you can 
make a suggestion based on the following:


The section below produces a page break seen in 
http://www.ogbasel.ch/version-1.pdf.
If the line \page[no] is inserted, the page break occurs as shown in 
http://www.ogbasel.ch/version-page-no.pdf


Mark IV, on linux and Leopard
Context version 2010.03.02 12:34
The font is Gentium at 10.5

Thanks, Jörg


-snip--
{\bf Grauammer} -- {\it Bruant proyer} -- Emberiza calandra: Am 28.2. 
konnte LEU einen Sänger in der PCA feststellen. Am 29.3. sah und hörte 
KEL 3 Ind. in Iselisboden bei Hésingue und 1 Ind. bei der Neudörfler 
Lache bei Village-Neuf. AMA meldet die Beobachtung eines Ind. am 8.6. 
in der PCA und KEL eines Ind. am 21.6. in Iselisboden bei Hésingue. 
OES sah am 3.7. 1 Ind. in einer Buntbrache zwischen Reinach und Aesch.


\stoplines
%\stoplinenumbering

\section{Nachträge zum Jahresbericht 2007}

%\startlinenumbering

S. 29 Goldhähnchenlaubsänger -- Pouillot de Pallas -- Phylloscopus 
proregulus: Am 15.12. sah M. Solari 1 Ind. bei St-Louis. Die 
Beobachtung wurde vom Comité National de Homologation angenommen 
(mitgeteilt durch BLA).


\page[no]  %%%  without this line in version-1.pdf, with the 
line in version-page-no.pdf


S. 33 Zwergammer -- Bruant nain -- Emberiza pusilla: Am 5.10. wurde in 
der PCA 1 Ind. von M.Baumann, B. Scaar et al. gefangen. Die Bestimmung 
wurde vom Comité National de Homologation angenommen (mitgeteilt durch 
BLA).


%\stoplinenumbering

\section{Zitierte Literatur}

%\startlinenumbering

Volet, B. 2006: Liste der Vogelarten der Schweiz. Ornithol. Beobachter 
103: 271-294


%\stoplinenumbering

\section[title:abbrev]{Abkürzungen -- Abbréviations}
\subsubsubject{Abkürzungen der erwähnten Einsenderinnen und Einsender 
von Beobachtungen}

snip-

___
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] page-break

2010-04-23 Thread Jörg Hagmann

On 4/23/10 2:45 PM, Taco Hoekwater wrote:

Jörg Hagmann wrote:
No reaction to this question so far. I realise that, without a 
minimal example, it is difficult to know what is happening. But I 
don't believe that the problem never occurs to others. Maybe you have 
some general suggestions as what to try? The page breaks as soon as 
the paragraph starting with S. 33 Zwergammer... contains more than 
one line.


An additional information:
\adaptlayout[43][lines=+1] (or height=+ something] gives an error (on 
any page in the document):


Works for me, but that is probably because of missing test file
(you seem to be inside \obeylines for some reason).

It works for me in other files as well, so context seems to be ok.
Jörg


___ 

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
___ 





--
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] page-break

2010-04-20 Thread Jörg Hagmann

Dear list members,

My biggest problem have always been seemingly arbitrary page breaks 
occuring every now and then in larger documents; and because I don't see 
a pattern, I can't create a minimal example.  But maybe you can make a 
suggestion based on the following:


The section below produces a page break seen in 
http://www.ogbasel.ch/version-1.pdf.
If the line \page[no] is inserted, the page break occurs as shown in 
http://www.ogbasel.ch/version-page-no.pdf


Mark IV, on linux and Leopard
Context version 2010.03.02 12:34
The font is Gentium at 10.5

Thanks, Jörg


-snip--
{\bf Grauammer} -- {\it Bruant proyer} -- Emberiza calandra: Am 28.2. 
konnte LEU einen Sänger in der PCA feststellen. Am 29.3. sah und hörte 
KEL 3 Ind. in Iselisboden bei Hésingue und 1 Ind. bei der Neudörfler 
Lache bei Village-Neuf. AMA meldet die Beobachtung eines Ind. am 8.6. in 
der PCA und KEL eines Ind. am 21.6. in Iselisboden bei Hésingue. OES sah 
am 3.7. 1 Ind. in einer Buntbrache zwischen Reinach und Aesch.


\stoplines
%\stoplinenumbering

\section{Nachträge zum Jahresbericht 2007}

%\startlinenumbering

S. 29 Goldhähnchenlaubsänger -- Pouillot de Pallas -- Phylloscopus 
proregulus: Am 15.12. sah M. Solari 1 Ind. bei St-Louis. Die Beobachtung 
wurde vom Comité National de Homologation angenommen (mitgeteilt durch BLA).


\page[no]  %%%  without this line in version-1.pdf, with the 
line in version-page-no.pdf


S. 33 Zwergammer -- Bruant nain -- Emberiza pusilla: Am 5.10. wurde in 
der PCA 1 Ind. von M.Baumann, B. Scaar et al. gefangen. Die Bestimmung 
wurde vom Comité National de Homologation angenommen (mitgeteilt durch 
BLA).


%\stoplinenumbering

\section{Zitierte Literatur}

%\startlinenumbering

Volet, B. 2006: Liste der Vogelarten der Schweiz. Ornithol. Beobachter 
103: 271-294


%\stoplinenumbering

\section[title:abbrev]{Abkürzungen -- Abbréviations}
\subsubsubject{Abkürzungen der erwähnten Einsenderinnen und Einsender 
von Beobachtungen}

snip-

___
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] suggestions for context documentation

2010-03-05 Thread Jörg Hagmann
I agree, too.  I have praised the Excursion before -- an excellent 
one-author work -- and if you also consult the Manual you can do a 
lot.  For special questions, there is always Wolfgang ...


On 3/5/10 1:50 PM, Thomas A. Schmitz wrote:


On Mar 5, 2010, at 11:01 AM, richard.steph...@converteam.com wrote:



 No, not like those.  I mean like a real manual.  I read the book
 about Hasselt---a few examples without explanations.

I am absolutely gobsmacked (astounded, astonished) at some of the 
comments on this and other threads!
ConTeXt - an Excursion and ConTeXt the Manual together are 
wonderful. I still consult them at least once a week
after 4 year's use. If you actually tried the examples in the former, 
rather than just reading them, you

would be an expert user within 2 days!


Hear hear! I couldn't agree more and am happy that a voice of reason 
appears in this somewhat meandering thread!




It would be nice to think that the community could construct 
documentation, but good, coherent documentation
is much harder to produce than good code! It works for collections of 
small articles (WikiPedia etc), but

I've never seen a good book written by a community.


also +1 Wasn't there this wonderful saying that a camel is a horse 
designed by committee?


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
___ 





--
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] gtamac symbols and mkiv

2009-11-11 Thread Jörg Hagmann
I have been using symbols (such as Fleuron) from the gtamacfonts in an 
annual publication.
Trying to change to mkiv: what exactly should I do to install them? So 
far, my attempts were not successful. (Attempts meaning: copying the tt 
fonts and the type- and other files that seem to have anything to do 
with it into my minimal installation, reloading the fonts and remaking 
the formats).


Thanks, Jörg

___
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] compilation error in mkiv

2009-11-03 Thread Jörg Hagmann
Trying to compile a text with large sections taken from the html version 
of a paper, I got compilation errors. I then compiled paragraph by 
paragraph, until the first error occured. When I couldn't spot the 
problem, I added word after word, and then character after character.  
It worked (example) until:


... and, like Mottern, she was not deterred by the existe

After adding the next character (n, by hand), compilation failed with:

structure   : subject @ level 3 : 0.0.0 - Science by committee
[3.3][4.4]
! This can't happen (linebreak_tail).
l.59
   
I'm broken. Please show this to someone who can fix can fix


!  == Fatal error occurred, no output PDF file produced!

log attached

The font is junicode, I'm using my own typescript and haven't seen this 
before.

Mkiv, context version 2009.10.21 10:28

Thanks, Jörg
(gary.tex

ConTeXt  ver: 2009.10.21 10:28 MKIV  fmt: 2009.11.2  int: english/english

system  : cont-new loaded
(/Applications/context/tex/texmf-context/tex/context/base/cont-new.tex
systems : beware: some patches loaded from cont-new.tex
(/Applications/context/tex/texmf-context/tex/context/base/cont-new.mkiv))
system  : cont-fil loaded
(/Applications/context/tex/texmf-context/tex/context/base/cont-fil.tex
loading : ConTeXt File Synonyms
)
system  : cont-sys.rme loaded
(/Applications/context/tex/texmf-context/tex/context/user/cont-sys.rme 
(/Applications/context/tex/texmf-context/tex/context/base/type-tmf.tex 
(/Applications/context/tex/texmf-context/tex/context/base/type-tmf.mkiv)) 
(/Applications/context/tex/texmf-context/tex/context/base/type-siz.tex 
(/Applications/context/tex/texmf-context/tex/context/base/type-siz.mkiv)) 
(/Applications/context/tex/texmf-context/tex/context/base/type-otf.tex 
(/Applications/context/tex/texmf-context/tex/context/base/type-otf.mkiv)))
system  : gary.top loaded
%
%   begin of optionfile
%
%   % runtime options files (command line driven)
%   \unprotect
%   % special commands, mostly for the ctx development team
%   % feedback and basic job control
%   % handy for special styles
%   \startluacode
%   document = document or { }
%   document.arguments={
%   }
%   document.files={
%gary.tex,
%   }
%   \stopluacode
%   % process info
%   \setupsystem[\c!n=1,\c!m=1]
%   \setupsystem[\c!type=unix]
%   % modes
%   % options (not that important)
%   \startsetups *runtime:options
%   \setupoutput[pdftex]
%   \stopsetups
%   % styles and modules
%   \startsetups *runtime:modules
%   \stopsetups
%   % done
%   \protect \endinput
%
%   end of optionfile
%
(gary.top)
fonts   : preloading latin modern fonts
bodyfont: 12pt rm is loaded
language: language en is active
(/Applications/context/tex/texmf-local/tex/context/myscripts/junicode-en.tex 
(/Applications/context/tex/texmf-local/tex/context/myscripts/type-jhjunicode.tex))
system  : module ancientgreek loaded
(/Applications/context/tex/texmf-local/tex/context/third/greek/t-ancientgreek.tex
 
(/Applications/context/tex/texmf-local/tex/context/third/greek/t-ancientgreek.mkiv
loading : module ancientgreek
(/Applications/context/tex/texmf-local/tex/context/third/greek/type-agr.tex 
(/Applications/context/tex/texmf-local/tex/context/third/greek/type-agr.mkiv
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental
fonts   : installing font features was experimental

systems : begin file gary at line 3
structure   : title @ level 2 : 0.0 - The Soft Science of Dietary Fat
otf process | missing cache for lookup kp_l_5_s of type gpos_contextchain in 
font 67 (Junicode-Regular)
otf process | missing cache for lookup kp_l_5_s of type gpos_contextchain in 
font 68 (Junicode-Regular)
otf process | missing cache for lookup kp_l_5_s of type gpos_contextchain in 
font 41 (Junicode-Regular)
fonts   : resetting map file list
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-empty.map}
fonts   : using map file: original-base
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-base.map}
fonts   : using map file: original-ams-base
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-base.map}
fonts   : using map file: original-ams-euler
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-ams-euler.map}
fonts   : using map file: original-public-lm
{/Applications/context/tex/texmf-context/fonts/map/pdftex/context/original-public-lm.map}
fonts   : using map file: lm-math

Re: [NTG-context] Minimals

2009-10-09 Thread Jörg Hagmann

Hans Hagen wrote:
can you search your disk (path) for other occurences of mtxrun and 
luatools?
I have, in addition to the new attempt (context), the working 
installation I'm presently using (/Applications/newtex) and an older 
version (Applications/mytex). Both have their mtxrun and luatools:


./Applications/mytex/bin/mtxrun
./Applications/mytex/tex/texmf-osx-intel/bin/mtxrun
./Applications/newtex/bin/mtxrun
./Applications/newtex/tex/texmf-osx-intel/bin/mtxrun
./Users/bonasia/context/bin/mtxrun
./Users/bonasia/context/tex/texmf-context/scripts/context/stubs/unix/mtxrun
./Users/bonasia/context/tex/texmf-osx-intel/bin/mtxrun

I tried the new installation under /Applications and then in my home 
directory, with the procedure sh ./first-setup.sh method (simple 
instructions for installing on Unix-like systems), and got the same 
result, namely:


- For mkii the formats have to be made, but then it works
- For mkiv, luatools --selfupdat, mtxrun --selfupdate and context give:

bonasia:test$ luatools --selfupdate
LuaTools | fileio: to be replaced old script 
/Users/bonasia/context/tex/texmf-osx-intel/bin/luatools

LuaTools | fileio: unable to locate new script
LuaTools |
LuaTools | runtime: 0.051 seconds

bonasia:test$ mtxrun --selfupdate
MTXrun | fileio: to be replaced old script 
/Users/bonasia/context/tex/texmf-osx-intel/bin/mtxrun

MTXrun | fileio: unable to locate new script

bonasia:test$ context
MTXrun | unknown script 'context.lua' or 'mtx-context.lua'

Cheers, Jörg
___
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] Minimals

2009-10-06 Thread Jörg Hagmann
Yes, bash. And, as I said, after remaking the formats (shouldn't be 
necessary) mkii, but not mkiv, works on the mac. It's no problem for me: 
I never update the most recent working installation; I always install 
from scratch and only delete the old one when everything is working.


Cheers, Jörg

Aditya Mahajan wrote:

On Mon, 5 Oct 2009, Jörg Hagmann wrote:

Installing the minimals on ubuntu works with first-setup.sh without 
remaking the formats, in both mkII and mkiv.


Installing them on my mac (10.5.8) (same procedure), mkii only works 
after remaking the formats, whereas remaking them for mkiv didn't 
help (Fatal Error : Your format does not match the base files!).


Are you using the same shell in both. I vaguely remember that in some 
shells you need source setuptex while in others you need . setuptex.


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  : 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] Minimals

2009-10-06 Thread Jörg Hagmann


Yes, bash. And, as I said, after remaking the formats (shouldn't be 
necessary) mkii, but not mkiv, works on the mac.


You mean that on the mac:

luatools --generate
context  --make
Yes. And the error: Fatal Error : Your format does not match the 
base files!


does not create mkiv format. Do you get an error? Is the correct 
luatools being used? (i.e., does which luatools and which luatex 
point to the correct directory)

They exist and are found in texmf-osx-intel/bin

Cheers, Jörg
___
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] Minimals

2009-10-06 Thread Jörg Hagmann



luigi scarso wrote:

hmm -- I don't have osx , I have linux --
what about
$ find minimals-beta -name  *.fmt
?
Assuming minimals-beta as root dir, I have them only under the cache, ie
./tex/texmf-cache/luatex-cache/context/e2d590ed08d5bb7ce264a85c7599601d/formats

./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/cont-en.fmt
./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/cont-nl.fmt
./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/mptopdf.fmt
./texmf-cache/luatex-cache/context/b111a13fc9cf27f239092c82f78b3124/formats/plain.fmt
./texmf-osx-intel/web2c/pdftex/cont-en.fmt
./texmf-osx-intel/web2c/pdftex/cont-nl.fmt
./texmf-osx-intel/web2c/pdftex/mptopdf.fmt
./texmf-osx-intel/web2c/xetex/cont-en.fmt
./texmf-osx-intel/web2c/xetex/cont-nl.fmt

Jörg
___
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] Minimals

2009-10-06 Thread Jörg Hagmann



luigi scarso wrote:


ok put this in test.tex
 \starttext \input tufte \stoptext
Then delete  luatex-cache;
$ cd  ./tex/texmf-context/scripts/context/lua


why?


$ context --generate


luatools --generate?


$ context --make


mtx-context.lua:1358: attempt to call field 'extendbanner' (a nil value)



and try to
$context test.tex

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

2009-10-06 Thread Jörg Hagmann





mtx-context.lua:1358: attempt to call field 'extendbanner' (a nil
value)

hmm , never see this.
I believe that if you make a fresh minimals install and you have the 
same error,

it's a minimals problem.
That's what I thought (I freshly installed twice). But I'll try again on 
Friday ...

Thanks everybody.
Jörg
___
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] Minimals

2009-10-05 Thread Jörg Hagmann
Installing the minimals on ubuntu works with first-setup.sh without 
remaking the formats, in both mkII and mkiv.


Installing them on my mac (10.5.8) (same procedure), mkii only works 
after remaking the formats, whereas remaking them for mkiv didn't help 
(Fatal Error : Your format does not match the base files!).


Shouldn't first-setup.sh behave the same way on both computers?

Cheers, Jörg
___
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] fonts

2009-09-18 Thread Jörg Hagmann
The fonts (linlibertine and gentium) I installed (and which worked) on 
my ubuntu minimals don't work any more. I can't see any difference 
between the appropriate files on my mac (where they work) and the linux 
machine. Maybe somebody can point out the problem based on the message 
below -- I would prefer not to get reacquainted with the font mess (no 
time).

I updated the minimals and remade formats. I am using mkII.

The message is:

systems : end file pdfs at line 72
system  : cont-err loaded
(/home/tetrao/newcontext/tex/texmf-context/tex/context/base/cont-err.tex
systems : no file 'cont-sys.tex', using 'cont-sys.rme' instead
) 
){/home/tetrao/newcontext/tex/texmf/fonts/enc/dvips/base/8r.enc}{/home/tetrao

/newcontext/tex/texmf/fonts/enc/dvips/lm/lm-ec.enc}{/home/tetrao/newcontext/tex
/texmf/fonts/enc/dvips/base/texnansi.enc}/home/tetrao/newcontext/tex/texmf-loc
al/fonts/truetype/public/libertine/libertine-It.ttf

pdfTeX warning: pdftex: no GlyphToUnicode entry has been inserted yet!
/home/tetrao/newcontext/tex/texmf-local/fonts/truetype/public/libertine/libert
ine-Bd.ttf/home/tetrao/newcontext/tex/texmf-local/fonts/truetype/public/liber
tine/libertine-Re.ttf/home/tetrao/newcontext/tex/texmf-local/fonts/type1/publ
ic/cb/grmn1000.pfb/home/tetrao/newcontext/tex/texmf/fonts/type1/public/lm/lmr
o10.pfb/home/tetrao/newcontext/tex/texmf/fonts/type1/public/pxfonts/pxsy.pfb
/home/tetrao/newcontext/tex/texmf/fonts/type1/public/pxfonts/rpxmi.pfb/home/
tetrao/newcontext/tex/texmf/fonts/type1/public/pxfonts/rpxr.pfb
!pdfTeX error: pdftex (file uplr8a.pfb): cannot open Type 1 font file 
for readi

ng
== Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 2.115894

Thanks, Jörg
___
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] fonts

2009-09-18 Thread Jörg Hagmann
Thanks for the hint.  uplr8... are Palatino fonts, and I have palatino 
as the math-font in my typescript.
Copying them from the mac to the linux setup (where they have gone? with 
an update? -- my Mac version is old!) did the trick.


Thanks again, Jörg

luigi scarso wrote:

!pdfTeX error: pdftex (file uplr8a.pfb): cannot open Type 1 font file for
readi
ng
== Fatal error occurred, no output PDF file produced!
TeXExec | runtime: 2.115894



What is uplr8a.pfb ?
Is it on your fontpath ?
  

___
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] installing minimals

2009-04-29 Thread Jörg Hagmann

Hi,

I don't know whether the following is related to what is being discussed 
at the moment, but when trying to install a new version of minimals (in 
a separate, fresh directory), compiling a test file fails with the 
following message:


On the Mac (Leopard):

Setting /Users/bonasia/contextexp/tex as TEXROOT.
bonasa:contextexp bonasia$ cd 
~/Documents/alectoris/archives/talks/medges/longlife/

bonasa:longlife bonasia$ texmfstart texexec handout_longlife
TeXExec | processing document 'handout_longlife'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file handout_longlife.top
TeXExec | using randomseed 553
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
This is pdfTeX, Version 3.1415926-1.40.10 (Web2C 7.5.7)
\write18 enabled.
(/Users/bonasia/contextexp/tex/texmf-context/web2c/natural.tcx)
I can't find the format file `cont-en.fmt'!
TeXExec | runtime: 0.073803

On ubuntu (9.04):

Setting /home/tetrao/newtex/tex as TEXROOT.
tet...@tetrao:~/Desktop/test$ texmfstart texexec test
TeXExec | processing document 'test'
TeXExec | no ctx file found
TeXExec | tex processing method: context
TeXExec | TeX run 1
TeXExec | writing option file test.top
TeXExec | using randomseed 1368
TeXExec | tex engine: pdftex
TeXExec | tex format: cont-en
pdftex: error while loading shared libraries: libstdc++.so.5: cannot 
open shared object file: No such file or directory

TeXExec | runtime: 0.035289

The old Minimals, which I kept, are still working on both computers.

Thanks for suggestions, Jörg
___
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] installing minimals

2009-04-29 Thread Jörg Hagmann
No -- sorry I forgot to mention that I tried all that, on both 
computers, for mk II and IV.


Mojca Miklavec wrote:

On Wed, Apr 29, 2009 at 14:58, Jörg Hagmann wrote:
  

Hi,

I don't know whether the following is related to what is being discussed at
the moment, but when trying to install a new version of minimals (in a
separate, fresh directory), compiling a test file fails with the following
message:

I can't find the format file `cont-en.fmt'!



I think that we forget to run mktexlsr at the end of format generation.

Does running mktexlr manually help? If not, does running an additional
texexec --make --all help?

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


--
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] third party module lettrine

2009-04-24 Thread Jörg Hagmann

Hi,

I need the lettrine module (used to have it, not any more).
I tried installation according to the wiki:

. first-setup --extras=t-lettrine

It did something but it doesn't work.  (\lettrine not recognised)

I find t-lettrine.tex in 
tex/texmf-context/tex/context/third/lettrine/t-tettrine.tex


I also tried all kinds of mktexlsr, texexec --make --all (using Mk II).

Thanks for your help, Jörg

___
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] third party module lettrine

2009-04-24 Thread Jörg Hagmann



Wolfgang Schuster wrote:

Do you have \usemodule[lettrine] in your document?


Oops - sorry. Forgot that in my quick minimal test.

Thanks, Jörg
___
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] muse, pandoc and context

2008-12-03 Thread Jörg Hagmann
Hi Jean and Gour,

Thanks for the comments. I would prefer muse, but 
superscripts/subscripts are extremely common in biology, not just for 
chemical formula, and maybe there are more things missing I didn't come 
across so far. On the other hand, tables didn't work well in markdown 
-- pandoc -- context. If there is no way from reST to context, it's no 
use to me.
Conclusion: there seems to be no good solution...

Cheers, Jörg

Gour wrote:
 Jörg == Jörg Hagmann [EMAIL PROTECTED] writes:
 

 Hello,

 Jörg Dear list members, 

 Jörg Despite using a text editor (emacs) and context almost
 Jörg exclusively, I need a way to communicate with other members of the
 Jörg institute. 

 I was in the similar boat - using Emacs with muse markup but wanting to
 have something which is more 'standard'- it's not that everyone is using
 Emacs (yet) :-)

 Jörg I'm evaluating two possibilities: 1. Writing in markdown and using
 Jörg pandoc for conversion to either context or something openable by a
 Jörg word processor.  

 I tried with markdown and gave it up - it's too limiting for my writing
 needs.

 Jörg I would like to know the following: - Has anybody done the same
 Jörg and come to a conclusion? Reasons?  - Is my impression correct
 Jörg that with muse one has fewer possibilities such as
 Jörg sub/superscripts?

 I've settled on reST which is richer markup (see
 e.g. http://docutils.sourceforge.net/docs/ref/rst/roles.html#subscript)
 which is more standard than 'muse' and it enables easy conversion to
 *.html (e.g. sphinx produces nice output from *.reST), and there is even
 direct conversion to pdf with rst2pdf. Of course, you can enjoy rst-mode
 as well.

 In regard to the ConTeXt side of the equation, I hope that Pandoc will
 get full parser for reST and then it will be possible to use it produce
 nice ConTeXt as well (see Pandoc' archive) or we should write and/or ask
 (I did) for ConTeXt back-end in docutils ;)


 Sincerely,
 Gour
   
___
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] muse, pandoc and context

2008-12-02 Thread Jörg Hagmann
Dear list members,

Despite using a text editor (emacs) and context almost exclusively, I 
need a way to communicate with other members of the institute. I'm 
evaluating two possibilities:
1. Writing in markdown and using pandoc for conversion to either context 
or something openable by a word processor.
2. Writing in emacs muse and publishing to -- see above.

I would like to know the following:
- Has anybody done the same and come to a conclusion? Reasons?
- Is my impression correct that with muse one has fewer possibilities 
such as sub/superscripts?

I'm aware of the threads in the archive, but would like to have an 
updated, concise opinion.

Slightly off topic, but thanks for your answers, Jörg
___
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] muse, pandoc and context

2008-12-02 Thread Jörg Hagmann


Jean Magnan de Bornier wrote:
 Does it mean you are aware of the context publishing style in muse? If so,
 did you encounter any problem?
   
Yes, I'm aware of it and no, no problems so far.
But before committing myself to either markdown/pandoc or muse, I would 
like to have opinions. For example: subscripts would be CO~2~, 
superscripts Ca^2+^ in markdown, what would you write in muse? Inclose 
it between math tags? Wouldn't be convenient.
 and (in french):

 http://jm.bornier.free.fr/muse/muse.html
   
Thanks, I didn't know this one.

Cheers, Jörg
___
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] Reorganization of the main page

2008-08-27 Thread Jörg Hagmann
Another vote for keeping the original wiki search
Jörg


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

2008-08-12 Thread Jörg Hagmann
A postscript to greek issues:

As I wrote, everything works fine now---with Mark II, which is what I 
still use.

When I try context mygreekfile.tex, without any font specification, 
the following characters are missing:
lower case: c (end of word sigma), m (mu), and s (sigma)
upper case: same

If I specify font=Ibycus, it works fine
If I specify font=Teubner, I get no greek, just roman characters (but 
the same tex file works when compiled with texexec)
If I specify font=GreekGentium, I get no output (Invalid glyph index 
(git 1714) == Fatal error etc. Again, this works with texexec.

I'm using recent minimals (Contextgarden) on Mac OS X Leopard and ubuntu.

If it's got something to do with my not knowing how to deal with fonts 
in Mark IV (which is the case), just ignore this message. But if the 
reasons are deeper, it might be of interest to you.

Cheers, Jörg

Jörg Hagmann wrote:
 Thank you, it works nicely.

 Jörg

 Thomas A. Schmitz wrote:
   
 On Aug 11, 2008, at 8:22 AM, Jörg Hagmann wrote:

   
 
 Thanks. Looking forward to the new version.
 
   
 New version has been uploaded; let me know if this one works

   
 
 B. \usemodule[oldgreek] works with the default font or with Teubner
 (mark ii and mark iv). But not with Gentium, although the TrueType
 fonts
 are installed in texmf-localfontstruetypegreekgentium:

   !pdfTeX error: pdftex (file gentium): Font gentium at 720 not  
 found
== Fatal error occurred, no output PDF file produced!

 
   
 That's bizarre. What are the names of the truetype files that you  
 have
 installed?

   
 
 GenAI102.TTFGenAR102.TTFGenI102.TTFGenR102.TTF

 I didn't install these, they were in your zip. I downloaded from sil  
 but
 saw that they are the same.
 Maybe I chose the wrong name in my setup? I used
 \usemodule[oldgreek][font=Gentium] (also tried gentium and  
 Gentium102)

 
   
 Yes, it's font=GreekGentium

 I guess I need to include the documentation in the distribution again;  
 most users just don't seem to be able to read my mind... :-)

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


Re: [NTG-context] greek

2008-08-11 Thread Jörg Hagmann
Hi Thomas,

Thanks for the explanations.
 Oh sorry, that's an error that crept in when handling of active  
 characters was changed a couple of weeks ago; I changed it in my own  
 copy on my box but forgot to upload a new version... Will upload today.
   
Thanks. Looking forward to the new version.
 B. \usemodule[oldgreek] works with the default font or with Teubner
 (mark ii and mark iv). But not with Gentium, although the TrueType  
 fonts
 are installed in texmf-localfontstruetypegreekgentium:

!pdfTeX error: pdftex (file gentium): Font gentium at 720 not found
 == Fatal error occurred, no output PDF file produced!
 

 That's bizarre. What are the names of the truetype files that you have  
 installed?
   
GenAI102.TTFGenAR102.TTFGenI102.TTFGenR102.TTF

I didn't install these, they were in your zip. I downloaded from sil but 
saw that they are the same.
Maybe I chose the wrong name in my setup? I used 
\usemodule[oldgreek][font=Gentium] (also tried gentium and Gentium102)

Regards, Jörg
___
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] greek

2008-08-11 Thread Jörg Hagmann
Thank you, it works nicely.

Jörg

Thomas A. Schmitz wrote:
 On Aug 11, 2008, at 8:22 AM, Jörg Hagmann wrote:

   
 Thanks. Looking forward to the new version.
 

 New version has been uploaded; let me know if this one works

   
 B. \usemodule[oldgreek] works with the default font or with Teubner
 (mark ii and mark iv). But not with Gentium, although the TrueType
 fonts
 are installed in texmf-localfontstruetypegreekgentium:

   !pdfTeX error: pdftex (file gentium): Font gentium at 720 not  
 found
== Fatal error occurred, no output PDF file produced!

 
 That's bizarre. What are the names of the truetype files that you  
 have
 installed?

   
 GenAI102.TTFGenAR102.TTFGenI102.TTFGenR102.TTF

 I didn't install these, they were in your zip. I downloaded from sil  
 but
 saw that they are the same.
 Maybe I chose the wrong name in my setup? I used
 \usemodule[oldgreek][font=Gentium] (also tried gentium and  
 Gentium102)

 
 Yes, it's font=GreekGentium

 I guess I need to include the documentation in the distribution again;  
 most users just don't seem to be able to read my mind... :-)

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


[NTG-context] greek

2008-08-04 Thread Jörg Hagmann
Two questions concerning greek modules:

1. I switched to the new minimal installation (on a Mac and an ubuntu 
system) and noticed that I had to install the cb-fonts (for 
\usemodule[greek]) myself. Will the fonts be included in the future? 
(Just a question; I think they should be).

2. I wanted to try the t-greek-2008.05.11 module and unzipped in 
texmf-local (where I keep my fonts). The  Greek in  proper context 
etc. articles seem to be outdated, but  from the sources I gathered that 
\usemodule[ancientgreek] or \usemodule[oldgreek] may be used, the latter 
only if the former doesn't work. I have the following problems/questions:

A. \usemodule[ancientgreek] doesn't work (mark ii or mark iv). It gives 
me, e.g.:

! Missing number, treated as zero.
to be read again
   \penalty
\CCC:4:126 -\penalty
  \plustenthousand \space
\defineactivecharacter ... {\string #1#2}\empty #1
  #2\else \uccode
\activehac...

\@@su:enablegreek ...vecharacter ~ {\lettertilde }
 
\defineactivecharacter | {...

\localgreek #1-\bgroup \directsetup {enablegreek}
  {#1}\egroup
l.6 \localgreek{mo~usa,}
   
?


B. \usemodule[oldgreek] works with the default font or with Teubner 
(mark ii and mark iv). But not with Gentium, although the TrueType fonts 
are installed in texmf-localfontstruetypegreekgentium:

!pdfTeX error: pdftex (file gentium): Font gentium at 720 not found
 == Fatal error occurred, no output PDF file produced!


There is no pdf file in the doc directory. Maybe a new version is 
under construction?
Why is it better to use the module ancientgreek?

Thanks, Jörg
___
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] Sample document on Wiki

2008-07-30 Thread Jörg Hagmann
I have finally commented the setup file for my book and would like to 
put it, as some of you have requested, in contextgarden (under Sample 
documents -- Books and Periodicals). But I have no idea how to do that. 
I can't even create an account!
Two possibilities: I send the text file and somebody else puts it there 
(preferred solution), or I need instructions.

Thanks, Jörg

___
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] Sample document on Wiki

2008-07-30 Thread Jörg Hagmann
Forget that. I managed.
Cheers, Jörg

Jörg Hagmann wrote:
 I have finally commented the setup file for my book and would like to 
 put it, as some of you have requested, in contextgarden (under Sample 
 documents -- Books and Periodicals). But I have no idea how to do that. 
 I can't even create an account!
 Two possibilities: I send the text file and somebody else puts it there 
 (preferred solution), or I need instructions.

 Thanks, Jörg

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


[NTG-context] Sample code: a textbook

2008-07-30 Thread Jörg Hagmann
Some time ago, I showed a few sample pages of a biochemistry textbook I 
wrote in ConTeXt. I now uploaded the setup file with comments in 
ContextGarden (http://wiki.contextgarden.net/Biochemistry_textbook). I 
hope that it will be useful for beginners---I found examples helpful myself.

A comment regarding the ongoing documentation discussion:
The Excursion is basically excellent, I also love its Wordsworthian 
title; keep it! All that's needed is a few corrections and additions. 
Just an example: Based on Excursion, you wouldn't be able to indent 
paragraphs. You'll find the answer in the FAQs, where a beginner 
probably wouldn't look for it (he/she would probably just give up).

Cheers, Jörg

-- 
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] How to read sources?

2008-07-21 Thread Jörg Hagmann

Joachim Kreimer-de Fries wrote:

 P. S.
 An OT-question besides: does anyone know an file manager program 
 instead of the mac Finder, which allows me to find files in the hidden 
 directories of Mac-OSX in a GUI way instead of unix terminal commands 
 cd, ls and find
you can type open /path/to/the directory you want/ in your terminal,
and then use the finder with the previously hidden dirs.

Cheers, Jörg
___
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] installing fonts

2008-07-17 Thread Jörg Hagmann
Hi,

after watching the list for some time, I decided to try luatex. On 
ubuntu, I installed the minimals as indicated in 
http://wiki.contextgarden.net/ConTeXt_Minimals (in my home folder)

A simple testfile works with texmfstart texexec file (Mk II) and 
context file (Mk IV).

I then tried to install fonts I use frequently (LinLibertine and Gentium).
I created a texmf-local folder and mirrored my previous installation, 
i.e.:

texmf-local/fonts/truetype/sil/gentium
texmf-local/fonts/tfm/sil/gentium
texmf-local/fonts/vf/sil/gentium
texmf-local/map/pdftex/context/texnansi-sil-...
texm-local/tex/context/base/type-...

Then: mktexlsr
Result: font not used (with texmfstart texexec file)

I then tried other commands (without expecting much), namely:
mtxrun --selfupdate
luatools --selfupdate
luatools --generate
mtxrun --script font --reload

again, without effect.

I then copied everything into texmf-context and executed the above 
commands. Without effect.

Before I provide more details, these questions:

1. I created texmf-local in the hope that it will survive updates. Is 
this so?
2. Shouldn't mktexlsr be enough, if you use Mk II? I used this method of 
copying fonts from one installation to another before.
3. Is there something I'm missing?

Thanks for answers, Jörg

___
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] installing fonts

2008-07-17 Thread Jörg Hagmann
Aditya Mahajan wrote:
 On Thu, 17 Jul 2008, Jörg Hagmann wrote:

 Hi,

 after watching the list for some time, I decided to try luatex. On

 [snip]

 2. Shouldn't mktexlsr be enough, if you use Mk II?

 mktexlsr is enough for MkII, but MkII used pdftex and not luatex and 
 using ttf fonts with MkII is complicated (You need to make tfm files). 
 For using ttf and otf fonts directly, you need to use MkIV. What 
 happens when you use luatools --generate, followed by context filename.
Thanks, Aditya. Well, I have the truetype, the vf and the tfm files 
(originally generated with texfont) on my previous installation (Mk II 
only). Whatever is being used, it works, and I therefore copied 
everything to the new installation.

luatools --generate followed by context filename also gives me latin 
modern.

More suggestions?

Jörg
___
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] Filling frames with rounded corners

2008-07-10 Thread Jörg Hagmann


302302 wrote:
 Is there any possibility to fill frames with rounded corners by defined color 
 but not as a rectangle?

 I mean if I define

 \defineframed [frm][framecorner=round, frameoffset=20pt, background=color, 
 backgroundcolor=color2]

 it ignores the rounded corners and offset and fills it like a regular 
 rectangle.

 Czenek
   
[...,backgroundcorner=round,...]

Jörg

-- 
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] reading recomendations

2008-05-28 Thread Jörg Hagmann
I found the article:

Integrating TrueType Fonts into ConTEXt, by Thomas A. Schmitz (The 
PracTEX Journal TPJ 2005 No 02)

most useful.

Cheers, Jörg


Horacio Suarez wrote:
 Hello all:

 Maybe out of topic.

 I need to learn to install fonts for context. I know there is a My way 
 and other documents, but I don´t understand it.

 I have successfully installed garamond following instructions, but I 
 don´t know what i´m doing.

 Maybe I have to understand Tex and the Tex tree structure first?

 Thankyou in advance.


 
 Horacio Suarez
 Editorial Antropofagia
 www.eantropofagia.com.ar



 
 Connect to the next generation of MSN Messenger  Get it now! 
 http://imagine-msn.com/messenger/launch80/default.aspx?locale=en-ussource=wlmailtagline
  

 

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

-- 
Prof. Jörg Hagmann-Zanolari MD
University of Basel
Department of Biomedicine
Institute of Biochemistry and Genetics
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] page numbering question

2008-04-09 Thread Jörg Hagmann
\definepagebreak[chapter][yes,footer,right]

(or:  \definepagebreak[chapter][yes,header,right])

Jörg

David C. Walden wrote:
 Hi,

 I have been searching contextgarden.net and the
 manuals at the Pragma website for more than an hour
 now, and I have yet to find a way to have ConTeXt
 decide in two-sided mode that the last page
 of a book chapter is a even numbered page without
 anything on it and therefore will also not have
 a page number.  I probably can manually effect
 this by carefully inserting \setuppagenumber
 commands which start and stop the state, but
 that's not a very general solution.  Will
 someone please point me to appropriate documentation
 or an example.

 Thanks, Dave


 --
 home address: 12 Linden Rd., E. Sandwich, MA 02537; ph/fax=508-888-7655/4168
 email address:  [EMAIL PROTECTED]; 
 website(s):  http://www.walden-family.com/


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


[NTG-context] ConTEXt - produced book

2008-04-08 Thread Jörg Hagmann
Dear list members,

My biochemistry textbook has been published by orell füssli as an UTB 
book. I would like to thank all the members of this list, and Hans in 
particular, for their help (acknowledgements in the Thank you section 
of the book as well).

You'll find a few sample pages under:
www.ogbasel.ch/context.html (2.5MB)

Page and margin sizes prescribed by the publisher. The pages illustrate:

p. 7: The use of inmargin text.
p. 79: a vignette, in the margin and partially in the text area.
p. 110: The height of some margin figures  was  large, necessitating 
manual adjustments.
p. 145: A framed box and a wide table. The large number of enumerations, 
figures, frames etc. made some  typographical sins inevitable (e.g. last 
line on this page).
p. 155: textbody and margin completely filled
p. 190: I include this page for Willi and Thomas
p. 235: Some chapters end with what students really need to know (red 
background). This is the end of the chapter on nutrition
p. 239: The Toolbox contains framed figures without a legend.

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Centre of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] suppressing page number on an empty page

2008-01-30 Thread Jörg Hagmann
Dear list members,

I want to suppress page numbers on empty left pages before a new 
chapter. I tried:

\setuphead[chapter][page=yes,before={\ifodd\realpageno\else\page[empty]\fi}]

This works, but messes up the layout.

I then tried to do it manually:

\page[empty]
or
\page\noheaderandfooterlines

at the appropriate places, but this also completely changes page 
breaking in the following chapters (e.g. text running down over and 
beyond the pagenumber at the bottom with \page[empty], or just breaking 
a page at a different position, which would force me to reposition all 
the margin figures etc..

Is there a trick to avoid this behaviour? Thanks for your help,

Jörg
___
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] suppressing page number on an empty page

2008-01-30 Thread Jörg Hagmann
Thank you Wolfgang! It works (of course).
The book will be published in March (by Orell Füssli and UTB) and will 
make use of several solutions I owe to you.

Cheers, Jörg

Wolfgang Schuster wrote:
 On Jan 30, 2008 3:39 PM, Jörg Hagmann [EMAIL PROTECTED] wrote:
   
 Dear list members,

 I want to suppress page numbers on empty left pages before a new
 chapter. I tried:

 \setuphead[chapter][page=yes,before={\ifodd\realpageno\else\page[empty]\fi}]

 This works, but messes up the layout.

 I then tried to do it manually:

 \page[empty]
 or
 \page\noheaderandfooterlines

 at the appropriate places, but this also completely changes page
 breaking in the following chapters (e.g. text running down over and
 beyond the pagenumber at the bottom with \page[empty], or just breaking
 a page at a different position, which would force me to reposition all
 the margin figures etc..

 Is there a trick to avoid this behaviour? Thanks for your help,
 

 \definepagebreak[chapter][yes,header,right]
 \setuphead[chapter][page=chapter]

 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
 ___

   

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Centre of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] Newbie Question about Installing on Mac OS X

2007-12-05 Thread Jörg Hagmann
The i-installer is not supported any longer, but should still work:

http://ii2.sourceforge.net/

Cheers, Jörg

Ole Schmidt wrote:
 Dear List,

 I failed to install ConTeXt.
 I have no experience with ...-Tex.
 Is there a description somewhere how to install ConteXt on Mac OS X?
 Do I really need that very big (~ 1.2 Gb) LaTex (MacTex) to install?
 And if yes how do I concatenate them? (I've took a look at the unix- 
 script from the minimal Mac OS X Installation Download but did not  
 understand if there have to be a folder called tex in the /usr/local/  
 directory or if the script do create one?)

 I do know very few about these things so I'am very greatful for some  
 more detailed hints.

 thank you very much

 ole

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

   

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Centre of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] style= in \placeindex

2007-09-21 Thread Jörg Hagmann
Hi,

How can I get capital AND colored character headings in the index 
(style=...)? I can get either one with style={\WORD} and 
style={\color[red]} in \placeindex (or \setupregister), but all my 
attempts at combining them (using different ways of grouping) failed.

Thanks, Jörg
___
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] style= in \placeindex

2007-09-21 Thread Jörg Hagmann
Thanks!

Wolfgang Schuster wrote:
 On Fri, 21 Sep 2007 11:24:21 +0200
 Jörg Hagmann [EMAIL PROTECTED] wrote:

   
 Hi,

 How can I get capital AND colored character headings in the index 
 (style=...)? I can get either one with style={\WORD} and 
 style={\color[red]} in \placeindex (or \setupregister), but all my 
 attempts at combining them (using different ways of grouping) failed.

 Thanks, Jörg
 

 \setupindex[color=red,alternative=A]

 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
 ___

   

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Centre of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] section title: alignment

2007-09-17 Thread Jörg Hagmann
Dear list members,

My section titles have a gray background of textwidth, as follows:

\def\SectionCommand#1#2{\framed[frame=off,width=\textwidth,%
align=right,background=color,backgroundcolor=lightgray]{#1\quad#2}}
\setuphead[section][command=\SectionCommand,numbercolor=red]

That works, except when section titles are longer than textwidth: in 
that case, the second line is aligned with the number, not the text. How 
can I get correct alignment? I tried to include \starttabulate \NC #1 
\NC #2 \NC\NR \stoptabulate in SectionCommand, but then the background 
extends too much above and below.

I'm sure there is an easy solution? Thanks a lot, Jörg

Minimal example:
\setupcolors[state=start]
\def\SectionCommand#1#2{\framed[frame=off,width=\textwidth,%
align=right,background=color,backgroundcolor=lightgray]{#1\quad#2}}
\setuphead[section][command=\SectionCommand,numbercolor=red]

\starttext
\section{A very long title, longer than the width of the text and 
therefore needing a second line}
\stoptext

___
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] balancing colums

2007-08-29 Thread Jörg Hagmann
Sorry for interrupting the luatex discussion with a pedestrian question, 
but my book is almost finished, and this will not be the last one:

In the following minimal example, the left column contains 5, the right 
one 3 lines. I tried \column to get 4 + 4, but it didn't work

\starttext

\startcolumns[rule=on]
\starttabulate[|l|r|]
\NC one: \NC text \NC\NR
\NC two: \NC text \NC\NR
\NC three: \NC text \NC\NR
\NC four: \NC text \NC\NR
\NC five: \NC text \NC\NR
\NC six: \NC text \NC\NR
\NC seven: \NC text \NC\NR
\NC eight: \NC text \NC\NR
\stoptabulate
\stopcolumns

\stoptext

Thanks, Jörg

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Centre of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

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

2007-07-27 Thread Jörg Hagmann
://contextgarden.net
 
 
 ___
 

 
 ___
 If your question is of interest to others as well, please add an
 entry to the Wiki!

 maillist : ntg-context@ntg.nl mailto: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
 
 ___




 -- 
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 www.wiskunde-interactief.nl http://www.wiskunde-interactief.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  : https://foundry.supelec.fr/projects/contextrev/
 wiki : http://contextgarden.net
 ___
   

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Centre of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] embedded fonts

2007-05-08 Thread Jörg Hagmann
Thanks for the tips and explanations regarding font-embedding. With this 
help, I managed to detect the culprit at the last moment. I used 
lettrines which by default uses small caps for the immediately 
following characters.

In summary, I learned that the capitalised versions of a font (gentium) 
I generated myself (texfont ... --ca=* ) are not embedded 
because -- this is my conclusions -- there are only tfm and no 
corresponding ttf files.

Did I use the term pseudo small caps incorrectly? I assumed that the 
version I generated is pseudo because it wasn't expressly designed. 
That's also how the term is used in the wiki 
(http://wiki.contextgarden.net/Pseudo_Small_Caps). But there is also the 
possibility of \cap{}, which simply generates smaller but otherwise 
normal upper case letters, and which consequently are embedded. Are they 
both pseudo?

Cheers, Jörg

Henning Hraban Ramm wrote:
 Hello Jörg,

 I just checked your PDF. Your printshop is right, even if the font  
 (Gentium) *is* embedded. How's that?

 You've some error in the formatting of your uppercase words after the  
 initial and same formatting in some subtitles - that addresses an  
 other Gentium face that isn't embedded - because it doesn't exist  
 (probably condensed).

 If you can't find it yourself, show us your font and title setup!

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

   

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Center of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] embedded fonts

2007-05-04 Thread Jörg Hagmann
Dear list members,

I have a possibly off-topic and certainly naive question. But  
unfortunately it's urgent, and a systematic search would take too long:

I just finished a 84 page document and sent it to the printer. They  
say the fonts are not embedded. Is there a switch that allows me to  
do that? If not, what else can I do?

Thanks a lot, Jörg
___
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] embedded fonts

2007-05-04 Thread Jörg Hagmann


Henning Hraban Ramm wrote:
 Am 2007-05-04 um 13:38 schrieb Jörg Hagmann:

   
 I have a possibly off-topic and certainly naive question. But
 unfortunately it's urgent, and a systematic search would take too  
 long:

 I just finished a 84 page document and sent it to the printer. They
 say the fonts are not embedded. Is there a switch that allows me to
 do that? If not, what else can I do?
 

 You don't tell us which fonts you use and which TeX engine / output  
 workflow.
   
I use gentium and -- for bold -- LinLibertine. I installed these fonts 
myself with texfont.
The engine is pdftex (I think). I run texmfstart texexec --pdf myfile.tex.
 If they're the basic PS fonts (Helvetica/Arial, Times, Courier) they  
 don't get embedded by default, because every RIP *must* have them.  
 Some printshop workflow software complains anyway (I get that very  
 often at work), but you can ignore it in that special case.

 Otherwise, it may be your TeX fonts aren't installed properly and  
 they're really not embedded or perhaps only as Type-3 pixel fonts.

 You can send me your PDF off-list, I'll check it.


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

   

-- 
Prof.Dr.med. Jörg Hagmann-Zanolari
Institute of Biochemistry and Genetics
Center of Biomedicine, University of Basel
Mattenstrasse 28
CH-4058 Basel
Switzerland
Phone +41 (0)61 267 3565

___
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] embedded fonts

2007-05-04 Thread Jörg Hagmann


Henning Hraban Ramm wrote:
 Am 2007-05-04 um 16:06 schrieb Jörg Hagmann:
   
 You don't tell us which fonts you use and which TeX engine / output
 workflow.
   
 I use gentium and -- for bold -- LinLibertine. I installed these fonts
 myself with texfont.
 The engine is pdftex (I think). I run texmfstart texexec --pdf  
 myfile.tex.
 

 Ok, no detour via DVI.

 Any error messages? Look after missing/unknown font messages in your  
 logs!
 Show us your font setup!
 Look into the document properties, fonts tab, in Acrobat - any  
 original font set to Adobe Serif MM or the like? What's the whole  
 list?

 Sollen wir dir die Informationen einzeln aus der Nase ziehen?
   
I'm afraid you'll have to. (Sorry, but I'm simultaneously preparing a 
lab course for Monday.)
I had a look at properties before (it says -- I am abbreviating -- 
Gentium, Gentium-Italic and LinLibertineB embedded subsets True Type etc.).

in the log i find: pdfTeX warning: pdftex (file GenR102.pfb): cannot 
open Type 1 font file for reading

But I had also, before sending the file off, checked it on another 
computer -- a simple PC notebook. It looks okay. I concluded the fonts 
must be embedded. Maybe the printers need something else?

Cheers, Jörg
___
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] embedded fonts

2007-05-04 Thread Jörg Hagmann
Could it be that  it's because:
I made pseudosmallcaps of Gentium myself (with texfont) and used those 
in a few places? If so, I will simply replace them with uppercase.

Jörg

Henning Hraban Ramm wrote:
 Hello Jörg,

 I just checked your PDF. Your printshop is right, even if the font  
 (Gentium) *is* embedded. How's that?

 You've some error in the formatting of your uppercase words after the  
 initial and same formatting in some subtitles - that addresses an  
 other Gentium face that isn't embedded - because it doesn't exist  
 (probably condensed).

 If you can't find it yourself, show us your font and title setup!

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


[NTG-context] \useexternalfigure

2007-04-23 Thread Jörg Hagmann
I have organised my (many!) figures in a file listing them all  
(\useexternalfigure[][][width=...])

I find it very convenient to adjust the width there and not in the  
\placefigure part of the single chapters. I suppose it is presently  
not possible to also control the placement (inner, outer and such)  
from \useexternalfigure. Of course I have no idea whether that would  
be possible/difficult/easy. But if it's easy to implement, just take  
it as a (non-urgent) suggestion.

Cheers, Jörg
___
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] capitals in heads

2007-03-26 Thread Jörg Hagmann
I hope (I am sure) the meeting was a success. And I hope that you are  
still willing to answer a simple question:

How can I get capitals in a head? The following didn't work:

\setuphead[subsection][style=cap]  %aborts compilation. (But  
slanted works)

I also unsuccessfully tried style=\cap (or \kap etc.), command= 
\cap etc.  (But style=\sc works. I don't want small caps, though).

I also tried concocting my own \def, again without success.

Thanks for your help, Jörg
___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] capitals in heads

2007-03-26 Thread Jörg Hagmann

Thanks Hraban. Yes I did, it has no effect.
Jörg


On Mar 26, 2007, at 3:16 PM, Henning Hraban Ramm wrote:



\setuphead[subsection][style=cap]  %aborts compilation. (But
slanted works)

I also unsuccessfully tried style=\cap (or \kap etc.), command=
\cap etc.  (But style=\sc works. I don't want small caps, though).


Did you try \WORD{} ?
see http://wiki.contextgarden.net/Basic_Text_Formatting

AFAIK \cap and \kap are LaTeX...

Greetlings, Hraban

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] capitals in heads

2007-03-26 Thread Jörg Hagmann

Thanks, works here too. Jörg

On Mar 26, 2007, at 4:16 PM, Henning Hraban Ramm wrote:


\setuphead
[section]
[style=normal,
 deeptextcommand=\WORD]

works for me.



___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


[NTG-context] quotation

2007-03-06 Thread Jörg Hagmann
Hi,

I need guillemots instead of lowerleftdouble- and  
upperrightdoublequotes in the German environment.
On my minimal installation (Linux) I managed to change that by  
editing the cont-sys.tex file in texmf-local/tex/context/user.

At work, on a Mac with gwTeX, nothing I tried had any effect:

editing the cont-sys.tex file (in texmf.pkgs/tex/context/user)
copying cont-sys.tex to texmf.texlive/tex/context/user
editing the lang-ger.tex files (in texmf.pkgs or texmf.texlive)

Thanks for the help, Jörg

PS 1: I didn't forget texhash
PS 2: It's the first time I have to use the German environment. Are  
lowerleftquotes and quotations really still used? To me they look  
strange -- at least in a scientific text. And my publisher doesn't  
want them either (ok, he is Swiss).


___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] quotation

2007-03-06 Thread Jörg Hagmann
Thanks a lot. I'm actually using them in this direction: citation.

On Mar 6, 2007, at 4:07 PM, Steffen Wolfrum wrote:

 Do you mean a result like this?

 ›Zitat‹
 »Zitation«

 Using gwTeX too, I would't change cont-sys.tex or lang-ger.tex.
 If needed I would do it like this:

 \setuplanguage[de]
 [leftquote=\guilsingleright,rightquote=\guilsingleleft,
 leftquotation=\rightguillemot,rightquotation=\leftguillemot]

 \mainlanguage[de]

 \starttext
 \quote{Zitat}

 \quotation{Zitation}
 \stoptext


 Steffen




 On Tue, 6 Mar 2007 15:15:40 +0100, Jörg Hagmann wrote:
 Hi,

 I need guillemots instead of lowerleftdouble- and
 upperrightdoublequotes in the German environment.
 On my minimal installation (Linux) I managed to change that by
 editing the cont-sys.tex file in texmf-local/tex/context/user.

 At work, on a Mac with gwTeX, nothing I tried had any effect:

 editing the cont-sys.tex file (in texmf.pkgs/tex/context/user)
 copying cont-sys.tex to texmf.texlive/tex/context/user
 editing the lang-ger.tex files (in texmf.pkgs or texmf.texlive)

 Thanks for the help, Jörg

 PS 1: I didn't forget texhash
 PS 2: It's the first time I have to use the German environment. Are
 lowerleftquotes and quotations really still used? To me they look
 strange -- at least in a scientific text. And my publisher doesn't
 want them either (ok, he is Swiss).


 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context
 ___
 ntg-context mailing list
 ntg-context@ntg.nl
 http://www.ntg.nl/mailman/listinfo/ntg-context

___
ntg-context mailing list
ntg-context@ntg.nl
http://www.ntg.nl/mailman/listinfo/ntg-context


  1   2   >