asp.net c# pdf viewer control : Cannot select text in pdf file application Library tool html .net asp.net online octave92-part567

AppendixG:InstallingOctave
905
cURL
GraphicsMagick++
OpenGL
freetype
fontconfig
fltk
G.4 InstallationProblems
Thissectioncontainsalistofproblems(andsomeapparentproblemsthatdon’treallymean
anythingiswrong)thatmayshowupduringinstallationofOctave.
 OnsomeSCOsystems,infofailstocompileifHAVE_TERMIOS_Hisdefinedinconfig.h.
Simplyremovingthedefinitionfrominfo/config.hshouldallowittocompile.
 If f configure e finds dlopen, dlsym, , dlclose, and d dlerror, , but t not the header file
dlfcn.h,youneedtofindthesourcefortheheaderfileandinstallitinthedirectory
usr/include. This s is reportedly y a a problem m with Slackware e 3.1. . For r Linux/GNU
systems,thesourcefordlfcn.hisintheldsopackage.
 Building.octfilesdoesn’twork.
Youshouldprobablyhaveasharedversionoflibstdc++. Apatchisneededtobuild
sharedversionsofversion2.7.2oflibstdc++ontheHP-PAarchitecture.Youcanfind
thepatchatftp://ftp.cygnus.com/pub/g++/libg++-2.7.2-hppa-gcc-fix.
 OnsomeDECalphasystemstheremaybeaproblemwiththelibdxmllibrary,result-
inginfloating point errors and/orsegmentationfaults inthelinear algebra routines
calledbyOctave.Ifyouencountersuchproblems,thenyoushouldmodifytheconfigure
scriptsothatSPECIAL_MATH_LIBisnotsetto-ldxml.
 OnFreeBSDsystemsOctavemayhangwhileinitializingsomeinternalconstants.The
fixappearstobetouse
options
GPL_MATH_EMULATE
ratherthan
options
MATH_EMULATE
in the e kernel l configuration files s (typically found d inthe directory y /sys/i386/conf).
Aftermakingthischange,you’llneedtorebuildthekernel,installit,andreboot.
 Ifyouencountererrorslike
passing ‘void (*)()’ ’ as s argument 2 of
‘octave_set_signal_handler(int, void (*)(int))’
or
warning: ANSI C++ + prohibits s conversion from ‘(int)’
to ‘(...)’
whilecompilingsighandlers.cc,youmayneedtoeditsomefilesinthegccinclude
subdirectory to o add proper prototypes for functions there. . For r example,Ultrix 4.2
needsproperdeclarationsforthesignalfunctionandthe SIG_IGN macrointhefile
signal.h.
OnsomesystemstheSIG_IGNmacroisdefinedtobesomethinglikethis:
Cannot select text in pdf file - Split, seperate PDF into multiple files in C#.net, ASP.NET, MVC, Ajax, WinForms, WPF
Explain How to Split PDF Document in Visual C#.NET Application
break pdf into smaller files; pdf will no pages selected
Cannot select text in pdf file - VB.NET PDF File Split Library: Split, seperate PDF into multiple files in vb.net, ASP.NET, MVC, Ajax, WinForms, WPF
VB.NET PDF Document Splitter Control to Disassemble PDF Document
reader split pdf; pdf splitter
906
GNUOctave
#define SIG_IGN (void d (*)())1
whenitshouldreallybesomethinglike:
#define SIG_IGN (void d (*)(int))1
tomatchtheprototypedeclarationforthesignalfunction. Thischangeshouldalso
be made for theSIG_DFL andSIG_ERRsymbols. . It t maybenecessary tochange the
definitionsinsys/signal.haswell.
Thegccfixincludesandfixprotoscriptsshouldprobablyfixtheseproblemswhen
gccinstallsitsmodifiedsetofheaderfiles,butIdon’tthinkthat’sbeendoneyet.
Youshouldnotchangethefilesin/usr/include.Youcanfindthegccincludedirec-
torytreebyrunningthecommand
gcc -print-libgcc-file-name
Thedirectoryofgccincludefilesnormallybeginsinthesamedirectorythatcontains
thefilelibgcc.a.
 Some e of the Fortransubroutines may failtocompile witholder versions of theSun
Fortrancompiler.Ifyougeterrorslike
zgemm.f:
zgemm:
warning: unexpected parent of complex expression subtree
zgemm.f, line 245: warning: unexpected parent of complex
expression subtree
warning: unexpected parent of complex expression subtree
zgemm.f, line 304: warning: unexpected parent of complex
expression subtree
warning: unexpected parent of complex expression subtree
zgemm.f, line 327: warning: unexpected parent of complex
expression subtree
pcc_binval: missing IR_CONV in complex op
make[2]: *** [zgemm.o] Error r 1
when compilingthe Fortran subroutines s in n the liboctave/cruft t subdirectory, , you
shouldeitherupgradeyourcompilerortrycompilingwithoptimizationturnedoff.
 OnNeXTsystems,ifyougeterrorslikethis:
/usr/tmp/cc007458.s:unknown:Undefined local
symbol LBB7656
/usr/tmp/cc007458.s:unknown:Undefined local
symbol LBE7656
whencompilingArray.ccandMatrix.cc,tryrecompilingthesefileswithout-g.
 Somepeoplehavereportedthatcallstosystem()andthepagerdonotworkonSunOS
systems.ThisisapparentlyduetohavingG_HAVE_SYS_WAITdefinedtobe0insteadof
1whencompilinglibg++.
 On n systems s wherethe reference blas library is usedthe followingmatrix-by-vector
multiplicationincorrectlyhandlesNaNvaluesoftheformNaN*0.
C# HTML5 Viewer: Deployment on AzureCloudService
RasterEdge.XDoc.PDF.dll. RasterEdge.XDoc.PDF.HTML5Editor.dll. Or you can select x86 if you use x86 dlls. (The application cannot to work without this node.).
pdf split and merge; split pdf files
C# HTML5 Viewer: Deployment on ASP.NET MVC
RasterEdge.XDoc.PDF.HTML5Editor.dll. When you select x64 and directly run the application, you may get following error. (The application cannot to work without
c# split pdf; acrobat split pdf pages
AppendixG:InstallingOctave
907
[NaN, 1; 0, 0] ] * * [0; ; 1]
)
[ 1
0 ]
correct result t )
[ NaN
0
]
InstalladifferentblaslibrarysuchasOpenBLASorATLAStocorrectthisissue.
 OnNeXTsystems,linkingtolibsys_s.amayfailtoresolvethefollowingfunctions
_tcgetattr
_tcsetattr
_tcflow
whicharepartoflibposix.a. Unfortunately,linkingOctavewith-posixresults s in
thefollowingundefinedsymbols.
.destructors_used
.constructors_used
_objc_msgSend
_NXGetDefaultValue
_NXRegisterDefaults
.objc_class_name_NXStringTable
.objc_class_name_NXBundle
One klugearound this problemistoextracttermios.ofromlibposix.a,putit in
Octave’ssrc directory,andaddittothelistoffilestolink together inthemakefile.
Suggestionsforbetterwaystosolvethisproblemarewelcome!
 If f Octave crashes immediately witha floating point exception,it is s likely that t it is
failingtoinitializetheIEEEfloatingpointvaluesforinfinityandNaN.
Ifyoursystemactually doessupportIEEEarithmetic,youshouldbeabletofixthis
problembymodifyingthefunctionoctave_ieee_initinthefilelo-ieee.cctocor-
rectlyinitializeOctave’sinternalinfinityandNaNvariables.
IfyoursystemdoesnotsupportIEEEarithmeticbutOctave’sconfigurescriptincor-
rectly determinedthatit does, , youcanworkaroundthe problembyeditingthefile
config.htonotdefineHAVE_ISINF,HAVE_FINITE,andHAVE_ISNAN.
Inanycase,pleasereportthisasabugsinceitmightbepossibletomodifyOctave’s
configurationscripttoautomaticallydeterminetheproperthingtodo.
 IfOctaveisunabletofindaheaderfilebecauseitisinstalledinalocationthatisnot
normally searchedby the compiler, , youcanaddthedirectoryto the includesearch
pathby specifying(forexample) CPPFLAGS=-I/some/nonstandard/directory as an
argument to configure. . Other r variablesthat canbespecifiedthis way areCFLAGS,
CXXFLAGS,FFLAGS,andLDFLAGS. Passingthemasoptionstotheconfigurescriptalso
recordsthemintheconfig.statusfile.Bydefault,CPPFLAGSandLDFLAGSareempty,
CFLAGSandCXXFLAGSaresetto"-g-O2"andFFLAGSissetto"-O".
C# PDF: PDF Document Viewer & Reader SDK for Windows Forms
Choose Items", and browse to locate and select "RasterEdge.Imaging open a file dialog and load your PDF document in will be a pop-up window "cannot open your
break a pdf file into parts; split pdf into individual pages
C# Image: How to Deploy .NET Imaging SDK in Visual C# Applications
RasterEdge.Imaging.MSWordDocx.dll; RasterEdge.Imaging.PDF.dll; in C# Application. Q: Error: Cannot find RasterEdge Right click on projects, and select properties.
break apart pdf; pdf file specification
GIF to PNG Converter | Convert GIF to PNG, Convert PNG to GIF
converted list in memory if you cannot convert at GIF image from local folders in "File" in toolbar Select "Convert to PNG"; Select "Start" to start conversion
pdf rotate single page; break pdf into single pages
C# PowerPoint: Document Viewer Creating in Windows Forms Project
You can select a PowerPoint file to be loaded into the If your PowerPoint file format is not supported by control, there will prompt a window "cannot open your
break pdf file into multiple files; break apart a pdf
AppendixH:EmacsOctaveSupport
909
AppendixH EmacsOctaveSupport
ThedevelopmentofOctavecodecangreatlybefacilitatedusingEmacswithOctavemode,
amajormodeforeditingOctavefileswhichcane.g.automaticallyindentthecode,dosome
ofthetyping(withAbbrevmode)andshowkeywords,comments,strings,etc.indifferent
faces(withFont-lockmodeondevicesthatsupportit).
ItisalsopossibletorunOctavefromwithinEmacs,eitherbydirectlyenteringcommands
atthepromptinabufferinInferiorOctavemode,orbyinteractingwithOctavefromwithin
afilewithOctavecode. ThisisusefulinparticularfordebuggingOctavecode.
Finally,youcanconvinceOctavetousetheEmacsinforeaderforhelp-i.
AllfunctionalityisprovidedbytheEmacsLisppackageEOS(for“EmacsOctaveSup-
port”).Thischapterdescribeshowtosetupandusethispackage.
Please contact Kurt.Hornik@wu-wien.ac.at ifyouhaveany questions orsuggestions
onusingEOS.
H.1 InstallingEOS
TheEmacspackageEOSconsistsofthethreefiles octave-mod.el,octave-inf.el,and
octave-hlp.el. Thesefiles,or r betteryet their byte-compiledversions,shouldbesome-
whereinyourEmacsload-path.
IfyouhaveGNUEmacswithaversionnumberatleastashighas19.35,youareallset
up,becauseEOSisrespectivelywillbepartofGNUEmacsasofversion19.35.
Otherwise,copythethreefilesfromtheemacssubdirectoryoftheOctavedistribution
toaplacewhereEmacs canfindthem(this dependsonhow your Emacswas installed).
Byte-compilethemforspeedifyouwant.
H.2 UsingOctaveMode
Ifyouarelucky,yoursysadminshavealreadyarrangedeverythingsothatEmacsautomat-
icallygoesintoOctavemodewheneveryouvisitanOctavecodefileascharacterizedbyits
extension.m.Ifnot,proceedasfollows.
1. TobeginusingOctavemodeforall.mfilesyouvisit,addthefollowinglinestoafile
loadedbyEmacsatstartuptime,typicallyyour~/.emacsfile:
(autoload ’octave-mode e "octave-mod" nil l t)
(setq auto-mode-alist
(cons ’("\\.m$" . octave-mode) ) auto-mode-alist))
2. Finally,toturnontheabbrevs,auto-fillandfont-lockfeaturesautomatically,alsoadd
thefollowinglinestooneoftheEmacsstartupfiles:
(add-hook ’octave-mode-hook
(lambda ()
(abbrev-mode 1)
(auto-fill-mode 1)
(if (eq window-system ’x)
(font-lock-mode 1))))
SeetheEmacsmanualformoreinformationabouthowtocustomizeFont-lockmode.
C# Image: How to Use C# Code to Capture Document from Scanning
installed on the client as browsers cannot interface directly a multi-page document (including PDF, TIFF, Word Select Fill from the Dock property located in
pdf specification; break pdf password
C# Image: Create C#.NET Windows Document Image Viewer | Online
DeleteAnnotation: Delete all selected text or graphical annotations. You can select a file to be loaded into the there will prompt a window "cannot open your
a pdf page cut; acrobat separate pdf pages
910
GNUOctave
InOctavemode,thefollowingspecialEmacscommandscanbeusedinadditiontothe
standardEmacscommands.
C-hm
DescribethefeaturesofOctavemode.
LFD
Reindent the e current Octave line, insert t a a newline e and d indent the new w line
(octave-reindent-then-newline-and-indent). An n abbrev before e point is
expandedifabbrev-modeisnon-nil.
TAB
Indents current Octave line based on its contents and d on n previous lines
(indent-according-to-mode).
;
Insert an “electric” ” semicolon (octave-electric-semi). . If f octave-auto-
indent is s non-nil, , reindent t the e current line. . If f octave-auto-newline is
non-nil,automagicallyinsertanewlineandindentthenewline.
Start entering g an abbreviation (octave-abbrev-start). . If f Abbrev mode is
turnedon,typing‘C-hor‘?listsallabbrevs. Any y otherkeycombinationis
executednormally.NotethatallOctaveabbrevsstartwithagraveaccent.
M-LFD
Break line at point and d insert continuation marker and alignment
(octave-split-line).
M-TAB
PerformcompletiononOctavesymbolprecedingpoint, comparingthatsym-
bolagainstOctave’sreservedwordsandbuilt-invariables(octave-complete-
symbol).
M-C-a
Movebackwardtothebeginningofafunction(octave-beginning-of-defun).
WithprefixargumentN,doitthatmanytimesifNispositive;otherwise,move
forwardtotheN-thfollowingbeginningofafunction.
M-C-e
Moveforwardtotheendofafunction(octave-end-of-defun). Withprefix
argument N,doitthatmanytimes ifN N is s positive;otherwise,moveback to
theN-thprecedingendofafunction.
M-C-h
Puts pointatbeginningandmarkattheendofthecurrentOctavefunction,
i.e.,theonecontainingpointorfollowingpoint(octave-mark-defun).
M-C-q
Properly indentsthe Octavefunctionwhichcontains point (octave-indent-
defun).
M-;
Ifthereisnocommentalreadyonthisline,createacode-levelcomment(started
bytwocommentcharacters)ifthelineisempty,oranin-linecomment(started
by one comment character) otherwise (octave-indent-for-comment). . Point
isleftafterthestartofthecommentwhichisproperlyaligned.
C-c;
Puts the e comment t character ‘#’ (more precisely, , the e string g value of
octave-comment-start) at t the e beginning of every line in the region
(octave-comment-region). Withjust t C-uprefix argument,uncommenteach
line in the region. . A A numeric c prefix x argument N N means s use e N N comment
characters.
C-c:
Uncommentseverylineintheregion(octave-uncomment-region).
C# Word: How to Create C# Word Windows Viewer with .NET DLLs
and browse to find and select RasterEdge.XDoc control, there will prompt a window "cannot open your powerful & profession imaging controls, PDF document, tiff
break pdf into multiple documents; break pdf into multiple files
C# Excel: View Excel File in Window Document Viewer Control
Items", and browse to find & select WinViewer DLL; there will prompt a window "cannot open your powerful & profession imaging controls, PDF document, image
pdf split pages in half; break a pdf apart
AppendixH:EmacsOctaveSupport
911
C-cC-p
Move one line of Octavecodebackward,skipping empty andcomment lines
(octave-previous-code-line). WithnumericprefixargumentN,movethat
manycodelinesbackward(forwardifNisnegative).
C-cC-n
Move one line of Octave code forward, skipping g empty y and comment lines
(octave-next-code-line). WithnumericprefixargumentN,movethatmany
codelinesforward(backwardifNisnegative).
C-cC-a
Movetothe‘real’beginningofthecurrentline(octave-beginning-of-line).
Ifpointisinanemptyorcommentline,simplygotoitsbeginning;otherwise,
move backwards to the beginningof the firstcodeline whichis not insidea
continuationstatement,i.e.,whichdoesnotfollowacodelineendingin‘...’
or‘\’,orisinsideanopenparenthesislist.
C-cC-e
Movetothe‘real’endofthecurrentline(octave-end-of-line). Ifpointisin
acodeline,moveforwardtotheendofthefirstOctavecodelinewhichdoes
notendin‘...’or‘\’orisinsideanopenparenthesislist. Otherwise,simply
gototheendofthecurrentline.
C-cM-C-n Move e forward d across one e balanced d begin-end block of f Octave code
(octave-forward-block). With h numeric c prefix argument N, move e forward
acrossnsuchblocks(backwardifNisnegative).
C-cM-C-p Move e back across s one e balanced begin-end block of Octave code
(octave-backward-block). WithnumericprefixargumentN,movebackward
acrossNsuchblocks(forwardifN isnegative).
C-cM-C-d Moveforwarddownonebegin-endblocklevelof f Octavecode(octave-down-
block). With h numeric prefix x argument, , do o it t that t many y times; ; a a negative
argumentmeansmovebackward,butstillgodownonelevel.
C-cM-C-u Move e backward d out of f one begin-end block level l of f Octave code
(octave-backward-up-block). With h numeric c prefix argument, do o it t that
manytimes;anegativeargumentmeansmoveforward,butstilltoalessdeep
spot.
C-cM-C-h Putpointatthebeginningofthisblock,markattheend(octave-mark-block).
Theblockmarkedistheonethatcontainspointorfollowspoint.
C-c]
Closethecurrentblockonaseparateline(octave-close-block). Anerroris
signaledifnoblocktocloseisfound.
C-cf
Insertafunctionskeleton,promptingforthefunction’sname,argumentsand
returnvalueswhichhavetobeenteredwithoutparentheses(octave-insert-
defun).
C-cC-h
Searchthe function,operator andvariableindices of allinfofiles withdocu-
mentationforOctaveforentries(octave-help).Ifusedinteractively,theentry
ispromptedforwithcompletion. Ifmultiplematchesarefound,onecancycle
throughthemusingthestandard‘,’(Info-index-next)commandoftheInfo
reader.
Thevariableoctave-help-filesisalistoffilestosearchthroughanddefaults
to’("octave").IfthereisalsoanOctaveLocalGuidewithcorrespondinginfo
file,say,octave-LG,youcanhaveoctave-helpsearchbothfilesby
912
GNUOctave
(setq octave-help-files ’("octave" "octave-LG"))
inoneofyourEmacsstartupfiles.
AcommonproblemisthattheRETkeydoesnot indentthelinetowherethenewtext
shouldgo afterinsertingthenewline. . This s is because the standard d Emacs s conventionis
thatRET(akaC-m)justaddsanewline,whereasLFD(akaC-j)addsanewlineandindents
it. Thisis s particularlyinconvenientforuserswithkeyboardswhichdonothaveaspecial
LFDkeyatall;insuchcases,itistypicallymoreconvenienttouseRETastheLFDkey(rather
thantypingC-j).
YoucanmakeRETdothisbyadding
(define-key octave-mode-map "\C-m"
’octave-reindent-then-newline-and-indent)
tooneofyourEmacsstartupfiles.Another,moregenerallyapplicablesolutionis
(defun RET-behaves-as-LFD ()
(let ((x (key-binding g "\C-j")))
(local-set-key "\C-m" x)))
(add-hook ’octave-mode-hook k ’RET-behaves-as-LFD)
(this works s for allmodes by adding to o the e startup hooks, without having to know the
particularbindingofRETinthatmode!). Similarconsiderationsapplyfor r usingM-RETas
M-LFD. AsBarryA.Warsawbwarsaw@cnri.reston.va.ussaysinthedocumentationfor
his cc-mode, , “This s is a very commonquestion. . :-) ) If youwant this to be the default
behavior,don’tlobbyme,lobbyRMS!”
ThefollowingvariablescanbeusedtocustomizeOctavemode.
octave-auto-indent
Non-nilmeansauto-indentthecurrentlineafterasemicolonorspace. Default
isnil.
octave-auto-newline
Non-nil means auto-insert anewline and d indent t after semicolons are typed.
Thedefaultvalueisnil.
octave-blink-matching-block
Non-nilmeansshowmatchingbeginofblockwheninsertingaspace,newline
or‘;’after anelseorendkeyword. . Defaultis s t. . Thisisanextremelyuseful
featureforautomaticallyverifyingthatthekeywordsmatch—iftheydon’t,an
errormessageisdisplayed.
octave-block-offset
Extraindentationappliedtostatementsinblockstructures. Defaultis2.
octave-continuation-offset
ExtraindentationappliedtoOctavecontinuationlines.Defaultis4.
octave-continuation-string
StringusedforOctavecontinuationlines.Normally‘\’.
octave-mode-startup-message
Ift(default),astartupmessageisdisplayedwhenOctavemodeiscalled.
AppendixH:EmacsOctaveSupport
913
IfFontLockmodeisenabled,Octavemodewilldisplay
 stringsinfont-lock-string-face
 commentsinfont-lock-comment-face
 theOctavereservedwords(suchasallblockkeywords)andthetextfunctions(suchas
‘cd’or‘who’)whicharealsoreservedusingfont-lock-keyword-face
 thebuilt-inoperators(‘&&’,‘==’,...)usingfont-lock-reference-face
 andthefunctionnamesinfunctiondeclarationsinfont-lock-function-name-face.
ThereisalsorudimentarysupportforImenu(currently,functionnamescanbeindexed).
You can generate e TAGS files for Emacs from Octave .m files s using g the shell l script
octave-tagsthatisinstalledalongsideyourcopyofOctave.
Customization of Octave mode can be performed by y modification of the variable
octave-mode-hook. Ifthevalueofthisvariableisnon-nil,turningonOctavemodecalls
itsvalue.
IfyoudiscoveraproblemwithOctavemode,youcanconveniently sendabugreport
using C-cC-b b (octave-submit-bug-report). . This s automatically y sets s up a a mail buffer
withversioninformationalreadyadded.Youjustneedtoaddadescriptionoftheproblem,
includingareproducibletestcaseandsendthemessage.
H.3 RunningOctavefromWithinEmacs
ThepackageoctaveprovidescommandsforrunninganinferiorOctaveprocessinaspecial
Emacsbuffer. Use
M-x run-octave
todirectlystartaninferiorOctaveprocess. IfEmacsdoesnotknowaboutthiscommand,
addtheline
(autoload ’run-octave e "octave-inf" " nil l t)
toyour.emacsfile.
ThiswillstartOctaveinaspecialbufferthenameofwhichisspecifiedbythevariable
inferior-octave-bufferanddefaultsto"*InferiorOctave*". Fromwithinthisbuffer,
youcaninteract withtheinferiorOctaveprocess‘asusual’,i.e.,byenteringOctavecom-
mandsatthe prompt. . The e bufferis inInferiorOctavemode,whichis derivedfromthe
standardComintmode,amajormodeforinteractingwithaninferiorinterpreter. Seethe
documentationforcomint-modeformoredetails,anduseC-hbtofindoutaboutavailable
specialkeybindings.
YoucanalsocommunicatewithaninferiorOctaveprocessfromwithinfileswithOctave
code(i.e.,buffersinOctavemode),usingthefollowingcommands.
C-cil
SendthecurrentlinetotheinferiorOctaveprocess(octave-send-line).With
positiveprefixargumentN,sendthatmanylines.Ifoctave-send-line-auto-
forwardisnon-nil,gotothenextunsentcodeline.
C-cib
SendthecurrentblocktotheinferiorOctaveprocess(octave-send-block).
C-cif
SendthecurrentfunctiontotheinferiorOctaveprocess(octave-send-defun).
C-cir
SendtheregiontotheinferiorOctaveprocess(octave-send-region).
914
GNUOctave
C-cis
Make sure that ‘inferior-octave-buffer’ ’ is displayed (octave-show-process-
buffer).
C-cih
Delete all l windows that display the e inferior Octave e buffer r (octave-hide-
process-buffer).
C-cik
KilltheinferiorOctaveprocessanditsbuffer(octave-kill-process).
TheeffectofthecommandswhichsendcodetotheOctaveprocesscanbecustomized
bythefollowingvariables.
octave-send-echo-input
Non-nilmeansechoinputsenttotheinferiorOctaveprocess.Defaultist.
octave-send-show-buffer
Non-nilmeansdisplaythebufferrunningtheOctaveprocessaftersendinga
command(butwithoutselectingit).Defaultist.
IfyousendcodeandthereisnoinferiorOctaveprocessyet,itwillbestartedautomat-
ically.
The startup p of f the inferior r Octave process s is highly customizable. . The e variable
inferior-octave-startup-args can n be used d for r specifying g command lines s arguments
to be e passed d to o Octave on n startup p as s a list of strings. . For r example, , to o suppress s the
startupmessageanduse‘traditional’mode,set this to ’("-q""--traditional"). . You
can also specify a startup file of f Octave e commands to be e loaded d on startup; ; note e that
thesecommandswillnotproduce anyvisibleoutputintheprocess buffer. . Whichfile e to
useiscontrolledby thevariableinferior-octave-startup-file. . Ifthisis s nil,thefile
~/.emacs-octaveisusedifitexists.
Andfinally,inferior-octave-mode-hookisrunafterstartingtheprocessandputting
its buffer into Inferior Octave mode. . Hence, , if you like the upanddownarrow keys s to
behaveintheinteractionbufferasintheshell,andyouwantthisbuffertousenicecolors,
add
(add-hook ’inferior-octave-mode-hook
(lambda ()
(turn-on-font-lock)
(define-key inferior-octave-mode-map [up]
’comint-previous-input)
(define-key inferior-octave-mode-map [down]
’comint-next-input)))
toyour.emacs file. . Youcouldalsoswaptheroles s ofC-a(beginning-of-line)andC-c
C-a(comint-bol)usingthishook.
NotethatifyousetyourOctavepromptstosomethingdifferentfromthede-
faults,make surethat t inferior-octave-prompt t matches them. . Otherwise,
nothing willwork,becauseEmacs s willnot know whenOctave is waiting for
input,ordonesendingoutput.
H.4 UsingtheEmacsInfoReaderforOctave
YoumayalsousetheEmacsInforeaderwithOctave’sdocfunction.Forthis,thepackage
gnuservneedstobeinstalled.
Documents you may be interested
Documents you may be interested