On 7/31/2017 9:28 PM, Gerion Entrup wrote:
Am Montag, 31. Juli 2017, 04:23:16 CEST schrieb Gerion Entrup:

I need your help again. I've a bibliography and some entries references to
websites. Unfortunately the URL is not always rendered and the name ist always
parsed as name of a person, not from an organisation etc.

What I want to achieve is to use the standard aps style, but with additionally
the following two rules:
1. The name is always rendered without abbrevations (I guess, this is
2. If an URL is given, it is always rendered.

My input is a bib-file. Here is a minimal example:

         author = "Apple Inc.",
         note = "Online; accessed at 31-July-2017",
         title = "About Objective-C",
         url = 
         year = "2014"


According to Apple Inc., Objective-C is the main programming language, when 
writing software for MacOS~\cite[objective-c].


I've tried to understand the manual, yout can see some of my attempts in the
minimal example. But I don't get really far.

Can you give me a hint?

I have "fixed" this with directly modifying the publ-imp-aps.mkvi. I guess,
this is the worst way to achive this thing, but I don't know a better one.

Here is the patch, if someone is interested.


--- publ-imp-aps.mkvi.original  2017-07-31 21:23:14.736856430 +0200
+++ publ-imp-aps.mkvi   2017-07-31 21:24:46.860462851 +0200
@@ -58,7 +58,7 @@
-  [\c!authorconversion=normalshort]
+  [\c!authorconversion=normal]
@@ -1117,6 +1117,12 @@
\startsetups btx:aps:list:misc
+    \btxdoif {url} {
+        \btxspace
+        \btxleftparenthesis
+        \goto{\hyphenatedurl{\btxflush{url}}}[url(\btxflush{url})]
+        \btxrightparenthesis
+    }
      % Note that organization is an "ignored" field.

just load the aps style and then in your own style put the overloads (you can then use \setupbtx)

                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
If your question is of interest to others as well, please add an entry to the 

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

Reply via email to