From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/17642 Path: news.gmane.org!.POSTED!not-for-mail From: rama prakasha Newsgroups: gmane.text.pandoc Subject: Re: How do I prevent widow/orphan lines? Date: Wed, 17 May 2017 03:06:40 -0700 (PDT) Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_2706_1157199494.1495015600477" X-Trace: blaine.gmane.org 1495015602 1449 195.159.176.226 (17 May 2017 10:06:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 17 May 2017 10:06:42 +0000 (UTC) To: pandoc-discuss Original-X-From: pandoc-discuss+bncBCNIFEWN6QLBBMOB6DEAKGQEAG5VOZI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed May 17 12:06:37 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-yw0-f189.google.com ([209.85.161.189]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dAvql-0000DK-OB for gtp-pandoc-discuss@m.gmane.org; Wed, 17 May 2017 12:06:35 +0200 Original-Received: by mail-yw0-f189.google.com with SMTP id 203sf715683ywe.1 for ; Wed, 17 May 2017 03:06:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:date:from:to:message-id:in-reply-to:references:subject :mime-version:x-original-sender:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=A4YMQBP/OY9A9Ps05D3XIXVruhBMjSTRGgd97eS7F0w=; b=ftGX+ybrd347SCJpaRaBwsN1tx+cc2O7sh9JUQPxCcQrG9lGe1LIhmUYjfWftfa+8I AXchnu5CXR7OkoutegIXFQNTht7tDn+PTsLs+b59YuRfNk9WfiFS7KM39X41dQw8FZdV 1D8SbUupUvufwHecAulJci25/EdpZ5EWr0fkfOjEHucvULa7DRGRt4Y3jCGvdsDSs7m0 uMdP5sjrKQDg29tdmkmHKnDIAgOyYOjIYLFlB3LMkdC3wo5YdcDn9wqAbturn9CbDwsh iHMyNl9T8lc1dGhDIRn0r62r2esv39Z3CzWCNY3ZYxNcUgOrcuv3Rw1mcDgOslUOezE4 a9lg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:message-id:in-reply-to:references:subject:mime-version :x-original-sender:reply-to:precedence:mailing-list:list-id :x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=A4YMQBP/OY9A9Ps05D3XIXVruhBMjSTRGgd97eS7F0w=; b=dSQ2SMFB8gY0EKv+BtsntNQKSpNXn57NEVC+1naSfq775L2yyNL/AqdAZRHawjz8TP ahuacf+g+FiccY0PDSs6fOdjcsa2OahQQdN3//ASWB5oD0kd02mEni76PpDo4Dy1bUBc KAM51x8Pb+q8RI/EaB+2ZPJ+Q4YJy0gqLBdJumjzakMz6XJgqaFJZ5//4pGZw8yOHzcS D7lEjYKnfOi17NxXGYq8X5cCvLRMzOFlw26URH9QFt1C0i2DeNQ+2X3LwTBgoj+uz6qF VN7JCX4MxT3I1pJKsMo0pfcsnuu9jahCdckKn6aO2TuF0SsWb3EbzsQdIAwMwbL5NTPI qN2Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:date:from:to:message-id:in-reply-to :references:subject:mime-version:x-original-sender:reply-to :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=A4YMQBP/OY9A9Ps05D3XIXVruhBMjSTRGgd97eS7F0w=; b=S7h1Lgi+HA16ITs08/EHlWg3FWPL3mQdV/AENYb445ny6SA2PI/+RPopjBBscqTUWA i29z7xfrvUxEFgLVTLj1PiHZw8rrvLHIHudeYdDmzL/pDGbC3WqFrAJC+ElFdUyg+cJR Yvd0yGLNXxdUxcBFDyDyQHXmys9iXLEgnATE9+kAR9JD5TpSY0o3jSDeWE3d41QhbtLv ZXSfwuzY/GECa5QCltaVOM9hnZvUFuRqPijesdn/Id10+zUT6NQDYpdjuzGGeEJD2fVW T6rm1Oh22OWncifINm0NGh/3gtJHAW6uGjt0jorCPJ6C1+e+FcXFBpJVcKke2zlMgqg4 Jtmw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AODbwcC4EIdwHT6BYhZIP5VB05f0z25+2I4SytECSp0eb8Tz0Ltg9l2O e3aSumf0VPDTKw== X-Received: by 10.157.13.170 with SMTP id 39mr57756ots.18.1495015601290; Wed, 17 May 2017 03:06:41 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.157.47.99 with SMTP id h90ls3353843otb.38.gmail; Wed, 17 May 2017 03:06:40 -0700 (PDT) X-Received: by 10.157.13.170 with SMTP id 39mr57755ots.18.1495015600863; Wed, 17 May 2017 03:06:40 -0700 (PDT) In-Reply-To: X-Original-Sender: ramaprakashak-Re5JQEeQqe8AvxtiuMwx3w@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.org gmane.text.pandoc:17642 Archived-At: ------=_Part_2706_1157199494.1495015600477 Content-Type: multipart/alternative; boundary="----=_Part_2707_741284864.1495015600477" ------=_Part_2707_741284864.1495015600477 Content-Type: text/plain; charset="UTF-8" Use the template feature. Use pandoc -Dlatex>template.tex to get template.tex and add \widowpenalty=10000 \clubpenalty=10000 to it before body. To use the template in pandoc. pandoc -V documentclass=memoir input.tex --latex-engine=xelatex *--template=template.tex* -o output.pdf Hi > > How do I prevent widow/orphan lines, tex to pdf conversion. (pandoc -V > documentclass=memoir input.tex --latex-engine=xelatex -o output.pdf) > > Thanks, > Magesh > -- 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 post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/fb91b72b-0d6f-499e-9c9c-5f17705b096c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout. ------=_Part_2707_741284864.1495015600477 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Use the template feature.

=C2=A0Use=C2= =A0pandoc -Dlatex>template.tex to get template.tex and add=C2=A0\widowpenalty=3D10000=C2=A0\clubpen= alty=3D10000 to it before body. To = use the template in pandoc.=C2=A0

p= andoc -V documentclass=3Dmemoir input.tex --latex-engine=3Dxelatex=C2=A0= --template=3Dtemplate.tex=C2=A0-o output.pdf

=

Hi
How do I prevent widow/orphan lines, tex to pdf conversion= . (pandoc -V documentclass=3Dmemoir input.tex --latex-engine=3Dxelatex -o o= utput.pdf)=C2=A0

Thanks,
Magesh

--
You received this message because you are subscribed to the Google Groups &= quot;pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an e= mail to pand= oc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/= msgid/pandoc-discuss/fb91b72b-0d6f-499e-9c9c-5f17705b096c%40googlegroups.co= m.
For more options, visit http= s://groups.google.com/d/optout.
------=_Part_2707_741284864.1495015600477-- ------=_Part_2706_1157199494.1495015600477--