From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UHFPAzg18l+DDwAA0tVLHw (envelope-from ) for ; Sun, 03 Jan 2021 21:20:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8Im5Ojc18l8WVQAA1q6Kng (envelope-from ) for ; Sun, 03 Jan 2021 21:20:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 9133E94038E for ; Sun, 3 Jan 2021 21:20:55 +0000 (UTC) Received: from localhost ([::1]:35784 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kwAo1-0004Fy-4u for larch@yhetil.org; Sun, 03 Jan 2021 16:20:53 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38458) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwAQr-0001Rh-03 for emacs-orgmode@gnu.org; Sun, 03 Jan 2021 15:56:57 -0500 Received: from out0.migadu.com ([94.23.1.103]:14924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kwAQo-0007cj-V1 for emacs-orgmode@gnu.org; Sun, 03 Jan 2021 15:56:56 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kyleam.com; s=key1; t=1609707411; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=pk+6XDYh6jkRm8lHqUb59VMN+CBimftW8CeNMKUPS2Q=; b=OuAhO/+hGKL7jOmQX8EBlvQYCGhCxIyxC08yplnrG+u8vVehIqXlY21hgcsBGUFSY5iEXV JakLdOIx1Z1SdXHGL0ZKL3F74ePE6bQp8y46TuKJizjt3NAu712sgIGDBILz3KKKHBzlpS buBhfAGctrObJWUAA9NIdN0WptvO+GYfK6CGN+gV7rdCB/O2PCppy/UVCI69OzlLHQFtFw JKbkq8Tb14qxQ3H4ZyRg9SkH7IiA3dlTwGwVyCFgoHcny4urlSTKPL0o94/2pnYG9/rB5n f5clvA30BJA+Z0NBi4tkyycCgwLi9pJPeatcz7MLEFwSojl1dvK5kJvqBKV9vA== From: Kyle Meyer To: =?utf-8?B?w4lyaWMgV8O8cmJlbA==?= Subject: Re: Tags LaTeX export question In-Reply-To: <87czyldbri.fsf@vents-sauvages.fr> References: <87czyldbri.fsf@vents-sauvages.fr> Message-ID: <877dotd9im.fsf@kyleam.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Migadu-Auth-User: kyle@kyleam.com Date: Sun, 03 Jan 2021 20:56:51 GMT Received-SPF: pass client-ip=94.23.1.103; envelope-from=kyle@kyleam.com; helo=out0.migadu.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: emacs-orgmode@gnu.org Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -2.53 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=kyleam.com header.s=key1 header.b=OuAhO/+h; dmarc=none; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 9133E94038E X-Spam-Score: -2.53 X-Migadu-Scanner: scn1.migadu.com X-TUID: wBV0DVw4EEqt =C3=89ric W=C3=BCrbel writes: > Hi listers, > > How can I customize healine tags export to LaTeX ? > > The default settings provide a first line-break but then no more, > resulting in a truncation in case of a large number of tags. > > I need this for a computational poem. > > Oh, and if the solution needs elisp programming, no problem, so > pointing me on some king of hook will be ok. By default, the headline is formatted with (defun org-latex-format-headline-default-function (todo _todo-type priority text tags _info) "Default format function for a headline. See `org-latex-format-headline-function' for details." (concat (and todo (format "{\\bfseries\\sffamily %s} " todo)) (and priority (format "\\framebox{\\#%c} " priority)) text (and tags (format "\\hfill{}\\textsc{%s}" (mapconcat #'org-latex--protect-text tags ":"))))) You could write a custom variant and point org-latex-format-headline-function to it. (Or at least I think that should work; I haven't tested it myself.)