Ubuntu :: Using The "convert' Command Is There A Way To Start The Numbering At 22 Or 47 Instead Of 0
Jan 30, 2011when using the "convert' command is there a way to start the numbering at 22 or 47 instead of 0.
View 1 Replieswhen using the "convert' command is there a way to start the numbering at 22 or 47 instead of 0.
View 1 RepliesWhen using the pr command for formatting simple text files for printing, page numbers are included in the header by default. I figured out how to remove the date from the header (pr -D ""), and how to remove the title (pr -h ""), but for the life of me I can't figure out how to remove page numbering from the header. Anybody know how/if this can be accomplished?
View 1 Replies View RelatedI am trying to use 'convert' in command prompt to convert image file format.I get the following error.
convert: UnableToOpenConfigureFile `delegates.xml' @ configure.c/GetConfigureOptions/589.
convert: NoDecodeDelegateForThisImageFormat `airplane.jpg' @ constitute.c/ReadImage/530.
convert: MissingAnImageFilename `airplane.ppm' @ convert.c/ConvertImageCommand/2838.
I'm trying to convert this awk command from command line into an awk script, but just cannot get it to work:
This is what i have after my BEGIN
Am i missing something here? this just prints out the count for everyline, not counting lines on 5th field that match 'A'
I used this command to merge a book I downloaded by chapters into a single file (I'm putting it here so I don't forget : )
Code:
gs -dBATCH -dNOPAUSE -q -sDEVICE=pdfwrite -sOutputFile=book.pdf 0*.pdf
As you know, many (or most?) books number the first pages using roman numbers, so in the pdf the page #1 is actually the logical page #12.
Also, the combined file doesn't have a logical index (section, subsection, etc.) showing in okular or evince.
Since I have many pdfs in similar condition I was wondering if there's a way to change the numbering to make the first "n" pages use logical roman numbers and add a logical index.
I basically just surf the net, email, chat etc. I have an older 1.6 Ghz P4 - 60 Gig Hd - 128Mb Nvidea GForce T1400 (i like the dual display, is that supported),I have had enuff of bill gates buy it again and again b*llsh*t, and have been curious about linux and am ready now to remove winbloze from my hard drive for good and was wondering where to start. Which version of linux,what preparations do I need to make in advance etc.so as to reduce my down time. I am a total newbie and know virtually nothing about Linux except that it is supposed to be a better OS than windows in many ways, but lacking in support from the big company's.
View 14 Replies View RelatedI am trying to get my ethernet adapter list to make some sense. This is what ifconfig spits out
Code:
agarzon@euler:~$ ifconfig
eth3 Link encap:Ethernet HWaddr b8:ac:6f:3b:f4:4f
[code]....
I want to enable line numbering in emacs - as is vi, which we use exclusively at work (my boss removed emacs from all the machines in the department.)
In vi you just use :set nu - the is a site that explains that this is possible [URL]
It describes a linenum.el - and I can see the program, but don't understand how to install it.
I am working on a literature project, and my school rules say to put the abstract in twice, both in Norwegian and English.
I have gotten LaTeX to accept this, but the page numbering is not good. it seems that I get this order (page numbers in ()
titlepage
Norwegian abstract(I)
blank page (II)
English abstract(I)
[Code].....
will I have to manually set the counter for each part of the preface to get a continuous count? Using report class
I could not number formula in Open Office writer relative to a chapter. I would like to numbering like 1.1, 1.2, 1.2. 2.1 etc. Is it possible. I searched in Helps, but doesn't found anything!
View 1 Replies View RelatedI'm trying to convert a jpg to eps with ghostscript using the command
Code:
gs -sDEVICE=jpeg -dJPEGQ=100 -dNOPAUSE -dBATCH -dSAFER -r300 -sOutputFile=file1.jpg file1.eps
but I'm getting the error message
Code:
Error: /undefinedfilename in (file1.eps)
[Code].....
I have a .doc file. The Table on Contents has Roman Numerals as well as the footing. The Table of Contents is linked to the pages and headings. How do I change these to a different numbering system: 1,2,3,? The format is A4 and I want to convert it to letter. Can I do this and keep the links in the TOC to the pages and headings?
View 2 Replies View RelatedI'm having trouble getting a system to boot. Specifically, I think the MBR is trashed and I don't know how to repair it. I'm scared to experiment The system has a PATA DVD drive, a SATA drive via a motherboard connector and two 3ware RAID controllers. I can boot systems from the DVD drive but when I try to boot from the hard drive grub says Error 2 (which is a stage 1.5 error, I think).
The m/b SATA drive has both a 10.3 and an 11.1 system installed, on partions 2 and 3 respectively. Partition 1 is a swap partition. The RAID arrays are whole-disk LVM systems containing data. I want to run the 10.3 system. The BIOS is set to boot from the DVD then the m/b SATA, and NOT to boot from the RAIDs. Two issues worry me: grub's disk numbering and grub version dependency. If I boot into the rescue system on the 10.3 install DVD it shows the partitioned disk as /dev/sda. If I boot into the rescue system on the 11.1 install DVD it shows the partitioned disk as /dev/sdc. I suppose that means something in the kernel changed?
If I run grub in the 11.1 rescue system, I can say "find /boot/grub/menu.lst" and it reports two files on (hd2,1) and (hd2,2). If I run grub in the 10.3 rescue system it says error 15 file not found.I'm scared to use 11.1 grub to setup hd2 because when I've tried previously I've managed to overwrite the LVM metadata on one of the RAID arrays. Is there some way I might get the find command in the 10.3 grub to work? Or is there some way to test what the 11.1 grub will do that is non-destructive.
Convert a .caf to mp3 using linux command line.. can anybody give me the ffmpeg or other command to the same conversion?
View 3 Replies View RelatedI want to monitor my work on the terminal.I know we can use script command.But every time when I start the terminal, I have to type script to start it.I want to automate it. So where should I include this command so that it will start as soon as I start the terminal ?
MY WORK TILL NOW: I have put this "script" command in the .profile.The when I start the terminal, it became an INFINITE LOOP.I am able to "echo".Thats coming only once.....but if I write a "script" command then it is becoming an INFINITE LOOP.
I need to convert thousands of DDS images to PNG format in Linux, preferably in command line. Is there any program available for such task?
View 1 Replies View RelatedI'm having trouble finding information on using gstreamer to convert videos from the command line. I've seen examples to convert audio and know it's possible to convert video (Thoggen does this with gstreamer) but what would the command be to execute this? I assume it will use gst-launch but there are so many following switches that it gets confusing. I'm interested in converting a DVD to OGG (as Thoggen does). I ask this because Thoggen:
1) Doesn't remember my preferences (quality, picture size etc.)
2) Gives me a huge preview window that I do not need (while it is encoding)
Used mpg123 command to convert mp3 to wav files. It is been converted fine but the question is why the file size is get differed?
For an example, # mpg123 -w out.wav Fav.mp3 Here Fav.mp3 size is 1.2 M and out.wav file size is 16M
Is there any specific reason in it?
I'd like to find a way of
1) capturing an RDF formatted RSS feed as a file on my computer
2) converting the result to HTML using local command line tools
I've sorted 1) with wget? I've discovered xsltproc but I'm going round in circles. The master plan is to import my pinboard bookmarks into a static web site produced on my linux box using a handful of clever bash scripts.
I have a colour PDF file, and I'm going to print it out and then photocopy it in black and white. I'd like to know what it's like in B&W before photocopying it. Is it possible to 'greyscale' a PDF on the command line using free software? I'm using Ubuntu 9.10.
View 2 Replies View RelatedI've got some documents in DjVu which I'll like convert to PDF. Is there a way to do this using command line OSS tools?
View 2 Replies View RelatedI've spent a lot of time googling on this one, but could not really find anything that would convert HTML to images. Does anyone know if there are some command line tools that can do this? I need to convert simple HTML documents to images to be attached to Powerpoint presentations. Could firefox gecko be tapped into to do this without a GUI?
View 4 Replies View RelatedIs there a free linux command line tool to convert SVG to PDF and/or some commonly-used bitmap format (for example PNG)?
View 2 Replies View RelatedI am making a text search engine. I need to first convert binary documents to text. I want to go with cross-platform (we develop both on windows and linux) command line (so that I can get the output via python subprocess). What are the choices for this?
View 1 Replies View RelatedI am new to Linux and I am trying to convert image files to mpeg video I tried using this command images2mpg -o Vorticity.mpeg -i Vorticity-Magnitude0%d.jpeg I get an error as below bash: images2mpg: command not found
View 2 Replies View RelatedI would like to convert a .ods file to a .csv file via command line on a server running ubuntu with no graphical interface.
xls2csv does a perfect job on xls files; is there something similar for ods files?
An easy way to convert wav files into mp3 (or ogg).
$ sudo-apt-get install nautilus-script-audio-convert mpg321 vorbis-tools lame nautilus-script-manager.
after that run
$ nautilus-script-manager enable ConvertAudioFile
Now, when you right click on audio file, under 'scripts', you will see ConvertAudioFile option.
I need to be able to convert HTML email messages saved as text files (.eml or .msg) to PDF documents, one PDF per email, retaining formatting and images.
Are there any Linux tools that will allow me to do this from the command line (so it can be scripted)?
I have Ubuntu 9.04 and just installed Sound Converter. I am trying to convert a bunch of .ogg files to mp3 to play on my iPod and it's not working so well. In the Sound Converter options I have is set to convert to high quality mp3. I choose the folder that the files are in and after a moment (slow laptop) Sound Converter populates, I hit 'convert' and it shows that the conversion completes in two seconds. All that it did was create the new folder structure of artist/album but there is nothing in there. Not sure what I am missing. I used Sound Converter before and it worked fine.
View 2 Replies View RelatedI want to add an item to my start up... I went to start up and hit add. I want my conky to start up... I need a terminal and the code conky that should start it how do you get a terminal command in start up.?
View 2 Replies View Related