From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id 6PTsDYNwaGBYfQEAgWs5BA (envelope-from ) for ; Sat, 03 Apr 2021 15:41:23 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id yFXfB4NwaGBNEgAAbx9fmQ (envelope-from ) for ; Sat, 03 Apr 2021 13:41:23 +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 EE67B29DAA for ; Sat, 3 Apr 2021 15:41:19 +0200 (CEST) Received: from localhost ([::1]:41390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lSgWc-0007x2-Cw for larch@yhetil.org; Sat, 03 Apr 2021 09:41:18 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45564) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lSgWF-0007ww-I0 for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 09:40:55 -0400 Received: from mail-pg1-x52d.google.com ([2607:f8b0:4864:20::52d]:38552) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lSgWC-0006xb-JW for emacs-orgmode@gnu.org; Sat, 03 Apr 2021 09:40:55 -0400 Received: by mail-pg1-x52d.google.com with SMTP id w10so3653113pgh.5 for ; Sat, 03 Apr 2021 06:40:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:subject:date:in-reply-to:message-id :mime-version:content-transfer-encoding; bh=b4LP9A1Wlm8mnMOFO9CSQrsTV4uRKEVzgaHlotd6UlM=; b=Ud2ACQnble9ACwrC0vdRVIel5EAO/YegmyrgoFfQsZ5+MQeix9PsBoUTQfcv+zLjSk oCwo++euZvIHcFfew5rgDA/6nVyde4JJWYN020EgZOXKFv1H+tE0Yjf12hBFTRTHZjh7 kjsLBJcQcKLX9hp9p94wCCO+WlVFHpt7j/QDHidrv2cN9P/LIEn8RjW1bNEipMDVmdr/ gggH9T7cudLQP1w4GALVnKkz/NA7vOwP+SzmSmUT1vjMGv1duOEymZ7f3zzNyZGy+QPU XUXIAk5kmc2ScO0T0l4Aj9YL6czc7k6Wjk/qFqFpmS6KZncHymWvTKNMw0z/8etk7Czm jeew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=b4LP9A1Wlm8mnMOFO9CSQrsTV4uRKEVzgaHlotd6UlM=; b=eYLu0r14vreR0OrpGYJSCcFgPK5O9XdI6oXPTMIhz2mJ4CJM666wnNvwQB+6u8wY58 qVmCxHeQFuITzzVlrYWDvQnsdNASLgOlYNRPV8J8nxT9RYnlGUNAg+dmueD+hy9QeIBj DxG8WkDFAAQe7e24O8qOBZekYloTjpwlhfmlPT9n+riMEqi//6Q/fweYguCcmQ5Ui+DA yNNPHWLgiMH8CfSs+Dyi/Myiw2vJlCG8AJVEIV89OFU0yiJw8ANGasIP58HhNIsq3o/g rn9rRQdyYBZGPw6oeQQEvoJ44Qrnj13VHuqJ29y6tintaCA9Q2WDAg3IFkOe6xJYGqxJ lYzg== X-Gm-Message-State: AOAM5328lFIKaVBMLBEtYEtWdSmBBJXAGFH/YRfoGIyH0PNJ+gdLi4Cg O/5hKI5m0c+zqNBaXlue0bUqwKs/DNk= X-Google-Smtp-Source: ABdhPJwoDqSN1GFudzMknC2PU9rqifzW6GaxJipRUWo+byBpe32vPlfXdKSV/c77DR8HDku1AzD71w== X-Received: by 2002:a63:2265:: with SMTP id t37mr15459640pgm.452.1617457250034; Sat, 03 Apr 2021 06:40:50 -0700 (PDT) Received: from tim-desktop (106-69-76-38.dyn.iinet.net.au. [106.69.76.38]) by smtp.gmail.com with ESMTPSA id co20sm10561137pjb.32.2021.04.03.06.40.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Apr 2021 06:40:49 -0700 (PDT) References: User-agent: mu4e 1.5.11; emacs 28.0.50 From: Tim Cross To: emacs-orgmode@gnu.org Subject: Re: First steps exporting to tex Date: Sun, 04 Apr 2021 00:31:24 +1100 In-reply-to: Message-ID: <871rbr7ag1.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=2607:f8b0:4864:20::52d; envelope-from=theophilusx@gmail.com; helo=mail-pg1-x52d.google.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617457280; 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: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=b4LP9A1Wlm8mnMOFO9CSQrsTV4uRKEVzgaHlotd6UlM=; b=n2WZ57IA0CaoACl2fS2WMGsSyAGrGVd3tz5XaK134gdbaerxaWpLFiGKKwS6g7X47wCdj+ lQIy93RQ77kU8Ol/g+m5PfjplrnHTgLM4CfDkPkV9pWmSZOgTCOH56bRriJs3lhUGX5R84 5/rFdpEdIjkOxMXoWFxdRfsFPTa6nVwaRpqjBTLddEpa52gx01XFg+RuBfWrbi09yMzzRz wdIa1FVM/c+euQNK2iQp12LU+7Hoi3MSK1sKVaTeuO8K/dp07PCqeH3dn6rSiDHWjHRada 4lWyEwV9kpphAy22Mo/AUlBdjrRJVlUv8py1UJ8xnno3QANwezTF13+ugEhmhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617457280; a=rsa-sha256; cv=none; b=IDKIf5nma+/5ceIhRTFouLTlFNQJYJzPTIDFsB3PXGRtL84+FDIYBG99Yok4/q2CKSZ6t4 DvGKZRxpUqubL7rNuMrbDbIH5Pjosqkb0OIZNyXw1baLR56CAccpKmnttONmqFmVypTgNX SYhQYT91RMxn7eJaQyNIS5I4E3rQXU45FgryTOBgHJdDkdwaYXst6OWBpGybjqBo7x7rs+ IYwokYDctOPuLOP9DaB7b3dVGbB+Qsv3AAOcMokh6CftnoKZQ5dAJpkNobNzA31Egt71BO FjXdR8E9bLqXnOsNbGJNNCpPBKpuSdmoN+NH3IhYIRmXolWjwacl2lQrh3vIjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ud2ACQnb; dmarc=pass (policy=none) header.from=gmail.com; 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-Spam-Score: -3.13 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=Ud2ACQnb; dmarc=pass (policy=none) header.from=gmail.com; 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: EE67B29DAA X-Spam-Score: -3.13 X-Migadu-Scanner: scn0.migadu.com X-TUID: vnzo06xc+Q/B Ypo writes: > Good morning > > After reading your interesting advices, I've decided to start my path thr= ough LaTeX. I have been some hours trying to start, with little result, but= I > hope that once established a *workflow* the results will come and the new= invested time will be directed just to get better and better results. > > My doubts: > > a. As first step for my workflow, it seems convenient to use a "template= " with the LaTeX preambles. So maybe the many existing LaTeX > templates can be used quickly with orgmode. I found several options and = opinions. Which one is the best way? > > 1 #+SETUPFILE: template.setup -> doesn't seem the ideal way, because the= template.setup file must be modified adding #+latex_class to each of > the lines. > 2 template.tex -> this could be added to the SETUPFILE: #+LATEX_HEADER: = \input{template.tex}. But it seems to have no effect on the PDF > output. BTW, I can't use emacs HOME path (~/) in the input header, like = \input{~//export//template.tex}. This is my template.tex file content:=20 > \usepackage{fancyhdr} > \thispagestyle{fancy} > \lhead{\includegraphics[width=3D4cm]{jpg.jpg}} > \rhead{Student Name: Name\\ > Student ID: 1234\\ > Course: IDB 601 (Fall 2020)} > 3 Another friend told me that .sty templates were the best way. > 4 I see some people that create customized LaTeX classes and add the desi= red class to the orgmode buffer. > 5 Also we can see this intricate transformation of a LaTeX template into = orgmode. How to Migrate LaTeX Template into org-mode > 6 ... > > b. I think that in a good integration, every character shown on orgmode = should be exported into the PDF output. For example "CENTRE LINE > SYMBOL": =E2=84=84=20 > How can this integration be done? > > I have more doubts, but I will keep reading and trying to solve them > > Best regards Why do you think you need any of this for your 'first steps'. Start by just writing your org file and exporting it to latex or pdf. Then, once you have your first document, see what you think needs changing and come back and ask advice on what you need to do to make the changes you want. In your first document, don't use any latex commands, header options or anything else - just write your document using standard org mode.=20 Org already sets up a reasonable starting default. Once you know what the default is, then we can discuss what you may need to change. For many documents, you may not need to change much at all and you may not need any templates - for example, you will likely want to change the margin sizes (this is a common request) or you may want to see what some of the other 'standard' latex document classes are like. All of this can be achieved with just minor configuration of org mode. The org export to latex only needs to be as complicated as you need it to be. Org has variables which can be used to add/remove things from the preamble and once you have those configured, you don't have to put anything in the org file itself. Start simple and add as you find a need rather than try to start with something complex which might not be necessary. --=20 Tim Cross