From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/33068 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Bastien DUMONT Newsgroups: gmane.text.pandoc Subject: Re: Line breaks for very longg words - markdown to pdf or docx Date: Thu, 24 Aug 2023 10:54:22 +0000 Message-ID: References: <888e1e7e-3318-4a0f-b7b1-775b24fbf916n@googlegroups.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="17869"; mail-complaints-to="usenet@ciao.gmane.io" To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDCINCES2QJRBY7NTSTQMGQET2LNNJA-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Thu Aug 24 12:54:33 2023 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-lf1-f55.google.com ([209.85.167.55]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1qZ7yz-0004S1-Bd for gtp-pandoc-discuss@m.gmane-mx.org; Thu, 24 Aug 2023 12:54:33 +0200 Original-Received: by mail-lf1-f55.google.com with SMTP id 2adb3069b0e04-4fe157ebea0sf6925568e87.1 for ; Thu, 24 Aug 2023 03:54:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1692874472; cv=pass; d=google.com; s=arc-20160816; b=KePcyYqgc3G9M+Z0D8oj4iRwLIPkbrccAtFxq1d+k9aUh8vNzyJrCPfkvT4X9joDAl +ZvMc69S9RMSgr/G3TeemcQ5qizygmlKPvkkeWUkDKouwootUngudy25Mjf721QRPO5/ nvQeUoXrShqbW9rgH/Qa6vFrj/PN0U7YoUXDU79AkSrkJ+Ds8Vjge6dVPAwiusoJnejU PsHBmdKmJFjm1+1DJ31hQZsNu9wafW8UrpN6vcebj6lOSUU/6CxVMx/kvy/AODULFo9u 7ksQX9iwRUsZf6B8Vc/3TL2TSbAf/ssDe68S1mQNMV60bIhZZK2DzHfmco1a8lR1TqDq t42A== 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:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:dkim-signature; bh=cqEImBrh/1lMKqB2ax0b1MHK+FiTsX6llNl5+uVwXzg=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=K4NvGM+gl+L6YpFprj/dbVB8vSaJDSflYaClXlaxesq383+YLLdZbXRTAr4vSm5GKx zQOGsJNX7atp9ekCFHWMg0QoZFX8tfXXjSpbGPaEx/IIwCksX82EKhcwjj2UVAZMba3H 1QkJ3MGZwwoBDA5favJI2VTVCst2Rqbe/3hT40jmpPUz82zl2VPwA1o99aBzxC8g37J7 SIk+iJ1MPFlbFoJI2onetkRxZgHuNMcyzgnp77awY4GK3XZZSnVd2hgT1/zo2xs+lyY4 w1Y4SfbaeHJzDBROlPSlRikuaBqRsCz4F/l6hst4x3pDdftSO8aamhjlGIma2WXK0wLL 7gQQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=RWyRdVYu; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20221208; t=1692874472; x=1693479272; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:sender:from:to:cc :subject:date:message-id:reply-to; bh=cqEImBrh/1lMKqB2ax0b1MHK+FiTsX6llNl5+uVwXzg=; b=oeHOiPfj9t+amux19AR31ekm2MxE1KjaU6yuY4mH4rIlSpbkqBAgqorGB9F60jx0Wf w0Vx2hKUIYForgfLtD1o1sh8mIvSdwJQ5fVkYvbHrHsRPnGBIzD4WCe+GzghDC9vYSmr CW65vWhi+WO9gxKY3s5joP3T39dVRmuVdQ4fpFLdkwVctG4U3PCKk352QhF0xBeRpG+B yquLqG3gc0urlAQKd8s1EPzDk4kcs9sV+TfL7/dhPGPISNOm6Ui9oDpLnpP+12IqLaSJ CjhYqCKPwnSxC5oPn X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692874472; x=1693479272; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :x-spam-checked-in-group:list-id:mailing-list:precedence:reply-to :x-original-authentication-results:x-original-sender:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:to:from:date:x-beenthere :x-gm-message-state:sender:from:to:cc:subject:date:message-id :reply-to; bh=cqEImBrh/1lMKqB2ax0b1MHK+FiTsX6llNl5+uVwXzg=; b=KPqrUjc+OwTOvE+W8ZgwcmsXEaTwd00HKXEtmS/3Dbbxp9Fq9qx/zj2USqOrLHQw1e sIogJI2YsvHu4PR8kEfyxNJBePCyjOnFETAND2qvbEzW7fAGoGHGP8VK7liSJ3W7tWm7 GlMOKWc/uH6i7UOEhhV+YuRKGP7YbL3jv9YDUbiUXYR0HlaD+xPxZnRmUEJ6I1MiZEJw xcSo51kfYZ4Xi5twAhmQ4d11l1QG Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOJu0YzP66ITA3H2qLsmLrMxYkAPqZmOMrzjQlifVWkN9PymVuEyZWKj Lj0RKyGjZzoAiynW9OWHuo0= X-Google-Smtp-Source: AGHT+IGTUhWVIrYhvfSsSih+5PK7kIuxEw3BrTk9Qt9SRgqNZwQXTcTfJlLDkRSQeHA0uPxbByx/4Q== X-Received: by 2002:a05:6512:2110:b0:4fe:5654:9cfc with SMTP id q16-20020a056512211000b004fe56549cfcmr9823553lfr.66.1692874472376; Thu, 24 Aug 2023 03:54:32 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a05:6512:3294:b0:4ff:a03f:71a3 with SMTP id p20-20020a056512329400b004ffa03f71a3ls533646lfe.1.-pod-prod-08-eu; Thu, 24 Aug 2023 03:54:26 -0700 (PDT) X-Received: by 2002:a05:6512:1591:b0:4f6:2317:f387 with SMTP id bp17-20020a056512159100b004f62317f387mr12748239lfb.35.1692874466225; Thu, 24 Aug 2023 03:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692874466; cv=none; d=google.com; s=arc-20160816; b=oJCD6XL/t17PqgugFzEZFQK76prdrwQxRcqyX0eEd5l6qrl0YzTkCYQ0sCjTxSzQj/ gWPndPzsXhfKgy/6dL2XwaU70kw/RzKU8pKhv444iPqrYFK6RmTLfC0q5XRrLmY9vZVb Ss0jqmGqQnaqji6mZIlXb8R1SqYvCNoTn4fsrjJMBG5twZXoG81XgmJrWyLz/2UcdQBn u1OIZEfcHvIRbMoqHfc3ZdjhPivxyITMxBRdbfIrIOLuQ1eDYH7lJeCv/fF947vHXtif 0LNz6mpVOWOkxWnntSwWcX9FHk3r/r1UbwH9ZCfNAF+7pTWEosvgh0nTd9WX6+Je7rRw Y1oA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:to:from:date :dkim-signature; bh=9YNBYo3REx+2R1S1kGmvJSXlEcI9LINhXBBBB+gISj0=; fh=zTk1OJJ/UIgC4n6p1b11w1SmP+rZGhoEUDeu1dHTagY=; b=K0JrRH9ypa8y4up84X+Z2sp8aUldhbhns8ElEFUobIUOF9NhQ0eBlM24wnXNbMmKOF PHTVvT+gD7q0KFTJCNQvQrON8AfAQG6edGDijmlnk45loqGSnNJqaI/kBKbcRo00Wobi Etq5P+IWws2BhqJynp2fXKPh3pJPJHMUdWko9cjWtDSzFx/08LcJnVSdBCJvmyhZxq4u cOKCK1Absg7Mdod/zrBrX1aUVcLUHWkhmXkts6ursZDmePXrWs8vCf29kls5A6DIhsNA rETlDujb/llqPrPipricPn7+8bPNq8uIQFLvE1btx/oY8Ceg+udkoxNDd4bg7XOisMuO wQIQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=RWyRdVYu; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net Original-Received: from mout01.posteo.de (mout01.posteo.de. [185.67.36.65]) by gmr-mx.google.com with ESMTPS id s9-20020a056512202900b004f8621b17fasi1033307lfs.3.2023.08.24.03.54.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 24 Aug 2023 03:54:26 -0700 (PDT) Received-SPF: pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) client-ip=185.67.36.65; Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 73668240029 for ; Thu, 24 Aug 2023 12:54:25 +0200 (CEST) Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4RWg28215dz6tx4 for ; Thu, 24 Aug 2023 12:54:23 +0200 (CEST) Content-Disposition: inline In-Reply-To: <888e1e7e-3318-4a0f-b7b1-775b24fbf916n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> X-Original-Sender: bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@posteo.net header.s=2017 header.b=RWyRdVYu; spf=pass (google.com: domain of bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org designates 185.67.36.65 as permitted sender) smtp.mailfrom=bastien.dumont-VwIFZPTo/vqsTnJN9+BGXg@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=posteo.net 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:33068 Archived-At: For PDF output (via LaTeX), the solution may involve the macro \hyphenation= (https://en.wikibooks.org/wiki/TeX/hyphenation). If you know in advance th= e problematic strings, you can add to the header-includes metadata field e.= g.: \hyphenation{7-6-6-6-7-a-2-0-6-0-e-2-1-b-7-5-f-c-4-4-b-6-3-c-7-8-f-0-6-8-7-= 3-7-7-6-9-9-6-a-4-3-3-0-2-5-6-2-5-9-d-1-9-1-4-3-b-1-c-e-e-c-b-e-b-f-3-e-2-7= -6-3-c-7-b-b-e-c-5-d-0-0-3-0-8-e-f-9-e-c-3-7-7-c-1-e-a-2-1-0-4-8-0-4-0-7-5-= 2-9-d-7-2-6-1-6-9-5-1-2-8-a-6-b-8-2-7-8-2-e-e-z-a-e-z-a-e-z-a-e-a-z-e-z-a-e= -z-a-e-z-a-e-a-z-e-z-a-a-z-e-a-z-e-z-a-e-a-z-e-a-z-e-a-z-e-a-z-e-a-e-a-e-a-= e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-a-e-e-a-e-a-e-a-e-a-e= -a-e-a-e-a-e-a-e-a-e-a-1-9-1-9-1-9-1-9} However, I'm not sure that it will work with strings containing numbers, an= d it will add a hyphen at the breaking point, which may or may not please y= ou. If you don't know the content of the document in advance, you could write a= filter that collects all such strings (I guess strings containing numbers = and letters) and creates a \hyphenation macro as above. Le Thursday 24 August 2023 =C3=A0 03:02:51AM, Sami Tahri a =C3=A9crit : > Hi, >=20 > I'm just starting to use pandoc and trying to grasp all different concept= of > the project. >=20 > My main use is to generate PDF reports by generating markdowns. This work > great, but there some issue for specific contents: >=20 > I want to display SHA512 in tables (or a list). >=20 > This is what it looks like :=C2=A0 >=20 > | | | > | - | - | > | **Uuid** | 0b5b0899-b3d4-b133-35a2-2870e597f1c8 | > | **Type** | file | > | **MD5** | d597272b3eeacb8861280fd4f72be29f | > | **SHA1** | ae8f214c429848080a16235a14861a14800e6bf3 | > | **SHA256** | f9b33769ff7832be4e204a9c60a76df83ba122748ecc837750c0a9b632= 08f0d9 > | > | **SHA512** | > 76667a2060e21b75fc44b63c78f06873776996a4330256259d19143b1ceecbebf3e2763c7= bbec5d00308ef9ec377c1ea210480407529d7261695128a6b82782eezaezaezaeazezaezaez= aeazezaazeazezaeazeazeazeazeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeaeeaeaeaeaeaeae= aeaeaea19191919 > | >=20 >=20 > I run the command=C2=A0pandoc test.md -o test.pdf, >=20 > But sadly the SHA512 overflow in the following manner (see attached image= ). Of > course, splitting the SHA in multiple strings solve the issue because it = will > considerered as multiple words. >=20 > I tried multiple thing like using a cssfile with word-break, using the co= lumns > options, etc. >=20 > Is there a way to do linebreaking on all markdown table ? I can modify th= e > pandoc template I use, but I don't control the markdown appart from the h= eaders > (so I can't include custom tags/markdown syntax). >=20 > Thank you in advance for your answers :). >=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 [1]pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To view this discussion on the web visit [2]https://groups.google.com/d/m= sgid/ > pandoc-discuss/888e1e7e-3318-4a0f-b7b1-775b24fbf916n%40googlegroups.com. >=20 > References: >=20 > [1] mailto:pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > [2] https://groups.google.com/d/msgid/pandoc-discuss/888e1e7e-3318-4a0f-b= 7b1-775b24fbf916n%40googlegroups.com?utm_medium=3Demail&utm_source=3Dfooter --=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/ZOc23gCeEWh3Jsqx%40localhost.