emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Disable fontification when exporting tables


From: Amos Bird
Subject: Re: [O] Disable fontification when exporting tables
Date: Sat, 30 Sep 2017 09:13:36 +0800
User-agent: mu4e 0.9.19; emacs 25.3.1

Hi,

> - what are you trying to export?

an Org table like this:

| QueryID | SQL Text                                                                                                                                                                                  | Query Time (Seconds) | Query Time Hot (Seconds) |
|---------+-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+----------------------+--------------------------|
| Q0      | SELECT cab_type, count(*) FROM trips_log GROUP BY cab_type;                                                                                                                               |                10.14 |                    11.57 |
| Q1      | SELECT passenger_count, avg(total_amount) FROM trips_log GROUP BY passenger_count;                                                                                                        |                12.00 |                     6.27 |
| Q2      | SELECT passenger_count, toYear(pickup_datetime) AS year, count(*) FROM trips_log GROUP BY passenger_count, year;                                                                          |                10.45 |                     7.23 |
| Q3      | SELECT passenger_count, toYear(pickup_datetime) AS year, round(trip_distance) AS distance, count(*) FROM trips_log GROUP BY passenger_count, year, distance ORDER BY year, count(*) DESC; |                13.03 |                    10.80 |

> - to what back-end?

ODT and HTML

> - what is the exact problem?

I'd like to export this table with *:nil ^:nil options while exporting other subtrees with *:t ^:t.

I tried surrounding the table with example block and src block but both look bad after exportation.

I added <10> to the SQL column but it doesn't help quoting the * and _ characters when exporting.

I also tried changing _ to \under{} and * to \asc{} but it doesn't look well in the Org buffer.

I did turn on org-toggle-pretty-entities but it changes the appearance of other subtrees which I don't want to.

regards,

Nicolas Goaziou <address@hidden> writes:

> Hello,
>
> Amos Bird <address@hidden> writes:
>
>> I've tried the example block but it doesn't export well.
>>
>> img-2017-09-29-100634.png
>
> You didn't specify you were trying to export an Org table in the first
> place. You need to give as much information as possible if you want to
> have useful answers.
>
> So, let's start again:
>
> - what are you trying to export?
> - to what back-end?
> - what is the exact problem?
>
> Regards,


Amos Bird
address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]