Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp162803ybz; Tue, 21 Apr 2020 17:44:04 -0700 (PDT) X-Google-Smtp-Source: APiQypLzOpycOHsiywk0fW6eJLC2fJqbUuZdVnwBkbc7JXBpxLoDkCCnzzxXKheTSji4gIy+r6mt X-Received: by 2002:a17:906:fc3:: with SMTP id c3mr24267973ejk.28.1587516243850; Tue, 21 Apr 2020 17:44:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587516243; cv=none; d=google.com; s=arc-20160816; b=La5UA6oG0UQYsFU36d5HB2qWZnDs+p+IwntKYG0r8K4tpgxWBJKt8zwyeanomvLMpl ou1vegDG0F5it0BcF9n81MiDgprFfuPbN6NSp6F2ndzo6tY7utmklrAFXEro0KpseRyQ 6gm3OQLTzCeOzs71iIz7Zx24yxmsLPK1Qf3iWhqaI6I4myvdZQEoXAuvWPjXmZyMiFqP zY5OKzp5AYi64ay6dkCSQI7gbOIPnAFeriyASiSOhynAX15KnDn9GAGbHcwNsP2hVEbF fXKcYhi+GE1ug58Ylha4bdYw22G5e8yjs+FTEUzjwo8O0HfkLKMLBFEUKGMUZUHspyaq lBWQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:reply-to:message-id :subject:cc:to:from:date:dkim-signature; bh=Sw8+VKSb3iVhBq2masoZQ3OpZ0u/fvlMZfEIC/3LDfw=; b=c//C+pdUZUyilr+GzeiJPIADYubhQ3JSHWEuUEV4BHPduaVVmQLQcDNl1rDTBK6UFt G7Drsrwz/JauGNKKIOPpI2HnjpTLyQstiOZBvB6TMVTuRvHMgMDNw7LI14IQeU4qAI7N 70yA3LaLozvGGUvCBIylBdrIcAqa2t2BewtiVgIgW0ZjqJSECikVhXNyjxMe3zuc4UjU xIRAi2oEqTqPl+Qr/TZ44gGUJ0U87Gao9xJNQ/qWxG6IwYGpKm0HRCTwoUOAZJ3kEKeJ iXsNqRD9q7DH6c/xuT0tkqOoVMfLRlO6WrtZ9vyCquilKhR9FsT55KhyGkQ6VkRiYyRL yG7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lBmz6kuv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ce3si3109615edb.286.2020.04.21.17.43.36; Tue, 21 Apr 2020 17:44:03 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=lBmz6kuv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726386AbgDVAmJ (ORCPT + 99 others); Tue, 21 Apr 2020 20:42:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:39554 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbgDVAmJ (ORCPT ); Tue, 21 Apr 2020 20:42:09 -0400 Received: from paulmck-ThinkPad-P72.home (50-39-105-78.bvtn.or.frontiernet.net [50.39.105.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 56794206D5; Wed, 22 Apr 2020 00:42:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1587516128; bh=mb/GeZW/pAYs7/zVVEqQgr7aut2LB00bzCH+XTKrOxM=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=lBmz6kuvve++2V17AS+4aruOhzyO/0F7bgvOQlmrqP1kQvvdMSvbmPW8wlr4CQZbJ 143a7nxcEWz50OxhJc/tJyHzQU+cQRg1zmobxv5rR79T3TUQ/ZFiWIcY2Wo0vqFQkQ rbtBbKDXLKms+ilT1Mf6FjfB3ZIB+j7nPA+uhWMY= Received: by paulmck-ThinkPad-P72.home (Postfix, from userid 1000) id 2D7843523039; Tue, 21 Apr 2020 17:42:08 -0700 (PDT) Date: Tue, 21 Apr 2020 17:42:08 -0700 From: "Paul E. McKenney" To: Mauro Carvalho Chehab Cc: Linux Doc Mailing List , linux-kernel@vger.kernel.org, Jonathan Corbet , Josh Triplett , Steven Rostedt , Mathieu Desnoyers , Lai Jiangshan , Joel Fernandes , rcu@vger.kernel.org Subject: Re: [PATCH 07/10] docs: RCU: RTFP: fix bibtex entries Message-ID: <20200422004208.GI17661@paulmck-ThinkPad-P72> Reply-To: paulmck@kernel.org References: <3cc10823634f12c3d3c44ee03f73b7aaa347df63.1587488137.git.mchehab+huawei@kernel.org> <20200421174329.GR17661@paulmck-ThinkPad-P72> <20200421175225.GA32083@paulmck-ThinkPad-P72> <20200421212850.616db8b0@coco.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200421212850.616db8b0@coco.lan> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 21, 2020 at 09:29:06PM +0200, Mauro Carvalho Chehab wrote: > Em Tue, 21 Apr 2020 10:52:25 -0700 > "Paul E. McKenney" escreveu: > > > On Tue, Apr 21, 2020 at 10:43:29AM -0700, Paul E. McKenney wrote: > > > On Tue, Apr 21, 2020 at 07:04:08PM +0200, Mauro Carvalho Chehab wrote: > > > > There are several troubles at the bibtex entries with > > > > prevent them to be processed by LaTeX: > > > > > > > > - On LaTeX, comment lines start with '%', but here, comments > > > > are starting with "#"; > > > > - Underlines should be escaped. > > > > - While the best would be to use \url{} for all URL entries, > > > > let's do it at least for a couple that would otherwise > > > > produce errors on LaTeX. > > > > > > > > Signed-off-by: Mauro Carvalho Chehab > > > > > > Another approach might be just to link to a public repo containing > > > cleaned-up versions of these bibliography entries: > > > > > > https://git.kernel.org/pub/scm/linux/kernel/git/paulmck/perfbook.git/tree/bib/RCU.bib > > > > > > That would have the advantage of keeping this information in only one > > > place, and reducing the number of updates required. > > Yeah. I didn't know you had it somewhere else. > > > > > > > Thoughts? > > > > OK, I should have read the next patch in the series, where you convert > > into a Sphinx-compatible bibliography. Except that you had to convert > > the bibtex entries by hand to produce the Sphinx-compatible entries? > > No, but it still required a lot of manual work. > > I manually converted the file to ReST. That was the easiest part. > > Then, I used sphinx-build to convert it into a LaTeX file and changed > the produced .tex for it to use the .bib file. > > The last step was the hardest one. I'm not familiar with LaTeX. I did > several attempts to produce an output with the same kind of captions > as the original file, but I was unable to generate it. > > So, I ended doing the final step the hard way: I used XeLaTeX to produce > a PDF file. Then, I manually copied the entries from the output back into > the ReST file, carefully adjusting the captions, in order for them to > point to the right places. > > Before that, I tried to use a few Sphinx BibTeX extensions, but they > are not complete: they were unable to parse some types of entries. > If I'm not mistaken (I did it some time ago, on another computer), > the ones I tested crashed when trying to parse some entries, like > '@Conference'. OK, that sounds decidedly non-trivial. :-( > > That will get a bit ugly when it comes time to add more entries. > > > > Or was the conversion of bibliography entries automated? > > I suspect it should be possible to automate it, but, as I said, > I'm not too familiar with LaTeX. In the meantime, would it work to just reference the RCU.bib URL above? Thanx, Paul