Re: [t2t] Issue 46 in txt2tags: CSV table with header
Comment #2 on issue 46 by gallenza: CSV table with header http://code.google.com/p/txt2tags/issues/detail?id=46 1. My opinion is that the option is table specific and not document specific. 2. csv and csv-header or (csv-no-header I'm not sure), this could be great. 3. NOT include mark in csv file, we should be compatible across office software. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list
Re: [t2t] Issue 46 in txt2tags: CSV table with header
Comment #3 on issue 46 by eforgeot: CSV table with header http://code.google.com/p/txt2tags/issues/detail?id=46 I agree with you. csv and csv-header could be the best option. -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list
Re: [t2t] Issue 46 in txt2tags: CSV table with header
Comment #1 on issue 46 by eforgeot: CSV table with header http://code.google.com/p/txt2tags/issues/detail?id=46 I think it should be more common to use a header for the first line. In the case someone don't want this, there could be an option like txt2tags --no-csv-header file.t2t but it would do it for the whole document. Otherwise there could be something like: %!csv(html): foo.csv %!csv-no-header(html): foo.csv I thought also one could include the header mark in csv file, like this: |title1, title2 value1, value2 but it doesn't work in the current version, it just adds the | in the table, because of the space before %s in the line: table.append('| %s |' % ' | '.join(row)) If we remove the space, there will be an extra | before every line (but the header will be displayed as such) -- This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev ___ txt2tags-list mailing list https://lists.sourceforge.net/lists/listinfo/txt2tags-list