Re: [NTG-context] WYSIWYM editor on top of ConTeXt / Lout

2017-12-02 Thread Siep Kroonenberg
On Sat, Dec 02, 2017 at 08:42:59AM +0100, Jonas Baggett wrote:
> Hi everyone,
> 
> This is a blog post I recently published: 
> https://jonas17b.wixsite.com/monsite/home/wysiwym-editor-on-top-of-context-lout.

See screenshot showing your website in my browser.

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

Re: [NTG-context] logo from wiki

2013-07-04 Thread Siep Kroonenberg
On Thu, Jul 04, 2013 at 08:22:59AM +0200, Pablo Rodríguez wrote:
> Dear list.
> 
> where is  the ConTeXt source for this image:
> http://wiki.contextgarden.net/skins/common/images/context/context_logo_inv.png?
> 
> Thanks,
> 
> 
> Pablo

This particular version is an inkscape svg. It is probably still
somewhere on the site, but in case it is not, I am attaching it
here.

-- 
Siep Kroonenberg
<>___
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] Overriding pdfview

2013-06-26 Thread Siep Kroonenberg
On Wed, Jun 26, 2013 at 10:22:23PM +0200, luigi scarso wrote:
> On Wed, Jun 26, 2013 at 9:29 PM, Hans Hagen  wrote:
> 
> >
> > while sumatrapdf
> >
> > - is pretty fast
> > - has matured quite well
> > - remembers the current page
> > - renders quite ok
> > - even supports some basic interactivity
> > - (has an ugly yellow pop up windows but those can nowadays be recolored)
> > - can be installed as portable application
> > - works ok wine/linux (in fact has my preference now when on linux)
> >
> > I have to admit that I often think to a context pdf viewer, and mupdf
> seems the right candidate.
> Under ubuntu 64bit 12.04 xpdf doesn't work, acroreader is still 9 32 bit
> (so I use wine acroreader 11)
> evince is ok, probably also okular.
> A context pdf viewer should be like sumatrapdf at least ---  so  in the end
> I also installed sumatrapdf.exe under linux .

For Linux, have a look at qpdfview.


-- 
Siep Kroonenberg
___
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] new look for wiki

2011-09-29 Thread Siep Kroonenberg
Thanks for all the praise.

ATM I have limited time for fixing issues so do not expect instant
responses or fixes. But if you have problems, it would help to list:
- browser and browser version
- OS
- Javascript on or off
- problem url

About the limited width:

max-width is expressed in ems. Zooming also zooms the width of the
page, up to the width of the window.

With a line `$wgAllowUserCss = true;' in LocalSettings.php,
users could make a page User:/contextskin.css with
content

body { max-width: none; }

to always use the full width of the window. But currently such a
page has no effect.

-- 
Siep Kroonenberg
___
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] Portable Context

2011-03-12 Thread Siep Kroonenberg
On Sat, Mar 12, 2011 at 03:03:34PM +0100, Mojca Miklavec wrote:
> On Sat, Mar 12, 2011 at 10:53, Siep Kroonenberg wrote:
> >
> >> > Is there any way to avoid hard-coded paths?
> >> Isn't minimals path-aware ?
> >> With setuptex I can put context wherever I want.
> >
> > This is in the context of TeX Live. But I'll have a look at how
> > minimals does it.
> 
> This has been changed after the version of ConTeXt for TeX Live has
> been frozen. So you would probably have to take a recent enough
> version of ConTeXt (most probably even the version on tlcontrib is too
> old, but at least it should not be too difficult to take the most
> recent version just for testing).
> 
> You can have a look at
> http://minimals.contextgarden.net/current/misc/web2c/texmfcnf.lua, but
> you need a recent mtxrun for that.

Thanks for this information.

I installed instead the minimals, which do indeed avoid hard-coded
paths. I'll try to fix portability for Context in the next TeX Live
once this new version has become part of TeX Live.

-- 
Siep Kroonenberg
___
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] Portable Context

2011-03-12 Thread Siep Kroonenberg
On Sat, Mar 12, 2011 at 10:44:49AM +0100, luigi scarso wrote:
> On Sat, Mar 12, 2011 at 10:32 AM, Siep Kroonenberg  wrote:
> > For a usb stick install, it would be nice if there were no
> > hard-coded paths anywhere. A texmfcnf.lua with content
> >
> > return {
> >  TEXMFCACHE = kpse.var_value('TEXMFSYSVAR')
> > }
> >
> > appears to be read but ignored. Moreover, the fndb lua files under
> > luatex-cache/context/xxx/trees contain hard-coded paths.
> >
> > Is there any way to avoid hard-coded paths?
> Isn't minimals path-aware ?
> With setuptex I can put context wherever I want.

This is in the context of TeX Live. But I'll have a look at how
minimals does it.

-- 
Siep Kroonenberg
___
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] Portable Context

2011-03-12 Thread Siep Kroonenberg
For a usb stick install, it would be nice if there were no
hard-coded paths anywhere. A texmfcnf.lua with content

return {
  TEXMFCACHE = kpse.var_value('TEXMFSYSVAR')
}

appears to be read but ignored. Moreover, the fndb lua files under
luatex-cache/context/xxx/trees contain hard-coded paths.

Is there any way to avoid hard-coded paths?

-- 
Siep Kroonenberg
___
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] Convert eps to pdf

2010-11-22 Thread Siep Kroonenberg
On Mon, Nov 22, 2010 at 12:02:13PM +0100, Mojca Miklavec wrote:
> On Mon, Nov 22, 2010 at 11:51, Alan BRASLAU wrote:
> > ConTeXt mkiv will take an encapsulated postscript (eps) file through
> > \externalfigure [myfigure.eps]
> > and creates a (compressed) pdf version as m_k_i_v_myfigure.pdf
> > that conserves the vectorial components of the eps file.
> >
> > Other standard conversion tools, notably those based on ghostscript,
> > generally create a bitmap image with pretty horrible results.
> >
> > The vectorial conversion must be fully trivial, but I am ignorant
> > of the tools available for this manipulation (other than ConTeXt!),
> > as well as the inverse (pdf->eps) conversion. Perhaps I am simply
> > missing some simple (ghostscript, pstoedit, ...) option.
> 
> 1.) ps2pdf -dEPSCrop file.eps file.pdf
> 
> On some systems you have "epstopdf".
> 
> 2.) gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop \
> -sDEVICE=pdfwrite -sOutputFile=file.pdf file.ps
> 
> I use the same command for conversion into bitmap figures:
> gs -dSAFER -dBATCH -dNOPAUSE -dEPSCrop \
> -dGraphicsAlphaBits=4 -dTextAlphaBits=4 -r500 \
> -sDEVICE=pngalpha -sOutputFile=file.png file.ps
> 
> Usually the conversion from PDF to EPS is slightly problematic for (to
> me) unknow reason.

For pdf to eps, use pdftops from the xpdf suite
(http://www.foolabs.com/xpdf/). 

I wrote a Ruby script epspdf with a gui Tcl/Tk wrapper epspdftk
(http://tex.aanhet.net/epspdf/) for arbitrary conversions between
eps, ps and pdf in any direction, with optional cropping and
grayscaling. Epspdf and epspdftk are included in TeX Live.

-- 
Siep Kroonenberg
___
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] Word-to-LaTex on linux?

2008-07-07 Thread Siep Kroonenberg
On Mon, Jul 07, 2008 at 02:03:43PM +0200, Piotr Kopszak wrote:
> On Mon, Jul 07, 2008 at 11:31:19AM +0200, Piotr Kopszak wrote:
> > Dear list, 
> > 
> > Has anyone had any success running Word-to-Latex converter, mentioned on 
> > contextgarden, on linux? In theory it should be possible using wine and 
> > winetricks. 
> > 
> > Piotr
> 
> Replying to myself. Before trying on my linux box I asked my administrator to 
> install it on a windows box and it fails even to load its own configuration 
> file when I try to use as ordinary user. Is it really worth the effort at all?
> 
> Piotr

Did you visit the homepage
http://kebrt.webz.cz/programs/word-to-latex/ to check the
prerequisites? I tried it out for somebody else, and with word,
mathtype and net1.1 installed it did quite a nice job.

It is basically a Word macro, even though you can call it from
outside Word (which is not recommended).

-- 
Siep Kroonenberg
___
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] ConTeXt ultraminimals

2008-06-05 Thread Siep Kroonenberg
On Wed, Jun 04, 2008 at 10:56:22PM -0400, John Culleton wrote:
> On Sunday 25 May 2008 05:04:22 pm Hans Hagen wrote:
> > Patrick Gundlach wrote:
> > > Hello Hans,
> > >
> > >>>>> But also much bigger. Having an ubuntu/context (vmware) image
> > >>>>> is not hard to create, but it will take something like 2 gig.
> > >>>>> Nice idea, though.
> > >>
> > >> so much?
> > >
> > > With a lot of effort one could cut it down a bit. The problem is
> > > that there is no way to get a minimal ubuntu/gnome desktop, only
> > > the regular one with all kinds of software (open office etc.) pre
> > > installed. You can remove this software, but I don't know how far
> > > to go. It takes some time experimenting. I've played around with
> > > this quite a bit and I always get about 2 gig of disk space.
> > > Without java, this could be 1.5 or so. Installing such a vm
> > > (vmware based) takes about 10-20 minutes, including all vmware
> > > hacks. So this is the smallest part.

The Ubuntu alternate cd lets you do a text-only install. Afterwords,
you can add whatever you want.

> > aren't there those tiny linuxes of some 50 meg ?
> >
> > Hans
> 
> Slackware allows you to pick and choose which software you install. 
> And a CDR variant, Slax, will run from a mini-cdr.  There are other 
> diminutive Linuxes. 

Debian is another distro which lets you pick and choose during
installation.

-- 
Siep Kroonenberg
___
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] mswincontext problems

2006-04-27 Thread Siep Kroonenberg
On Thu, Apr 27, 2006 at 12:15:40PM +0200, Taco Hoekwater wrote:
> Hi all (esp. windows users),
> 
> Last night I tried setting up a Win98SE for use with context
> using mswincontext.zip (I borrowed a laptop for bachotek, so
> I could not install linux on it ... ).
> 
> It went terribly wrong. At first I thought it was just the
> shoddy Win98 install on that machine, but Olivier tells me
> he also had problems installing the latest mswincontext, so
> I hope another someone who uses Windows98 can testrun the
> installation.
> 
> I got all sort of errors from command.com (syntax error,
> out of environment space, command not found, permission
> denied), and the wiki page is definately incomplete so I
> could not really debug. In the end, I basically gave up.

If 'out of environment space' is the root of the problem, then it
should be possible to specify a larger environment when starting up
a dos box.

In a distant past, I used to create specialized dos boxes for TeX
with a larger environment and the necessary environment variables.
This was for w95.

This comment may be way off-base since I haven't tried myself to
install mswincontext.

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


Re: [NTG-context] expert font access

2005-12-28 Thread Siep Kroonenberg
On Wed, Dec 28, 2005 at 10:49:20AM +0100, Henning Hraban Ramm wrote:
> Ahoi!
> 
> One decorative font that I use contains some additional (swashed  
> etc.) characters.
> At the moment I access them like this:
> 
> \def\DelitschC#1{\getglyph{\defaultencoding-raw-delitschantiqua} 
> {\char#1}}
> \definetextmodediscretionary A {\DelitschC{197}}
> 
> So I get the alternative A as |A|, and that's enough for me.
> But in this way |A| always takes this character from the same font.
> 
> How could I solve this more generally, two cases:
> 1. if several fonts use the same "expert" encoding
> 2. if I change the font, I'd like to get a simple A instead of |A|
> 
> At the moment I need (2.), because I'd like to use something like  
> \chapter{|A|nfang};
> that's ok with my definition of chapter style=\hw (Delitsch font  
> being defined as handwriting), but not in the ToC (rm font).
> 
> Further (don't know how different), how could I define "take this  
> special character always at the end/beginning of a word" or the like,  
> e.g. how could I enable the different 's' of gothic fonts?

Can't you define this behavior with ligatures?

> Another one: How can I define additional ligatures, e.g. if my font  
> provides a "Qu" or some other unusual ligature?

You can add ligature specifications to an enc file, see e.g.
cork.enc. For afm2pl, you can also specify ligatures in a separate
lig file. But I don't know how to use such custom enc or lig files
in the context of the texfont utility.

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


Re: [NTG-context] Tex drawing tool

2005-12-14 Thread Siep Kroonenberg
On Mon, Dec 12, 2005 at 11:41:26AM +0100, Boris Pedrofiets wrote:
> Hi guys,
> 
> I run into a drawing tool, capable of generating metapost. It's on 
> http://tpx.sourceforge.net/ . It looks great to me, soo I like to share 
> this with you all!
> 
> Has anyone got any experiance with it?
> 
> B.

It also looks like a good way to get eps- and pdf output from
Windows graphics programs, since it can pick up emf info from the
clipboard with its `Capture EMF' tool. The cited page links to a pdf
of its import capabilities, and I did a quick test with an excel
graph.

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


Re: [NTG-context] Black generation in cmyk output

2004-12-07 Thread Siep Kroonenberg
On Tue, Dec 07, 2004 at 10:40:35AM +0100, Tobias Hilbricht wrote:
> Am Do, den 02.12.2004 schrieb Taco Hoekwater um 11:10:
> > Just curious: why do you need a cmyk pdf document?
> 
> Of course you can leave colour space conversion and colour separation to
> the printer (provided the printer has the means to do so). However, for
> full control over the print colours it is better to have a calibrated
> monitor and a document in the CMYK colourspace - then you see what the
> colours a likely to look like, and dependency on the printer is reduced.
> Agencies, which prepare graphics for advertisements, pay thousands of
> Euros to be able to control the correct outcome of corporate colours or
> skin colours, for example.
> 
> Yours sincerely
> 
> Tobias Hilbricht

CMYK is considered a device-dependent colorspace, which takes
press conditions into account. So you are more, not less dependent
on your printer by going for CMYK. At least, this is the theory.

Anyhow, it is a good idea to discuss color with your printshop if
color fidelity is an issue.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Black generation in cmyk output

2004-12-03 Thread Siep Kroonenberg
On Fri, Dec 03, 2004 at 11:00:54AM +0100, Piotr Kopszak wrote:
> On Thu, Dec 02, 2004 at 11:10:51AM +0100, Taco Hoekwater wrote:
> > 
> > Just curious: why do you need a cmyk pdf document? I'm asking because the 
> > requirement often implies that you are using a less-than-modern printing 
> > house. If that is the case, you may be better off using PostScript instead 
> > of PDF.
> > 
> > Greetings, Taco
> 
> Actually, I was asked once  to deliver one, because the printing house
> charged extra  money for  processing rgb pdf.   But true, this  time I
> simply need postscript output. Hence  another question. I was asked to
> deliver all  pages as separate EPS  files. I was  using ghostscript to
> obtain individual  pages but is there  any option to get  all pages in
> the document as separate files using ConTeXt?
> 
> Piotr

pdftops, part of the xpdf suite, should be able to do that with
something like

pdftops -eps -paper match -f pageno -l pageno file.pdf file_pageno.eps 

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Dictionnnaries ..

2004-11-25 Thread Siep Kroonenberg
On Wed, Nov 24, 2004 at 02:07:23PM +, Dirar BOUGATEF wrote:
> Thanks Siep. Have you tried customizing TeXnicCenter for use with Context ? 
> Does it have command completion ?
> 
> Looks like a great editor.
> 
> Dirar

At one time. I helped someone setting up TeXnicCenter/MikTeX with
Context. We added a build profile for Context with texexec taking
the place of latex. Unfortunately, at the moment I don't have a TeX
installation handy where I can easily retrace those steps. Sorry.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Dictionnnaries ..

2004-11-24 Thread Siep Kroonenberg
On Wed, Nov 24, 2004 at 09:23:17AM +, Dirar BOUGATEF wrote:
> Hi all,
> 
> Are there any dictionnaries for automatic correction that work within 
> Context. If not does this exist for other Tex macro packages ?
> 
> Thanks.
> 
> Dirar.

There is some standardized format for spelling dictionaries,
supported by Mozilla, OpenOffice and TeXnicCenter and probably
others. You can download such dictionaries from
http://lingucomponent.openoffice.org/spell_dic.html

But if your editor or graphical frontend doesn't support it then
of course this is of no use to you.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Docbook and Context

2004-11-15 Thread Siep Kroonenberg
On Mon, Nov 15, 2004 at 09:14:49AM -0500, John Culleton wrote:
> There appear to be two programs dealing with conversion of XML Docbook 
> documents to Context, "Docbook in Context" and XSLT.  the former has not 
> been updated recently and the latter has documentation dating to 2001. I 
> have a potential customer who is XML conversant and wants me to set up his 
> document. He will provide it in Docbook format apparently. He has not 
> written it yet.  
> 
> My question: Are either of the existing tools stable, reliable and complete 
> enough for me to take on this task?  Which is recommended for a one-time 
> project? What do I need from my customer in addition to the base file of 
> the document? 
> 
> I have no interest in becoming an XML guru---I just want to bid on this job 
> if that makes sense or give the customer a no-bid if I am about to step in 
> a swamp. 
> 
> -- 
> John Culleton

If you are willing to consider LaTeX, have a look at db2latex
(http://db2latex.sourceforge.net/), which uses xslt stylesheets
for conversion. This project appears to be very much alive. See
also http://www.dpawson.co.uk/docbook/tools.html

I don't have personal experience with this.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: How to use PostScript font

2004-08-24 Thread Siep Kroonenberg
On Tue, Aug 24, 2004 at 12:09:50PM +0200, Patrick Gundlach wrote:
> 
> texnansi does not work with german.sty which I'd say is necessary for
> german texts. T1 and OT1 is hardcoded. I don't know about babel.
> 
> Patrick

Checking babel.def, I saw that it sets \latinencoding to OT1 if T1
is unavailable - which might explain some encoding-related oddities
I have run into in the past.

Guess some patches for babel and german are needed.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Re: How to use PostScript font

2004-08-24 Thread Siep Kroonenberg
On Mon, Aug 23, 2004 at 01:26:06AM +0200, Hans Hagen Outside wrote:
> >
> ok; btw, also take a look at sieps afm2pl since it has some other nice 
> features 
> Hans 

My belated three cents on some of the things which were discussed in
this thread:

As to texnansi: this is supported in Latex by texnansi.sty. For
Western European languages, it seems to cover pretty much
everything, so there is no need for text companion fonts or virtual
fonts. Basic support (without artificial smallcaps) for a font
family with non-virtual texnansi fonts consists of just four tfms, a
mapfile fragment and, for Latex, an fd file.

As to fontinst: doing it the easy way, using just the latinfamily
command, you get dozens of files, in 8R, T1, OT1 and TS1 encoding.
You have to be pretty expert if you want more fine-grained control
and a more economical set of support files. I don't even know
whether Fontinst can generate non-virtual texnansi fonts which are
suitable for regular typesetting. Besides, I believe that nowadays
fontinst depends on Latex.

Sorry about just mentioning Latex here: I am only an occasional
Context user, and don't use typescripts or texfont at all.

As to afm2pl: the latest version available from tex.aanhet.net is
0.6; later versions are written to be part of TeX Live 2004 which is
currently under development. Because of changes in the TDS, these
may not work correctly in an older TeX installation.

Version 0.7.02 with afm2tfm compatibility is not yet in the TeX Live
source tree, last time I checked.


-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt vs. LaTeX

2004-08-04 Thread Siep Kroonenberg
On Wed, Aug 04, 2004 at 06:58:48PM +0200, Zeljko Vrba wrote:
> On Wed, Aug 04, 2004 at 04:07:43PM +0200, Mojca Miklavec wrote:
> > 
> > I'm not sure if these are only the problems at the beginning (since I
> > have to look for almost any command I use) and would soon disappear or
> > would the general advice be "don't use ConTeXt if LaTeX suits your
> > needs". What are your opinions about that?

Try it for a bit and see whether you like it. Some people find that
it makes things simpler and more logical. It is a different way of
working, which may or may not suit you.

For me personally, somehow Context is a bad match, and it has been
fighting all the way. Therefore I use Context only when I have to.

> I learned Context because Latex didn't suit my
> needs (concrete example: for my diploma work, my mentor required that there
> must not be "Chapter" heading for each chapter.. If I put \chapter*, then
> it didn't appear in the table of contents.. the solution was dirty - copy
> the report class file to local directory and edit it.. however if such a simple
> problem has such a dirty solution, how could I cope with tougher problems?

The right way to handle this would have been to copy just the
relevant code fragment to a package or classfile of your own and
modify it. The code would have looked a lot hackier than
corresponding Context code, but as long as it sits neatly tucked
away in a package of its own, you wouldn't have to let that bother
you.

LaTeX source code is generally well-documented, and much easier to
find your way around in than Context code.

For presentations there are pdfscreen and pdfslide, and David Storey
has done nteractivestuff with pdf. So don't underestimate the
possibilities of LaTeX.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt output & commercial printing houses: Thanks!

2004-07-27 Thread Siep Kroonenberg
On Mon, Jul 26, 2004 at 11:33:03PM -0700, Brooks Moses wrote:
> At 11:15 PM 7/26/2004, you wrote:
> >On Sat, Jul 24, 2004 at 03:21:39PM -0500, Bill McClain wrote:
> 
> >> The printer
> >> expects CMYK images (not RGB!) where the resolution is approx. 2 times
> >> the screen count in the final print, @ the physical size on the paper.
> >> So if you have an image in your PDF that is 10 cms /4 in. wide, and you
> >> want it printed in a 150 lpi (lines per inch) screen, make sure the
> >> original resolution is 300 dpi @ 10 cms / 4 in.
> >
> >Now that's interesting. I imagined you would get the best results with
> >images that were designed exactly at the printer resolution.
> 
> You might, but that would only be true if you also have the image aligned 
> exactly with the printer resolution -- which is unlikely to be the case 
> unless you do it explicitly.  Having the 2x-or-higher resolution means that 
> the downsampling in the printing process will produce an acceptable result 
> no matter what the alignment is.
> 
> Beyond that, I suspect there are also some effects involved in the fact 
> that the printer is creating a screen rather than dots of pure color; there 
> are things going on in the screen that are on a finer scale than the line 
> spacing, and having the higher-resolution to base them on probably produces 
> a better result.
> 
> - Brooks

For a screened picture, you can often get away with less than twice
the lpi, especially if there are no sharp transitions.

On the other hand, pure black-and-white line drawings are best
printed without screening. For such images, higher resolutions are
better. 600dpi is enough for losing jaggies.  Up to a point, more is
better, but printer resolution (2400dpi or more) would produce very
large bitmaps.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] ConTeXt output & commercial printing houses

2004-07-24 Thread Siep Kroonenberg
On Sat, Jul 24, 2004 at 03:21:39PM -0500, Bill McClain wrote:
> On Sat, 24 Jul 2004 13:41:38 -0600
> Matt Gushee <[EMAIL PROTECTED]> wrote:
> 
> > I am planning to publish a book that is typeset using ConTeXt, and
> > very soon I am going to start contacting printers for estimates. Given
> > that a shop prints from PDF files, does it matter that the PDFs are
> > produced by ConTeXt?
> 
> This has all been for digital printing and perfect-bound paperbacks. I
> would like to know if an offset press generating folded and gathered
> signatures takes the same pdf input. And where to go for sewn hardcovers
> in small quantities and short run leatherbound books for "collector's
> editions." I haven't explored those issues yet but will do so
> eventually.
> 
> -Bill

The printshops that I dealt with were capable of imposing normally
paginated pdfs into signatures for offset printing. I've never done
imposition myself.

-- 
Siep Kroonenberg
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Dithering (off-topic)

2003-10-31 Thread Siep Kroonenberg
On Fri, Oct 31, 2003 at 12:21:48PM +0100, Michal Kvasnicka wrote:
> Good evening.
> 
> I apologize to ask a little off-topic question, but I don't know where 
> to ask (and it is closely related to TeX and PDF).
> 
> I typeset a church bulleting. It is printed on a laserjet printer (600 
> dpi), and then copied on a copy machine. As for letters, all is right. 
> But figures (photos) are this way spoiled. I guess it would help either 
> to force PDF to print the figures in some very low resolution (150 dpi), 
> or (probably better) to dither the figures and include them in PNG 
> (instead of ordinary JPEG). Can some of you tell me how to do it? I 
> tried ImageMagick's convert to dither the photos, but outcomes were 
> really poor. Is there some good free software for this (in the best case 
> in Linux)? Or can I do it some way in PDF?
> 
> Many thanks for any hint.
> Michal Kvasnicka

A PostScript solution: create a dvips header file for course
rasterization:

%!
/bop-hook {53 45{dup mul exch dup mul
  add 1. exch sub}setscreen} def

These numbers (raster frequency and angle) are probably ok for
600dpi; otherwise, experiment a bit.

Call it coarse.pro and give dvips a parameter -h coarse.pro

-- 
Siep Kroonenberg
[EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] Greek font

2003-09-10 Thread Siep Kroonenberg
On Mon, Sep 08, 2003 at 04:40:31PM +0200, Thomas A. Schmitz wrote:
> Willi,
> thanks for being supportive. In the meantime, I have taken another 
> step: by using tftopl, I produced a .pl-file of my font and edited it. 
> I inserted a "LIGTABLE" with ligature (and kerning) information. After 
> using pltotf and using the new .tfm, I had partial success: I get a lot 
> of the ligatures I want! However, a few problems remain:
> 1) The "space"-glyph has vanished. I assume it must somehow have been 
> mismapped. Does anybody have an idea how I could remap this?

TeX doesn't use a space glyph. Instead, there is a fontdimen
space and there may be boundarychar kerns and ligatures to replace
space kerns and -ligs.

If you want more complete documentation: get a TeX source tree, run
weave on pltotf.web or vptovf.web and compile the resulting TeX
file.

-- 
Siep Kroonenberg
[EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] searchable mailinglist archive

2003-08-29 Thread Siep Kroonenberg
On Fri, Aug 29, 2003 at 03:33:21PM +0200, Patrick Gundlach wrote:
> Hello out there,
> 
> is there a searchable mailinglist archive anywhere on the internet?
> Slaveks archive seems to be really outdated
> (http://ml-archives.mini.pw.edu.pl/). 
> 
> Patrick
> -- 
> Silent is the goldfish in its bowl
> ___
> ntg-context mailing list
> [EMAIL PROTECTED]
> http://www.ntg.nl/mailman/listinfo/ntg-context

There is http://www.ntg.nl/pipermail/ntg-context/, although isn't
exactly searchable.

-- 
Siep Kroonenberg
[EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] texexec

2003-06-14 Thread Siep Kroonenberg
On Sat, Jun 14, 2003 at 11:30:08AM +0200, Hans Hagen wrote:
> At 11:01 12/06/2003 -0400, you wrote:
> 
> >I've been a debian woody user for a long time, now,
> >and the conclusion I eventually came to was this:
> >
> >  * debian's strict adherence to directory structure
> >conventions has made the tetex package difficult
> >to maintain, since it's split into many parts,
> >spread all over the filesystem.  (This is really
> >just an inference of mine.)
> 
> The nice thing about tex is that it is quite well organized (in its own 
> tree) and splitting it up over many places makes it a pain to maintain; for 
> instance, do the debian people offer extensive cleanup-remove scripts? I 
> wonder how the tex community is supposed to provide support to users if all 
> redistributers would change the tex tree organization to their needs.

Debian is pretty good about package management, including clean-up;
for end users such divisions are normally no problem.

I would consider it the responsibility of the Debian teTeX
maintainers to handle problems resulting from their adaptations. But
since I use my own hand-compiled teTeX I have no opinion to offer
how well the Debian teTeX maintainers do their job.

Siep


-- 
Siep Kroonenberg
[EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context


Re: [NTG-context] encodings

2003-06-07 Thread Siep Kroonenberg
On Sat, Jun 07, 2003 at 08:46:32PM +0900, Matthew Huggett wrote:
> Hi:
> 
> Not a direct ConTeXt question, but I was wondering if Hans or someone 
> else could suggest a good resource for learning about encodings.
> Thanks
> Matt

You could start out with the font chapter of the dvips manual. Much
of it also applies to font handling by pdftex.

-- 
Siep Kroonenberg
[EMAIL PROTECTED]
___
ntg-context mailing list
[EMAIL PROTECTED]
http://www.ntg.nl/mailman/listinfo/ntg-context