* Setting CSS classes for paragraphs generated from LaTeX
@ 2017-08-20 19:05 Mohan Sriram Nayaka
[not found] ` <c7b9d2e0-84dc-7711-bd30-9bb6f52f6c0a@gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: Mohan Sriram Nayaka @ 2017-08-20 19:05 UTC (permalink / raw)
To: pandoc-discuss
[-- Attachment #1.1: Type: text/plain, Size: 888 bytes --]
Hi everyone,
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 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-/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/ae7e74ca-53da-420c-a2b2-1319cc880230%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #1.2: Type: text/html, Size: 1415 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting CSS classes for paragraphs generated from LaTeX
[not found] ` <CAMzxfDm_nPJjxJW0hECYXZjbXu+1KG-h7-OCdS=2wBi-ppdeMw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-08-21 5:29 ` Mohan Sriram Nayaka
0 siblings, 0 replies; 5+ messages in thread
From: Mohan Sriram Nayaka @ 2017-08-21 5:29 UTC (permalink / raw)
To: James Austin, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2387 bytes --]
Thanks, James.
I only want to do this for specific paragraphs. Hence, I need to mark
those paragraphs with their own class in LaTeX.
I tried converting to HTML first (using pandoc), then editing the HTML to
add classes as necessary, and then converting to epub. The classes got
removed when converting to epub :(
Thoughts?
Thanks,
Mohan S Nayaka
On Aug 21, 2017 2:21 AM, "James Austin" <james.londonsw15-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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:<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
>
> 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-/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/ms
> gid/pandoc-discuss/ae7e74ca-53da-420c-a2b2-1319cc880230%40googlegroups.com
> <https://groups.google.com/d/msgid/pandoc-discuss/ae7e74ca-53da-420c-a2b2-1319cc880230%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> 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/CAMzxfDn8BKXhrvPzgW%2BjDxfiMMAMioJw7Xd0wQywdESFO%3DUHKQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 4218 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting CSS classes for paragraphs generated from LaTeX
[not found] ` <c7b9d2e0-84dc-7711-bd30-9bb6f52f6c0a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
@ 2017-08-21 5:31 ` Mohan Sriram Nayaka
[not found] ` <CAMzxfDme-aqNBJhTQ+jX49NPYxBsJVj2w9RHYQ1qAkywmEKx8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 5+ messages in thread
From: Mohan Sriram Nayaka @ 2017-08-21 5:31 UTC (permalink / raw)
To: James Austin, pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 2348 bytes --]
On Aug 21, 2017 2:21 AM, "James Austin" <james.londonsw15-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> 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:<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. Hence, I need to mark
those paragraphs with their own class in LaTeX.
I tried converting to HTML first (using pandoc), then editing the HTML to
add classes as necessary, and then converting to epub. The classes got
removed when converting to epub :(
Thoughts?
Thanks,
Mohan S Nayaka
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-/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/ms
gid/pandoc-discuss/ae7e74ca-53da-420c-a2b2-1319cc880230%40googlegroups.com
<https://groups.google.com/d/msgid/pandoc-discuss/ae7e74ca-53da-420c-a2b2-1319cc880230%40googlegroups.com?utm_medium=email&utm_source=footer>
.
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.
[-- Attachment #2: Type: text/html, Size: 5335 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting CSS classes for paragraphs generated from LaTeX
[not found] ` <CAMzxfDme-aqNBJhTQ+jX49NPYxBsJVj2w9RHYQ1qAkywmEKx8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-08-22 5:56 ` John MacFarlane
[not found] ` <CAMzxfDkKgRX2AGoF==9W6y=R7bx_kNH8RkssFt__i8z7GCndpA@mail.gmail.com>
0 siblings, 1 reply; 5+ messages in thread
From: John MacFarlane @ 2017-08-22 5:56 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
From LaTeX source, I can't think of anything that will work.
From Markdown source, you could use a surrounding div.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Setting CSS classes for paragraphs generated from LaTeX
[not found] ` <CAMzxfDkKgRX2AGoF==9W6y=R7bx_kNH8RkssFt__i8z7GCndpA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2017-08-23 16:54 ` Mohan Sriram Nayaka
0 siblings, 0 replies; 5+ messages in thread
From: Mohan Sriram Nayaka @ 2017-08-23 16:54 UTC (permalink / raw)
To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw
[-- Attachment #1: Type: text/plain, Size: 911 bytes --]
On Aug 22, 2017 11:27 AM, "John MacFarlane" <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:
From LaTeX source, I can't think of anything that will work.
From Markdown source, you could use a surrounding div.
.
Thanks, John.
I converted from LaTeX to Markdown, added a css class, and converted to
epub.
Mohan S Nayaka
--
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/CAMzxfDkDbwOFoUFUvQk7Rt0BoHLskE-mxwV0Knj9m6F9gH9AtA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
[-- Attachment #2: Type: text/html, Size: 1894 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2017-08-23 16:54 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-20 19:05 Setting CSS classes for paragraphs generated from LaTeX Mohan Sriram Nayaka
[not found] ` <c7b9d2e0-84dc-7711-bd30-9bb6f52f6c0a@gmail.com>
[not found] ` <CAMzxfDm_nPJjxJW0hECYXZjbXu+1KG-h7-OCdS=2wBi-ppdeMw@mail.gmail.com>
[not found] ` <CAMzxfDm_nPJjxJW0hECYXZjbXu+1KG-h7-OCdS=2wBi-ppdeMw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-21 5:29 ` Mohan Sriram Nayaka
[not found] ` <c7b9d2e0-84dc-7711-bd30-9bb6f52f6c0a-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2017-08-21 5:31 ` Mohan Sriram Nayaka
[not found] ` <CAMzxfDme-aqNBJhTQ+jX49NPYxBsJVj2w9RHYQ1qAkywmEKx8Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-22 5:56 ` John MacFarlane
[not found] ` <CAMzxfDkKgRX2AGoF==9W6y=R7bx_kNH8RkssFt__i8z7GCndpA@mail.gmail.com>
[not found] ` <CAMzxfDkKgRX2AGoF==9W6y=R7bx_kNH8RkssFt__i8z7GCndpA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2017-08-23 16:54 ` Mohan Sriram Nayaka
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).