From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/30850 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: how to use a tabular in my markdown (any special considerations?) Date: Sat, 25 Jun 2022 13:10:13 -0700 Message-ID: References: <2c8ee7b9-3c91-452f-8e31-5c6c40c46d3d@www.fastmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38687"; mail-complaints-to="usenet@ciao.gmane.io" To: John Gabriele , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBBKOX3WKQMGQENV4OFCA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Sat Jun 25 22:10:21 2022 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-oa1-f55.google.com ([209.85.160.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1o5C6m-0009uz-Qx for gtp-pandoc-discuss@m.gmane-mx.org; Sat, 25 Jun 2022 22:10:20 +0200 Original-Received: by mail-oa1-f55.google.com with SMTP id 586e51a60fabf-1020cdafa9esf3734486fac.22 for ; Sat, 25 Jun 2022 13:10:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1656187819; cv=pass; d=google.com; s=arc-20160816; b=hVPICIvpGnWlU7yODM7UZXCpn8W8dvTc0qzjdfgV1hw/WhHI0PWD0iGK5AyET7+bKJ X383yVvpANHdra2KrbGm3JMimHOgslHr7EAv0llRsfQEaZDp64OgGtwJBsRsnSAhRLFA mZWRtF+NzS9UCX84uZ2JbH+gKcGt1QpJdeqkqlVCYuoOM9EHHg451od58XcMlIiE1IM0 fQg+GVtU/jkeR9i50pg2P7PLGzZxhmPApeG94zHRkScgxLzxXKhf2VKlOIASRgnSWOYx X6zryuYu2TCV0z+AlNrvMeTGnfe22hG0FSjkWjnPzXXMivU6IrDpoDjwi+I819uSV/Wm 6s4Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:content-transfer-encoding:reply-to :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=gVl4Z7l52C/LVKUIo5M6kDDtn3Avj1a94QQOCgJQo4I=; b=sj08KmA0+bd6PBNFwJmgBtSH7yEMJ5xKma6MbQNgZSQUK8FETxNZLKg59ZWBtUr9iA KmyruYsGE2l8DojjYreS8bwL3djrcKqL2NvGX/I/AeKvYWU89E11d1pFGW1FAKAsPwSW TmDSihLoaR5zL+TQg4hx/YYtxn5tfsrKTkInX4uHGX/ADksiaRPg9HywIkOCVUlZn5rp Goip29s+BURSN+cioyOJicVx4HnTvxSOwmH12VPZuHTxRm4lRCHJg7Sj9a6DawOQ+GPy gIO9epBVQEADbMCxEPuQT5qtEkCH5e9sTPeDBEI2YIK5avPvfP+ZLlNGcsTMHNe9R1E4 znXA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=G41qClmt; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20210112; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:content-transfer-encoding:precedence:mailing-list:list-id :list-post:list-help:list-archive:list-subscribe:list-unsubscribe; bh=gVl4Z7l52C/LVKUIo5M6kDDtn3Avj1a94QQOCgJQo4I=; b=TwF7WI9ordH5JhlLXykb+AgvxZwUdq4+wfMm4o+itV5OVsieNT0A7F1uBQOIbr29Yn 1bcyAMUrd0wyZz3qR2mgcjWhc2qdZ/Bh3Ef7Mu6a+nVO9xVYp4bju9n1g6B5qGP7p6Kn Ll0Mage1Uo8s+vzrisj6Ri5UiSyNGCngsw9sAniV2wXq9zN8Ik2YhpTzvC1Jsj+D7dkd Bbu/TUqgrOdrWan/48H89bxr8vFK9SWd99RYiaScfqjbDeQ5vWay7A2JtLmSj77F4vSQ SMhALbMTfR6a/K+OUto1wJ87YRAhRW8UkSfzfc0N7KjpJu2we2WQx62pFYrLIi4xtvbE mU+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to :content-transfer-encoding:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=gVl4Z7l52C/LVKUIo5M6kDDtn3Avj1a94QQOCgJQo4I=; b=gg3gJKFiV2gKdaM6sY+lMc+mjqCBMizQZVc+mx0DXQ5yfXOopK1LyAYI58Ib+BAOZ5 9z4RXlulF5N5x2rkW1YuKyER0CTp7TL1fBVy8qhcwOBoJaK4LbUZecwuHQMzr1XagqiH Njl27Nh59BTaZmTwbOnB3yJTui8DM8oaJIhgYdKGNbb9PtuJqgpQRNccaraVxK/qJfNY h+uC4YUFqJOvujgmTCxcUu9Lyadjvbo+mjCyls0zeJI35GKiS03lU0bc0iY/DZE2cdOu pazKctEEhgRb6sl16VQnnfZ1AnJjQtIe3WcPaUvWsUbYG5FOeIPB7P/yx041v9Vx Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AJIora/LfvPHnvaXfIylPyCpmx/BELn3t2vo5MUCpiu4GbtDv/LSLjXf R+uDLxjWzp0Kbbt1VePnVfQ= X-Google-Smtp-Source: AGRyM1vGbVyn4UVarS9jDWA1djIsX57MeccyTBrnJTB87gcLW9S2Un4bNwNmBXhVqDHsp65tQeCrrg== X-Received: by 2002:a05:6870:578e:b0:108:71dc:1ff7 with SMTP id i14-20020a056870578e00b0010871dc1ff7mr1671912oap.101.1656187819682; Sat, 25 Jun 2022 13:10:19 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6871:60b:b0:101:a6a7:72cf with SMTP id w11-20020a056871060b00b00101a6a772cfls8642630oan.4.gmail; Sat, 25 Jun 2022 13:10:17 -0700 (PDT) X-Received: by 2002:a05:6870:1787:b0:f2:b7a9:4ea7 with SMTP id r7-20020a056870178700b000f2b7a94ea7mr5938751oae.222.1656187817163; Sat, 25 Jun 2022 13:10:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656187817; cv=none; d=google.com; s=arc-20160816; b=b5wDJeqU4yh4lARo6SB0rIBV619qszriAwwpN30KbnmpoYtcSfixH6iRhNkUdqe2AQ HPu6DTaHkHq4unY7iAzdiE77iuBslv4rimoUqvHOJ6BbCxg5WAZSDDqCAz6f0bHnz/Cq CQnoQthBvP1ZfdmWXw+S0G5gbidOJJ6cbFZYU7iOuKtHHX1uhIWhNBAqFN936R1aCEBY ViMMXsesq/luxLGDudo0LG+HYDgwfp6Xae9viYTUwmtO0b5vkSlaGafWbjiOcsbTtfL8 GVVZpNPS3dwgMCQLdw9QExebxOe8XFwzjzn56KC8tRLWtCUqsy/4EcMv2119s8omx/85 uy1g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=fZcvnmmR+6XeljCju9GyhUuZu4IkNZQ233aCLo7m1aw=; b=y8Ons9o51H+AG0bu6WONfqqM/cr3M2Gri0lNzuEbVqXV0oV2KFwiTOXVEZhYEVgftM ju8chfoNi8030uf2FScMDjFcDcg8KN/TCTDOp10bRZXxky4tKDw2ljVsAa1H0D8TsQZ+ ax1o7jl4Vp7fP2XhjVUiDf6MKL9U+K9hnN1Wcw73WuCu3j1n16+RNTqGGacRkRARamAS eOyaGvfWLteMO3YfElbpJfF9n/reBGAvetBElZLJYOqQFq3xf8UhLbprFkozUr+9VY1p 6j/CN7RKjxmH1Z2FcAAo7HXCwoDJPHuBXB9FDzGjzBO0MvqlGYLY92FpNxq/gMs1XR/9 hWtQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=G41qClmt; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu Original-Received: from mail-pl1-x62b.google.com (mail-pl1-x62b.google.com. [2607:f8b0:4864:20::62b]) by gmr-mx.google.com with ESMTPS id u6-20020a056870304600b00101fb24d062si898434oau.3.2022.06.25.13.10.17 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 25 Jun 2022 13:10:17 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62b as permitted sender) client-ip=2607:f8b0:4864:20::62b; Original-Received: by mail-pl1-x62b.google.com with SMTP id jh14so4941068plb.1 for ; Sat, 25 Jun 2022 13:10:17 -0700 (PDT) X-Received: by 2002:a17:90a:b284:b0:1e3:826b:d11d with SMTP id c4-20020a17090ab28400b001e3826bd11dmr6115372pjr.79.1656187816244; Sat, 25 Jun 2022 13:10:16 -0700 (PDT) Original-Received: from hermes.johnmacfarlane.net ([45.32.92.108]) by smtp.gmail.com with ESMTPSA id k63-20020a632442000000b003fd3a3db089sm3827841pgk.11.2022.06.25.13.10.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Jun 2022 13:10:15 -0700 (PDT) Original-Received: by hermes.johnmacfarlane.net (sSMTP sendmail emulation); Sat, 25 Jun 2022 13:10:13 -0700 In-Reply-To: <2c8ee7b9-3c91-452f-8e31-5c6c40c46d3d-jFIJ+Wc5/Vo7lZ9V/NTDHw@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley.edu header.s=google header.b=G41qClmt; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::62b as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=berkeley.edu Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:30850 Archived-At: You can debug some problems like this by using pandoc -t latex For example pandoc -t latex ^\ yields \^{}\textless Up/Down/Left/Right\textgreater{} which tells you that ^ and < and > need to be treated specially in LaTeX. "John Gabriele" writes: > Hi all, > > I'm trying to put a tabular element in my markdown file. My LaTeX is a li= ttle rusty, but here's what I have > > ~~~ > hi > > \begin{tabular}{l l} > ^ & move by word/para \\ > & what you expect \\ > [a/e & beginning/end of doc \\ > ^] & go to matching bracket \\ > ^j & jump to line number \\ > \end{tabular} > > bye > ~~~ > > This fails with: > > ~~~ > Error producing PDF. > ! Missing $ inserted. > =20 > $ > l.70 ^ > ~~~ > > I thought maybe it was those carets (^), so I backslash-escaped them, but= then still got this error: > > ~~~ > Error producing PDF. > ! Missing number, treated as zero. > =20 > a > l.73 \^] > ~~~ > > What special text rules must I follow in the content of my tabular fields= ? > > *** > > Background: BTW, the reason I want to do this is because I'm writing a tw= ocolumn landscape pdf, and it turns out that tables don't work in 2-column = (see https://github.com/jgm/pandoc/issues/1023 ). I thought maybe it would = work because my output pdf is landscape rather than portrait: > > pandoc -t pdf -o foo.pdf -V geometry=3D"margin=3D0.8in,landscape,twoc= olumn" -V fontsize=3D12pt foo.txt > > but alas that is not the case. So, I figured I'd get my tables by writing= raw latex tabular blocks. > > Thanks, > -- John > > --=20 > You received this message because you are subscribed to the Google Groups= "pandoc-discuss" group. > To unsubscribe from this group and stop receiving emails from it, send an= email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit https://groups.google.com/d/msgi= d/pandoc-discuss/2c8ee7b9-3c91-452f-8e31-5c6c40c46d3d%40www.fastmail.com. --=20 You received this message because you are subscribed to the Google Groups "= pandoc-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an e= mail to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/= pandoc-discuss/m235fsld22.fsf%40johnmacfarlane.net.