public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* +smart disables --self-contained?
@ 2019-04-12 16:19 jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <bdd996e0-0665-47d6-a08e-c109d8129fc9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w @ 2019-04-12 16:19 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 785 bytes --]

I'm seeing that using `+smart` results in `--selfcontained` being ignored 
in html output, at least for css.

Looking now, I see that +smart is perhaps unnecessary for html, but still 
this is undesired behavior.

-- 
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/bdd996e0-0665-47d6-a08e-c109d8129fc9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1223 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found] ` <bdd996e0-0665-47d6-a08e-c109d8129fc9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-04-12 20:20   ` John MacFarlane
       [not found]     ` <m2ftqnasc3.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2019-04-12 20:20 UTC (permalink / raw)
  To: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w, pandoc-discuss

jmuccigr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes:

> I'm seeing that using `+smart` results in `--selfcontained` being ignored 
> in html output, at least for css.

I can't see any way this could be happening. Did you perhaps leave out a
hyphen? It's --self-contained


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]     ` <m2ftqnasc3.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2019-04-12 20:28       ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
       [not found]         ` <33fa8cd5-c581-44f9-80cc-6274837eb334-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w @ 2019-04-12 20:28 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1369 bytes --]

On Friday, April 12, 2019 at 1:20:45 PM UTC-7, John MacFarlane wrote:
>
> jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:> writes: 
>
> > I'm seeing that using `+smart` results in `--selfcontained` being 
> ignored 
> > in html output, at least for css. 
>
> I can't see any way this could be happening. Did you perhaps leave out a 
> hyphen? It's --self-contained 
>

Nope. Here are my commands:

```
pandoc -t html+smart --self-contained

pandoc -t html --self-contained 
```

where the input contains yaml with the css in it:

```
---
css: /Users/muccigrosso/Desktop/test.css
---
```

In the first case, there's a link to the css:

```
  <link rel="stylesheet" href="/Users/muccigrosso/Desktop/test.css" />
```

In the second case, the css is directly included between style tags.

-- 
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/33fa8cd5-c581-44f9-80cc-6274837eb334%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2453 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]         ` <33fa8cd5-c581-44f9-80cc-6274837eb334-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-04-14  0:33           ` John MacFarlane
       [not found]             ` <m2ftqlwhmi.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2019-04-14  0:33 UTC (permalink / raw)
  To: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w, pandoc-discuss


Strange. Can you give a complete case to reproduce this (e.g.
in a zip file)?

Are you sure that with -smart you don't get the link?

Does running with --verbose give any additional insight?

jmuccigr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes:

> On Friday, April 12, 2019 at 1:20:45 PM UTC-7, John MacFarlane wrote:
>>
>> jmuc...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <javascript:> writes: 
>>
>> > I'm seeing that using `+smart` results in `--selfcontained` being 
>> ignored 
>> > in html output, at least for css. 
>>
>> I can't see any way this could be happening. Did you perhaps leave out a 
>> hyphen? It's --self-contained 
>>
>
> Nope. Here are my commands:
>
> ```
> pandoc -t html+smart --self-contained
>
> pandoc -t html --self-contained 
> ```
>
> where the input contains yaml with the css in it:
>
> ```
> ---
> css: /Users/muccigrosso/Desktop/test.css
> ---
> ```
>
> In the first case, there's a link to the css:
>
> ```
>   <link rel="stylesheet" href="/Users/muccigrosso/Desktop/test.css" />
> ```
>
> In the second case, the css is directly included between style tags.
>
> -- 
> 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/33fa8cd5-c581-44f9-80cc-6274837eb334%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]             ` <m2ftqlwhmi.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2019-04-24  4:55               ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
       [not found]                 ` <98bcb1e3-17cc-41c5-8945-43e42c58336a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w @ 2019-04-24  4:55 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 785 bytes --]

I'm running a fairly simple test case. If I use +smart (or -smart, for that 
matter), I don't get the css included. If I use neither, I do. --verbose 
produces nothing when I include a title and lang in the yaml.

-- 
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/98bcb1e3-17cc-41c5-8945-43e42c58336a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1203 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]                 ` <98bcb1e3-17cc-41c5-8945-43e42c58336a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-04-24 16:57                   ` John MacFarlane
       [not found]                     ` <m28svz5ojc.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
  2019-04-25  1:07                   ` lcy1980.ly
  1 sibling, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2019-04-24 16:57 UTC (permalink / raw)
  To: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w, pandoc-discuss


As noted, I wasn't able to reproduce with what you
gave me before. Please give a full test case with
everything needed to reproduce the issue.

jmuccigr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org writes:

> I'm running a fairly simple test case. If I use +smart (or -smart, for that 
> matter), I don't get the css included. If I use neither, I do. --verbose 
> produces nothing when I include a title and lang in the yaml.
>
> -- 
> 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/98bcb1e3-17cc-41c5-8945-43e42c58336a%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]                     ` <m28svz5ojc.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
@ 2019-04-24 17:09                       ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
       [not found]                         ` <47145b5b-d245-4dcc-9f22-95fd25c8511c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w @ 2019-04-24 17:09 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 1333 bytes --]

On Wednesday, April 24, 2019 at 9:57:58 AM UTC-7, John MacFarlane wrote:
>
>
> As noted, I wasn't able to reproduce with what you 
> gave me before. Please give a full test case with 
> everything needed to reproduce the issue. 
>

Sorry, John, I thought I pretty much had. Here's the process:

1. Create a real css file.
2. Run `pandoc -t html+smart --self-contained` on the command line.
3. Enter the following as the text to be processed:

---
css: /path/to/your.css
---

Hi.

4. Get some output.

With either +smart or -smart, there's a link to the css in the output, 
which they're shouldn't be. Without either of them, the css is included, as 
expected.

pandoc 2.7.2
Compiled with pandoc-types 1.17.5.4, texmath 0.11.2.2, skylighting 0.7.7
MacOS 10.13.6

-- 
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/47145b5b-d245-4dcc-9f22-95fd25c8511c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 2137 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]                 ` <98bcb1e3-17cc-41c5-8945-43e42c58336a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  2019-04-24 16:57                   ` John MacFarlane
@ 2019-04-25  1:07                   ` lcy1980.ly
  1 sibling, 0 replies; 10+ messages in thread
From: lcy1980.ly @ 2019-04-25  1:07 UTC (permalink / raw)
  To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw

[-- Attachment #1: Type: text/plain, Size: 1756 bytes --]

Okay I would really like outta this conversation so if whoever is in charge reads this, make it stop! Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Date: 4/23/19  11:55 PM  (GMT-06:00) To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> Subject: Re: +smart disables --self-contained? I'm running a fairly simple test case. If I use +smart (or -smart, for that matter), I don't get the css included. If I use neither, I do. --verbose produces nothing when I include a title and lang in the yaml.



-- 
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/98bcb1e3-17cc-41c5-8945-43e42c58336a%40googlegroups.com.
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/5cc1086a.1c69fb81.7cd5a.f18b%40mx.google.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #2: Type: text/html, Size: 2932 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]                         ` <47145b5b-d245-4dcc-9f22-95fd25c8511c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
@ 2019-04-26  2:05                           ` John MacFarlane
       [not found]                             ` <m2y33xwmfn.fsf-Kg0TIO5PyJpkhmErBYysHMpsVdM05VCzQjotyikrkNS67hWjmhPcHA/vqy67L5BpjQwYZcTdm+3YtjvyW6yDsg==@public.gmane.org>
  0 siblings, 1 reply; 10+ messages in thread
From: John MacFarlane @ 2019-04-26  2:05 UTC (permalink / raw)
  To: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w, pandoc-discuss


> With either +smart or -smart, there's a link to the css in the output, 

Ah, that was the clue I needed.  _Any_ extensions
block --self-contained.  I've fixed this in the last commit, thanks.


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: +smart disables --self-contained?
       [not found]                             ` <m2y33xwmfn.fsf-Kg0TIO5PyJpkhmErBYysHMpsVdM05VCzQjotyikrkNS67hWjmhPcHA/vqy67L5BpjQwYZcTdm+3YtjvyW6yDsg==@public.gmane.org>
@ 2019-04-27  1:20                               ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
  0 siblings, 0 replies; 10+ messages in thread
From: jmuccigr-Re5JQEeQqe8AvxtiuMwx3w @ 2019-04-27  1:20 UTC (permalink / raw)
  To: pandoc-discuss


[-- Attachment #1.1: Type: text/plain, Size: 593 bytes --]

Great. Thanks, John.

-- 
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/d3d4145e-7fb5-4f06-a7e6-78d3f84f8026%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

[-- Attachment #1.2: Type: text/html, Size: 1005 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2019-04-27  1:20 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-12 16:19 +smart disables --self-contained? jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <bdd996e0-0665-47d6-a08e-c109d8129fc9-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-12 20:20   ` John MacFarlane
     [not found]     ` <m2ftqnasc3.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-12 20:28       ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
     [not found]         ` <33fa8cd5-c581-44f9-80cc-6274837eb334-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-14  0:33           ` John MacFarlane
     [not found]             ` <m2ftqlwhmi.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-24  4:55               ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                 ` <98bcb1e3-17cc-41c5-8945-43e42c58336a-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-24 16:57                   ` John MacFarlane
     [not found]                     ` <m28svz5ojc.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2019-04-24 17:09                       ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
     [not found]                         ` <47145b5b-d245-4dcc-9f22-95fd25c8511c-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2019-04-26  2:05                           ` John MacFarlane
     [not found]                             ` <m2y33xwmfn.fsf-Kg0TIO5PyJpkhmErBYysHMpsVdM05VCzQjotyikrkNS67hWjmhPcHA/vqy67L5BpjQwYZcTdm+3YtjvyW6yDsg==@public.gmane.org>
2019-04-27  1:20                               ` jmuccigr-Re5JQEeQqe8AvxtiuMwx3w
2019-04-25  1:07                   ` lcy1980.ly

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).