From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28411 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re:Converting to latex with a figure in a table Date: Fri, 21 May 2021 10:07:43 -0700 Message-ID: References: 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="10217"; mail-complaints-to="usenet@ciao.gmane.io" To: jiewuza , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB26RT6CQMGQEKW5GPJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Fri May 21 19:08:00 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-ua1-f58.google.com ([209.85.222.58]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lk8cx-0002MI-GT for gtp-pandoc-discuss@m.gmane-mx.org; Fri, 21 May 2021 19:07:59 +0200 Original-Received: by mail-ua1-f58.google.com with SMTP id i33-20020ab042240000b029020adb6e9ffcsf7790064uai.23 for ; Fri, 21 May 2021 10:07:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1621616878; cv=pass; d=google.com; s=arc-20160816; b=VyehLJRvh6Y9VKlbwjePvo8HpfNZ/5ArAMIU2Jmhx1cguFDA+/wnKo/2H8ozyKUt7/ iHNNvwl44rFkHAAMEYJiIVCbDpP7f8vrnjvrhkRCMMTeturgLXB6TC48yLLxiO2FtNFu F/6pqadFQM5bQKejI43mAFnnLIz4V492Zqk7Z2u3twlQUxyruUk/QjC9dfPFlFcbYiYE fBD1Sig98gEq9PDvl6gA67DBPtZ+RFCB0JiBhI4jzMKbFVSo7lVef3toOZVMoqG9R+i0 TXpjeBynHumksWMX0GwG/atgNhLR35nUftbBDqA5BpMkFmPuW/Lol6uwQLO07zl3hiZH VOpg== 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:reply-to:content-transfer-encoding :mime-version:message-id:date:references:in-reply-to:subject:to:from :sender:dkim-signature; bh=lsHQ59yehq/26eUcSQrPNC0pfCbLIzv+9vyg+HxKZvA=; b=xmHt29TM1dG+GaAi0jd5uEFtGFyrJwlzByf1xf1ZV5YnIcySlpVbQ8NmtRqJik/4x9 dYC+7p3cbIkbVeZDQx5zpcxwQe24p4FTwjTL98pfuD+go813arysKJh12cjjor0B3MTz JizkLe8xflm92vNao99Ti1VKWeoezXrTjtcjlxUigBaMmOYr1rKVvCRsNItqevVkHGKW HrBsXmSFw7BKBFL7KJ3drueRNxvTxSw9A9tXZoiqEvsRg1BSg+kjoVyi7HLMIYkQZmg4 hQo2Bn5MRzRSAu9vBxk1V5ZUCd3x1Hfw5UUCpsje6QZPvUW3m3VojHmKyale8XSbWP++ EU0Q== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yyM915fZ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52d as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:content-transfer-encoding:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:list-post:list-help:list-archive:list-subscribe :list-unsubscribe; bh=lsHQ59yehq/26eUcSQrPNC0pfCbLIzv+9vyg+HxKZvA=; b=XBv7WGq0scCjoER+nAAZ6krKc5Yk98zRC6ON2SCRs1IGdH4FGyoq4zMtpI1rOukC5F Nn9+TGf+2Gzrzzazjnf3f8oNljiuw5NEYWGrtjUBESpvl0syCObaiYUVIbykgi2sqa9A DY+ZJX4//b7f4zL+Qt2RZ+7Pzy6bQJjaHLI9wgQzJPADkqn0ng2QwcZjBCFrD6EcSGZO ehXJNZwN+YulvZRxy1DeSOh2GvXaLsZyXdsopmSuPhgx5FtZIpvJOzVIcNODXGFc7PZl oJ+5rjqwj/nAwj15BRBwpcseVRV9HPmRUIa+wbd4aB4lgLAzjvzqeHAteP5Dw/6phTPU u7Dw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:content-transfer-encoding :x-original-sender:x-original-authentication-results:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=lsHQ59yehq/26eUcSQrPNC0pfCbLIzv+9vyg+HxKZvA=; b=IMyUvwl6/4atdJNOrrTr56Il0AMtPj/jhkvjEmYT9g8Xf7ov/NNsk8XaTyUGxH5sGy g4fKt7vuRD4GK6rPb5GR0AWEnnGUVn2NzxDF2viwwQuVDVY9oyxLE5WHFNNatNSBmAyh t1tfK/SswAD9wO6OQYPvy828+6XZfTX2KkQGEv/yub2G9pavlZpwhRByc7U8y9cqTTwh CRkA+q2I/5VMecbZj4XVX8sBwxryvr3AKw91l+yr9B76vQXrRElVClOhFyIiVcdzW/4F ct8IQiOn/8SOipOSMLElib4WNXLhBXt0qpdy+zSabKWS06z2mhYhcSIU5PRq3S+PunxC Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM531wkQHB5Ja00aIP5fv/R6XkdaCaxSO6CueexmOquLNeuY251iIS 8vjc0fCQShgXE5okD7lMB1E= X-Google-Smtp-Source: ABdhPJwsfVNbmVkgDrPQtpRMaLyJhkzdAmzyOmoUn7RqPS/gXa1Oimve5eCGpJREszmY/4mX0Si5aA== X-Received: by 2002:a1f:2504:: with SMTP id l4mr11545310vkl.5.1621616878542; Fri, 21 May 2021 10:07:58 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:ab0:22c5:: with SMTP id z5ls849940uam.6.gmail; Fri, 21 May 2021 10:07:55 -0700 (PDT) X-Received: by 2002:ab0:5961:: with SMTP id o30mr11925675uad.127.1621616875448; Fri, 21 May 2021 10:07:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621616875; cv=none; d=google.com; s=arc-20160816; b=W9JbS/Xn3cctLu6umY44cNY1lA36Zf+AIU2tempOAp/BMfsrvz1La4gocIV2DvEmiV nFojROxGyq87tADw8OKekHYRGZsIs/YNIIInoo28M5pJJ0/X8x3Xm/MM95wIB+a89vAI PwV6mcpEfUNpSMvwy342GkIVd8e/chnrdobxiFwWfdpIHVjJ/mO/hvEb97rO0rzd0gMm XAPsfLPoGswGp0sfVdT6K2FFyRkDQXto3JF8TT0uc7sSs9pee5p5Z1r7UKWc7x5eEhQA FHMSq7jtefTwG2V7j/F3EmZcZE/g5/gEXN5GdAeAMyqNiNy6pGKys2iTA9SgID6o+ag9 1bLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:to:from:dkim-signature; bh=E6JuHueJXUv2kRIyqbzsMkSpAnodt1rVxqG4hiaD5FU=; b=Wbk6Sb8YTlGNFzUGqwtDwsGLTRKZtmFb1wbCkNlIZuo8BLpGmTZfPQoriGoVntRHCQ 0iD2vpx0ySYrLB5OQySFsXAcLXBLKTGRjCdnmcDWj1Ttr/N7vhE/Y7cimF+y3O0CF0lS l8qzN6g7btGeUlkol6ixfuAdBFt6tRxVeUkCyLSH4Q5XlahQI3UQgy+/gCXfD6fOVle0 tPX5zV11uqXLFGDe8IeAbr8fKTN46uYdGapjvgh0r/BzHOO5k7VSaD+n0TS2cgYhJESy rAsp14F5FHraBreJdRSc8C6dNDbkiNdOjhydJn7b99xCwFGutKOAfRA2+CnOorPfg0LN p6tw== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yyM915fZ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52d as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com. [2607:f8b0:4864:20::52d]) by gmr-mx.google.com with ESMTPS id d26si32683vkp.3.2021.05.21.10.07.55 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 21 May 2021 10:07:55 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52d as permitted sender) client-ip=2607:f8b0:4864:20::52d; Original-Received: by mail-pg1-x52d.google.com with SMTP id i5so14756361pgm.0 for ; Fri, 21 May 2021 10:07:55 -0700 (PDT) X-Received: by 2002:a63:dd48:: with SMTP id g8mr10962884pgj.102.1621616874597; Fri, 21 May 2021 10:07:54 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id l7sm9033371pjh.8.2021.05.21.10.07.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 21 May 2021 10:07:54 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id 344BFA231; Fri, 21 May 2021 13:07:43 -0400 (EDT) In-Reply-To: X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=yyM915fZ; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52d as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org 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:28411 Archived-At: When you have a "simple" table with inline cell contents, no widths are needed, but if you have a table with contents that span multiple lines, then we need to explicitly specify widths for the columns. If you don't do this yourself (see the manual), then pandoc will divide equally. jiewuza writes: > I found that the first problem is caused by > ``` > \begin{longtable}[]{@{} > > > >{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.= 33}} > > > >{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.= 33}} > > > >{\raggedright\arraybackslash}p{(\columnwidth - 4\tabcolsep) * \real{0.= 33}}@{}} > > ``` > the width setting in the resulting longtable. > > But I have no idea when pandoc will generate such settings for a table, s= ince in most cases I saw > ``` > \begin{longtable}[]{@{}ll@{}} > ``` > > > > --=20 > > > jiewuza =E5=86=99=E5=85=A5=E6=B6=88=E6=81=AF=E6=96=B0= =E9=97=BB: >> I got 2 problems. >> 1. If the figure is converted as=20 >> ``` >> \includegraphics{img/logo.png} >> ``` > > ----Android NewsGroup Reader---- > http://www.piaohong.tk/newsgroup > > --=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/s8769u%24k1f%241%40ciao.gmane.io. --=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/m2k0nsdnhc.fsf%40MacBook-Pro.hsd1.ca.comcast.net.