ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* m-bib bbl problem
@ 2000-05-04 12:00 Michal Kvasnicka
  2000-05-04 22:50 ` Hans Hagen
  0 siblings, 1 reply; 2+ messages in thread
From: Michal Kvasnicka @ 2000-05-04 12:00 UTC (permalink / raw)


Hello!

Many thanks for your kind answers. And here are
some more questions:

1) If I set this:
	\setuppublications
	[database=ekonomie,
	variant=cze,
	voorlijst={\subject{Pou\v{z}it\'a literatura}},
	sorttype=bbl]
I got no references in the final list. The problem is with
setting ``sorttype=bbl'' -- without it it works well. Probably
bug in the the m-bib. How to improve it?

2) I want to typeset ISBN and ISSN number that way that any
hyphen is changed to \discretionary{-}{-}{-}. I defined
a macro:
	{\catcode`\-=\@@active%
	 \global\def\czechhyph{%
		\let\pom-%
		\catcode`\-=\@@active%
		\def-{\discretionary{\pom}{\pom}{\pom}}%
 }
}
and put it in the bibl-cze.tex (my version of bibl-*.tex).
Then I added to
	\setuppublicationlayout[book]{%
this very line:
	\insertisbn{\bgroup\czechhyph ISBN }{\egroup.}{}%
but it does nothing at all. I guess the \czechhyph macro
works well. What's the problem and how to fix it?

Many thanks for your answers and best wishes to you.

M.K.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: m-bib bbl problem
  2000-05-04 12:00 m-bib bbl problem Michal Kvasnicka
@ 2000-05-04 22:50 ` Hans Hagen
  0 siblings, 0 replies; 2+ messages in thread
From: Hans Hagen @ 2000-05-04 22:50 UTC (permalink / raw)
  Cc: ntg-context

At 02:00 PM 5/4/2000 +0200, Michal Kvasnicka wrote:

>works well. What's the problem and how to fix it?

Since you would have to make hyphens globally active now which would break
much.

A better approach is to use |-| in the number. Or, alternatively a macro
that parses the text, like \hyphenatedurl does. Something: 

command=\hyphenatedstring

like:

\def\hyphenatedstring#1%
  {\bgroup
   \nohyphens
   \def\next##1{##1\doif{##1}{-}{\allowbreak}}%
   \handletokens#1\with\next
   \egroup}

\hyphenatedstring{ISBN-12345-23-45}

Taco, is there already a 'command' parameter in the bib module?  

Hans

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
      tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.nl
-----------------------------------------------------------------


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-05-04 22:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-05-04 12:00 m-bib bbl problem Michal Kvasnicka
2000-05-04 22:50 ` Hans Hagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).