DEVELOPER TODO: make adding fields dynamic and make it to remember values
input fields
options
When this is selected only the first non-empty value is copied to target field. This can be handy for cases where there are different language versions of the text and you need to make sure that there is at least some version of the text available.


SignIn
Register
Home
Products
0 Items
0 Items
0 Items
Home
Products
SignOut
Fruits and Vegetables
Bakery and Dairy
Beauty and Hygiene
Beverages
Baby Care
Fruits & Vegetables
Bakery Cakes and Dairy
Beverages
Beauty and Hygiene
Baby Care
My Cart
(
0 items
)


Episode 105 – Feature Management with Andrew Lock | The 6 Figure Developer Andrew is a full-time developer, working predominantly in full stack ASP.NET development in Devon, UK. He's a Microsoft MVP, C# lover, and blogger with a focus on ASP.NET. and Author of ASP.NET
Green Padlocks, Gray Padlocks - Does Anyone Really Care? Authentic8 - The Silo Sessions Podcast: Chat with Troy Hunt (creator of haveibeenpwned.com) and Scott Helme (founder of report-uri.com) about how browsers interpret SSL/TLS certificates and the protracted death of EV certs.
Welcome to report-uri.com Report URI provides real-time security reporting for your site. We support Content Security Policy and many other modern browser security features.
Find solutions faster by analyzing crash dumps in Visual Studio | Visual Studio Blog When unexpected crashes occur in your managed application you are often left with little evidence of the issue; capturing and analyzing memory dumps may be your last best option. Thankfully Visual Studio is a great tool for analyzing your apps memory dump...
Script #Script is a simple, fast, highly versatile and embeddable scripting language for .NET Core and .NET Apps that utilizes a familiar JavaScript inspired expressive Syntax to enable dynamic scripting of .NET Apps via controlled access to pl...
Blazor Components - New Charts, Data Grid Enhancements and more (available in Beta #2) The second beta of the DevExpress UI for Blazor is now available and it includes new Chart and Data Visualization components, DataGrid enhancements, and support for Blazor Preview 8
.NET Core and systemd | .NET Blog In preview7 a new package was added to the `Microsoft.Extensions` set of packages that enables integration with systemd. For the Windows focused, systemd allows similar functionality to Windows Services, there is a post on how to do what we discuss here f...
Learn UI Design: The Complete Online Video Course Learn UI Design is a full-length online course on user interface and web design: color, typography, grids, design process, and more. Includes downloadable resources, homework, and a student community.
dotnet/coreclr CoreCLR is the runtime for .NET Core. It includes the garbage collector, JIT compiler, primitive data types and low-level classes. - dotnet/coreclr
Down the Rabbit Hole with a BLU Phone Infection Much-maligned BLU phones have been a privacy and spyware nightmare. Threatpost shares the story of one victim who experienced firsthand a relentless wave of unwanted programs, spyware and frustration.
Securing an Azure App Service Website under SSL in minutes with Let's Encrypt - Scott Hanselman Let’s Encrypt is a free, automated, and open Certificate Authority. That means you can get free SSL certs and change ...
How to Build Good Software Software has characteristics that make it hard to build with traditional management techniques; effective development requires a different, more exploratory and iterative approach.


Who are you?
I'm Ned Collyer. I specialize in web technologies - accessibility, HTML, JavaScript, Java frameworks etc. We build search products and solutions. These are mainly written in Java.
What do you use Hudson for?
We use Hudson for our CI needs. We have projects requiring a large number of configurable modules that need to run on different environments, with around 20 developers.
Previously we were using CruiseControl. We migrated because of the great failure reporting and central management that Hudson provides. Also configuring the lava lamps from a central XML feed just feels nicer, and the improving maven support is something to be excited about (order the module build order correctly - then it will be perfect
Build system
We use maven 2. The dependency management is fantastic. If you know how to use maven effectively it saves days of effort setting up build environments, tracking down dependencies (and/or their updates) and versioning internal modules.
Distributed builds
We have slaves for PostgreSQL, MySQL, Oracle running against Linux, and also a VM running Windows 2003 with MSSQL. These are running on a rack of beastly dual quadcore Xeons with a 4GB RAM each. We currently have 3 dedicated machines for this. A full build cycle takes around 40 minutes depending on the settings. The execution of the master node is significantly faster than the slaves so we use it for running Selenium integration tests (through selenese/maven/cargo). This is configured via MAVEN_OPTS on one of the sub modules.
These all poll SVN every 5 minutes - I could tweak it a bit to improve performance, but at the moment I know everything is getting tested when it happens.
Managing slaves
The slaves are autonomous. After I set them up there is no problem keeping them going. If the slave is turned on, Hudson can connect to it. I connect to the slaves via ssh, after copying the public keys from master to slave, there has been no issues.
Unfortunately, many of our modules test against the same database so we cannot take advantage multiple executors, and need to tie each build against a specific slave. The one thing that bugs me is probably not Hudson related. The Windows filesystem and how paths/classpath relate to Cygwin shell is horrible. I can't stand Windows!
Using virtual machines as slaves
Because our servers all run Linux, we use a VM to run our Windows test environment. We also use a VM to run Oracle - it just makes things easier . Each VM has its own IP so its just like any other physical machine on the network. If you have enough hardware running VMs is great! (eg: If you need to reinstall software, like Oracle, you can have it back up and running within minutes.)


--- title: Ronnie James Dio excerpt: On Sunday 16 May, 2010, Ronnie James Dio passed away. Having grown up listening to heavy metal bands from the 70's and 80's, I just can't believe the man is gone. date: '2010-05-18 19:56:49 +0200' date_gmt: '2010-05-18 17:56:49 +0200' categories: - General - Music tags: - Ronnie James Dio - heavy music ---
On Sunday 16 May, 2010, Ronnie James Dio passed away. Having grown up listening to heavy metal bands from the 70's and 80's, I just can't believe the man is gone. Rainbow -- one of the bands I listened to extensively -- was the main reason why I started playing drums in the 80's. Thank you for the music, Ronnie, and rest in peace!


The Field of Artificial Intelligence making the agent learn different based given data.
Field of the Artificial Intelligence dealing with images perceived by agents and harnessing the required details out of it.
Lead Designer
Lead Marketer
Lead Developer
Lorem ipsum dolor sit amet, consectetur adipisicing elit.


SingleSelectList allows you to choose one item from a list of options.
SingleSelectList
In this example, SingleSelectList is used to select an enumeration value for an entity attribute.


With .. you can easily find places, infomation about that places. By mapping them, you are creating your own tour.
We believe that information technology has made great effect on travelers. So that we 've created this application for everybody find out information about places, create their our trip and it will helpful with traveller along the journey.
We try to apply our learning by making this project. Thanks to greate documents (ASP.NET, Google APIs, Facebook dev,...) and supports from the community (StackOverflow, Youtube,...) we have solved our problems, which found while doing this project.
We have had a lot of help from teachers, previous students, friend and good guys who public their knowledge, answers to community. We are appreciate and thanks for your help!
We absolutely develop this project if it found helpful by people.
Because this is our first project, so if we had done anything not right about the liscene or purchasing. Please CONTACT us to tell what we have to do.
Write to us
Add place
Apply


| Class and Description |
|---|
| RDDTrainingApproach
Approach to use when training from a
JavaRDD<DataSet> or JavaRDD<MultiDataSet> . |
| Repartition
Enumeration that is used for specifying the behaviour of repartitioning in
ParameterAveragingTrainingMaster
(and possibly elsewhere. |
| RepartitionStrategy
RepartitionStrategy: different strategies for conducting repartitioning on training data, when repartitioning is required.
|
| TrainingHook
A hook for the workers when training.
|
| TrainingResult
TrainingResult: a class used by
TrainingMaster implementations
Each TrainingMaster will have its own type of training result. |
| TrainingWorker
TrainingWorker is a small serializable class that can be passed (in serialized form) to each Spark executor
for actually conducting training.
|
| WorkerConfiguration
A simple configuration object (common settings for workers)
|
| Class and Description |
|---|
| TrainingResult
TrainingResult: a class used by
TrainingMaster implementations
Each TrainingMaster will have its own type of training result. |
| TrainingWorker
TrainingWorker is a small serializable class that can be passed (in serialized form) to each Spark executor
for actually conducting training.
|
| Class and Description |
|---|
| TrainingMaster
A TrainingMaster controls how distributed training is executed in practice
In principle, a large number of different approches can be used in distributed training (synchronous vs. asynchronous, parameter vs. gradient averaging, etc). |
| Class and Description |
|---|
| TrainingMaster
A TrainingMaster controls how distributed training is executed in practice
In principle, a large number of different approches can be used in distributed training (synchronous vs. asynchronous, parameter vs. gradient averaging, etc). |
| Class and Description |
|---|
| TrainingMaster
A TrainingMaster controls how distributed training is executed in practice
In principle, a large number of different approches can be used in distributed training (synchronous vs. asynchronous, parameter vs. gradient averaging, etc). |
| Class and Description |
|---|
| TrainingMaster
A TrainingMaster controls how distributed training is executed in practice
In principle, a large number of different approches can be used in distributed training (synchronous vs. asynchronous, parameter vs. gradient averaging, etc). |
| Class and Description |
|---|
| RDDTrainingApproach
Approach to use when training from a
JavaRDD<DataSet> or JavaRDD<MultiDataSet> . |
| Repartition
Enumeration that is used for specifying the behaviour of repartitioning in
ParameterAveragingTrainingMaster
(and possibly elsewhere. |
| RepartitionStrategy
RepartitionStrategy: different strategies for conducting repartitioning on training data, when repartitioning is required.
|
| TrainingHook
A hook for the workers when training.
|
| TrainingMaster
A TrainingMaster controls how distributed training is executed in practice
In principle, a large number of different approches can be used in distributed training (synchronous vs. asynchronous, parameter vs. gradient averaging, etc). |
| TrainingResult
TrainingResult: a class used by
TrainingMaster implementations
Each TrainingMaster will have its own type of training result. |
| TrainingWorker
TrainingWorker is a small serializable class that can be passed (in serialized form) to each Spark executor
for actually conducting training.
|
| WorkerConfiguration
A simple configuration object (common settings for workers)
|
| Class and Description |
|---|
| Repartitioner
Repartitioner interface: controls how data should be repartitioned before training.
|
| Class and Description |
|---|
| TrainingHook
A hook for the workers when training.
|
| Class and Description |
|---|
| TrainingResult
TrainingResult: a class used by
TrainingMaster implementations
Each TrainingMaster will have its own type of training result. |
| TrainingWorker
TrainingWorker is a small serializable class that can be passed (in serialized form) to each Spark executor
for actually conducting training.
|
| Class and Description |
|---|
| RDDTrainingApproach
Approach to use when training from a
JavaRDD<DataSet> or JavaRDD<MultiDataSet> . |
| Repartition
Enumeration that is used for specifying the behaviour of repartitioning in
ParameterAveragingTrainingMaster
(and possibly elsewhere. |
| Repartitioner
Repartitioner interface: controls how data should be repartitioned before training.
|
| RepartitionStrategy
RepartitionStrategy: different strategies for conducting repartitioning on training data, when repartitioning is required.
|
| TrainingHook
A hook for the workers when training.
|
| TrainingMaster
A TrainingMaster controls how distributed training is executed in practice
In principle, a large number of different approches can be used in distributed training (synchronous vs. asynchronous, parameter vs. gradient averaging, etc). |
| TrainingResult
TrainingResult: a class used by
TrainingMaster implementations
Each TrainingMaster will have its own type of training result. |
| TrainingWorker
TrainingWorker is a small serializable class that can be passed (in serialized form) to each Spark executor
for actually conducting training.
|
| WorkerConfiguration
A simple configuration object (common settings for workers)
|
| Class and Description |
|---|
| Repartition
Enumeration that is used for specifying the behaviour of repartitioning in
ParameterAveragingTrainingMaster
(and possibly elsewhere. |
| RepartitionStrategy
RepartitionStrategy: different strategies for conducting repartitioning on training data, when repartitioning is required.
|
Copyright © 2020. All rights reserved.


Drag and Drop
Drag the image back and forth between the two div elements.
Icon List
Add Group
Delete
Next Page


Angular Material - Starter App
Button
Card with image
KPIs
Add
Hockey
Lacrosse
Baseball
Volume
Bass
Master


My Favourites
Foods
- Pizza
- Chicken Pilau Masala
- Biriani
- Meat Stew with Rice
- Chicken and french fries
Movies
- The Shawshank Redemption (1994)
- The Godfather
- The Dark Knight
- 12 Angry Men
- Schindler's List
- The Lord of the Rings: The Return of the King
- Pulp Fiction


/**
* Creating a home page, that should be fully static (pending state changes to the callback and login uris)
* Just using another view page to implement within a router in App.js
*/
import React, { Component } from 'react';
import '../../node_modules/bootstrap/dist/css/bootstrap.min.css'; //re-importing bootstrap just in case
import './css/Player.css'; //import css for this web page
//dummy test data
let testData = {
user: {
name: "David",
profile: "#"
},
song: {
name: "Uptown Girl",
artist: "Billy Joel",
duration: 4000,
time: 1000, //this should be in ms, then converted into a time stamp later
img: "#"
}
};
/**
* This function takes a Spotify User Access Token (which is generated automatically via the OAuth flow) and then creates an API call to Spotify's Connect API to get the user's playback state
* @name getUserPlaybackState
* @param {string} input an access token
* @returns {JSON} returns a JSON object of the user's playback state
*/
function getUserPlaybackState(access_token) {
}
/**
* SongTitle just passes the properties given to it by the Player main component and displays it
*/
class SongTitle extends Component {
render () {
return (

{this.props.song.name}

{this.props.song.artist}

)
}
}
/**
* Progress bar, re-renders this progress bar
*/
class Progress extends Component {
render () {
return (

Connect To Spotify

)
}
}
/** Brief Explanation about what's happening here
*

*
 I use a constructor to set a state for the data I will be accessing later. React requires that I call
* a super inside my constructor before calling "this" onto itself
*

*
*
 componentDidMount() is a function that activates when the components are first rendered, then you set
* the state of the component to the data you want
*

*
*
 Within my render, you will see {this.state.serverData} which renders into text, the && just checks if the data
* exists or is undefined/null, then you render the data into it. (Truthy/falsy within JS)
*

*
*
Wrapping my components within objects and then calling a boolean method upon them prevents them from rendering
* if there has not yet been data provided via the API endpoint
*

*

*/
export default class Home extends Component {
constructor() {
super();
this.state = {serverData : {}}
}
componentDidMount() {
setTimeout(() => { //arrow functions for async
this.setState({serverData: testData});
}, 2000); //run this 2 secs after components are mounted
}
render() {
return (

{this.state.serverData.song ? //if serverData.song exists render the div below, else jump to the colon and render that

<SongTitle songName={this.state.serverData.song &&
this.state.serverData.song.name}
artist={this.state.serverData.song &&
this.state.serverData.song.artist}/>
<Progress duration={this.state.serverData.song &&
this.state.serverData.song.duration}
time={this.state.serverData.song &&
this.state.serverData.song.time}/>

 :
Loading

}

)
}
}


Best offers a network of certfied mentors in your field of choice. We provide opporotunities for passionate creators like you! You deserve to work for what you love and we're simply here to help. Sign up to join the network!


Today dishes
-
Dishes Pictures
The name of dish
Dishes intro.
Mount of dishes(One)
The evaluation of dish
Operation
-
Homemade meal with meat and vegetable
Slightly spicy, carefully cooked with home-cooked dishes such as pork and cauliflower
14(dollar)
9 stars
-
steamed fish head with diced hot red peppers
Spicy and made from fresh carp
88(dollar)
8 Stars
-
Stewed pork stir-fry
Not spicy, cooked with braised pork in brown sauce and a special sauce
15(dollar)
8Stars
-
Twice-cooked pork stir-fry
Slightly spicy, twice-cooked pork and small rape
13(dollar)
8Stars
-
Shredded pork with garlic sauce
Hot and sour, taste very good
18(dollar)
9stars
-
Characteristics of dumplings
Palate: Leek egg, pork and onion
11(dollar)
9 Stars
-
Twice-cooked pork stir-fry
Slightly spicy, twice-cooked pork and small rape
13(dollar)
8stars
-
Sichuan noodles with peppery sauce
Salty, fresh and slightly spicy, special pasta snacks, thin noodles, mellow marinate
9(dollar)
8stars
-
Green pepper corn
A light, fresh vegetarian home-cooked dish
10(dollar)
8stars
-
Double cooked pork slices
Taste heavy, by pork buttock, green pepper, suanmiao stir-fry
18(dollar)
9stars


{% extends "base.html" %} {% block title %}NPACT - N-Profile Analysis Computational Tool{% endblock %} {% macro emailinput() %}
For quantitative frame-analysis and identification of ORFs with statistically-significant 3-base periodicities in prokaryotic sequences NPACT is currently accepting sequence files in the GenBank format (see a sample record or the About page).
After seleting a sequence file, "Start Analysis!" will result in a graphical output showing sequence compositional contrasts for frame analysis, coding region (CDS) annotation from the input file, and, by default, regions of non-random 3-base compositional periodicity (hits), newly-identified or modified ORFs, and corresponding output text files.
Text can be in FASTA format or GenBank format.


Spam World
Home
(current)
About
Services
Contact
A Spam Predictor from the 1990s
Complete with analysis using really old, bad e-mails
Predict!


Visual Studio (2015 | 2017 | 2019):
~sdk/source/VisualStudio2015.sln
~sdk/source/VisualStudio2017.sln
~sdk/source/VisualStudio2019.sln
~sdk/source/Makefile_linux_x64_clang_debug
~sdk/source/Makefile_linux_x64_clang_release
~sdk/source/Makefile_linux_x64_gcc_debug
~sdk/source/Makefile_linux_x64_gcc_release
~sdk/source/Makefile_linux_x64_icpc_debug
~sdk/source/Makefile_linux_x64_icpc_release
Enable 'Xcode' -> 'Preferences' -> 'Command Line Tools'
~sdk/source/Makefile_macos_x64_clang_debug
~sdk/source/Makefile_macos_x64_clang_release
CMake files are included for integration into other build systems.
~sdk/source/CMakeLists.txt
~sdk/source/*/CMakeLists.txt
Cross-compiled from MacOS.
Enable 'Xcode' -> 'Preferences' -> 'Command Line Tools'
Create 'fat' libraries with x86, armv7, arm64 and arm64e binaries in ~sdk/build_ios/
:
$ cd ~sdk/source
$ make -f Makefile_ios
In your Xcode iOS app properties:
'Build Phases' -> 'Link Binary With Libraries' -> '+' -> 'Add Other'
Select all libraries: ~sdk/build_ios/*.a
'Build Settings' -> 'Search Paths' -> 'Header Search Paths'
Within the
~sdk/source/
directory, add each of the following (expand glob):
LibFg* LibFgBase/src LibTpBoost/boost_1_67_0
Make a copy of the directory ~sdk/data/
containing only the data you need
and add that data into your app bundle
preserving the directory structure (one way to do this is to right-click on your application directory
in Xcode, select 'Add Files', select 'Create folder references', ensure 'Copy items if needed' is
de-selected, than select your copy of the ~sdk/data/
directory).
FaceGen library functions can be called from Objective-C++ files (.mm file type).
The first function you should call is 'fgSetDataDir' (note that in practice you will want to bracket
FaceGen function calls with try / catch):
#import <FgFileSystem.hpp>
NSString *dd = [[NSBundle mainBundle] resourcePath];
std::string dataDir = std::string([dd UTF8String]) + "/data/";
fgSetDataDir(dataDir);
Cross-compiled from Linux.
Download and install Android Studio and Android NDK
(
https://developer.android.com/ndk/downloads
.)
Make the FaceGen static libraries for Android:
$ cd ~sdk/source
$ make -f Makefile_android -NDK_ROOT=<ndkPath> [-API_VERSION=<ver>]
Where <ndkPath>
is typically /home/user/Android/Sdk/ndk-bundle
and <ver>
defaults to 23.
To make an app that links to these libraries:
Start a new Android Studio Project -> Native C++
.
Select the same API level you compiled the library with. Select the C++11 toolchain.
Modify ~app/app/src/main/cpp/CMakeLists.txt
to add the FaceGen static library
projects and include directories:
set(FG_DIR /path/to/FaceGenSdk)
~sdk/build_android/x86/clang/release/*.a
Define the static library: File -> New -> Folder -> Assets Folder
and copy in the data you need preserving the directory
structure.
In Android, asset files cannot be accessed via standard filesystem
calls. The simplest approach is to make a local filesystem copy of all bundled data you need with
FaceGen when your app first runs. You can then pass this location to setDataDir()
.


Edmunds.com visitor vehicle ratings and reviews are the property of Edmunds.com, and may not be reproduced or distributed without the consent of Edmunds.com.
Edmunds® is a trademark of Edmunds.com, Inc.
Edmunds.com is not affiliated with this website or app.


The Porsche Taycan is an all-electric car made by German automobile manufacturer Porsche. The concept version of the Taycan, named the Porsche Mission E, debuted at the 2015 Frankfurt Motor Show. The Taycan was revealed fully production-ready at the 2019 Frankfurt Motor Show. As Porsche's first series production electric car,[4] it is sold in several variants at different performance levels, and may spawn further derivatives in future models.More than 20,000 Taycans were delivered in 2020, its debut sale year, representing 7.4% of the total Porsche volume.


GA4GH reference server 0.1.0b1
Protocol version 0.6.4f91841a9a
Schema Model Documentation
common
genotypephenotype
genotypephenotypemethods
metadata
methods
ontologies
readmethods
reads
referencemethods
references
sequenceAnnotations
variantmethods
variants


You seem to be viewing this on a mobile device. Using a mobile device has been seen to cause unexpected errors. Please try again using a computer.


Iron Man: Scarlett Johansson Thought First MCU Film Was 'Groundbreaking'
by Joshua SykesScarlett Johansson, a staple of the Marvel Cinematic Universe, revealed what drew her to the franchise in the first place.
Johansson, who plays Natasha Romanoff/Black Widow, had her interest piqued by 2008's Iron Man. "I just loved it," she told Vanity Fair. "I’d never really seen anything like it before. It was not particularly that I was a fan of superhero stuff or that genre, but it seemed groundbreaking. And I wanted to work with Marvel. It seemed like an exciting place to be."
Johannson went on to discuss her initial meetings with both Marvel Studios President Kevin Feige and Iron Man 2 director Jon Favreau. While she admits she loved Favreau, the role of Romanoff originally went to Emily Blunt. "I remember being in a random hotel somewhere," she recalled. "And I got that call and I was so, so disappointed. And then that was it.  I mean, I’ve certainly had enough experience of rejection."
Click the button below to start this article in quick view.
Blunt, however, was forced to bow out of the film, and the role ultimately went to Johansson. "I was super excited about it," she said. "And I met with Jon again, and we had a funny conversation about how he had not cast me. But I was excited. I was so stoked."
Although Romanoff sacrificed herself to help Hawkeye claim the soul stone in Avengers: Endgame, Johansson will reprise the role once more in the upcoming Black Widow solo film.
Directed by Cate Shortland, Black Widow stars Scarlett Johansson, David Harbour, Florence Pugh, O-T Fagbenle and Rachel Weisz. The film arrives in theaters on May 1, 2020.
https://schema.orgBreadcrumbListListItem1Homehttps://www.cbr.com/ListItem2Movieshttps://www.cbr.com/category/movies/ListItem3Movie Newshttps://www.cbr.com/category/movies/news-movies/ListItem4Iron Man: Scarlett Johansson Thought First MCU Film Was 'Groundbreaking'https://www.cbr.com/iron-man-scarlett-johansson-groundbreaking/


LaTeX customization¶
Unlike the HTML builders, the latex
builder does not
benefit from prepared themes. The Options for LaTeX output, and particularly the
latex_elements variable, provides much of the
interface for customization. For example:
# inside conf.py
latex_engine = 'xelatex'
latex_elements = {
'fontpkg': r'''
\setmainfont{DejaVu Serif}
\setsansfont{DejaVu Sans}
\setmonofont{DejaVu Sans Mono}
''',
'preamble': r'''
\usepackage[titles]{tocloft}
\cftsetpnumwidth {1.25cm}\cftsetrmarg{1.5cm}
\setlength{\cftchapnumwidth}{0.75cm}
\setlength{\cftsecindent}{\cftchapnumwidth}
\setlength{\cftsecnumwidth}{1.25cm}
''',
'fncychap': r'\usepackage[Bjornstrup]{fncychap}',
'printindex': r'\footnotesize\raggedright\printindex',
}
latex_show_urls = 'footnote'
Note
Keep in mind that backslashes must be doubled in Python string literals to avoid interpretation as escape sequences. Alternatively, you may use raw strings as is done above.
The latex_elements
configuration setting¶
A dictionary that contains LaTeX snippets overriding those Sphinx usually puts
into the generated .tex
files. Its 'sphinxsetup'
key is described
separately.
Keys that you may want to override include:
'papersize'
Paper size option of the document class (
'a4paper'
or'letterpaper'
)Default:
'letterpaper'
'pointsize'
Point size option of the document class (
'10pt'
,'11pt'
or'12pt'
)Default:
'10pt'
'pxunit'
The value of the
px
when used in image attributeswidth
andheight
. The default value is'0.75bp'
which achieves96px=1in
(in TeX1in = 72bp = 72.27pt
.) To obtain for example100px=1in
use'0.01in'
or'0.7227pt'
(the latter leads to TeX computing a more precise value, due to the smaller unit used in the specification); for72px=1in
, simply use'1bp'
; for90px=1in
, use'0.8bp'
or'0.803pt'
.Default:
'0.75bp'
New in version 1.5.
'passoptionstopackages'
A string which will be positioned early in the preamble, designed to contain
\\PassOptionsToPackage{options}{foo}
commands.Default:
''
New in version 1.4.
'babel'
“babel” package inclusion, default
'\\usepackage{babel}'
(the suitable document language string is passed as class option, andenglish
is used if no language.) For Japanese documents, the default is the empty string.With XeLaTeX and LuaLaTeX, Sphinx configures the LaTeX document to use polyglossia, but one should be aware that current babel has improved its support for Unicode engines in recent years and for some languages it may make sense to prefer
babel
overpolyglossia
.Hint
After modifiying a core LaTeX key like this one, clean up the LaTeX build repertory before next PDF build, else left-over auxiliary files are likely to break the build.
Default:
'\\usepackage{babel}'
(''
for Japanese documents)Changed in version 1.5: For :confval:`latex_engine` set to
'xelatex'
, the default is'\\usepackage{polyglossia}\n\\setmainlanguage{<language>}'
.Changed in version 1.6:
'lualatex'
uses same default setting as'xelatex'
Changed in version 1.7.6: For French,
xelatex
andlualatex
default to usingbabel
, notpolyglossia
.'fontpkg'
Font package inclusion. The default of
'\\usepackage{times}'
uses Times for text, Helvetica for sans serif and Courier for monospace.In order to support occasional Cyrillic (физика частиц) or Greek letters (Σωματιδιακή φυσική) in a document whose language is English or a Latin European one, the default set-up is enhanced (only for
'pdflatex'
engine) to do:\substitutefont{LGR}{\rmdefault}{cmr} \substitutefont{LGR}{\sfdefault}{cmss} \substitutefont{LGR}{\ttdefault}{cmtt} \substitutefont{X2}{\rmdefault}{cmr} \substitutefont{X2}{\sfdefault}{cmss} \substitutefont{X2}{\ttdefault}{cmtt}
This is activated only under the condition that the
'fontenc'
key is configured to load theLGR
(Greek) and/orX2
(Cyrillic) pdflatex-font encodings (if the :confval:`language` is set to a Cyrillic language, this'fontpkg'
key must be used as “times” package has no direct support for it; then keep onlyLGR
lines from the above, if support is needed for Greek in the text).The
\substitutefont
command is from the eponymous LaTeX package, which is loaded by Sphinx if needed (on Ubuntu Xenial it is part oftexlive-latex-extra
which is a Sphinx requirement).Only if the document actually does contain Unicode Greek letters (in text) or Cyrillic letters, will the above default set-up cause additional requirements for the PDF build. On Ubuntu Xenial, these are the
texlive-lang-greek
,texlive-lang-cyrillic
, and (with the above choice of fonts) thecm-super
(orcm-super-minimal
) packages.For
'xelatex'
and'lualatex'
, the default is to use the FreeFont family: this OpenType font family supports both Cyrillic and Greek scripts and is available as separate Ubuntu Xenial packagefonts-freefont-otf
. It is not necessary to install the much largertexlive-fonts-extra
package.'platex'
(Japanese documents) engine supports individual Cyrillic and Greek letters with no need of extra user set-up.Default:
'\\usepackage{times}'
(or''
when using a Cyrillic script)Changed in version 1.2: Defaults to
''
when the :confval:`language` uses the Cyrillic script.Changed in version 2.0: Added support for individual Greek and Cyrillic letters:
'fncychap'
Inclusion of the “fncychap” package (which makes fancy chapter titles), default
'\\usepackage[Bjarne]{fncychap}'
for English documentation (this option is slightly customized by Sphinx),'\\usepackage[Sonny]{fncychap}'
for internationalized docs (because the “Bjarne” style uses numbers spelled out in English). Other “fncychap” styles you can try are “Lenny”, “Glenn”, “Conny”, “Rejne” and “Bjornstrup”. You can also set this to''
to disable fncychap.- Default:
'\\usepackage[Bjarne]{fncychap}'
for English documents, '\\usepackage[Sonny]{fncychap}'
for internationalized documents, and''
for Japanese documents.
- Default:
'preamble'
Additional preamble content. One may move all needed macros into some file
mystyle.tex.txt
of the project source repertory, and get LaTeX to import it at run time:'preamble': r'\input{mystyle.tex.txt}', # or, if the \ProvidesPackage LaTeX macro is used in a file mystyle.sty 'preamble': r'\usepackage{mystyle}',
It is then needed to set appropriately :confval:`latex_additional_files`, for example:
latex_additional_files = ["mystyle.sty"]
Default:
''
'figure_align'
Latex figure float alignment. Whenever an image doesn’t fit into the current page, it will be ‘floated’ into the next page but may be preceded by any other text. If you don’t like this behavior, use ‘H’ which will disable floating and position figures strictly in the order they appear in the source.
Default:
'htbp'
(here, top, bottom, page)New in version 1.3.
'atendofbody'
Additional document content (right before the indices).
Default:
''
New in version 1.5.
'extrapackages'
Additional LaTeX packages. For example:
latex_elements = { 'packages': r'\usepackage{isodate}' }
The specified LaTeX packages will be loaded before hyperref package and packages loaded from Sphinx extensions.
Hint
If you’d like to load additional LaTeX packages after hyperref, use
'preamble'
key instead.Default:
''
New in version 2.3.
'footer'
Additional footer content (before the indices).
Default:
''
Deprecated since version 1.5: Use
'atendofbody'
key instead.
Keys that don’t need to be overridden unless in special cases are:
'extraclassoptions'
The default is the empty string. Example:
'extraclassoptions': 'openany'
will allow chapters (for documents of the'manual'
type) to start on any page.Default:
''
New in version 1.2.
Changed in version 1.6: Added this documentation.
'maxlistdepth'
LaTeX allows by default at most 6 levels for nesting list and quote-like environments, with at most 4 enumerated lists, and 4 bullet lists. Setting this key for example to
'10'
(as a string) will allow up to 10 nested levels (of all sorts). Leaving it to the empty string means to obey the LaTeX default.Warning
Using this key may prove incompatible with some LaTeX packages or special document classes which do their own list customization.
The key setting is silently ignored if
\usepackage{enumitem}
is executed inside the document preamble. Use then rather the dedicated commands of this LaTeX package.
Default:
6
New in version 1.5.
'inputenc'
“inputenc” package inclusion.
- Default:
'\\usepackage[utf8]{inputenc}'
when using pdflatex, else ''
Changed in version 1.4.3: Previously
'\\usepackage[utf8]{inputenc}'
was used for all compilers.- Default:
'cmappkg'
“cmap” package inclusion.
Default:
'\\usepackage{cmap}'
New in version 1.2.
'fontenc'
“fontenc” package inclusion.
If
'pdflatex'
is the :confval:`latex_engine`, one can addLGR
for support of Greek letters in the document, and alsoX2
(orT2A
) for Cyrillic letters, like this:r'\usepackage[LGR,X2,T1]{fontenc}'
Attention
If Greek is main language, do not use this key. Since Sphinx 2.2.1,
xelatex
will be used automatically as :confval:`latex_engine`. Formerly, Sphinx did not support producing PDF via LaTeX with Greek as main language.Prior to 2.0, Unicode Greek letters were escaped to use LaTeX math mark-up. This is not the case anymore, and the above must be used (only in case of
'pdflatex'
engine) if the source contains such Unicode Greek.On Ubuntu xenial, packages
texlive-lang-greek
andcm-super
(for the latter, only if the'fontpkg'
setting is left to its default) are needed forLGR
to work. In place ofcm-super
one can install smallercm-super-minimal
, but it requires the LaTeX document to execute\usepackage[10pt]{type1ec}
before loadingfontenc
. Thus, use this key with this extra at its start if needed.Default:
'\\usepackage[T1]{fontenc}'
Changed in version 1.5: Defaults to
'\\usepackage{fontspec}'
when :confval:`latex_engine` is'xelatex'
.Changed in version 1.6:
'lualatex'
usesfontspec
per default like'xelatex'
.Changed in version 2.0:
'lualatex'
executes\defaultfontfeatures[\rmfamily,\sffamily]{}
to disable TeX ligatures transforming << and >> as escaping working withpdflatex/xelatex
failed withlualatex
.Changed in version 2.0: Detection of
LGR
,T2A
,X2
to trigger support of occasional Greek or Cyrillic ('pdflatex'
only, as this support is provided natively by'platex'
and only requires suitable font with'xelatex'/'lualatex'
).Changed in version 2.3.0:
'xelatex'
also executes\defaultfontfeatures[\rmfamily,\sffamily]{}
in order to avoid contractions of--
into en-dash or transforms of straight quotes into curly ones in PDF (in non-literal text paragraphs) despite :confval:`smartquotes` being set toFalse
.'textgreek'
This is needed for
pdflatex
to support Unicode input of Greek letters such as φύσις. Expert users may want to load thetextalpha
package with its optionnormalize-symbols
.Hint
Unicode Greek (but no further Unicode symbols) in
math
can be supported by'pdflatex'
from setting this key tor'\usepackage{textalpha,alphabeta}'
. Then:math:`α`
(U+03B1) will render as \(\alpha\). For wider Unicode support in math input, see the discussion of :confval:`latex_engine`.With
'platex'
(Japanese),'xelatex'
or'lualatex'
, this key is ignored.- Default:
'\\usepackage{textalpha}'
or''
iffontenc
does not include the
LGR
option.
New in version 2.0.
- Default:
'geometry'
“geometry” package inclusion, the default definition is:
'\\usepackage{geometry}'
with an additional
[dvipdfm]
for Japanese documents. The Sphinx LaTeX style file executes:\PassOptionsToPackage{hmargin=1in,vmargin=1in,marginpar=0.5in}{geometry}
which can be customized via corresponding ‘sphinxsetup’ options.
- Default:
'\\usepackage{geometry}'
(or '\\usepackage[dvipdfm]{geometry}'
for Japanese documents)
New in version 1.5.
Changed in version 1.5.2:
dvipdfm
option if :confval:`latex_engine` is'platex'
.New in version 1.5.3: The ‘sphinxsetup’ keys for the margins.
Changed in version 1.5.3: The location in the LaTeX file has been moved to after
\usepackage{sphinx}
and\sphinxsetup{..}
, hence also after insertion of'fontpkg'
key. This is in order to handle the paper layout options in a special way for Japanese documents: the text width will be set to an integer multiple of the zenkaku width, and the text height to an integer multiple of the baseline. See the hmargin documentation for more.- Default:
'hyperref'
“hyperref” package inclusion; also loads package “hypcap” and issues
\urlstyle{same}
. This is done aftersphinx.sty
file is loaded and before executing the contents of'preamble'
key.Attention
Loading of packages “hyperref” and “hypcap” is mandatory.
New in version 1.5: Previously this was done from inside
sphinx.sty
.'maketitle'
“maketitle” call. Override if you want to generate a differently styled title page.
Hint
If the key value is set to
r'\newcommand\sphinxbackoftitlepage{<Extra material>}\sphinxmaketitle'
, then<Extra material>
will be typeset on back of title page ('manual'
docclass only).Default:
'\\sphinxmaketitle'
Changed in version 1.8.3: Original
\maketitle
from document class is not overwritten, hence is re-usable as part of some custom setting for this key.New in version 1.8.3:
\sphinxbackoftitlepage
optional macro. It can also be defined inside'preamble'
key rather than this one.'releasename'
Value that prefixes
'release'
element on title page. As for title and author used in the tuples of :confval:`latex_documents`, it is inserted as LaTeX markup.Default:
'Release'
'tableofcontents'
“tableofcontents” call. The default of
'\\sphinxtableofcontents'
is a wrapper of unmodified\tableofcontents
, which may itself be customized by user loaded packages. Override if you want to generate a different table of contents or put content between the title page and the TOC.Default:
'\\sphinxtableofcontents'
Changed in version 1.5: Previously the meaning of
\tableofcontents
itself was modified by Sphinx. This created an incompatibility with dedicated packages modifying it also such as “tocloft” or “etoc”.'transition'
Commands used to display transitions. Override if you want to display transitions differently.
Default:
'\n\n\\bigskip\\hrule\\bigskip\n\n'
New in version 1.2.
Changed in version 1.6: Remove unneeded
{}
after\\hrule
.'printindex'
“printindex” call, the last thing in the file. Override if you want to generate the index differently or append some content after the index. For example
'\\footnotesize\\raggedright\\printindex'
is advisable when the index is full of long entries.Default:
'\\printindex'
'fvset'
Customization of
fancyvrb
LaTeX package. The default value of'\\fvset{fontsize=\\small}'
is used to adjust for the large character width of the monospace font, used in code-blocks. You may need to modify this if you use custom fonts.Default:
'\\fvset{fontsize=\\small}'
New in version 1.8.
Changed in version 2.0: Due to new default font choice for
'xelatex'
and'lualatex'
(FreeFont), Sphinx does\\fvset{fontsize=\\small}
also with these engines (and not\\fvset{fontsize=auto}
).
Keys that are set by other options and therefore should not be overridden are:
'docclass'
'classoptions'
'title'
'release'
'author'
'makeindex'
The sphinxsetup
configuration setting¶
New in version 1.5.
The 'sphinxsetup'
key of latex_elements
provides a LaTeX-type customization interface:
latex_elements = {
'sphinxsetup': 'key1=value1, key2=value2, ...',
}
It defaults to empty. If non-empty, it will be passed as argument to the
\sphinxsetup
macro inside the document preamble, like this:
\usepackage{sphinx}
\sphinxsetup{key1=value1, key2=value2,...}
The colors used in the above are provided by the svgnames
option of the
“xcolor” package:
latex_elements = {
'passoptionstopackages': r'\PassOptionsToPackage{svgnames}{xcolor}',
}
It is possible to insert further uses of the \sphinxsetup
LaTeX macro
directly into the body of the document, via the help of the raw
directive. This chapter is styled in the PDF output using the following at the
start of the chaper:
.. raw:: latex
\begingroup
\sphinxsetup{%
verbatimwithframe=false,
VerbatimColor={named}{OldLace},
TitleColor={named}{DarkGoldenrod},
hintBorderColor={named}{LightCoral},
attentionborder=3pt,
attentionBorderColor={named}{Crimson},
attentionBgColor={named}{FloralWhite},
noteborder=2pt,
noteBorderColor={named}{Olive},
cautionborder=3pt,
cautionBorderColor={named}{Cyan},
cautionBgColor={named}{LightCyan}}
The below is included at the end of the chapter:
.. raw:: latex
\endgroup
LaTeX boolean keys require lowercase true
or false
values.
Spaces around the commas and equal signs are ignored, spaces inside LaTeX
macros may be significant.
hmargin, vmargin
The dimensions of the horizontal (resp. vertical) margins, passed as
hmargin
(resp.vmargin
) option to thegeometry
package. Example:'sphinxsetup': 'hmargin={2in,1.5in}, vmargin={1.5in,2in}, marginpar=1in',
Japanese documents currently accept only the one-dimension format for these parameters. The
geometry
package is then passed suitable options to get the text width set to an exact multiple of the zenkaku width, and the text height set to an integer multiple of the baselineskip, with the closest fit for the margins.Default:
1in
(equivalent to{1in,1in}
)Hint
For Japanese
'manual'
docclass with pointsize11pt
or12pt
, use thenomag
extra document class option (cf.'extraclassoptions'
key of :confval:`latex_elements`) or so-called TeX “true” units:'sphinxsetup': 'hmargin=1.5truein, vmargin=1.5truein, marginpar=5zw',
New in version 1.5.3.
marginpar
The
\marginparwidth
LaTeX dimension. For Japanese documents, the value is modified to be the closest integer multiple of the zenkaku width.Default:
0.5in
New in version 1.5.3.
verbatimwithframe
Boolean to specify if
code-block
s and literal includes are framed. Setting it tofalse
does not deactivate use of package “framed”, because it is still in use for the optional background colour.Default:
true
.verbatimwrapslines
Boolean to specify if long lines in
code-block
’s contents are wrapped.Default:
true
literalblockcappos
Decides the caption position: either
b
(“bottom”) ort
(“top”).Default:
t
New in version 1.7.
verbatimhintsturnover
Boolean to specify if code-blocks display “continued on next page” and “continued from previous page” hints in case of pagebreaks.
Default:
true
New in version 1.6.3.
Changed in version 1.7: the default changed from
false
totrue
.verbatimcontinuedalign
,verbatimcontinuesalign
Horizontal position relative to the framed contents: either
l
(left aligned),r
(right aligned) orc
(centered).Default:
r
New in version 1.7.
parsedliteralwraps
Boolean to specify if long lines in :dudir:`parsed-literal`’s contents should wrap.
Default:
true
New in version 1.5.2: set this option value to
false
to recover former behaviour.inlineliteralwraps
Boolean to specify if line breaks are allowed inside inline literals: but extra potential break-points (additionally to those allowed by LaTeX at spaces or for hyphenation) are currently inserted only after the characters
. , ; ? ! /
and\
. Due to TeX internals, white space in the line will be stretched (or shrunk) in order to accommodate the linebreak.Default:
true
New in version 1.5: set this option value to
false
to recover former behaviour.Changed in version 2.3.0: added potential breakpoint at
\
characters.verbatimvisiblespace
When a long code line is split, the last space character from the source code line right before the linebreak location is typeset using this.
Default:
\textcolor{red}{\textvisiblespace}
verbatimcontinued
A LaTeX macro inserted at start of continuation code lines. Its (complicated…) default typesets a small red hook pointing to the right:
\makebox[2\fontcharwd\font`\x][r]{\textcolor{red}{\tiny$\hookrightarrow$}}
Changed in version 1.5: The breaking of long code lines was added at 1.4.2. The default definition of the continuation symbol was changed at 1.5 to accomodate various font sizes (e.g. code-blocks can be in footnotes).
TitleColor
The colour for titles (as configured via use of package “titlesec”.)
Default:
{rgb}{0.126,0.263,0.361}
Warning
Colours set via 'sphinxsetup'
must obey the syntax of the
argument of the color/xcolor
packages \definecolor
command.
InnerLinkColor
A colour passed to
hyperref
as value oflinkcolor
andcitecolor
.Default:
{rgb}{0.208,0.374,0.486}
.OuterLinkColor
A colour passed to
hyperref
as value offilecolor
,menucolor
, andurlcolor
.Default:
{rgb}{0.216,0.439,0.388}
VerbatimColor
The background colour for
code-block
s.Default:
{rgb}{1,1,1}
(white)VerbatimBorderColor
The frame color.
Default:
{rgb}{0,0,0}
(black)VerbatimHighlightColor
The color for highlighted lines.
Default:
{rgb}{0.878,1,1}
New in version 1.6.6.
Note
Starting with this colour key, and for all others coming next, the actual names declared to “color” or “xcolor” are prefixed with “sphinx”.
verbatimsep
The separation between code lines and the frame.
Default:
\fboxsep
verbatimborder
The width of the frame around
code-block
s.Default:
\fboxrule
shadowsep
The separation between contents and frame for :dudir:`contents` and :dudir:`topic` boxes.
Default:
5pt
shadowsize
The width of the lateral “shadow” to the right.
Default:
4pt
shadowrule
The width of the frame around :dudir:`topic` boxes.
Default:
\fboxrule
noteBorderColor
,hintBorderColor
,importantBorderColor
,tipBorderColor
The colour for the two horizontal rules used by Sphinx in LaTeX for styling a :dudir:`note` type admonition.
Default:
{rgb}{0,0,0}
(black)noteborder
,hintborder
,importantborder
,tipborder
The width of the two horizontal rules.
Default:
0.5pt
warningBorderColor
,cautionBorderColor
,attentionBorderColor
,dangerBorderColor
,errorBorderColor
The colour for the admonition frame.
Default:
{rgb}{0,0,0}
(black)
warningBgColor
,cautionBgColor
,attentionBgColor
,dangerBgColor
,errorBgColor
The background colours for the respective admonitions.
Default:
{rgb}{1,1,1}
(white)warningborder
,cautionborder
,attentionborder
,dangerborder
,errorborder
The width of the frame.
Default:
1pt
AtStartFootnote
LaTeX macros inserted at the start of the footnote text at bottom of page, after the footnote number.
Default:
\mbox{ }
BeforeFootnote
LaTeX macros inserted before the footnote mark. The default removes possible space before it (else, TeX could insert a line break there).
Default:
\leavevmode\unskip
New in version 1.5.
HeaderFamily
default
\sffamily\bfseries
. Sets the font used by headings.
LaTeX macros and environments¶
Here are some macros from the package file sphinx.sty
and class files
sphinxhowto.cls
, sphinxmanual.cls
, which have public names
thus allowing redefinitions. Check the respective files for the defaults.
Macros¶
Text styling commands:
\sphinxstrong
,\sphinxbfcode
,\sphinxemail
,\sphinxtablecontinued
,\sphinxtitleref
,\sphinxmenuselection
,\sphinxaccelerator
,\sphinxcrossref
,\sphinxtermref
,\sphinxoptional
.
New in version 1.4.5: Use of
\sphinx
prefixed macro names to limit possibilities of conflict with LaTeX packages.More text styling:
\sphinxstyleindexentry
,\sphinxstyleindexextra
,\sphinxstyleindexpageref
,\sphinxstyletopictitle
,\sphinxstylesidebartitle
,\sphinxstyleothertitle
,\sphinxstylesidebarsubtitle
,\sphinxstyletheadfamily
,\sphinxstyleemphasis
,\sphinxstyleliteralemphasis
,\sphinxstylestrong
,\sphinxstyleliteralstrong
,\sphinxstyleabbreviation
,\sphinxstyleliteralintitle
,\sphinxstylecodecontinued
,\sphinxstylecodecontinues
.
New in version 1.5: These macros were formerly hard-coded as non customizable
\texttt
,\emph
, etc…New in version 1.6:
\sphinxstyletheadfamily
which defaults to\sffamily
and allows multiple paragraphs in header cells of tables.New in version 1.6.3:
\sphinxstylecodecontinued
and\sphinxstylecodecontinues
.New in version 3.0:
\sphinxkeyboard
\sphinxtableofcontents
: A wrapper (defined differently insphinxhowto.cls
and insphinxmanual.cls
) of standard\tableofcontents
. The macro\sphinxtableofcontentshook
is executed during its expansion right before\tableofcontents
itself.Changed in version 1.5: Formerly, the meaning of
\tableofcontents
was modified by Sphinx.Changed in version 2.0: Hard-coded redefinitions of
\l@section
and\l@subsection
formerly done during loading of'manual'
docclass are now executed later via\sphinxtableofcontentshook
. This macro is also executed by the'howto'
docclass, but defaults to empty with it.\sphinxmaketitle
: Used as the default setting of the'maketitle'
:confval:`latex_elements` key. Defined in the class filessphinxmanual.cls
andsphinxhowto.cls
.Changed in version 1.8.3: Formerly,
\maketitle
from LaTeX document class was modified by Sphinx.\sphinxbackoftitlepage
: For'manual'
docclass, and if it is defined, it gets executed at end of\sphinxmaketitle
, before the final\clearpage
. Use either the'maketitle'
key or the'preamble'
key of :confval:`latex_elements` to add a custom definition of\sphinxbackoftitlepage
.New in version 1.8.3.
\sphinxcite
: A wrapper of standard\cite
for citation references.
Environments¶
A :dudir:`figure` may have an optional legend with arbitrary body elements: they are rendered in a
sphinxlegend
environment. The default definition issues\small
, and ends with\par
.New in version 1.5.6: Formerly, the
\small
was hardcoded in LaTeX writer and the ending\par
was lacking.Environments associated with admonitions:
sphinxnote
,sphinxhint
,sphinximportant
,sphinxtip
,sphinxwarning
,sphinxcaution
,sphinxattention
,sphinxdanger
,sphinxerror
.
They may be
\renewenvironment
‘d individually, and must then be defined with one argument (it is the heading of the notice, for exampleWarning:
for :dudir:`warning` directive, if English is the document language). Their default definitions use either the sphinxheavybox (for the last 5 ones) or the sphinxlightbox environments, configured to use the parameters (colours, border thickness) specific to each type, which can be set via'sphinxsetup'
string.Changed in version 1.5: Use of public environment names, separate customizability of the parameters, such as
noteBorderColor
,noteborder
,warningBgColor
,warningBorderColor
,warningborder
, …The :dudir:`contents` directive (with
:local:
option) and the :dudir:`topic` directive are implemented by environmentsphinxShadowBox
.New in version 1.4.2: Former code refactored into an environment allowing page breaks.
Changed in version 1.5: Options
shadowsep
,shadowsize
,shadowrule
.The literal blocks (via
::
orcode-block
), are implemented usingsphinxVerbatim
environment which is a wrapper ofVerbatim
environment from packagefancyvrb.sty
. It adds the handling of the top caption and the wrapping of long lines, and a frame which allows pagebreaks. Inside tables the used environment issphinxVerbatimintable
(it does not draw a frame, but allows a caption).Changed in version 1.5:
Verbatim
keeps exact same meaning as infancyvrb.sty
(also under the nameOriginalVerbatim
);sphinxVerbatimintable
is used inside tables.New in version 1.5: Options
verbatimwithframe
,verbatimwrapslines
,verbatimsep
,verbatimborder
.New in version 1.6.6: Support for
:emphasize-lines:
optionNew in version 1.6.6: Easier customizability of the formatting via exposed to user LaTeX macros such as
\sphinxVerbatimHighlightLine
.The bibliography uses
sphinxthebibliography
and the Python Module index as well as the general index both usesphinxtheindex
; these environments are wrappers of thethebibliography
and respectivelytheindex
environments as provided by the document class (or packages).Changed in version 1.5: Formerly, the original environments were modified by Sphinx.
Miscellany¶
The section, subsection, … headings are set using titlesec’s
\titleformat
command.For the
'manual'
docclass, the chapter headings can be customized using fncychap’s commands\ChNameVar
,\ChNumVar
,\ChTitleVar
. Filesphinx.sty
has custom re-definitions in case of fncychap optionBjarne
.Changed in version 1.5: Formerly, use of fncychap with other styles than
Bjarne
was dysfunctional.
Hint
As an experimental feature, Sphinx can use user-defined template file for
LaTeX source if you have a file named _templates/latex.tex_t
in your
project.
Additional files longtable.tex_t
, tabulary.tex_t
and
tabular.tex_t
can be added to _templates/
to configure some aspects
of table rendering (such as the caption position).
New in version 1.6: currently all template variables are unstable and undocumented.


{% extends "content_template.html" %} {% from "components/table.html" import mapping_table, row, text_field, edit_field, field with context %} {% block per_page_title %} Text messages {% endblock %} {% block content_column_content %}
Send thousands of free text messages to UK and international numbers with GOV.UK Notify.
{% if not current_user.is_authenticated %}Create an account and try Notify for yourself.
{% endif %}Notify makes it easy to:
You can also integrate with our API to send text messages automatically.
Let people send messages to your service or reply to your texts.
You can see and reply to the messages you receive when you sign in to Notify. If you’re using our API, you can set up your own automated processes to manage replies.
Contact us to request a unique number for text message replies.
When you send a text message with Notify, the sender name tells people who it’s from.
See how to change the text message sender.
Each service you add has an annual allowance of free text messages.
See pricing for more details.
{% endblock %}


Technical ability
1 - Unsatisfactory
2 - Inconsistent
3 - Met expectations
4 - Exceeded expectations
5 - Exceptional
Comments
Communication/People skills
1 - Unsatisfactory
2 - Inconsistent
3 - Met expectations
4 - Exceeded expectations
5 - Exceptional
Comments
Overall score
1 - Unsatisfactory
2 - Inconsistent
3 - Met expectations
4 - Exceeded expectations
5 - Exceptional
Comments
Submit


{% extends 'base.html' %} {% block content %}
It seems you have not created your profile yet, Let's create one..


SpotGrab
DescriptionConnecting employers with the right people and skills when needed the most.
Absenteeism can cost the Canadian economy approximately $16.6 billion a year with 98% of employers handling consistent absenteeism in their day to day operations. Likewise, there are many employees looking for extra work/cash, whether it’s because of changing schedules or limited employment opportunities. SpotGrab looks to create an on-demand service that acts as a liaison for employers to network with vetted and trained employees to fill in empty shifts.


|
ReactPhysics3D
0.8.0
C++ Physics engine library
|
This class represents a body that is able to collide with others bodies. More...
#include <CollisionBody.h>
Public Member Functions | |
| CollisionBody (PhysicsWorld &world, Entity entity) | |
| Constructor. More... | |
| virtual | ~CollisionBody () |
| Destructor. | |
| CollisionBody (const CollisionBody &body)=delete | |
| Deleted copy-constructor. | |
| CollisionBody & | operator= (const CollisionBody &body)=delete |
| Deleted assignment operator. | |
| Entity | getEntity () const |
| Return the corresponding entity of the body. More... | |
| bool | isActive () const |
| Return true if the body is active. More... | |
| void * | getUserData () const |
| Return a pointer to the user data attached to this body. More... | |
| void | setUserData (void *userData) |
| Attach user data to this body. More... | |
| virtual void | setIsActive (bool isActive) |
| Set whether or not the body is active. More... | |
| const Transform & | getTransform () const |
| Return the current position and orientation. More... | |
| virtual void | setTransform (const Transform &transform) |
| Set the current position and orientation. More... | |
| virtual Collider * | addCollider (CollisionShape *collisionShape, const Transform &transform) |
| Create a new collider and add it to the body. More... | |
| virtual void | removeCollider (Collider *collider) |
| Remove a collider from the body. More... | |
| bool | testPointInside (const Vector3 &worldPoint) const |
| Return true if a point is inside the collision body. More... | |
| bool | raycast (const Ray &ray, RaycastInfo &raycastInfo) |
| Raycast method with feedback information. More... | |
| bool | testAABBOverlap (const AABB &worldAABB) const |
| Test if the collision body overlaps with a given AABB. More... | |
| AABB | getAABB () const |
| Compute and return the AABB of the body by merging all colliders AABBs. More... | |
| const Collider * | getCollider (uint colliderIndex) const |
| Return a const pointer to a given collider of the body. More... | |
| Collider * | getCollider (uint colliderIndex) |
| Return a pointer to a given collider of the body. More... | |
| uint | getNbColliders () const |
| Return the number of colliders associated with this body. More... | |
| Vector3 | getWorldPoint (const Vector3 &localPoint) const |
| Return the world-space coordinates of a point given the local-space coordinates of the body. More... | |
| Vector3 | getWorldVector (const Vector3 &localVector) const |
| Return the world-space vector of a vector given in local-space coordinates of the body. More... | |
| Vector3 | getLocalPoint (const Vector3 &worldPoint) const |
| Return the body local-space coordinates of a point given in the world-space coordinates. More... | |
| Vector3 | getLocalVector (const Vector3 &worldVector) const |
| Return the body local-space coordinates of a vector given in the world-space coordinates. More... | |
Friends | |
| class | PhysicsWorld |
| class | CollisionDetectionSystem |
| class | BroadPhaseAlgorithm |
| class | ConvexMeshShape |
| class | Collider |
This class represents a body that is able to collide with others bodies.
| CollisionBody::CollisionBody | ( | PhysicsWorld & | world, |
| Entity | entity | ||
| ) |
Constructor.
| transform | The transform of the body |
| world | The physics world where the body is created |
| id | ID of the body |
|
virtual |
Create a new collider and add it to the body.
This method will return a pointer to a new collider.
A collider is an object with a collision shape that is attached to a body. It is possible to attach multiple colliders to a given body. You can use the returned collider to get and set information about the corresponding collision shape for that body.
| collisionShape | A pointer to the collision shape of the new collider |
| transform | The transformation of the collider that transforms the local-space of the collider into the local-space of the body |
Reimplemented in reactphysics3d::RigidBody.
| AABB CollisionBody::getAABB | ( | ) | const |
| const Collider * CollisionBody::getCollider | ( | uint | colliderIndex | ) | const |
Return a const pointer to a given collider of the body.
| index | Index of a Collider of the body |
| Collider * CollisionBody::getCollider | ( | uint | colliderIndex | ) |
Return a pointer to a given collider of the body.
| index | Index of a Collider of the body |
|
inline |
Return the corresponding entity of the body.
Return the body local-space coordinates of a point given in the world-space coordinates.
| worldPoint | A point in world-space coordinates |
Return the body local-space coordinates of a vector given in the world-space coordinates.
| worldVector | A vector in world-space coordinates |
| uint CollisionBody::getNbColliders | ( | ) | const |
Return the number of colliders associated with this body.
| const Transform & CollisionBody::getTransform | ( | ) | const |
Return the current position and orientation.
| void * CollisionBody::getUserData | ( | ) | const |
Return a pointer to the user data attached to this body.
Return the world-space coordinates of a point given the local-space coordinates of the body.
| localPoint | A point in the local-space coordinates of the body |
Return the world-space vector of a vector given in local-space coordinates of the body.
| localVector | A vector in the local-space coordinates of the body |
| bool CollisionBody::isActive | ( | ) | const |
Return true if the body is active.
| bool CollisionBody::raycast | ( | const Ray & | ray, |
| RaycastInfo & | raycastInfo | ||
| ) |
Raycast method with feedback information.
The method returns the closest hit among all the collision shapes of the body.
| ray | The ray used to raycast agains the body | |
| [out] | raycastInfo | Structure that contains the result of the raycasting (valid only if the method returned true) |
|
virtual |
Remove a collider from the body.
To remove a collider, you need to specify its pointer.
| collider | The pointer of the collider you want to remove |
Reimplemented in reactphysics3d::RigidBody.
|
virtual |
Set whether or not the body is active.
| isActive | True if you want to activate the body |
Reimplemented in reactphysics3d::RigidBody.
|
virtual |
Set the current position and orientation.
| transform | The transformation of the body that transforms the local-space of the body into world-space |
Reimplemented in reactphysics3d::RigidBody.
| void CollisionBody::setUserData | ( | void * | userData | ) |
Attach user data to this body.
| userData | A pointer to the user data you want to attach to the body |
|
inline |
| bool CollisionBody::testPointInside | ( | const Vector3 & | worldPoint | ) | const |
Return true if a point is inside the collision body.
This method returns true if a point is inside any collision shape of the body.
| worldPoint | The point to test (in world-space coordinates) |


| Name | Description |
|---|---|
| PartialThermalPortDCMachines | Partial thermal port of DC machines |
| PartialThermalAmbientDCMachines | Partial thermal ambient for DC machines |
| PartialPowerBalanceDCMachines | Partial power balance of DC machines |
| ThermalPortDCPM | Thermal port of DC machine with permanent magnets |
| PowerBalanceDCPM | Power balance of DC machines with permanent magnet |
| ThermalPortDCEE | Thermal port of DC machine with electrical excitation |
| PowerBalanceDCEE | Power balance of DC machines with electrical excitation |
| ThermalPortDCSE | Thermal port of DC machine with series excitation |
| PowerBalanceDCSE | Power balance of DC machines with series excitation |
| ThermalPortDCCE | Thermal port of DC machine with compound excitation |
| PowerBalanceDCCE | Power balance of DC machines with compound excitation |


Whether you are here for the Weather, or whether you are not we've got it all!
| To view the current temperature: | Your Current Weather | |
| For your weekly forecast: | Your Weather Forecast | |
| To be redirected to the Weather Channel: | Provo Local Weather | |
| If you would like to view my updated resume: | Resume | |
| A page about me: | About Me |


Michael Cysouw<EMAIL_ADDRESS>A Pandoc filter for linguistic examples
tl;dr
In the field of linguistics there is an outspoken tradition to format example sentences in research papers in a very specific way. In the field, it is a perennial problem to get such example sentences to look just right. Within Latex, there are numerous packages to deal with this problem (e.g. covington, linguex, gb4e, expex, etc.). Depending on your needs, there is some Latex solution for almost everyone. However, these solutions in Latex are often cumbersome to type, and they are not portable to other formats. Specifically, transfer between latex, html, docx, odt or epub would actually be highly desirable. Such transfer is the hallmark of Pandoc, a tool by John MacFarlane that provides conversion between these (and many more) formats.
Any such conversion between text-formats naturally never works perfectly: every text-format has specific features that are not transferable to other formats. A central goal of Pandoc (at least in my interpretation) is to define a set of shared concepts for text-structure (a ‘common denominator’ if you will, but surely not ‘least’!) that can then be mapped to other formats. In many ways, Pandoc tries (again) to define a set of logical concepts for text structure (‘semantic markup’), which can then be formatted by your favourite typesetter. As long as you stay inside the realm of this ‘common denominator’ (in practice that means Pandoc’s extended version of Markdown/CommonMark), conversion works reasonably well (think 90%-plus).
Building on John Gruber’s Markdown philosophy, there is a strong urge here to learn to restrain oneself while writing, and try to restrict the number of layout-possibilities to a minimum. In this sense, with pandoc-ling
I propose a Markdown-structure for linguistic examples that is simple, easy to type, easy to read, and portable through the Pandoc universe by way of an extension mechanism of Pandoc, called a ‘Pandoc Lua Filter’. This extension will not magically allow you to write every linguistic example thinkable, but my guess is that in practice the present proposal covers the majority of situations in linguistic publications (think 90%-plus). As an example (and test case) I have included automatic conversions into various formats in this repository (chech them out in the directory tests
to get an idea of the strengths and weaknesses of the current implementation).
Basically, a linguistic example consists of 6 possible building blocks, of which only the number and at least one example line are necessary. The space between the building blocks is kept as minimal as possible without becoming cramped. When (optional) building blocks are not included, then the other blocks shift left and up (only exception: a preamble without labels is not shifted left completely, but left-aligned with the example, not with the judgement).
There are of course much more possibilities to extend the structure of a linguistic examples, like third or fourth subdivisions of labels (often using small roman numerals as a third level) or multiple glossing lines in the interlinear example. Also, the content of the header is sometimes found right-aligned to the right of the interlinear example (language into to the top, reference to the bottom). All such options are currently not supported by pandoc-ling
.
Under the hood, this structure is prepared by pandoc-ling
as a table. Tables are reasonably well transcoded to different document formats. Specific layout considerations mostly have to be set manually. Alignment of the text should work in most exports. Some CSS
styling is proposed by pandoc-ling
, but can of course be overruled. For latex (and beamer) special output is prepared using various available latex packages (see options, below).
pandoc-ling
To include a linguistic example in Markdown pandoc-ling
uses the div
structure, which is indicated in Pandoc-Markdown by typing three colons at the start and three colons at the end. To indicate the class
of this div
the letters ‘ex’ (for ‘example’) should be added after the top colons (with or without space in between). This ‘ex’-class is the signal for pandoc-ling
to start processing such a div
. The numbering of these examples will be inserted by pandoc-ling
.
Empty lines can be added inside the div
for visual pleasure, as they mostly do not have an influence on the output. Exception: do not use empty lines between unlabelled line examples. Multiple lines of text can be used (without empty lines in between), but they will simply be interpreted as one sequential paragraph.
::: ex
This is the most basic structure of a linguistic example.
:::
| (4.1) | This is the most basic structure of a linguistic example. |
Alternatively, the class
can be put in curled brackets (and then a leading full stop is necessary before ex
). Inside these brackets more attributes can be added (separated by space), for example an id, using a hash, or any attribute=value pairs that should apply to this example. Currently there is only one real attribute implemented (formatGloss
), but in principle it is possible to add more attributes that can be used to fine-tune the typesetting of the example (see below for a description of such local options
).
::: {#id .ex formatGloss=false}
This is a multi-line example.
But that does not mean anything for the result
All these lines are simply treated as one paragraph.
They will become one example with one number.
:::
| (4.2) | This is a multi-line example. But that does not mean anything for the result All these lines are simply treated as one paragraph. They will become one example with one number. |
A preamble can be added by inserting an empty line between preamble and example. The same considerations about multiple text-lines apply.
:::ex
Preamble
This is an example with a preamble.
:::
| (4.3) | Preamble |
| This is an example with a preamble. |
Sub-examples with labels are entered by starting each sub-example with a small latin letter and a full stop. Empty lines between labels are allowed. Subsequent lines without labels are treated as one paragraph. Empty lines not followed by a label with a full stop will result in errors.
:::ex
a. This is the first example.
b. This is the second.
a. The actual letters are not important, `pandoc-ling` will put them in order.
e. Empty lines are allowed between labelled lines
Subsequent lines are again treated as one sequential paragraph.
:::
| (4.4) | a. | This is the first example. |
| b. | This is the second. | |
| c. | The actual letters are not important, pandoc-ling will put them in order. |
|
| d. | Empty lines are allowed between labelled lines Subsequent lines are again treated as one sequential paragraph. |
A labelled list can be combined with a preamble.
:::ex
Any nice description here
a. one example sentence.
b. two
c. three
:::
| (4.5) | Any nice description here | |
| a. | one example sentence. | |
| b. | two | |
| c. | three |
Grammaticality judgements should be added before an example, and after an optional label, separated from both by spaces (though four spaces in a row should be avoided, that could lead to layout errors). To indicate that any sequence of symbols is a judgements, prepend the judgement with a caret ^
. Alignment will be figured out by pandoc-ling
.
:::ex
Throwing in a preamble for good measure
a. ^* This traditionally signals ungrammaticality.
b. ^? Question-marks indicate questionable grammaticality.
c. ^^whynot?^ But in principle any sequence can be used (here even in superscript).
d. However, such long sequences sometimes lead to undesirable effects in the layout.
:::
| (4.6) | Throwing in a preamble for good measure | ||
| a. | * | This traditionally signals ungrammaticality. | |
| b. | ? | Question-marks indicate questionable grammaticality. | |
| c. | whynot? | But in principle any sequence can be used (here even in superscript). | |
| d. | However, such long sequences sometimes lead to undesirable effects in the layout. |
A minor detail is the alignment of a single example with a preamble and grammaticality judgements. In this case it looks better for the preamble to be left aligned with the example and not with the judgement.
:::ex
Here is a special case with a preamble
^^???^ With a singly questionably example.
Note the alignment! Especially with this very long example
that should go over various lines in the output.
:::
| (4.7) | Here is a special case with a preamble | |
| ??? | With a singly questionably example. Note the alignment! Especially with this very long example that should go over various lines in the output. |
For the lazy writers among us, it is also possible to use a simple bullet list instead of a labelled list. Note that the listed elements will still be formatted as a labelled list.
:::ex
- This is a lazy example.
- ^# It should return letters at the start just as before.
- ^% Also testing some unusual judgements.
:::
| (4.8) | a. | This is a lazy example. | |
| b. | # | It should return letters at the start just as before. | |
| c. | % | Also testing some unusual judgements. |
Just for testing: a single example with a judgement (which resulted in an error in earlier versions).
::: ex
^* This traditionally signals ungrammaticality.
:::
| (4.9) | * | This traditionally signals ungrammaticality. |
For interlinear examples with aligned source and gloss, the structure of a lineblock
is used, starting the lines with a vertical line |
. There should always be four vertical lines (for header, source, gloss and translation, respectively), although the content after the first vertical line can be empty. The source and gloss lines are separated at spaces, and all parts are right-aligned. If you want to have a space that is not separated, you will have to ‘protect’ the space, either by putting a backslash before the space, or by inserting a non-breaking space instead of a normal space (either type
or insert an actual non-breaking space, i.e. unicode character U+00A0
).
:::ex
| Dutch (Germanic)
| Deze zin is in het nederlands.
| DEM sentence AUX in DET dutch.
| This sentence is dutch.
:::
| (4.10) | Dutch (Germanic) | |||||
| Deze | zin | is | in | het | nederlands. | |
| DEM | sentence | AUX | in | DET | dutch. | |
| This sentence is dutch. |
An attempt is made to format interlinear examples when the option formatGloss=true
is added. This will:
~
between spaces in the gloss is treated as a shortcut for an empty gloss (internally, the sequence space-tilde-space
is replaced by space-space-nonBreakingSpace-space-space
),::: {.ex formatGloss=true}
| Dutch (Germanic)
| Deze zin is in het nederlands.
| DEM sentence AUX in DET dutch.
| This sentence is dutch.
:::
| (4.11) | Dutch (Germanic) | |||||
| Deze | zin | is | in | het | nederlands. | |
| dem | sentence | aux | in | det | dutch. | |
| ‘This sentence is dutch.’ |
The results of such formatting will not always work, but it seems to be quite robust in my testing. The next example brings everything together:
::: {.ex formatGloss=true}
Completely superfluous preamble, but it works ...
a. Mixing single line examples with interlinear examples.
a. This is of course highly unusal.
Just for this example, let's add some extra material in this example.
a.
| Dutch (Germanic) Note the grammaticality judgement!
| ^^:–)^ Deze zin is (dit\ is test) nederlands.
| DEM sentence AUX ~ dutch.
| This sentence is dutch.
b.
|
| Deze tweede zin heeft geen header.
| DEM second sentence have.3SG.PRES no header.
| This second sentence does not have a header.
:::
| (4.12) | Completely superfluous preamble, but it works … | ||
| a. | Mixing single line examples with interlinear examples. | ||
| b. | This is of course highly unusal. Just for this example, let’s add some extra material in this example. |
| c. | Dutch (Germanic) Note the grammaticality judgement! | ||||||
| :–) | Deze | zin | is | (dit is test) | nederlands. | ||
| dem | sentence | aux | dutch. | ||||
| ‘This sentence is dutch.’ |
| d. | Deze | tweede | zin | heeft | geen | header. | ||
| dem | second | sentence | have.3sg.pres | no | header. | |||
| ‘This second sentence does not have a header.’ |
The examples are automatically numbered by pandoc-ling
. Cross-references to examples inside a document can be made by using the [@ID]
format (used by Pandoc for citations). When an example has an explicit identifier (like #test
in the next example), then a reference can be made to this example with [@test]
, leading to (4.13) when formatted (note that the formatting does not work on the github website. Please check the ‘tests’ subdirectory).
::: {#test .ex}
This is a test
:::
| (4.13) | This is a test |
Inspired by the linguex
-approach, you can also use the keywords next
or last
to refer to the next or the last example, e.g. [@last]
will be formatted as (4.13). By doubling the first letters to nnext
or llast
reference to the next/last-but-one can be made. Actually, the number of starting letters can be repeated at will in pandoc-ling
, so something like [@llllllllast]
will also work. It will be formatted as (4.6) after the processing of pandoc-ling
. Needless to say that in such a situation an explicit identifier would be a better choice.
Referring to sub-examples can be done by manually adding a suffix into the cross reference, simply separated from the identifier by a space. For example, [@lllast c]
will refer to the third sub-example of the last-but-two example. Formatted this will look like this: (4.11 c), smile! However, note that the “c” has to be manually determined. It is simply a literal suffix that will be copied into the cross-reference. Something like [@last hA1l0]
will work also, leading to (4.13 hA1l0) when formatted (which is of course nonsensical).
For exports that include attributes (like html), the examples have an explicit id of the form ex:NUMBER
in which NUMBER
is the actual number as given in the formatted output. This means that it is possible to refer to an example on any web-page by using the hash-mechanism to refer to a part of the web-page. For example #ex:4.7
at can be used to refer to the seventh example in the html-output of this readme (try this link). The id in this example has a chapter number ‘4’ because in the html conversion I have set the option addChapterNumber
to true
. (Note: when numbers restart the count in each chapter with the option restartAtChapter
, then the id is of the form ex:CHAPTER.NUMBER
. This is necessary to resolve clashing ids, as the same number might then be used in different chapters.)
I propose to use these ids also to refer to examples in citations when writing scholarly papers, e.g. (Cysouw 2012: #ex:7), independent of whether the links actually resolve. In principle, such citations could easily be resolved when online publications are properly prepared. The same proposal could also work for other parts of research papers, for example using tags like #sec, #fig, #tab, #eq
. To refer to paragraphs (which should replace page numbers in a future of adaptive design), I propose to use no tag, but directly add the number to the hash (see the Pandoc filter count-para for a practical mechanism to add such numbering).
pandoc-ling
The following global options are available with pandoc-ling
. These can be added to the Pandoc metadata. An example of such metadata can be found at the bottom of this readme
in the form of a YAML-block. Pandoc allows for various methods to provide metadata (see the link above).
formatGloss
(boolean, default false
): should all interlinear examples be consistently formatted? If you use this option, you can simply use capital letters for abbreviations in the gloss, and they will be changed to small caps. The source line is set to italics, and the translations is put into single quotes.xrefSuffixSep
(string, defaults to no-break-space): When cross references have a suffix, how should the separator be formatted? The defaults ‘no-break-space’ is a safe options. I personally like a ‘narrow no-break space’ better (Unicode U+202F
), but this symbol does not work with all fonts, and might thus lead to errors. For Latex typesetting, all space-like symbols are converted to a Latex thin space \,
.restartAtChapter
(boolean, default false
): should the counting restart for each chapter?
true
this setting will restart the counting at the highest heading level, which for various output formats can be set by the Pandoc option top-level-division
.ex:CHAPTER.NUMBER
to resolve any clashes when the same number appears in different chapter.top-level-division: chapter
might be necessary in your metadata.addChapterNumber
(boolean, default false
): should the chapter (= highest heading level) number be added to the number of the example? When setting this to true
any setting of restartAtChapter
will be ignored. In most Latex situations this only works in combination with a documentclass: book
.latexPackage
(one of: linguex
, gb4e
, langsci-gb4e
, expex
, default linguex
): Various options for converting examples to Latex packages that typeset linguistic examples. None of the conversions works perfectly, though in should work in most normal situations (think 90%-plus). It might be necessary to first convert to Latex
, correct the output, and then typeset separately with a latex compiler like xelatex
. Using the direct option insider Pandoc might also work in many situations. Export to beamer
seems to work reasonably well with the gb4e
package. All others have artefacts or errors.Local options are options that can be set for each individual example. The formatGloss
option can be used to have an individual example be formatted differently from the global setting. For example, when the global setting is formatGloss: true
in the metadata, then adding formatGloss=false
in the curly brackets of a specific example will block the formatting. This is especially useful when the automatic formatting does not give the desired result.
If you want to add something else (not a linguistic example) in a numbered example, then there is the local option noFormat=true
. An attempt will be made to try and do a reasonable layout. Multiple paragraphs will simply we taken as is, and the number will be put in front. In HTML the number will be centred. It is usable for an incidental mathematical formula.
::: {.ex noFormat=true}
$$\sum_{i=1}^{n}{i}=\frac{n^2-n}{2}$$
:::
| (4.14) |
pandoc-ling
#5789
). In some situation this interferes with the setting of the cross-references.citeproc
) should be performed after the processing by pandoc-ling
. Another Pandoc filter, pandoc-crossref
, for numbering figures and other captions, also uses the same system. There seems to be no conflict between pandoc-ling
and pandoc-crossref
.docx
there is a problem because there are paragraphs inserted after tables, which adds space in lists with multiple interlinear examples (except when they have exactly the same number of columns). This is by design. The official solution is to set font-size to 1 for this paragraph inside MS Word.pandoc-ling
to work properly. These are only introduced in new table format with Pandoc 2.10 (so older Pandoc version are not supported). Also note that these structures are not yet exported to all formats, e.g. it will not be displayed correctly in docx
. However, this is currently an area of active developmentlangsci-gb4e
is only available as part of the langsci
package. You have to make it available to Pandoc, e.g. by adding it into the same directory as the pandoc-ling.lua filter. I have added a recent version of langsci-gb4e
here for convenience, but this one might be outdated at some time in the future.beamer
output seems to work best with latexPackage: gb4e
.Originally, I decided to write this filter as a two-pronged conversion, making a markdown version myself, but using a mapping to one of the many latex libraries for linguistics examples as a quick fix. I assumed that such a mapping would be the easy part. However, it turned out that the mapping to latex was much more difficult that I anticipated. Basically, it turned out that the ‘common denominator’ that I was aiming for was not necessarily the ‘common denominator’ provided by the latex packages. I worked on mapping to various packages (linguex, gb4e, langsci-gb4e and expex) with growing dismay. This approach resulted in a first version. However, after this version was (more or less) finished, I realised that it would be better to first define the ‘common denominator’ more clearly (as done here), and then implement this purely in Pandoc. From that basis I have then made attempts to map them to the various latex packages.
The basic structure of the examples are transformed into Pandoc tables. Tables are reasonably safe for converting in other formats. Care has been taken to add classes
to all elements of the tables (e.g. the preamble has the class linguistic-example-preamble
). When exported formats are aware of these classes, they can be used to fine-tune the formatting. I have used a few such fine-tunings into the html output of this filter by adding a few CSS-style statements. The naming of the classes is quite transparent, using the form linguistic-example-STRUCTURE
.
The whole table is encapsulated in a div
with class ex
and an id of the form ex:NUMBER
. This means that an example can be directly referred to in web-links by using the hash-mechanism. For example, adding #ex:3
to the end of a link will immediately jump to this example in a browser.
The current implementation is completely independent from the Pandoc numbered examples implementation and both can work side by side, like (2):
These are native Pandoc numbered examples
They are independent of pandoc-ling
but use the same output formatting in many default exports, like latex.
However, in practice various output-formats of Pandoc (e.g. latex) also use numbers in round brackets for these, so in practice it might be confusing to combine both.


Determine size of remote file.
#include <ftplib.h> int FtpSize(char *path, unsigned long long *size, char mode, netbuf *nControl);
FtpSize() attempts to determine the size of a remote file.
If a good response is received and the size is successfully parsed out of the result, 1 is returned. Otherwise, 0 is returned.
Some servers may not support the SIZE command. If this request fails, the size may be available in the response to a RETR (FtpOpen() with typ=FTPLIB_FILE_READ).
This function is identical to FtpSize() except for the type of the returned value.


7 more savagely funny cartoons about the Trump impeachment hearings
by The Week StaffGet the best political cartoons delivered to your inbox with our free daily cartoon newsletter. Sign up here.
Try 4 issues of The Week
for only $8.00
SEE DETAILS
Get the best political cartoons delivered to your inbox with our free daily cartoon newsletter. Sign up here.
Try 4 issues of The Week
for only $8.00
SEE DETAILS


Kiri Smith
Thanks for visiting my page! I'm Kiri. I live in Rochester, NY where I attended Nazareth College, receiving a BA in Mathematics and Childhood-Middle Childhood Education. I then completed my Master's Degree in Inclusive Education at Nazareth College in 2012. I moved to Alexandria, VA where I began teaching middle school math as a special education teacher at Prince William County Schools. I obtained a second Master's degree in Educational Leadership and was able to apply my new skillset as the Special Education Department Chairperson, IEP Administrator, and member of the school's Leadership Team. After 6 years of teacher leadership in Virginia, I moved back to Rochester and worked as the Special Education Middle School Director at a local charter school. After 9 years of teaching, I decided to pursue a new career direction and began my new career at Par-Tech, Inc. as a Software Developer. I am currently enrolled in UC Berkeley's Coding Bootcamp Extension and will be adding to this portfolio as I create more web applications..


Changqian Yu, Jingbo Wang, Chao Peng, Changxin Gao,
Gang Yu, Nong Sang
IEEE Conference on Computer Vision and Pattern Recognition (CVPR),
2018
Abstract
Most existing methods of semantic segmentation still suffer from two aspects of challenges:
intra-class inconsistency and inter-class indistinction. To tackle
these two problems, we propose a Discriminative Feature Network (DFN),
which contains two sub-networks: Smooth Network and Border Network.
Specifically, to handle the intra-class inconsistency problem, we
specially design a Smooth Network with Channel Attention Block and
global average pooling to select the more discriminative features.
Furthermore, we propose a Border Network to make the bilateral features
of boundary distinguishable with deep semantic boundary supervision.
Based on our proposed DFN, we achieve state-of-the-art performance
86.2% mean IOU on PASCAL VOC 2012 and 80.3% mean IOU on Cityscapes
dataset.
Bibtex
@inproceedings{Yu_2018_CVPR,
author = {Yu, Changqian and Wang, Jingbo and Peng, Chao and Gao, Changxin and Yu, Gang and Sang, Nong},
title = {Learning a Discriminative Feature Network for Semantic Segmentation},
booktitle = {The IEEE Conference on Computer Vision and Pattern Recognition (CVPR)},
month = {June},
year = {2018}
}


Thank you for making system better !
Home
Please pay attention to this
97.4123%
detection probability
Image:68/70
Position: -15.99 mm
W/L:242032.0/1212.0
Image Size: 68x70
Patient position: HFS
watch source image
Right Result
False Result


Topics:
coffee+shops+in+Austin
) you will use that
query to make a request to the Place Search
service, and
will specifically be doing a Text Search Request
. You will
use the necessary information from the data returned from that first
request, and then do a request to Place Details
service,
returning the detailed information to the user of your API.
/place
that, provided a query, returns
the detailed information about the first place that is in the array of
places returned to you from Place Search
.
node-fetch
library to make your
requests to the Place Search
API. You can use its example
code in its github repo as guidance for its use.
/places
that, provided a query returns
the detailed information about ALL places returned to you from
Place Search
.


In the Large Hadron Collider the hunt is on for the new physics of magnetic monopoles.
It is well-known that magnets have two poles, north and south, but is this really always true? Particle physicists have long suspected that elementary particles carrying a single magnetic pole should exist. Our exhibit shows how experiments in the Large Hadron Collider at CERN may make it possible to create and detect such particles, revolutionising physics.
The existence of magnetic monopoles was first predicted by the famous physicist Paul Dirac in 1931. But these particles have so far evaded our detection, and remain theoretical. The upgrade of the Large Hadron Collider now allows it to smash particle beams together at even higher energies. This gives us the best chance yet of creating and detecting magnetic monopoles, in an experiment called MoEDAL The discovery of these particles would reveal a new physics beyond the Standard Model of known particles and forces, and they could have a wide range of practical applications.
For an in depth introduction to magnetic monopoles and their importance in particle physics see this review article.


NEEMO project
DCANO_49
Lvl. 2
+5
you have found a new coral occurence
+5
you have found a new coral occurence
+1
you have confirmed a coral occurence
+5
you have found a new coral occurence
+5
you have found a new coral occurence
Previous
Next


Pause Run
Enable sound (experimental)
Screen zoom 1 2 3
Or drop a ROM file here
Current keyboard mapping:
Made with: gameboy.js


Match Play. Red leads 3-0 to 5. How should Red play 53?
pips Red=128 White=150
(CorrectAnswer= 0/0, ErrorScore= 0)
For money with a centred cube this would be close call between 24/16* and 8/3*, 6/3.
However, at this score it is a double blunder to hit outside because 8/3*, 6/3 hugely increases Red’s gammon chances while winning the same amount of single games. 24/16* thus becomes a double blunder. Taking the asset is the right idea here.
However, at this score it is a double blunder to hit outside because 8/3*, 6/3 hugely increases Red’s gammon chances while winning the same amount of single games. 24/16* thus becomes a double blunder. Taking the asset is the right idea here.
1. Cubeful 2-ply 8/3* 6/3 Eq.: +0.935 0.737 0.384 0.008 - 0.263 0.043 0.001 2. Cubeful 2-ply 24/16* Eq.: +0.867 (-0.068) 0.740 0.235 0.005 - 0.260 0.043 0.001 3. Cubeful 0-ply 24/21 9/4 Eq.: +0.587 (-0.348) 0.662 0.249 0.005 - 0.338 0.063 0.001 4. Cubeful 0-ply 9/4 6/3* Eq.: +0.584 (-0.351) 0.656 0.286 0.006 - 0.344 0.067 0.002 5. Cubeful 0-ply 9/6 7/2 Eq.: +0.505 (-0.430) 0.637 0.253 0.004 - 0.363 0.069 0.002


Find what you want.
Trending Threads
What is NullPointerException, and how to fix it?
What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them? What methods/tools can be used to determine ...
lldb error in swift
So I am trying to follow standford’s swift lecture series.. However, when I am trying to play the following code, it get ‘lldb’ error. Any help will be ...
HTML Grid Layout
I am putting together a grid layout in HTML, this is what I have so far: http://jsfiddle.net/wlindner/HX2eq/. The attached screenshot is what I am ...
Trending Language


|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.xml.utils.XMLReaderManager
public class XMLReaderManager
Creates XMLReader objects and caches them for re-use. This class follows the singleton pattern.
| Field Summary | |
|---|---|
private java.util.Hashtable |
m_inUse
Keeps track of whether an XMLReader object is in use. |
private static javax.xml.parsers.SAXParserFactory |
m_parserFactory
Parser factory to be used to construct XMLReader objects |
private java.lang.ThreadLocal |
m_readers
Cache of XMLReader objects |
private static XMLReaderManager |
m_singletonManager
|
private static java.lang.String |
NAMESPACE_PREFIXES_FEATURE
|
private static java.lang.String |
NAMESPACES_FEATURE
|
| Constructor Summary | |
|---|---|
private |
XMLReaderManager()
Hidden constructor |
| Method Summary | |
|---|---|
static XMLReaderManager |
getInstance()
Retrieves the singleton reader manager |
org.xml.sax.XMLReader |
getXMLReader()
Retrieves a cached XMLReader for this thread, or creates a new XMLReader, if the existing reader is in use. |
void |
releaseXMLReader(org.xml.sax.XMLReader reader)
Mark the cached XMLReader as available. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final java.lang.String NAMESPACES_FEATURE
private static final java.lang.String NAMESPACE_PREFIXES_FEATURE
private static final XMLReaderManager m_singletonManager
private static javax.xml.parsers.SAXParserFactory m_parserFactory
private java.lang.ThreadLocal m_readers
private java.util.Hashtable m_inUse
| Constructor Detail |
|---|
private XMLReaderManager()
| Method Detail |
|---|
public static XMLReaderManager getInstance()
public org.xml.sax.XMLReader getXMLReader() throws org.xml.sax.SAXException
releaseXMLReader(org.xml.sax.XMLReader)
.
org.xml.sax.SAXException
public void releaseXMLReader(org.xml.sax.XMLReader reader)
reader
- The XMLReader that's being released.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |


You opt to wear some jeans and a t-shirt today, so you browse your wardrobe and pick out your favourite pair of jeans and begin to peruse your rows of shirts. Do you want to wear a baggy or fitted shirt today?
Baggy Fitted