ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* ConTeXt MKIV - vertical titles in bibliography
@ 2009-10-28  4:16 dr. joel mendoza y carpio
  2009-10-28  6:27 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: dr. joel mendoza y carpio @ 2009-10-28  4:16 UTC (permalink / raw)
  To: ntg-context

good day!

been trying to come up with a modified bibliography style file based  
on bibl-apa.tex but i just can't seem to make both the article and  
book titles vertical in the bibliography output of /placepublications.  
i tried to remove the \it following the \bgroup commands in the bibl-  
file to no avail.

any help would be greatly appreciated.

thanks.

joel mendoza
___________________________________________________________________________________
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
___________________________________________________________________________________


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

* Re: ConTeXt MKIV - vertical titles in bibliography
  2009-10-28  4:16 ConTeXt MKIV - vertical titles in bibliography dr. joel mendoza y carpio
@ 2009-10-28  6:27 ` Taco Hoekwater
  0 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2009-10-28  6:27 UTC (permalink / raw)
  To: mailing list for ConTeXt users

dr. joel mendoza y carpio wrote:
> good day!
> 
> been trying to come up with a modified bibliography style file based on 
> bibl-apa.tex but i just can't seem to make both the article and book 
> titles vertical in the bibliography output of /placepublications. i 
> tried to remove the \it following the \bgroup commands in the bibl- file 
> to no avail.
> 
> any help would be greatly appreciated.

Vertical? Can you please post me an example file?

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
___________________________________________________________________________________


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

* Re: ConTeXt MKIV - vertical titles in  bibliography
  2009-11-01 16:51 dr. joel mendoza y carpio
@ 2009-11-02  7:40 ` Taco Hoekwater
  0 siblings, 0 replies; 4+ messages in thread
From: Taco Hoekwater @ 2009-11-02  7:40 UTC (permalink / raw)
  To: mailing list for ConTeXt users



dr. joel mendoza y carpio wrote:
> hi!
> 
> sorry if i wasn't clear enough with what i intended to put across.
> 
> in the bibliography entry below, the title of the book is not italicized.
> 
> by default, the apa style will italicize this instead.

Form the many \/ commands in the second arguments to the \inserttitle
commands, it looks like italics was in earlier, which makes me wonder
why it was then removed again. As a result, I am not immediately eager
to change the core distro.

For you: find the \inserttitle (or \insertarttitle) commands in
bibl-apa, and change the occurrences of \inserttitle {\bgroup} into
\inserttitle {\bgroup \it}

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
___________________________________________________________________________________


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

* Re: ConTeXt MKIV - vertical titles in  bibliography
@ 2009-11-01 16:51 dr. joel mendoza y carpio
  2009-11-02  7:40 ` Taco Hoekwater
  0 siblings, 1 reply; 4+ messages in thread
From: dr. joel mendoza y carpio @ 2009-11-01 16:51 UTC (permalink / raw)
  To: ntg-context

[-- Attachment #1: Type: text/plain, Size: 149 bytes --]

hi!

sorry if i wasn't clear enough with what i intended to put across.

in the bibliography entry below, the title of the book is not  
italicized.

[-- Attachment #2: PastedGraphic-1.pdf --]
[-- Type: application/pdf, Size: 49091 bytes --]

[-- Attachment #3: Type: text/plain, Size: 10241 bytes --]


by default, the apa style will italicize this instead.

i tried modifying the bibl-apa.tex to contain the following but to no  
avail.

\unprotect

\setupcite
        [author,year]
        [\c!andtext={ and },
         \c!otherstext={ et al.},
         \c!pubsep={, },
         \c!lastpubsep={ and },
         \c!compress=\v!no,
         \c!inbetween={ },
         \c!left={(},
         \c!right={)}]

\setupcite
        [authoryear]
        [\c!andtext={ and },
         \c!otherstext={ et al.},
         \c!pubsep={, },
         \c!lastpubsep={ and },
         \c!compress=\v!yes,
         \c!inbetween={ },
         \c!left={(},
         \c!right={)}]

\setupcite
        [authoryears]
        [\c!andtext={ and },
         \c!otherstext={ et al.},
         \c!pubsep={, },
         \c!lastpubsep={ and },
         \c!compress=\v!yes,
         \c!inbetween={, },
         \c!left={(},
         \c!right={)}]

\setupcite
        [key,serial,authornum,page,short,type,doi,url]
        [\c!andtext={ and },
         \c!otherstext={ et al.},
         \c!pubsep={, },
         \c!lastpubsep={ and },
         \c!compress=\v!no,
         \c!inbetween={ },
         \c!left={[},
         \c!right={]}]

\setupcite
        [num]
        [\c!andtext={ and },
         \c!otherstext={ et al.},
         \c!pubsep={, },
         \c!lastpubsep={ and },
         \c!compress=\v!yes,
         \c!inbetween={--},
         \c!left={[},
         \c!right={]}]


\setuppublications[%
     \c!sorttype=bbl,
     \c!criterium=cite,
     \c!refcommand=authoryears,
     \c!numbering=\v!no,
     \c!autohang=\v!no]

\setuppublicationlist
    [\c!width=24pt,
     \c!artauthor=\invertedshortauthor,
     \c!editor=\invertedshortauthor,
     \c!author=\invertedshortauthor,
     \c!namesep={, },
     \c!lastnamesep={ and },
     \c!finalnamesep={ and },
     \c!firstnamesep={, },
     \c!juniorsep={ },
     \c!vonsep={ },
     \c!surnamesep={, },
     \c!authoretallimit=6,
     \c!editoretallimit=6,
     \c!artauthoretallimit=6,
     \c!authoretaldisplay=6,
     \c!editoretaldisplay=6,
     \c!artauthoretaldisplay=6,
     \c!authoretaltext={ et al.},
     \c!editoretaltext={ et al.},
     \c!artauthoretaltext={ et al.},
]

\def\maybeyear#1{#1}

\def\etalchar#1{#1}

%D \macros{insertchapter,insertpublisher}

%D Some shortcuts.

% ((#1(type\ |)chapter#2)|#3)

\def\insertchap#1#2#3%
   {\insertchapter
     {#1\insertbibtype{}{\ }{chapter\ }}{#2}%
     {#3}}

% #1city, country: pubname#2
% #1country: pubname#2
% #1pubname#2
% #1city, country#2
% #3

\def\insertpublisher#1#2#3%
    {\insertpubname
        {\insertcity
             {#1}
             {\insertcountry{, }{}{}: }%
             {#1\insertcountry{}{: }{}}}%
        {#2}%
        {\insertcity
             {#1}
             {\insertcountry{, }{}{#2}}%
             {\insertcountry{#1}{#2}{#3}}}%
     }

\def\insertorg#1#2#3%
    {\insertorganization
        {\insertcity
             {#1}
             {\insertcountry{, }{}{#2}: }%
             {\insertcountry{}{: }{#2}}}%
        {}%
        {\insertcity
             {#1}
             {\insertcountry{, }{}{#2}}%
             {\insertcountry{}{#2}{#3}}}%
     }



\setuppublicationlayout[article]{%
    \insertartauthors{}{ }{\insertthekey{}{ }{}}%
    \insertpubyear{(}{). }{\unskip.}%
    \insertarttitle{\bgroup }{\egroup. }{}%
    \insertjournal{\bgroup }{\egroup}
     {\insertcrossref{In }{}{}}%
    \insertvolume
     {\bgroup , }
     {\egroup\insertissue{\/(}{)}{}\insertpages{, }{.}{.}}
     {\insertpages{, pp. }{.}{.}}%
    \insertnote{ }{.}{}%
    \insertcomment{}{.}{}%
}

\newif\ifeditedbook
\setuppublicationlayout[book]{%
    \insertauthors{}{ }{\inserteditors{}{, editor%
                          \ifnum\getvalue{editor@num}> 1 s\fi
                              \ \global\editedbooktrue
                      }{\insertthekey{}{. }{}}}%
    \insertpubyear{(}{). }{\unskip.}%
    \inserttitle
         {\bgroup }%
         {\/\egroup
          \ifeditedbook
            \global\editedbookfalse
            \insertvolume
                 { Number~}%
                 {\insertseries
                     { in~\bgroup}%
                     {\egroup. }%
                     {\insertcrossref{ in~}{}{. }}}%
                 {\insertseries{ }{.}{.}}%
         \else
        \insertcrossref
         {\insertchap{, }{}{}%
          \insertpages{, pages }{. }{. }%
          \insertvolume{Volume~}{ of~}{}%
          }%
         {}%
         {\insertvolume
                    {, volume~}%
                    {\insertseries
                       { of~\bgroup}%
                       {\egroup}
                       {}}
                    {}%
                    \insertchap{, }{}{}%
                    \insertpages{, pages }{.}{.}%
                 }%
         \fi}%
         {}%
    \insertedition{ }{ edition}{}%
    \insertpublisher{ }{.}{.}%
    \insertpages{ }{p. }{ }%
    \insertnote{}{.}{}%
}

\setuppublicationlayout[inbook]{%
    \insertauthors{}{ }{\inserteditors{}{, editor%
                          \ifnum\getvalue{editor@num}> 1 s\fi
                              \ \global\editedbooktrue
                      }{\insertthekey{}{. }{}}}%
    \insertpubyear{(}{). }{\unskip.}%
    \inserttitle
      {\bgroup }%
      {\/\egroup
       \ifeditedbook
          \global\editedbookfalse
          \insertvolume
            { number~}%
            {\insertseries
               { in~\bgroup}%
               {\egroup. }%
               {\insertcrossref{ in~}{}{.}}}%
            {\insertseries{ }{.}{}}%
       \else
         \insertcrossref
           {\insertchap{, }{}{}%
            \insertpages{, pages }{. }{. }%
            \insertvolume{Volume~}{ of~}{}%
            }%
           {}%
           {\insertvolume
               {, volume~}%
               {\insertseries
                  { of~\bgroup}%
                  {\egroup}
                  {}}
               {}%
            \insertchap{, }{}{}%
            \insertpages{, pages }{.}{}%
            }%
         \fi}%
      { }%
    \insertedition{ }{ edition.}{}%
    \insertpublisher{ }{.}{.}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[booklet]{%
    \insertauthors{}{ }{\insertthekey{}{. }{}}%
    \insertpubyear{(}{). }{}%
    \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
    \insertedition{ }{ edition.}{}%
    \insertpublisher{ }{.}{.}%
    \insertpages{}{p. }{}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[manual]{%
    \insertauthors{}{ }{\insertthekey{}{. }{}}%
    \insertpubyear{(}{). }{}%
    \inserttitle{\bgroup }{\/\egroup \insertseries{ (}{)}{}. }{}%
    \insertedition{ }{ edition.}{}%
    \insertorg{ }{.}{.}%
    \insertpages{}{p. }{}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[incollection]{%
    \insertartauthors{}{ }{\insertthekey{}{. }{}}%
    \insertpubyear{(}{). }{}%
    \insertarttitle{\bgroup }{\egroup. }{}%
    \inserttitle
     {In \inserteditors{}%
         {, editor\ifnum\getvalue{editor@num}> 1 s\fi, }%
         {}%
     \bgroup}%
     {\egroup
          \insertseries
               {\insertvolume{, number }{~in }{ }}%
               {}%
               {}%
          \insertchap{\unskip, }{ }{ }%
          \insertpages{\unskip, pages~}{. }{\unskip. }%
           \insertedition{ }{ edition}{}%
           \insertpublisher{ }{.}{.}%
         }%
         {In \insertcrossref{}{}{}%
          \insertchap{\unskip, }{ }{ }%
          \insertpages{\unskip, pages~}{. }{\unskip. }%
         }%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[inproceedings]{%
    \insertauthors{}{ }{}%
    \insertpubyear{(}{). }{}%
    \insertarttitle{\bgroup }{\egroup. }{}%%
    \inserttitle
     {In \inserteditors{}%
         {, editor\ifnum\getvalue{editor@num}> 1 s\fi, }%
         {}%
     \bgroup}%
     {\egroup
          \insertseries
               {\insertvolume{, number }{~in }{ }}%
               {}%
               {}%
          \insertchap{\unskip, }{ }{ }%
          \insertpages{, pages~}{}{}%
          \insertorg{. }{.}{.}%
         }%
         {In \insertcrossref{}{}{}%
          \insertchap{\unskip, }{ }{ }%
          \insertpages{\unskip, pages~}{. }{\unskip. }%
         }%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[proceedings]{%
    \inserteditors{}{, editor%
                          \ifnum\getvalue{editor@num}> 1 s\fi
                              \ \global\editedbooktrue
                      }{\insertthekey{}{ }{}}%
    \insertpubyear{(}{). }{}%
    \inserttitle
     {\bgroup}%
     {\egroup
      \insertseries
         {\insertvolume{, number }{~in }{ }}%
         {}%
         {}%
      \insertchap{\unskip, }{ }{ }%
      \insertpages{, pages~}{}{}%
      \insertorg{. }{.}{.}%
     }%
     {}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[mastersthesis]{%
    \insertauthors{}{ }{}%
    \insertpubyear{(}{). }{}%
    \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
    \insertbibtype{}{, }{Master's thesis, }%
    \insertpublisher{ }{.}{.}%
    \insertpages{ }{p. }{}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[phdthesis]{%
    \insertauthors{}{ }{}%
    \insertpubyear{(}{). }{}%
    \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
    \insertbibtype{}{, }{PhD thesis,}%
    \insertpublisher{ }{.}{.}%
    \insertpages{ }{ p. }{}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[misc]{%
    \insertauthors{}{ }{\insertthekey{}{. }{}}%
    \insertpubyear{(}{). }{}%
    \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}. }{}%
    \insertpublisher{ }{.}{.}%
    \insertpages{ }{p. }{}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[techreport]{%
    \insertauthors{}{ }{}%
    \insertpubyear{(}{). }{}%
    \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
    \insertbibtype{}{\insertvolume{ }{, }{, }}{Technical Report}%
    \insertpublisher{ }{.}{.}%
    \insertpages{ }{p. }{}%
    \insertnote{ }{.}{}%
}

\setuppublicationlayout[unpublished]{%
    \insertauthors{}{ }{}%
    \insertpubyear{(}{). }{}%
    \inserttitle{\bgroup }{\egroup \insertseries{ (}{)}{}. }{}%
%   \insertpublisher{ }{.}{.}%
    \insertpages{ }{p. }{}%
    \insertbibtype{(}{)}{}%
    \insertnote{ }{.}{}%
}

\protect

how you can help me with this. :-) thanks so much.

joel mendoza

[-- Attachment #4: Type: text/plain, Size: 486 bytes --]

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

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

end of thread, other threads:[~2009-11-02  7:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-28  4:16 ConTeXt MKIV - vertical titles in bibliography dr. joel mendoza y carpio
2009-10-28  6:27 ` Taco Hoekwater
2009-11-01 16:51 dr. joel mendoza y carpio
2009-11-02  7:40 ` Taco Hoekwater

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