From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI autolearn=ham autolearn_force=no version=3.4.4 Received: from cgl.ntg.nl (Cgl.ntg.nl [5.39.185.202]) by inbox.vuxu.org (Postfix) with ESMTP id B6C692DFB7 for ; Mon, 14 Oct 2024 18:27:14 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id CC884485B28 for ; Mon, 14 Oct 2024 18:20:03 +0200 (CEST) Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=pass (1024-bit key) reason="pass (just generated, assumed good)" header.d=ntg.nl DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ntg.nl; h= content-transfer-encoding:content-type:content-type :list-unsubscribe:list-subscribe:list-post:list-owner:list-help :list-archive:archived-at:list-id:subject:subject:reply-to :precedence:content-language:in-reply-to:mime-version:user-agent :date:date:message-id:from:from:references:received:received :received:received:received:received:received; s=cgl; t= 1728922803; x=1731514804; bh=238E+p7pA30RzRnCtRiGzM1S42WYokABiTy S7kyfmNQ=; b=bwN7BjmJAJzb/P6HcSz4rpAwmipbUDOLD18vjXq4xr9a4l0YjoQ PKOkazPRCYL6A9E8Yqk1QyY/mXwdvnOyvBWSjwc+17aJD0G8dmANsgTXtEp/lQ0h Rj1vY+6G7ozMij6H1DIH1KwEZw8CytwQir2IwK8s6dXkj4vU5SD01S94= X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Authentication-Results: cgl.ntg.nl (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" header.d=gmail.com Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1NUAx4uP-TfT for ; Mon, 14 Oct 2024 18:20:03 +0200 (CEST) Received: from cgl.ntg.nl (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id DA9B848569A for ; Mon, 14 Oct 2024 18:19:34 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by cgl.ntg.nl (Postfix) with ESMTP id 6D3D448533D for ; Mon, 14 Oct 2024 18:19:15 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at cgl.ntg.nl Received: from cgl.ntg.nl ([127.0.0.1]) by localhost (cgl.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Gyd30mfBTDtn for ; Mon, 14 Oct 2024 18:19:15 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.208.43; helo=mail-ed1-f43.google.com; envelope-from=wolfgang.schuster.lists@gmail.com; receiver= Received: from mail-ed1-f43.google.com (mail-ed1-f43.google.com [209.85.208.43]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cgl.ntg.nl (Postfix) with ESMTPS id C9F474851DD for ; Mon, 14 Oct 2024 18:18:37 +0200 (CEST) Received: by mail-ed1-f43.google.com with SMTP id 4fb4d7f45d1cf-5c9634c9160so2211021a12.2 for ; Mon, 14 Oct 2024 09:18:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728922717; x=1729527517; darn=ntg.nl; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject:from:to:cc :subject:date:message-id:reply-to; bh=MY6OXDym5k5I0ZCsuAfbjb8cKWP/kKUmadhOgG75HHA=; b=GRQp8RauQRKYUbkbhmjtodgQJkZa44Q9GflJk5h6WOgYReV4GO46J+T8ZYYn5hBq+X FNfJRHri8mJYHHgTv2V9fqi1dJFahl31/Hkh3K0ErYMQ9R388vH2qOxUAR692SPhZQPK vBAwg4tGZiJnngU97Z4CaoS3bNtjKIX10nDZk9TPbos05vIJep2C/dpdp5e5fhqvnT+Y N5t2xpuOF8UonHkTLf9vdjJ+RsKuMSYI62toxTenRnyDdV3kEkhy0Y8LllM9r+8gyVO3 RkzqOg3NluJCUOaG3UkaetGTHO0C4L4I4Kl1Rhurif/AQgOYPVCFQozvtax0Hu5n4fVw jjWQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728922717; x=1729527517; h=content-language:content-transfer-encoding:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=MY6OXDym5k5I0ZCsuAfbjb8cKWP/kKUmadhOgG75HHA=; b=pRHwJt6aVL2s0iqNVQ8B2ML93UkpVaDb0VZvWaL13erGwkkNQBJ3gkGJ+U4qru5Lc4 kOQxNvOoyHjJTO7b6ZCqyzfvmL2IhegOuT8QpetyN5gDaWf/teUpAycyQjc484hdcS9p 7wZ9i15lMs55+08poAJIRUJDU5b/hoXvRK9J4nJHi6pxSgTOJmggVkau9qCijy5t3Je/ WAMmSQpJQteEO7VvxvmxdtnhlT/ekpw8Lxu85vu2XODtoKYmFFO9yvnwkT3CYfSpMefc XrZr5MrkLgE8p+oyoNZsVIhZgW2pOg4RkmM0OojJZlO03pSz7/KQ+ndJCnLAV67x/JXG DF7g== X-Gm-Message-State: AOJu0YzGLHe9/vGE46lRcuuGHHyTMTJ8NatDFTwqbyZHr2EYrF3nRSsD 0SlR72/66fmUMHlhQ/jIKixcENI/9KeXVcgJTr9k2gmS2JtrqCVf X-Google-Smtp-Source: AGHT+IGhmCi3YkyZB0/E/y6FlTllox3cqPodNsL6s81gpf8M/5Xbs7xqji/iW+u0alnBrpQBqyEGAg== X-Received: by 2002:a17:907:d2df:b0:a99:f656:2bd8 with SMTP id a640c23a62f3a-a99f65649f5mr561023766b.42.1728922716730; Mon, 14 Oct 2024 09:18:36 -0700 (PDT) Received: from ?IPv6:2a02:810d:a8bf:e1a8::4b99? ([2a02:810d:a8bf:e1a8::4b99]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9a01626079sm258883466b.221.2024.10.14.09.18.36 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 14 Oct 2024 09:18:36 -0700 (PDT) To: mailing list for ConTeXt users , wangzhongtian References: <587524138.5641.1728863464502@189mail-nwebmail-180524-dep-84f7586dd5-lnc2p> From: Wolfgang Schuster Message-ID: <912feb22-c2c7-253c-55de-237fc67b6f85@gmail.com> Date: Mon, 14 Oct 2024 18:18:34 +0200 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 PostboxApp/7.0.64 MIME-Version: 1.0 In-Reply-To: <587524138.5641.1728863464502@189mail-nwebmail-180524-dep-84f7586dd5-lnc2p> Content-Language: en-US Message-ID-Hash: PPKENAAJJJYWLASOZSKVTHU6X67FRQGD X-Message-ID-Hash: PPKENAAJJJYWLASOZSKVTHU6X67FRQGD X-MailFrom: wolfgang.schuster.lists@gmail.com X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list Reply-To: mailing list for ConTeXt users Subject: [NTG-context] Re: GB7714-2015 of author-year format List-Id: mailing list for ConTeXt users Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: Content-Type: text/plain; charset="us-ascii"; format="flowed" Content-Transfer-Encoding: 7bit wangzhongtian schrieb am 14.10.2024 um 01:51: > > sorry,corrected the title . > > I am trying to implement bibliography management in GB/T 7714-2015 > (Chinese bibliography style standard), of Author-Year format. The bib > list should be sorted by language, author, year, and then the title of > the book. The sorting algorithm should use PinYin of Chinese > characters to compare the order. > > I am wondering is this feature already implemented for LuaMetatex? > > Or if not, any suggestions on how can I implemented this? Like > 1. How to implement the sorting algorithm? > 2. Which part of the source code can I rewrite to implement this feature? > Take a look into sort-lan.lua. Wolfgang ___________________________________________________________________________________ If your question is of interest to others as well, please add an entry to the Wiki! maillist : ntg-context@ntg.nl / https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl webpage : https://www.pragma-ade.nl / https://context.aanhet.net (mirror) archive : https://github.com/contextgarden/context wiki : https://wiki.contextgarden.net ___________________________________________________________________________________