public inbox archive for pandoc-discuss@googlegroups.com
 help / color / mirror / Atom feed
* HTML to latex: Controlling table column width
@ 2020-10-28 12:01 'Oliver Demetz' via pandoc-discuss
       [not found] ` <848a5b18-0f4a-482e-ba35-d3af80f2a2aan-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
  0 siblings, 1 reply; 17+ messages in thread
From: 'Oliver Demetz' via pandoc-discuss @ 2020-10-28 12:01 UTC (permalink / raw)
  To: pandoc-discuss


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

Hi, 

I am converting HTML tables to latex. Problems arise if the table is large 
and has many columns.
This table's cols add up to 99%,
```
<table class="table table-bordered table-sm small" style="width: 100%;">
  <colgroup>        
    <col width="14%">
    <col width="6%">            
    <col width="6%">              
    <col width="20%">                
    <col width="11%">                  
    <col width="13%">                    
    <col width="7%">                      
    <col width="7%">                        
    <col width="15%">                        
    </colgroup>    
    <thead>   
    <tr>
        <th>Risiko (Beschreibung)</th>
        <th>Eintritts­wahr­schein­lichkeit</th>
        <th>Netto-Schadens­höhe</th>
        <th>Durchzuführende Gegenmaßnahmen</th>
        <th>Frühwarn­indikator</th>
        <th>Schwellwert</th>
        <th>Beob­achtungs­intervall</th>
        <th>Risiko­verantwort­licher</th>
        <th>Anmerkungen</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>(Einzel)-Kundenausfall<br>(bla bla blabla dasdf)</td>
        <td>mittel</td>
        <td>&lt; 1 T€</td>
        <td>a) Beauftragung eines Inkassounternehmens zur Beitreibung der 
Forderung<br>b) Rücküberführung der Forderung auf den Mandanten 
(Arztpraxis) wenn vertraglich vereinbart</td>
        <td>OP-Liste</td>
        <td>laut Kundenstamm</td>
        <td>monatlich</td>
        <td>Automatisch durch Software<br>Report an GF</td>
        <td>siehe Handbuch Kapitel Adressausfallrisiko</td>
    </tr>
</table>
```
but the resulting minipages only have 75% \columnwidth. I know that there 
is other spacing for the grid necessary, but especially now with 8 columns 
any space is important.

What can I do here to get full width tables.

Thank you all in advance!

https://pandoc.org/try/?text=%3Ctable+class%3D%22table+table-bordered+table-sm+small%22+style%3D%22width%3A+100%25%3B%22%3E%0A++%3Ccolgroup%3E++++++++%0A++++%3Ccol+width%3D%2214%25%22%3E%0A++++%3Ccol+width%3D%226%25%22%3E++++++++++++%0A++++%3Ccol+width%3D%226%25%22%3E++++++++++++++%0A++++%3Ccol+width%3D%2220%25%22%3E++++++++++++++++%0A++++%3Ccol+width%3D%2211%25%22%3E++++++++++++++++++%0A++++%3Ccol+width%3D%2213%25%22%3E++++++++++++++++++++%0A++++%3Ccol+width%3D%227%25%22%3E++++++++++++++++++++++%0A++++%3Ccol+width%3D%227%25%22%3E++++++++++++++++++++++++%0A++++%3Ccol+width%3D%2215%25%22%3E++++++++++++++++++++++++%0A++++%3C%2Fcolgroup%3E++++%0A++++%3Cthead%3E+++%0A++++%3Ctr%3E%0A++++++++%3Cth%3ERisiko+(Beschreibung)%3C%2Fth%3E%0A++++++++%3Cth%3EEintritts%C2%ADwahr%C2%ADschein%C2%ADlichkeit%3C%2Fth%3E%0A++++++++%3Cth%3ENetto-Schadens%C2%ADh%C3%B6he%3C%2Fth%3E%0A++++++++%3Cth%3EDurchzuf%C3%BChrende+Gegenma%C3%9Fnahmen%3C%2Fth%3E%0A++++++++%3Cth%3EFr%C3%BChwarn%C2%ADindikator%3C%2Fth%3E%0A++++++++%3Cth%3ESchwellwert%3C%2Fth%3E%0A++++++++%3Cth%3EBeob%C2%ADachtungs%C2%ADintervall%3C%2Fth%3E%0A++++++++%3Cth%3ERisiko%C2%ADverantwort%C2%ADlicher%3C%2Fth%3E%0A++++++++%3Cth%3EAnmerkungen%3C%2Fth%3E%0A++++%3C%2Ftr%3E%0A++++%3C%2Fthead%3E%0A++++%3Ctbody%3E%0A++++%3Ctr%3E%0A++++++++%3Ctd%3E(Einzel)-Kundenausfall%3Cbr%3E(bla+bla+blabla+dasdf)%3C%2Ftd%3E%0A++++++++%3Ctd%3Emittel%3C%2Ftd%3E%0A++++++++%3Ctd%3E%26lt%3B+1+T%E2%82%AC%3C%2Ftd%3E%0A++++++++%3Ctd%3Ea)+Beauftragung+eines+Inkassounternehmens+zur+Beitreibung+der+Forderung%3Cbr%3Eb)+R%C3%BCck%C3%BCberf%C3%BChrung+der+Forderung+auf+den+Mandanten+(Arztpraxis)+wenn+vertraglich+vereinbart%3C%2Ftd%3E%0A++++++++%3Ctd%3EOP-Liste%3C%2Ftd%3E%0A++++++++%3Ctd%3Elaut+Kundenstamm%3C%2Ftd%3E%0A++++++++%3Ctd%3Emonatlich%3C%2Ftd%3E%0A++++++++%3Ctd%3EAutomatisch+durch+Software%3Cbr%3EReport+an+GF%3C%2Ftd%3E%0A++++++++%3Ctd%3Esiehe+Handbuch+Kapitel+Adressausfallrisiko%3C%2Ftd%3E%0A++++%3C%2Ftr%3E%0A%3C%2Ftable%3E&from=html&to=latex&standalone=0

This table
<table class="table table-bordered table-sm small" style="width: 100%;">
  <colgroup>
   <col width="14%">          <col width="6%">            <col width="6%">  
            <col width="20%">                <col width="11%">              
    <col width="13%">                    <col width="7%">                  
    <col width="7%">                        <col width="15%">              
          </colgroup>    <thead>    <tr>
        <th>Risiko (Beschreibung)</th>
        <th>Eintritts­wahr­schein­lichkeit</th>
        <th>Netto-Schadens­höhe</th>
        <th>Durchzuführende Gegenmaßnahmen</th>
        <th>Frühwarn­indikator</th>
        <th>Schwellwert</th>
        <th>Beob­achtungs­intervall</th>
        <th>Risiko­verantwort­licher</th>
        <th>Anmerkungen</th>
    </tr>
    </thead>
    <tbody>
    <tr>
        <td>(Einzel)-Forderungsausfall<br>(Patient begleicht die Rechnung 
nicht)</td>
        <td>mittel</td>
        <td>&lt; 1 T€</td>
        <td>a) Beauftragung eines Inkassounternehmens zur Beitreibung der 
Forderung<br>b) Rücküberführung der Forderung            auf den Mandanten 
(Arztpraxis) wenn vertraglich vereinbart        </td>
        <td>OP-Liste</td>
        <td>laut Kundenstamm</td>
        <td>monatlich</td>
        <td>Automatisch durch Software<br>Report an GF</td>
        <td>siehe Handbuch <a 
href="http://10.3.6.9:802/report/render/5bc3db60-5c7d-47b7-9cd1-83bc3b93fd5d#adressenausfallrisiko" 
target="_blank">Kapitel Adressausfallrisiko</a></td>
    </tr>

-- 
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 view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/848a5b18-0f4a-482e-ba35-d3af80f2a2aan%40googlegroups.com.

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

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

end of thread, other threads:[~2020-11-02 16:37 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-28 12:01 HTML to latex: Controlling table column width 'Oliver Demetz' via pandoc-discuss
     [not found] ` <848a5b18-0f4a-482e-ba35-d3af80f2a2aan-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-28 17:18   ` John MacFarlane
     [not found]     ` <m2imauuv4g.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-29  9:44       ` 'Oliver Demetz' via pandoc-discuss
     [not found]         ` <cecc57bd-2768-4124-962e-bb5f835cfd95n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-29 17:23           ` John MacFarlane
     [not found]             ` <m2imatrlne.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-29 18:31               ` John MacFarlane
     [not found]                 ` <m21rhgsx2p.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-10-29 18:54                   ` John MacFarlane
     [not found]                     ` <m2r1pgrhgx.fsf-jF64zX8BO08an7k8zZ43ob9bIa4KchGshsV+eolpW18@public.gmane.org>
2020-11-02 16:16                       ` 'Oliver Demetz' via pandoc-discuss
     [not found]                         ` <e6e8f94d-0e94-4f6d-b03c-2325494177b8n-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-11-02 16:37                           ` Albert Krewinkel
2020-10-29 19:24   ` BPJ
     [not found]     ` <CADAJKhCO9SFYvP9_Xg_NQe4NjHY8f-Xz6BJJy9CFY9ynvFzn-g-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-10-29 19:31       ` BPJ
     [not found]         ` <CADAJKhCb2bYQdYd4W_0b2703T8f96SHe4tYBVJDkofZ1Z1pr7Q-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-10-29 19:40           ` 'Oliver Demetz' via pandoc-discuss
     [not found]             ` <78d5fb66-4211-47b3-97b1-e8402b8e243dn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-29 19:56               ` BPJ
     [not found]                 ` <CADAJKhBWnr54SSbjoKHV8bqRkfkD7gKX2kkrLXUjT4Twfgy9Qw-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-10-29 20:11                   ` 'Oliver Demetz' via pandoc-discuss
     [not found]                     ` <07d2b48b-e6b9-418a-b116-fdea9b92ae0bn-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-10-29 20:33                       ` BPJ
     [not found]                         ` <CADAJKhCi9r1XWV1J3cydLDy_vmkR_1yWZtimgZRTxCSdAO+rcg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-10-30 15:51                           ` BPJ
2020-10-30 15:29                   ` Albert Krewinkel
     [not found]                     ` <87sg9vlokd.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-10-30 20:04                       ` BPJ

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