[NTG-context] Quotation marks

2019-07-19 Thread Dmitry Starostin
I understand it might have been deliberately and for various reasons, but
ConTeXt has no analogue for {``} and {''} for quotes. \quotation is a
replacement, but it is awkward if you write a draft in ConTeXt and make the
final variant in pdfLatex. Is there a ready solution for the quotation
marks as marked out in the text? Or one needs to write his own macro for
this?
___
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
___


[NTG-context] Creating one's own style

2019-05-18 Thread Dmitry Starostin
Thank you for the instructions on how to make one's own style.

I only need to change the formatting in the bibliography list, the
formatting of the notes in the text is entirely up to the requirement.

A strange effect (full MWE in attachment):

\btxdoifelse {address} {
   {\btxspace \emdash \btxspace \btxflush{address} \btxcomma}
   }

   \btxdoifelse {year} {
  {\btxspace \btxflush{year} \btxperiod}
  }

gives "year 2000", but throw out the "address" part, and the year goes
straight without the 'year' part.

   \btxdoifelse {year} {
  {\btxspace \btxflush{year} \btxperiod}
  }

if you add publisher between the address and the year, then it says
"publisher Brill"

\btxdoifelse {publisher} {
{\btxspace \btxflush{publisher} \btxcomma}
}

Where does it pull it up from?


Context_bib.tex
Description: Binary data
___
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
___


[NTG-context] (no subject)

2019-05-18 Thread Dmitry Starostin
Thank you for the instructions on how to make one's own style.

I only need to change the formatting in the bibliography list, the
formatting of the notes in the text is entirely up to the requirement.

A strange effect (full MWE in attachment):

\btxdoifelse {address} {
   {\btxspace \emdash \btxspace \btxflush{address} \btxcomma}
   }

   \btxdoifelse {year} {
  {\btxspace \btxflush{year} \btxperiod}
  }

gives "year 2000", but throw out the "address" part, and the year goes
straight without the 'year' part.

   \btxdoifelse {year} {
  {\btxspace \btxflush{year} \btxperiod}
  }

if you add publisher between the address and the year, then it says
"publisher Brill"

\btxdoifelse {publisher} {
{\btxspace \btxflush{publisher} \btxcomma}
}

Where does it pull it up from?


Context_bib.tex
Description: Binary data
___
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
___


[NTG-context] Remove italics from bibliography list

2019-05-17 Thread Dmitry Starostin
I tried several variants, but I cannot find where exactly the switch
happens.

\definebtx[apa:list:title:incollection][apa:list:title][style=]
\definebtx[apa:list:title:book][apa:list:title][style=]

\definebtx[apa:list:journal][apa:list][style=]
___
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
___


[NTG-context] Emdash

2019-05-17 Thread Dmitry Starostin
btxspace and btxsemicolon do exist, but how does one do a 'em-dash'? What
is the best way to define it?
___
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
___


[NTG-context] Modifying the place of the year in APA.

2019-05-16 Thread Dmitry Starostin
In the publ-imp-apa.mkvi (is it already VI?) I found the key line which I
would like to modify:

\startsetups btx:apa:list:book
\texdefinition{btx:apa:authoryear}
\texdefinition{btx:apa:title-if-not-placed}
...
\stopsetups

This, as I understand, determines the order in which the items are listed.
I need to: 1. place the year in the end 2. remove parentheses.

Do I start with btx:apa:authoryear and redefine it?

Do I use \texdefinition{btx:apa:suffixedyear} separately?

and:

in the following, where is the parenthesis?

\starttexdefinition unexpanded btx:apa:suffixedyear
\btxdoifelse {year} {
\btxflush{year}
\btxflushsuffix
\btxdoif {month} { % month and day optional in publ-imp-apa.lua
\btxcomma
\btxflush{month}
\btxdoif {day} {
\btxspace
\btxflush{day}
}
}
}
___
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
___


[NTG-context] APA

2019-05-16 Thread Dmitry Starostin
I am guessing the parameter for square brackets:

btx:apa:delim:brackets?
btx:apa:brackets?
___
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
___


[NTG-context] Styles

2019-05-16 Thread Dmitry Starostin
1. If I need square brackets in apa instead of parentheses, is there an
easy switch?

2. There was a suggestion to write one's own style. But where can one look
in the standalone ConTeXt distribution for the aps or apa style file to
modify it? At least, what is the file extension?
___
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
___


[NTG-context] Hyphenation questions

2019-04-24 Thread Dmitry Starostin
1. is there an analog to \hyp{} command from the 'hyphenat' package? Double
words with a dash happen all too often.

2. how to switch language for just three words for correct hyphenation?

3. if the citation in APS format falls out of the right margin, what needs
to be changed to adjust it?

4. In APS, I cannot figure out how to make a space appear between the
numbers for cited sources. [1, p. 1,2, p. 2]. But [1, p. 1, 2, p. 2] is
what is desired. In one case it did appear automatically, but all others
don't work.

\cite[righttext={{{, p.~1}},{{, p.~2}}}][book1,book2]
___
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
___


[NTG-context] Fine-tuning of aps style

2019-04-14 Thread Dmitry Starostin
To cite like [1, p. 101]

\cite[righttext={\nbsp p.~101}][Hankins:2014]

works, but has no comma

\cite[righttext={, p.~101}][Hankins:2014]

produces no page

\cite[righttext={,\nbsp p.~101}][Hankins:2014]

gives no page at all

\cite[righttext={\nbsp, p.~101}][Hankins:2014]

gives no page at all.

righttext seems to be reluctant over the initial comma right after the
reference number.
___
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
___


[NTG-context] How to make the adjustments to the aps style?

2019-04-13 Thread Dmitry Starostin
1. to cite in the order of appearance (probably one setting)
2. 'author initials' instead of the default 'initials authors'.
___
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
___


[NTG-context] (no subject)

2019-04-04 Thread Dmitry Starostin
In terminal:

mtxrun --autogenerate --script context --autopdf Test.tex

->

resolvers   | initialization | fatal error: kpse library is accessed
(key: default_texmfcnf)

All works from within TexShop.
___
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
___


[NTG-context] Luametatex

2019-04-03 Thread Dmitry Starostin
To sum up problems of setting up after installing context-lmtx (context
mkiv on my machine is gone, so these are quite pressing questions):

Some were addressed, but I cannot resolve them

1. luametatex: works as intended from within TexShop, but 'command not
found' from terminal $CONTEXTHOME/tex/texmf-osx-64/bin/even after
chmod 755.

What to source?

2. ./luametatex 'no format given'

3. there used to be context --run, now there isn't.
___
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
___


[NTG-context] (no subject)

2019-03-22 Thread Dmitry Starostin
I started getting a bug, updated today and am still getting it. I hope
someone can at least make a note of it, if not provide a
suggestion/solution.

MWE included.

The bug is the 'incollection' and 'inbook' entries in the bibliography have
1. have page numbers in parentheses for apa and chicago 2. have no book
title.

It worked just a week ago.


Test_Context_html.tex
Description: Binary data
___
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
___