From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/18050 Path: news.gmane.org!.POSTED!not-for-mail From: Mohan Sriram Nayaka Newsgroups: gmane.text.pandoc Subject: Re: Setting CSS classes for paragraphs generated from LaTeX Date: Mon, 21 Aug 2017 11:01:16 +0530 Message-ID: References: Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1135c800b5b40805573cc911" X-Trace: blaine.gmane.org 1503293478 31785 195.159.176.226 (21 Aug 2017 05:31:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 21 Aug 2017 05:31:18 +0000 (UTC) To: James Austin , pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-X-From: pandoc-discuss+bncBDJ5PMX3UUGRBJPA5HGAKGQEDI7X5RY-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mon Aug 21 07:31:14 2017 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane.org Original-Received: from mail-pg0-f56.google.com ([74.125.83.56]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1djfIt-0007sA-Pr for gtp-pandoc-discuss@m.gmane.org; Mon, 21 Aug 2017 07:31:12 +0200 Original-Received: by mail-pg0-f56.google.com with SMTP id t3sf1131273pgt.3 for ; Sun, 20 Aug 2017 22:31:18 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1503293478; cv=pass; d=google.com; s=arc-20160816; b=XwzQPtnF7z33kXN2YlgHdqJv/uWglDm7fjY60i7OxLadq018UPVQRbDCeZmYqOqqga OTJidDNjyOlqIbi2GCqX4kARQ1DVBUjHr2HPxfu4oPv8x+vgg63CjXWL3fA751kkcCwe dZv6rXpaIbVnOqtsokXkGgOnJXc5jXlJATja2Pwrf8K4uUg2bsOicHZXI1QFuKmBYuXQ 2aojuvMAxt65ohOu/WCWFD6srIYlfMEg4DTEzbm61OW99reyJCw2fUuoEJXl3kL7kzoD pA3HFdJQhYFB1KgFNmQEVifv3MJjqClgEdmU5ql29TQT5nl0jHAl9UG0Kx8JsO1CUHYK U1rg== 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:to:subject:message-id:date :from:references:in-reply-to:mime-version:arc-authentication-results :arc-message-signature:sender:dkim-signature:dkim-signature :arc-authentication-results; bh=w3iQitanoqJjYneIXm5VeSShZnOJsL9Uj8vD/k6PXB8=; b=GzwPSfb6g4Uuf5xbLhUcM1+31kQA6YOFNMINkxrN6kSh9P9h4YOPV+dv92fabgZPt+ vsxc5waS34RLALzN+S2yIQiQwTIjQHXkkCmGkQE5uAdOikeP+T3Ff0elquhN1Hs5ly7x OnyweLsuVnsu4brDF/vpALNJVpIjlhTfHOz+K5Nu0ZVB5F98+rG4QLWfyr08y7UuUBzl ss+6oXc+ygrqmTNpPgjAOUYJWiCcWCZlGQQubjYw1qCTAFPoqdLzDXMeOnIxXJtnJMWN 4mJY0cAL8vYYODPZNTvWBWquRK66/+1inGx+Psg/Uf71ipmvM17FxLvGUX+5nh7VFYG6 WJTw== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MbBipWER; spf=pass (google.com: domain of mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4003:c06::22f as permitted sender) smtp.mailfrom=mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:mime-version:in-reply-to:references:from:date:message-id :subject:to: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=w3iQitanoqJjYneIXm5VeSShZnOJsL9Uj8vD/k6PXB8=; b=TMzjBwkXzKTIrZBUc1K2royZ1U3cL3FnDx4c9FC0yJFNUBXAG0QPoNT+6CQK5vzgFG xM+hrPXRjS3kKFKwpgfWC1AVvkWSJvNpfPgOM2a+9oeQKwXIqlp3xlqrWwh73bOnOFXA VLcGap2RY364RZrtUnQK8puPiYNA41aXt+8FYowOexw/Umc+qdQm6BdRKLGI5afD2zbJ 9sOZ6Kv3lksYqyFkj1IBoWiNqNCuaLb1XzBOpcv4yJ/KMircQzSpBDx+hKIbsVDBALZV QGQWxgEq3Gj00+g9QwPYW67hsdAj8PW/+95UKMSsGJbOVJc1Cb5bmIw9Oa62xDiVT0M8 Kd3g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :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=w3iQitanoqJjYneIXm5VeSShZnOJsL9Uj8vD/k6PXB8=; b=ScjsBs43LONvgdfqNmDr36bPF5cT7pM/FLMKb9aT89C2mwXtqNJCKb647GQaw1x9h4 BOhamwBK4tNoxrPFA1mj2k4MUKEYKJNNttK/d9+A8SQbQjYPlBwHjqlyiUHivZDrCXhF evdMaekECHvf1Yf0I8u5bdD3tBwy6DN/sRKA6DdW5gbSbN6OggSx+nTUhuKVCk8reaIa zLqGgkPm+vMZZHrI/z/lQkvzuUL2d0Q3P0VCwwNTe63Db3SYhnY8Zlpgaq/hhJ2d09Wp 7m7JQjbC8ketjVVNEV7gBUL9DBVNJpXIicA4LYDdy5Uq7C73E30nJGaSbjeFzAx/YD4v KY8g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:mime-version:in-reply-to:references:from :date:message-id:subject:to: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=w3iQitanoqJjYneIXm5VeSShZnOJsL9Uj8vD/k6PXB8=; b=RiThjpDsClPf+H2sRmPu321wiatm1eAKok6r5kIlYnRykQAmYgKg89fTtenomwVk9b mhltgfB0WLQKwGoQcDPiMU0S6g94L807xlp1tVvT0EKPxf26XXRV107cOpGHGX916V28 gmirS/63suwLbUfPpJe8Y6utTvRyLEt+HRi+DzQhjcDmLN/l2pXb1qfNG+vkc4z4uDy7 4UJA3PlawayopBUmzwuQA16t3e+jMz6HkJBPqA1RdsX8aWKRW4TwXasWWzxpgHA61eAr 6ATNOZvvk4hK01WZNm6wtimwZrj+v0M/QaRbqCuCnEzC1OCF8edPh2lakwp2KKvHObLZ MYZw== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AHYfb5iBWooy2Wo5eR+lktVHjHwqExcynokaWQmAu10njtBCWXwpjrf/ unzHJknKvbsxDw== X-Received: by 10.36.43.198 with SMTP id h189mr286573ita.4.1503293478311; Sun, 20 Aug 2017 22:31:18 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 10.36.105.16 with SMTP id e16ls4596224itc.19.gmail; Sun, 20 Aug 2017 22:31:17 -0700 (PDT) X-Received: by 10.129.155.145 with SMTP id s139mr87239ywg.28.1503293477713; Sun, 20 Aug 2017 22:31:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1503293477; cv=none; d=google.com; s=arc-20160816; b=JWUhlJ8sf+QP9Ux86j2ZqNFmrPezBS61xL7kvDYsX6jVomIpr85nADcI2dziElIz0M T0zBNChiX+DEwrQ5OpsG6KHQBcaQqqZYivhh/Q5hVS8Z4m7JTwV8ABLCHXNImzufZ65O XCvbtxNJ65JR1uFdBzCioke6wdiMGajUIvdjGP6Yk1m/v7SZy+4vXARwEXFaNqGj84pN MjLgVsLFqaYnM2A102oZ58R4zqh9hkq7OX5BHaA9D0kZ4CAQEUVZtVgUCdW8lyPVcK1w gQNquSSRC56BoRpOoiXbUP0sOUCSc3PehgNooXHo/1HB7BE8ejprmiHjpEotfvLBjLyE LNoQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=to:subject:message-id:date:from:references:in-reply-to:mime-version :dkim-signature:arc-authentication-results; bh=qEBR7d78KAk4gSVSjqtNjywfgR8JrpZYtszNCx7Hhms=; b=uBnZMqL3XhFvzh6YvtU9pd36+tPgKjvLwnT/d2NMf7vOxM40FA8M89Kp6KwnYx6pra pqSjhBjUi8tBx6jGMhYhszDkCjrUsfCohGzU3IrFRKdoUFT2wt+E6pWTjxetLBRO4Hq7 GvxQNkhfYIag5H7Fv2Ritd6TwvLZLB0kQyPZYSIvJ0kzhJPiCQGAd3RHeSZGSNgoP78S 3WK0szmC+L2Lqd8sFfzks+YS9UP8LjaHsLf4ah+dGsv0IStCVKOi/nESg+dGduoBMq3l p7MTsKBej4dhiH9mRRXjaQ887jPEA7hq+YET8TfhMesSG4Nq42vNk71MTGfR64gZa+4I 89dA== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MbBipWER; spf=pass (google.com: domain of mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4003:c06::22f as permitted sender) smtp.mailfrom=mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Original-Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com. [2607:f8b0:4003:c06::22f]) by gmr-mx.google.com with ESMTPS id c133si320624itb.7.2017.08.20.22.31.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 20 Aug 2017 22:31:17 -0700 (PDT) Received-SPF: pass (google.com: domain of mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4003:c06::22f as permitted sender) client-ip=2607:f8b0:4003:c06::22f; Original-Received: by mail-oi0-x22f.google.com with SMTP id r200so8333679oie.2 for ; Sun, 20 Aug 2017 22:31:17 -0700 (PDT) X-Received: by 10.202.244.129 with SMTP id s123mr22740927oih.260.1503293477333; Sun, 20 Aug 2017 22:31:17 -0700 (PDT) Original-Received: by 10.202.175.136 with HTTP; Sun, 20 Aug 2017 22:31:16 -0700 (PDT) Original-Received: by 10.202.175.136 with HTTP; Sun, 20 Aug 2017 22:31:16 -0700 (PDT) In-Reply-To: X-Original-Sender: mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MbBipWER; spf=pass (google.com: domain of mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org designates 2607:f8b0:4003:c06::22f as permitted sender) smtp.mailfrom=mohansn-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com 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:18050 Archived-At: --001a1135c800b5b40805573cc911 Content-Type: text/plain; charset="UTF-8" On Aug 21, 2017 2:21 AM, "James Austin" wrote: Hi Mohan do this?On 20/08/2017 20:05, Mohan Sriram Nayaka wrote: I am generating an ebook (epub) from Latex source (plain PDFLatex, nothing fancy). How do I mark certain paragraphs to be of a specific CSS class? I want to put some paragraphs in boxes to highlight them and that is why I want to do this? I think you need to do the following: p {border: . For more options, visit https://groups.google.com/d/optout. -- 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/CAMzxfDme-aqNBJhTQ%2BjX49NPYxBsJVj2w9RHYQ1qAkywmEKx8Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout. --001a1135c800b5b40805573cc911 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


On Aug 21, 2017 2:21 AM, "James Austin" <james.londonsw15@gmail= .com> wrote:
=20 =20 =20

Hi Mohan

do this?On 20/08/2017 20:05, Mohan Sriram Nayaka wrote:

I am generating an ebook (epub) from Latex source (plain PDFLatex, nothing fancy).
How do I mark certain paragraphs to be of a specific CSS class?
I want to put some paragraphs in boxes to highlight them and that is why I want to do this?

I think you need to do the following:
p
{border:<your colour;}

I have only done this with Markdown to HTML though, not sure if you'll get the same effect with your E-Book.

HTH
James

Sorry for the top-post I sent.

Thanks, James.
I only want to do this for specific paragraphs.= =C2=A0 Hence, I need to mark those paragraphs with their own class in LaTeX= .

I tried converting to HTML first (using pandoc), then editing the HT= ML to add classes as necessary, and then converting to epub. The classes go= t removed when converting to epub :(

Thoughts?

Thanks,
Mohan S Na= yaka
I am sorry if this is a newbie question.

Thanks,
Mohan S N


--
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@googlegroups.c= om.


--
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://group= s.google.com/d/msgid/pandoc-discuss/CAMzxfDme-aqNBJhTQ%2BjX49NPYxBsJVj2w9RH= YQ1qAkywmEKx8Q%40mail.gmail.com.
For more options, visit http= s://groups.google.com/d/optout.
--001a1135c800b5b40805573cc911--