ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* m-bib bug?
@ 2005-03-18  3:00 ishamid
  2005-03-18  9:37 ` Taco Hoekwater
  0 siblings, 1 reply; 3+ messages in thread
From: ishamid @ 2005-03-18  3:00 UTC (permalink / raw)


Dear posse,

Some settings of \setupindenting[] cause the first line created by 
\placepublications to be offset to the left; is this a bug? is there a 
workaround?

(And thank you Taco/Hans for helping me with my ``sneaky'' accent 
redefinitions!)

Best
Idris

===============test-bib.tex=================
\setupoutput[pdftex]

\def\SHIFT#1{\dimen0=.00#1ex \multiply\dimen0 by\fontdimen1\font
    \kern-.0156\dimen0} % compensate for slant/italic in lower accents

\unexpanded\def\h#1{{\oalign{\relax#1\crcr\hidewidth\SHIFT{34}%
    \vbox to.2ex{\hbox{\char'25}\vss}\hidewidth}}}

\unexpanded\def\~#1{{\struttedbox{\accent"7E #1}}}

\def\AHSAI{A\d hs\=a'\~\i}

%\setupindenting[medium,next]
\setupindenting[medium]

\usemodule[bib]

\starttext

\cite[ahsaif]

\cite[ahsaijk]

\cite[ahsaism]

\section{references}

\blank[big]

{\tfx\setupinterlinespace \placepublications }

\stoptext
============================================
===============test-bib.bbl=================
\startpublication[k=ahsaif,
                  t=book,
                  a=\AHSAI,
                  y=1856,
                  s=\AHSAI1856]
%\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\title{\v Sar\.hu \~al-Faw\={a}\'id}
\pubname{n.p.}
\city{Tabriz}
\pubyear{1856}
\stoppublication

\startpublication[k=ahsaijk,
                  t=book,
                  a=\AHSAI,
                  y=1856--59,
                  s=\AHSAI1856--59]
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\title{Jaw\={a}mi\`u \~al-Kalim}
\pubname{n.p.}
\note{Two volumes}
\city{Tabriz}
\pubyear{1856--59}
\stoppublication

\startpublication[k=ahsaism,
                  t=book,
                  a=\AHSAI,
                  y=1861a,
                  s=\AHSAI1861--1]
\author[\v Say\h h]{A\.hmad Ibn Zayni \Al-D\={i}n}[A.]{}{Al-\AHSAI}
\title{\v Sar\.hu \~al-Ma\v s\={a}\`ir}
\pubname{n.p.}
\city{Tehran}
\pubyear{1861}
\stoppublication
============================================

============================
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

* Re: m-bib bug?
  2005-03-18  3:00 m-bib bug? ishamid
@ 2005-03-18  9:37 ` Taco Hoekwater
  2005-03-18 18:17   ` Idris Samawi Hamid
  0 siblings, 1 reply; 3+ messages in thread
From: Taco Hoekwater @ 2005-03-18  9:37 UTC (permalink / raw)




ishamid wrote:
> Dear posse,
> 
> Some settings of \setupindenting[] cause the first line created by 
> \placepublications to be offset to the left; is this a bug? is there a 
> workaround?

Definately a bug, but the other way around. The paragraphs within
the bibliography list should not listen to the 'indenting' settings.
Below is a temporary solution, it will be fixed in the main module
soon.


> \usemodule[bib]

At this point, add this line:

   \setuppublicationlist[before={\setupindenting[none]}]

Greetings, Taco

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

* Re: m-bib bug?
  2005-03-18  9:37 ` Taco Hoekwater
@ 2005-03-18 18:17   ` Idris Samawi Hamid
  0 siblings, 0 replies; 3+ messages in thread
From: Idris Samawi Hamid @ 2005-03-18 18:17 UTC (permalink / raw)


On Fri, 18 Mar 2005 10:37:27 +0100, Taco Hoekwater <taco@elvenkind.com> 
wrote:

>> \usemodule[bib]
>
> At this point, add this line:
>
>    \setuppublicationlist[before={\setupindenting[none]}]

Works: thnx very much!

Idris

-- 
Professor Idris Samawi Hamid
Department of Philosophy
Colorado State University
Fort Collins, CO 80523

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

end of thread, other threads:[~2005-03-18 18:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-18  3:00 m-bib bug? ishamid
2005-03-18  9:37 ` Taco Hoekwater
2005-03-18 18:17   ` Idris Samawi Hamid

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).