From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id SGApCxt/qWIxugAAbAwnHQ (envelope-from ) for ; Wed, 15 Jun 2022 08:41:31 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sF7hCht/qWKkOwAAauVa8A (envelope-from ) for ; Wed, 15 Jun 2022 08:41:31 +0200 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 AFC5F40133 for ; Wed, 15 Jun 2022 08:41:30 +0200 (CEST) Received: from localhost ([::1]:50896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o1MiX-0005QJ-9W for larch@yhetil.org; Wed, 15 Jun 2022 02:41:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52850) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1MeC-0005M7-OI for emacs-orgmode@gnu.org; Wed, 15 Jun 2022 02:37:10 -0400 Received: from udcm-wwu2.uni-muenster.de ([128.176.118.28]:54886) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o1MeA-0002jX-5R for emacs-orgmode@gnu.org; Wed, 15 Jun 2022 02:37:00 -0400 X-IronPort-AV: E=Sophos;i="5.91,300,1647298800"; d="scan'208";a="170573491" Received: from wiwi-ex-1.wiwi.uni-muenster.de (HELO mail.wiwi.uni-muenster.de) ([10.2.21.33]) by UDCM-RELAY2.UNI-MUENSTER.DE with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 15 Jun 2022 08:36:47 +0200 Received: from librem (128.176.63.9) by WIWI-EX-1.WIWI.UNI-MUENSTER.DE (10.2.21.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Wed, 15 Jun 2022 08:36:46 +0200 From: Jens Lechtenboerger To: Subject: Publish to HTML and LaTeX/PDF with cross-file links? Mail-Followup-To: emacs-orgmode@gnu.org Date: Wed, 15 Jun 2022 08:36:46 +0200 Message-ID: <871qvqv3ep.fsf@wi.uni-muenster.de> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Originating-IP: [128.176.63.9] X-ClientProxiedBy: WIWI-EX-1.WIWI.UNI-MUENSTER.DE (10.2.21.33) To WIWI-EX-1.WIWI.UNI-MUENSTER.DE (10.2.21.33) Received-SPF: pass client-ip=128.176.118.28; envelope-from=Jens.Lechtenboerger@wi.uni-muenster.de; helo=UDCM-WWU2.UNI-MUENSTER.DE X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1655275290; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=i+bjxeVLDKoEZe1WN22zzLYIwcLInfr5lsZxw0S1Dio=; b=dDmQxNxy0v2NYNo6UYNlQipRBRbIfwXRzxlKOAHWqZgpjYwePbfjWmUSbTQ2KFnAkiSyLm CQz0WW10tzU0Kla1wtVk5kwRzdU0ynC0vWtsN3TV+W5EqzKjNb/OaFTOPBVWy/+eg1hG7F V/xrJtWNxjIHOfkWBYMPwaUr3WDWwsUYqfYfOMgfAGX8Zfk9odtM+I3LASEr2PNu7NZCt7 oZ0F8Hbkq2hdIihBJoDVBnlkKRh19PTqQeFyVn0o36gXGhbTzT1GUobB1FDMNZ8+N5Bqvj d9O1UVCG8jcfi7EeUJ5eRaOGL+N5pIj3lEamfLamwhnwV3fQ6Fn3gkatFL4HhA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1655275290; a=rsa-sha256; cv=none; b=PToyFW+XGl5+GCJyMI65Zrq5+wuWcCyv09voV+2OOiv/BzBnYDnojJQCF4ECnH1Sfftez3 JiWg6/7jtZQ7tKUUtAtHWbv3mjuCOsujEruFX9A84mgMLNnhTpZs+L6Ajd/mly/TJ+K4bi 3dqa0fBSpwsE3XpP/j3Kg1A1054BEpTU2cJTT1OFwDN1hox3FEHhxUqU1tbHkRB+qi/zbQ ymQvAEF1fmfBmsE/L3lxfOcyfPPlLGuL+xUay8k2AdpBtF6R7bjd8h+2ysacZw6SqYCxIR SpZ6gRWA/ttWQLMYpB1GA2xrua3MZWuDeWQT1yLyjPza3vlZ6Fy4+PwDfM95Wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: AFC5F40133 X-Spam-Score: -1.99 X-Migadu-Scanner: scn1.migadu.com X-TUID: gtGxcY+8ry9f Hi all, I publish OER (https://oer.gitlab.io/) from Org sources and wonder about links to local files as documented at [1]. That page only talks about HTML export. How can I achieve similar behavior for LaTeX/PDF export? More precisely: For HTML export, a link like [[file:foo.org::#custom-id][elsewhere]] turns into a hyperlink to =E2=80=9Cfoo.html#custom-id=E2=80=9D, which is what I want. However, for LaTeX/PDF export, the hyperlink points to the source file =E2=80=9Cfoo.org=E2=80=9D, which in my case is a broken link. I would= like that to be =E2=80=9Cfoo.pdf=E2=80=9D (or even something pointing at the pro= per section in the PDF file). Is this (easily) possible? Best wishes Jens [1] https://orgmode.org/manual/Publishing-links.html#Publishing-links