Re: [NTG-context] [***SPAM***] Invoice Example

2014-01-03 Thread Henning Hraban Ramm
Am 2014-01-02 um 21:07 schrieb hwit...@gmail.com:

 I copied the three files required for the invoice example on the wiki garden.
 
  invoice.tex,  invoicefunctions.tex, adn invoicesetup.tex
 
 $ context  invoice.tex
 
 The above compiles without error, but the resulting pdf doesn't give me what 
 I would expect.  There is a 
 
  Regression in latest release of iT E X  
 
 In the main body of the document, which I don't think should be there.
 
 My setup: mtx-context | current version: 2013.09.03 16:23
 
 Is the source out of date with the context version I am using or am I missing 
 something?


I’m responsible for that sample, but am sick and can’t concentrate at the 
moment. I’ll try to come back to you.




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

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


[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 Mojca Miklavec
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.

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

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___

Re: [NTG-context] internal mptopdf conversion fails on older mps file (using MkIV, beta 2013.12.26)

2014-01-03 Thread Sanjoy Mahajan
 weird, there used to be a procset line ... anyhow, maybe this works ok 
 at your end (meta-pdf.lua):
 ...

That fixes it!

-Sanjoy
___
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] unknown library 'loc'

2014-01-03 Thread H. van der Meer
Has someone an idee what causes the unknown library message as in the log 
below? Is it harmful?

fontstypescripts  unknown library 'loc'
(/Users/hansm/tex/context-16/tex/texmf-context/tex/context/base/type-imp-texgyre.mkiv){/Users/hansm/tex/context-16/tex/texmf/fonts/map/dvips/lm/lm-math.map}{/Users/hansm/tex/context-16/tex/texmf/fonts/map/dvips/lm/lm-rm.map}{/Users/hansm/tex/context-16/tex/texmf-context/fonts/map/pdftex/context/mkiv-base.map})

ConTeXt  ver: 2013.12.26 12:50 MKIV beta  fmt: 2013.12.29  int: english/english

Hans van der Meer



___
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] Some questions on float combinations

2014-01-03 Thread Alexey Kryukov
Hi all,

recently I finished typesetting a block of inset illustrations for a
journal on history, which I first implemented in LaTeX and then moved
to ConTeXt (I am using a version from TeXLive 2013 packaged with
openSUSE 13.1). Basically I am greatly satisfied with the result, as the
code looks much clearer now. However, I still see some things
which can be done in LaTeX by a more natural way.

First of all, is there a dedicated method to rotate an entire
combination or floatcombination by 90 degrees? I see floats have a
special option to control this, but float combinations don't (am I
right here?). And if I enclose a float combination into a \rotate
command, then the height of the rotated block seems to be incorrectly
calculated, so that about a half of the block goes outside of the upper
page boundary.

Second, not all image combinations can be described by a simple matrix,
and the documentation doesn't explain what to do in such more complex
cases (nor the Wiki does). For example, in my document some pages have
three images ordered in two columns: one relatively tall image
side-by-side with two smaller ones. To make the things worse such
combinations are usually placed on landscape pages. The obvious solution
here seems to be to somewhow group two smaller images and then put them
into a float combination. Unfortunately, this doesn't work, as
floatcombination seems to ignore all enclosed boxing
commands/environments and even nested float combinations.

Finally I managed to achieve the desired layout by defining a set of
parallel paragraphs, which fortunately worked even inside a \rotate
command (columns and columnsets with embedded floats didn't). Still it
would be nice to have a special interface allowing to combine floats
and float combinations into larger blocks.

-- 
Regards,
Alexey Kryukov anagnost at yandex dot ru

Moscow State University
Faculty of History
___
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 Peter Münster
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...)

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