[scribus] Trouble importing csv files

John Ghormley KJ4UFG kj4ufg at sera.org
Mon Apr 22 07:24:30 UTC 2013


On Sat, Apr 20, 2013 at 10:27 AM, Gregory Pittman <gpittman at iglou.com>wrote:

> On 04/20/2013 10:06 AM, Gregory Pittman wrote:
> > You might try playing with this style.
> >
>
> Plan B:
>
> ************************************
>
> <?xml version="1.0" encoding="UTF-8"?>
> <SCRIBUSUTF8NEW Version="1.4.3.svn">
>     <DOCUMENT ANZPAGES="1" PAGEWIDTH="612" PAGEHEIGHT="792"
> BORDERLEFT="40" BORDERRIGHT="40" BORDERTOP="40" BORDERBOTTOM="40"
> PRESET="0" BleedTop="0" BleedLeft="0" BleedRight="0" BleedBottom="0"
> ORIENTATION="0" PAGESIZE="Letter" FIRSTNUM="1" BOOK="0" AUTOSPALTEN="1"
> ABSTSPALTEN="11" UNITS="0" DFONT="DejaVu Sans Condensed" DSIZE="12"
> DCOL="1" DGAP="0" TabFill="" TabWidth="36" AUTHOR="" COMMENTS=""
> KEYWORDS="" PUBLISHER="" DOCDATE="" DOCTYPE="" DOCFORMAT="" DOCIDENT=""
> DOCSOURCE="" DOCLANGINFO="" DOCRELATION="" DOCCOVER="" DOCRIGHTS=""
> DOCCONTRIB="" TITLE="" SUBJECT="" VHOCH="33" VHOCHSC="66" VTIEF="33"
> VTIEFSC="66" VKAPIT="75" BASEGRID="14.4" BASEO="0" AUTOL="20"
> UnderlinePos="-1" UnderlineWidth="-1" StrikeThruPos="-1"
> StrikeThruWidth="-1" GROUPC="1" HCMS="0" DPSo="0" DPSFo="0" DPuse="0"
> DPgam="0" DPbla="1" DPMo="Adobe RGB (1998)" DPPr="Fogra27L CMYK Coated
> Press" DPIn="Adobe RGB (1998)" DPInCMYK="Fogra27L CMYK Coated Press"
> DPIn2="Adobe RGB (1998)" DPIn3="Fogra27L CMYK Coated Press" DISc="1"
> DIIm="0" ALAYER="0" LANGUAGE="English" MINWORDLEN="3" HYCOUNT="2"
> AUTOMATIC="1" AUTOCHECK="0" GUIDELOCK="0" SnapToGuides="0"
> SnapToGrid="0" MINGRID="20" MAJGRID="100" SHOWGRID="0" SHOWGUIDES="1"
> showcolborders="1" SHOWFRAME="1" SHOWLAYERM="0" SHOWMARGIN="1"
> SHOWBASE="0" SHOWPICT="1" SHOWControl="0" SHOWLINK="0" rulerMode="1"
> showrulers="1" showBleed="1" rulerXoffset="0" rulerYoffset="0"
> GuideRad="10" GRAB="4" POLYC="4" POLYF="0.707" POLYR="0" POLYCUR="0"
> POLYFD="0" POLYS="0" AutoSave="1" AutoSaveTime="600000"
> ScratchBottom="20" ScratchLeft="100" ScratchRight="100" ScratchTop="20"
> GapHorizontal="0" GapVertical="40" StartArrow="0" EndArrow="0"
> PEN="Black" BRUSH="None" PENLINE="Black" PENTEXT="Black"
> StrokeText="Black" TextBackGround="None" TextLineColor="None"
> TextBackGroundShade="100" TextLineShade="100" TextPenShade="100"
> TextStrokeShade="100" STIL="1" STILLINE="1" WIDTH="1" WIDTHLINE="1"
> PENSHADE="100" LINESHADE="100" BRUSHSHADE="100" MAGMIN="10"
> MAGMAX="3200" MAGSTEP="200" CPICT="None" PICTSHADE="100" PICTSCX="1"
> PICTSCY="1" PSCALE="1" PASPECT="1" EmbeddedPath="0" HalfRes="1"
> dispX="10" dispY="10" constrain="15" MINORC="#00ff00" MAJORC="#00ff00"
> GuideC="#000080" BaseC="#c0c0c0" GuideZ="10" BACKG="1" PAGEC="#ffffff"
> MARGC="#0000ff" RANDF="0" currentProfile="PostScript">
>         <STYLE NAME="Default Paragraph Style" DefaultStyle="1" ALIGN="0"
> LINESPMode="0" LINESP="15" INDENT="0" RMARGIN="0" FIRST="0" VOR="0"
> NACH="0" DROP="0" DROPLIN="2" DROPDIST="0"/>
>         <STYLE NAME="csv" INDENT="15" FIRST="-15" FONT="Nimbus Roman No9
> L Regular" LANGUAGE="English">
>             <Tabs Type="0" Pos="3" Fill=""/>
>             <Tabs Type="0" Pos="94" Fill=""/>
>             <Tabs Type="0" Pos="177" Fill=""/>
>             <Tabs Type="0" Pos="252" Fill=""/>
>         </STYLE>
>     </DOCUMENT>
> </SCRIBUSUTF8NEW>
>
>

Greg,

Thanks.  I had misunderstood what you meant the first time.  I did put a
tab stop at 2 points from the left and that exhausted the unnecessary tab
that Scribus inserts at the first of each imported line.

I find it hard to believe that Scribus inserts that artificial comma at the
beginning of each line when one imports a .csv file.  Sure that is an error
and not some feature.   I would have thought that would be a big enough
error that it would have been corrected, unless, of course, it came up in
the latest versions.

But, the knowledge of what happens sure makes much clearer a few issues
I've experienced before that caused me not to use comma separated files in
the past.

John Ghormley  KJ4UFG
Editor, SERA *Repeater Journal*
Walkertown USA
editor at sera.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.scribus.net/pipermail/scribus/attachments/20130422/32eacd89/attachment.html>


More information about the scribus mailing list