From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id ECxtBjE4lWdYTQEAqHPOHw:P1 (envelope-from ) for ; Sat, 25 Jan 2025 19:14:57 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id ECxtBjE4lWdYTQEAqHPOHw (envelope-from ) for ; Sat, 25 Jan 2025 20:14:57 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=roklein.de header.s=s1-ionos header.b=YJtbEbBv; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1737832496; h=from:from:sender:sender: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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=weWXP3hFt3Dy8X5P5LpQWSnjfOjCd90qNoFUaN90IE4=; b=W8agmjg1YD5DCtfErpNjxlE3UZLblz1Z1ZW15qGdZJ3P0nirlyjVwQ4e2yUckAavDqAdS0 Tf+yE685xDc9rn/ZbLyqkPx9XdmRH/QXCgrcx9HFkcqa9GRECv794Pm1MKjeLxCPrk/OoE FomK875y5LAfUNPQOGfPd98Bvubz/GiEr+RzdiEJAHPQdqthPhXew6+Hv2bMzkr02vM0OU uuLkIiDHji+mhaK3Tlkz/ALCl/Fw9TFkDcUhwowxndPk6spsS+diueRQp3Jy3YJwEe478X +HM2Wnn+OSyysaux4b7UYAvHa4TW/NTuYS+y8VWZLks7n7OVTgtllnKqdE5KIQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=roklein.de header.s=s1-ionos header.b=YJtbEbBv; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1737832496; a=rsa-sha256; cv=none; b=HJvctMU6/oh8zKupqHwxtiNWBPu/Q07PkpqO7k+TrAMbx8FzBdFcB6rR6q790AOwZ6ff/0 TiRxh9iwesffgPyBscU++i2GYeqKzK5xeQOfhflxcdX/rXZAn5ZXEVxIETodD8VCbBdZLq cOzPCSspvtnbSK+7ggdfG7FKjPrFM6OBaYXt0p5DKHmAnOXGbXQ6HiDMNEKVYE5QA+U+Sq lokPeXZG1Yekd1xWCPuqa7gDxZY1Xo/jU7I64jchv2OsKkSVlKiWIfMKfKmrNRCSFbHiwb vHKKNztAs+g1jbhnwtEiElAv1swLe4lRc4JRRmngTju1DRawTKqB167eYOMARA== 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 83C477AD43 for ; Sat, 25 Jan 2025 20:14:56 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tblbM-0003jR-Iz; Sat, 25 Jan 2025 14:13:52 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tblbK-0003iu-CY for emacs-orgmode@gnu.org; Sat, 25 Jan 2025 14:13:50 -0500 Received: from mout.kundenserver.de ([217.72.192.73]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tblbI-0004rq-AI for emacs-orgmode@gnu.org; Sat, 25 Jan 2025 14:13:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=roklein.de; s=s1-ionos; t=1737832423; x=1738437223; i=roklein@roklein.de; bh=weWXP3hFt3Dy8X5P5LpQWSnjfOjCd90qNoFUaN90IE4=; h=X-UI-Sender-Class:Date:From:To:Cc:Subject:Message-ID:In-Reply-To: References:MIME-Version:Content-Type:Content-Transfer-Encoding:cc: content-transfer-encoding:content-type:date:from:message-id: mime-version:reply-to:subject:to; b=YJtbEbBv9vNOvaNe7kOiN03gFa/M7cR2uwcirJqgtOjYzCua/ttuhA7GgfcQnhzf nUjDhVWkXUnismKyT6pxlIDw8R+Msb/7p8ifQAo/uF7px7ZSdAgSVhdaiLcKTEWCg wWw2fPBuLxailoffdYBfrspbpwzQZ7jZ5YaaeDdQIbNgNW6o7fYthO9rVGivsxYOR ETS/BMOx3HGxWtpSqGGMSpS27OAF3S6MQTHK3xGqneizHS5OR3ipo49GTj42I0tp9 G4FrpTAOobZLR3j6KGriRNlSJu7IP4URuD8bl4ZKnzjrkUxz8P2B/d/3IKRsUEX9i WT4zTGzTe4NflyHsSg== X-UI-Sender-Class: 55c96926-9e95-11ee-ae09-1f7a4046a0f6 Received: from happy.intern.roklein.de ([95.90.205.218]) by mrelayeu.kundenserver.de (mreue107 [212.227.15.183]) with ESMTPSA (Nemesis) id 1MMWcT-1tsbMO2txn-00QuAG; Sat, 25 Jan 2025 20:13:43 +0100 Date: Sat, 25 Jan 2025 20:13:39 +0100 From: Robert Klein To: David Masterson Cc: emacs-orgmode@gnu.org Subject: Re: Adding a resume.cls to Org ? Message-ID: <20250125201339.1fb15986@happy.intern.roklein.de> In-Reply-To: <87r04rzvxv.fsf@icloud.com> References: <871pwt3p38.fsf@icloud.com> <20250124104730.5e39648e@pcedv2.poly.mpip-mainz.mpg.de> <87r04rzvxv.fsf@icloud.com> Organization: roklein.de X-Mailer: Claws Mail 4.3.0 (GTK 3.24.43; x86_64-unknown-openbsd7.6) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:q/jQwD6SrUT+zwR25pcVU++ZP1YIjxGcfZ6sic5cmLvJtnR90al nj1xwlsu4evzJnl8UQT8w5qco3PRPjYYUJfJwFsWKyrQiT5yqD0Jm+QUjvixsv51nSOZJLA EVemzEKW8QYNf6BQE/Svy9GYvO84DkQh5WzCJ0Bbb9LOODHhy+shfvPyExHmQHTh0MKUCkR o0vI3CLJ9GrOrkUDHl9vg== UI-OutboundReport: notjunk:1;M01:P0:CmRAZsRS0bo=;/CJCZ0jycIy8SOmSsoD+oZx8Dq3 YA7WWAvl92A+VGqTkqnXLq5nQGN2zRpANjp+XniLF/ge3nrM8XLdaGEVEhD8ZvHp6FoKftQaS c5Y3uw1GMeh6S/2XZPmO5afzEy9BCkJQyJVCzaPrNVKjkhM9pYnqIXofkNXMoBDUeaopBAkq+ roTBIEeTxuq8RkqL0pntFURduGlpQuqgnPehnQbCT5MaR4aT7AlMX9sqnXuh4BJJiaLvWRnMK ITYUIiI92ImFaoMTjeAtYsJHO5gMU3vxSVw39JD5DBZwDB7Z0kcw+jxHlOMV2Lu9zsj4YtsZo RboVJgLlFnwfeWFhk/s5MKjMGnrA0C15BfRcHSlXQtxzFXzLjiluU2Kem2snJG9GNGciBZMls BIStYhN9D2fZlrLIpIXvDfA7TWbHbgxhqp0ZhIBDSzKqyrUNMOYHpoJgrfuxMWF4NTjfnt+A/ kGv/iUqiBbitLI7M3N5wQeQ98M/ESSknNVJ0CKOH8EmanpZAJL8IydgcllQRq9BUbHUa1tALk CER9wkH4+cBhNRLpRPC35jzlPuyvvmUOKPY8dyKR0n2U0P40LQUei5NVU91HEBRwpcwqukvC4 Wg/EPgTV4B11nfbchIkVjQJxrd0+KmGJnzTPYVeC4wCaaVjaY6M5y530ASsFrzFRtBdUHNoF5 WthFVgOoyDDZnaoRk6zdDpzfHbdb4NQ4usKh5WpzbM/ZgZ0n5yq+UGCffwzW9JGsjlNoBUeG1 qMFZsxjtoBeGiqPjNd46VtSxgKyrA5934CETd/nzEajPIntqlU9yQqG0SaWkfsUVrWMWWc9CP 69+vcLQRi+AoWZ4BixElEOzfC03MP//F7GJhhTFMVga18PeA/3T6+l3LBoDxL+LQmq+sj+eFZ i3l5yTLFrh6/RjJ024Lnp8p8sYLUfegPSVE6jQxeu5gwluTyXDUmJsOp1Oc8zkd4IMXd76ln2 erQZc6NjGGlJ4Y98gSiU0SHKNloOI52K9ESVpjdFfoE2GsPrAFJUhzAJSwI/3SKN8l9CHB04Y 4+SMeGQoqxjYko+6zdoLzsuz6P4daN1uEK+T+bbNx1HLOHP2C1SJbEUSXAz/e7PGmdUg52EXW +1pyzeb//xYKm/i5NeHiSN/GiyxvU9YVqWomIaHcFtt22qSzGN1Od0MaHaT2tOmLlmdh1ahYM = Received-SPF: pass client-ip=217.72.192.73; envelope-from=roklein@roklein.de; helo=mout.kundenserver.de 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_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -0.92 X-Spam-Score: -0.92 X-Migadu-Queue-Id: 83C477AD43 X-Migadu-Scanner: mx11.migadu.com X-TUID: p+LmMG+a3Inx Answers interspersed. PS, The help for the variable =E2=80=9Corg-latex-classes=E2=80=9D (C-h v org-latex-classes) has a very detailed description (and examples without the ~\\par) Am Fri, 24 Jan 2025 14:30:36 -0800 schrieb David Masterson : > Robert Klein writes: >=20 > > On Thu, 23 Jan 2025 18:47:23 -0800 > > David Masterson wrote: > > =20 > >> Anyone have a writeup on adding a simple resume.cls to Org? =20 > > > > You mean something like > > > > (setq roklein/org-latex-class/scrartcl =20 >=20 > This is the name of a variable? With slashes in the name?!? Didn't > know that... helps me to keep track. >=20 > > ;; note: ~\\\\ resolves to ~\\ which is a forced space > > ;; plus a line break. Otherwise the following text (even > > ;; if there is an empty line) would be on the same line > > ;; as the paragraph title. =20 >=20 > Not sure I get this... I think this is copy-pasted from the mailing list. I forgot why I put it there and in the sectioning definition below.=20 >=20 > > '("scrartcl" =20 >=20 > Is this actually the cls file? Where is the cls file located? this belongs to the koma-script package which is part of most TeX distributions. I testet a =E2=80=9Calgol60.cls=E2=80=9D file which is in t= he same directory as the .org file. >=20 > > "\\documentclass[11pt]{scrartcl}" =20 >=20 > This is defining the documentclass or loading the existing > documentclass? This is what the LaTeX exporter puts in the TeX file. >=20 > > ("\\section{%s}" . "\\section*{%s}") > > ("\\subsection{%s}" . "\\subsection*{%s}") > > ("\\subsubsection{%s}" . "\\subsubsection*{%s}") > > ("\\paragraph{%s}~\\par" . "\\paragraph*{%s}~\\par") > > ("\\subparagraph{%s}~\\par" . > > "\\subparagraph*{%s}~\\par"))) =20 >=20 > 1. The cls file defines the "\\section*" (etc) references, right? yes > 2. Must all cls files have definitions for this hierarchy? no, but you have to tell org the sectioning structure of the class. > 3. What do I look for in the cls file to identify the start of one of > these definitions? (I think I can read it after I know where to start > reading.) yes, but typically you get one of the things which are in the standard LaTex document classes =E2=80=9Carticle=E2=80=9D, =E2=80=9Creport= =E2=80=9D, =E2=80=9Cbook=E2=80=9D etc. > 4. What is "~\\par" ? ~ is a non-breaking space, \par is a blank line in TeX. (This is what the comment above is about). >=20 > > (use-package ox-latex > > :after org > > :config > > (setq org-latex-default-class "scrartcl" > > ;; more stuff... > > (add-to-list 'org-latex-classes > > roklein/org-latex-class/scrartcl) ;; more stuff > > ) =20 >=20 > This I get. >=20 > Thanks for the help.